You are not logged in.

#1 2013-11-11 04:22:48

jmpit
Member
Registered: 2013-03-08
Posts: 2

XF86 volume keys in xbindkeys only work when debugging with -n

I have the following three lines in my .xbindkeysrc

"amixer set Master 1-"
       m:0x0 + c:122
       XF86AudioLowerVolume

If I restart X, the audio key does not affect the volume.  If I run the command in the terminal, the volume lowers just as expected.  When I checked the wiki for Xbindkeys, it said to run

xbindkeys -n

and hit the troublesome key to see any errors.  The odd part is when doing this, the key works! the volume lowers normally.  As soon as I quit the debugger, it stops working...

I have a similar entry for my mute key

"amixer sset Master toggle"
       m:0x0 + c:121
       XF86AudioMute

and it works just fine all the time.

How can I make it so the audio lower volume key works all the time, not just when debugging?

(note: XF86AudioRaiseVolume has the same issue)

Offline

#2 2013-11-18 15:42:21

Awebb
Member
Registered: 2010-05-06
Posts: 6,286

Re: XF86 volume keys in xbindkeys only work when debugging with -n

1. How do you start xbindkeys? Are you sure it runs?
2. Do other XF86 key combinations have problems? Do other general key combos have problems?
3. "m:0x0 + c:121": What is this? Does it belong to amixer or xbindkeys? I am not familiar with this code.
4. What does xev tell you about your XF86 keys? Does it give you the right names?

Offline

#3 2013-11-26 02:51:36

jmpit
Member
Registered: 2013-03-08
Posts: 2

Re: XF86 volume keys in xbindkeys only work when debugging with -n

I'm sure my xbindkeys is running and is working properly since other keys work perfectly.  One of the keys that works perfectly is my XF86AudioMute key.  That is what is so puzzling.

To answer (3), that code is what comes up with I use the -k option with xbindkeys to get the key code

To answer (4), I get the names from using the -k option with xbindkeys

Last edited by jmpit (2013-11-26 02:52:26)

Offline

#4 2016-09-08 22:29:18

dodraude
Member
Registered: 2016-09-08
Posts: 1

Re: XF86 volume keys in xbindkeys only work when debugging with -n

I had the same problem as you. The testing works fine because its an active process, you must make changes permanent by running the xbindkeys command.

Offline

Board footer

Powered by FluxBB