mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
5a1f3c6799
Thanks to Janusz Kuśnierek for the suggestion. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
43 lines
1.8 KiB
Diff
43 lines
1.8 KiB
Diff
--- 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
|
|
# 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
|