diff options
Diffstat (limited to 'desktop/icewm/patches/icewm-keys.patch')
-rw-r--r-- | desktop/icewm/patches/icewm-keys.patch | 51 |
1 files changed, 11 insertions, 40 deletions
diff --git a/desktop/icewm/patches/icewm-keys.patch b/desktop/icewm/patches/icewm-keys.patch index 7e136bb93288b..c9ad1584f70e5 100644 --- a/desktop/icewm/patches/icewm-keys.patch +++ b/desktop/icewm/patches/icewm-keys.patch @@ -1,43 +1,14 @@ ---- icewm-1.2.30/lib/keys.in.old 2007-01-18 13:55:20.000000000 +0200 -+++ icewm-1.2.30/lib/keys.in 2007-01-18 16:07:07.000000000 +0200 -@@ -9,28 +9,21 @@ - # You'll have to omit XK_ prefixs and to replace XF86XK_ prefixes by - # XF86. Valid modifiers are Alt, Ctrl, Shift, Meta, Super and Hyper. - # --key "Alt+Ctrl+t" xterm --key "Alt+Ctrl+f" fte --key "Alt+Ctrl+e" nedit --key "Alt+Ctrl+g" gimp --key "Alt+Ctrl+n" netscape -noraise -remote openBrowser --key "Alt+Ctrl+b" netscape -noraise -remote openBookmarks --key "Alt+Ctrl+m" netscape -noraise -remote openURL(mailto:,new-window) -+key "Alt+Ctrl+t" xterm -+key "Alt+Ctrl+b" xdg-open about:blank -+key "Alt+Ctrl+s" xdg-open http://www.google.com - --key "Alt+Ctrl+KP_Divide" aumix -v -5 # lower volume --key "Alt+Ctrl+KP_Multiply" aumix -v +5 # raise volume -+key "Super+KP_Subtract" amixer sset PCM 5%- -+key "Super+KP_Add" amixer sset PCM 5%+ - - # "Multimedia key" bindings for XFree86. Gather the keycodes of your +diff -Nur icewm-1.3.12.orig/lib/keys.in icewm-1.3.12/lib/keys.in +--- icewm-1.3.12.orig/lib/keys.in 2015-09-13 16:29:28.000000000 -0500 ++++ icewm-1.3.12/lib/keys.in 2016-01-03 16:28:55.332001195 -0600 +@@ -20,8 +20,8 @@ # advanced function keys by watching the output of the xev command whilest # pressing those keys and map those symbols by using xmodmap. --key "XF86Standby" killall -QUIT icewm --key "XF86AudioLowerVolume" aumix -v -5 --key "XF86AudioRaiseVolume" aumix -v +5 --key "XF86AudioMute" aumix -v 0 --key "XF86AudioPlay" cdplay play 1 --key "XF86AudioStop" cdplay stop --key "XF86HomePage" netscape -noraise -remote openHomepage --key "XF86Mail" netscape -noraise -remote openURL(mailto:,new-window) --key "XF86Search" netscape -noraise -remote openURL(http://www.google.com/) --key "XF86Eject" eject -+key "XF86Standby" killall -QUIT icewm -+key "XF86AudioLowerVolume" amixer sset PCM 5%- -+key "XF86AudioRaiseVolume" amixer sset PCM 5%+ -+key "XF86AudioMute" amixer sset PCM 0% -+key "XF86HomePage" xdg-open about:blank -+key "XF86Search" xdg-open http://www.google.com -+key "XF86Eject" eject +-key "XF86Standby" /bin/sh -c "{ test -e /run/systemd/system && systemctl suspend; } ||:" +-key "XF86Sleep" /bin/sh -c "{ test -e /run/systemd/system && systemctl suspend; } ||:" ++key "XF86Standby" /bin/sh -c "{ pm-suspend; } ||:" ++key "XF86Sleep" /bin/sh -c "{ pm-suspend; } ||:" + key "XF86AudioLowerVolume" amixer sset PCM 5%- + key "XF86AudioRaiseVolume" amixer sset PCM 5%+ + key "XF86AudioMute" amixer sset PCM 0% |