mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-05 18:38:26 +02:00
- Allowing galliumOS shortcut keys to apply to any XFCE DE
This commit is contained in:
4
setup.py
4
setup.py
@@ -175,8 +175,8 @@ def setShortcuts():
|
|||||||
cmdline('perl -pi -e "s/(\w.*)(\/\/ Default cmdtab)/\/\/ \$1\$2/g" ~/.xkb/symbols/mac_gui')
|
cmdline('perl -pi -e "s/(\w.*)(\/\/ Default cmdtab)/\/\/ \$1\$2/g" ~/.xkb/symbols/mac_gui')
|
||||||
# elif distro == "budgie" and dename == "gnome":
|
# elif distro == "budgie" and dename == "gnome":
|
||||||
# print("Apply budgie shortcuts here")
|
# print("Apply budgie shortcuts here")
|
||||||
elif (distro == "galliumos" and dename == "xfce") or (distro == "ubuntu" and dename == "xfce"):
|
elif (dename == "xfce"):
|
||||||
print("Applying GalliumOS (xfce) shortcuts...")
|
print("Applying xfce shortcuts...")
|
||||||
cmdline('cp ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml ./xfce4-keyboard-shortcuts_`date +"%Y.%m.%d-%s"`.xml')
|
cmdline('cp ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml ./xfce4-keyboard-shortcuts_`date +"%Y.%m.%d-%s"`.xml')
|
||||||
# Reset Show desktop
|
# Reset Show desktop
|
||||||
cmdline('xfconf-query --channel xfce4-keyboard-shortcuts --property "/xfwm4/custom/<Primary><Alt>d" --reset')
|
cmdline('xfconf-query --channel xfce4-keyboard-shortcuts --property "/xfwm4/custom/<Primary><Alt>d" --reset')
|
||||||
|
Reference in New Issue
Block a user