You are not logged in.
Last edited by ShazbotMcNasty (2010-07-14 21:01:24)
Yup....
Offline
Hello,
why do you use xbindkeys when you can do the same thing in your rc.xml with openbox ?
I use something like this :
<keybind key="W-Up">
<action name="Execute">
<execute>aumix -v +10</execute>
</action>
</keybind>
<keybind key="W-Down">
<action name="Execute">
<execute>aumix -v -10</execute>
</action>
</keybind>
Offline
some of us still like the GUI. I personally have borked my machine more than once by missing a keystroke while editing a .xml. Sure I backed up the file and was able to un-break it but not every one is that good from the command line.
Offline
Hello jk26926,
I have a question .. What happen if you use a key bind with xbindkeys that is already in your rc.xml ?
and for keybind / openbox , you have obkey ( but I never use it .. )
Last edited by ADcomp (2010-01-04 15:34:38)
Offline
Hello there, did you tried
xbindkeys -k
?
That works very well, and then you just have to edit it into your xbindkeysrc
The result maybe looks something like this:
"no command"
m:0x10 + c:122
NoSymbol
And now just edit it with your commands:
"amixer sset toggle"
m:0x10 + c:122
NoSymbol
@ADcomp:
On my machine it starts both keybinds(from rc.xml and xbindkeysrc), veryusefull sometimes
Last edited by paulsenior (2010-01-04 16:29:09)
From Germany --> Bad English
Offline
Offline
Offline
Offline
#!/bin/bash
pkill -15 xfce4-notifyd;
VOLUMENOW=`amixer get Master | grep "Front Left:" | awk '{print $5}'`
amixer sset Master 3%+ unmute;
#notify-send "$VOLUMENOW";
notify-send -i /usr/share/icons/elementaryXubuntu-dark/notifications/48/audio-volume-medium.svg Vol "<b>$VOLUMENOW</b>";
sleep 2;
pkill -15 xfce4-notifyd;
Last edited by He_! (2013-10-25 15:02:00)
Offline
I just found that instead of using
amixer sset Master 3%+ unmute
this can be used instead:
pactl set-sink-volume 0 +3%
Its advantage and disadvantage is that it does not stop increasing at 100%
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat