Posts: 39
Brad562
Joined: 11 Aug 2017
#1
Some of my keys work okay. I am talking about Fn + F1 for example. That one works for sleep

I need to remap keybindings for mute, volume up and volume down.

What I have tried so far:

In fluxbox I opened up

Code: Select all

sudo leafpad ~/.fluxbox/keys
I went to section of the file named

Code: Select all

#Set Volume
OnDesktop F8 :ExecCommand amixer -q set PCM 5+  #Increase volume
OnDesktop Mod1 Mouse5 :ExecCommand amixer -q set PCM 5-  #Decrease volume 
Changed the line with to F8 (Because i would prefer to just press F8 rather than Fn + F8

I read something about using xev to discover the true key but I dont understand in xev what to do

That didnt work.

And I could HAVE SWORN TO GOD that I had seen an option in the system menu that allowed remapping keys or keybindings (not sure what is the correct terminology) But now that I look again and have gone thru all options I dont see it.

So Im thinking it has to be done"the hard way" by editing this esoteric file

We all know how long it takes to get a Linux set up"just right". Many hours for me.

But flash is working just fine out of the box on this Anti-x so thats good. I like the distro alot so far, I am willing to put in the time to work thru the problems.

Thank you in advance for your advice. This is what xev says when I press the F8 key (Volume up)

Code: Select all

KeyRelease event, serial 38, synthetic NO, window 0x2800001,
    root 0x2c4, subw 0x0, time 3741697, (232,790), root:(1622,813),
    state 0x10, keycode 74 (keysym 0xffc5, F8), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False
Last edited by Brad562 on 12 Aug 2017, 18:22, edited 1 time in total.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#2
if you just want your regular multimedia volume keys to work, assuming you have them, try enabling the function by right-clicking on the volumeicon and enabling them in the settings dialog that will appear.
Posts: 39
Brad562
Joined: 11 Aug 2017
#3
Wow, thanks!

That was easy =)

Works like a charm