You are not logged in.

#1 2011-11-02 15:21:47

tyndallc
Member
From: Manitoba, Canada
Registered: 2010-02-20
Posts: 20

FN + Arrow Keys to Control Volume Help

I am using Arch with XFCE on a Acer Aspire One d257-13434 netbook.  I am trying to get the fn+arrow up/down to work to control the volume level.  I did it once before but I can't remember what I did. Any help would be appreciated.

Offline

#2 2011-11-02 15:25:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: FN + Arrow Keys to Control Volume Help

I can only offer some general advice: read the wiki, maybe the answer is there.
https://wiki.archlinux.org/index.php/Ex … board_Keys
https://wiki.archlinux.org/index.php/Ex … ys_in_Xorg

Offline

#3 2011-11-02 16:52:49

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: FN + Arrow Keys to Control Volume Help

I use xbindkeys with my dedicated volume buttons to control the volume level.

Create the file with gedit (or other text editor): /home/~/.xbindkeys.scm

(xbindkey '("XF86AudioRaiseVolume") "amixer set Master 2dB+ unmute")
(xbindkey '("XF86AudioLowerVolume") "amixer set Master 2dB- unmute")

You need to see what keysym Fn + up-arrow and Fn + down-arrow produce with xev.  You can change it if need be (if they don't currently produce XF86AudioRaiseVolume and XF86AudioLowerVolume) with /home/~/.xmodmap.

Last edited by David Batson (2011-11-02 16:56:12)

Offline

#4 2011-11-13 11:28:00

Yagi858
Member
Registered: 2008-12-17
Posts: 31

Re: FN + Arrow Keys to Control Volume Help

Very simple with xfce4

Just go to
Settings --> Keyboard
Click the "Application Shortcuts" tab and add click the "Add" button. Add the following by entering the command, then pressing the corresponding button at the popup window:

For the raise volume button:
amixer set Master 5%+

For the lower volume button:
amixer set Master 5%-

For the mute button:
amixer set Master toggle

wiki xfce4 updated

Offline

Board footer

Powered by FluxBB