I have an acer aspire 4320.
Im using archlinux with lxde.
The volume whell and power button do not work.
They do using others DE,like kde or gnome.
What can i do?
Volumen and power button
-
- Posts: 148
- Joined: Sun Jan 11, 2009 6:57 pm
Re: Volumen and power button
You could map them to some command.
I am using xbindkeys for that.
I am using xbindkeys for that.
Re: Volumen and power button
Hi
Me. too. "xbindkeys" is really useful. Have a look at the "xev" command, it will help you .
maces
Me. too. "xbindkeys" is really useful. Have a look at the "xev" command, it will help you .
maces
-
- Posts: 4
- Joined: Wed Apr 01, 2009 1:06 am
Re: Volumen and power button
I did the xev command,and i can see the Volume Whell responding...
But...i cant figure out how to use xbindkeys to make volume whell work :S.
But...i cant figure out how to use xbindkeys to make volume whell work :S.
Re: Volumen and power button
Here is my .xbindkeysrc it is designed for a Logitech G11 keybord and a logitech MX5180 mouse:
Code: Select all
###########################
# xbindkeys configuration #
###########################
#
# Version: 0.1.3
#
# If you edit this, do not forget to uncomment any lines that you change.
# The pound(#) symbol may be used anywhere for comments.
#
# A list of keys is in /usr/include/X11/keysym.h and in
# /usr/include/X11/keysymdef.h
# The XK_ is not needed.
#
# List of modifier (on my keyboard):
# Control, Shift, Mod1 (Alt), Mod2 (NumLock),
# Mod3 (CapsLock), Mod4, Mod5 (Scroll).
#
# Another way to specifie a key is to use 'xev' and set the
# keycode with c:nnn or the modifier with m:nnn where nnn is
# the keycode or the state returned by xev
#
# This file is created by xbindkey_config
# The structure is :
# # Remark
# "command"
# m:xxx + c:xxx
# Shift+...
#keystate_numlock = enable
#keystate_scrolllock = enable
#keystate_capslock = enable
#Logitech MX-518 Mouse left side button (small)
"pcmanfm"
m:0x10 + b:9
Mod2 + NoSymbol
#Logitech MX-5180 Mouse left side button (long)
"lxterminal"
m:0x10 + b:8
Mod2 + NoSymbol
# start lxterminal
"lxterminal"
Mod2+Mod4+Super_L + t
# start firefox
"firefox"
Mod2+Mod4+Super_L + f
# start amixer +
"amixer set Master 1+"
Mod2+Mod4+Super_L + w
# start amixer -
"amixer set Master 1-"
Mod2+Mod4+Super_L + y
# start audacious play/pause
"audacious -t"
Mod2+Mod4+Super_L + s
# start audacious next
"audacious -f"
Mod2+Mod4+Super_L + d
# start audacious prev
"audacious -r"
Mod2+Mod4+Super_L + a
# show my mount gui
"/home/maces/apps/skripts/show_mounted/mount_gui.py"
Mod2+Mod4+Super_L + m
#"xbindkeys_show"
"xbindkeys_config"
control+shift + q
#SoundUp Mastervolume von amixe erhoehen
"amixer set Master 1+"
m:0x0 + c:123
Mod2 + NoSymbol
#SoundDown Mastervolumen von amixer veringern
"amixer set Master 1-"
m:0x0 + c:122
Mod2 + NoSymbol
#Mute amixer Muten
"amixer set Master toggle"
m:0x10 + c:121
Mod2 + NoSymbol
#audacious Playpause
"audacious -t"
m:0x0 + c:172
Mod2 + NoSymbol
#audacious Next
"audacious -f"
m:0x0 + c:171
Mod2 + NoSymbol
#audacious Prev
"audacious -r"
m:0x0 + c:173
Mod2 + NoSymbol
#audacious Stop
"audacious -s"
m:0x10 + c:174
Mod2 + NoSymbol
#take a screenshot
"/home/maces/apps/skripts/screenshot/screenshot -d"
m:0x10 + c:107
Mod2 + Print
#G1
"Command"
m:0x10 + c:177
Mod2 + NoSymbol
#G2
"Command"
m:0x10 + c:152
Mod2 + NoSymbol
#G3
"Command"
m:0x10 + c:190
Mod2 + NoSymbol
#G4
"Command"
m:0x10 + c:208
Mod2 + NoSymbol
#G5
"Command"
m:0x10 + c:129
Mod2 + NoSymbol
#G6
"Command"
m:0x10 + c:130
Mod2 + NoSymbol
#G7
"Command"
m:0x10 + c:231
Mod2 + NoSymbol
#G8
"Command"
m:0x10 + c:209
Mod2 + NoSymbol
#G9
"Command"
m:0x10 + c:210
Mod2 + NoSymbol
#G10
"Command"
m:0x10 + c:136
Mod2 + NoSymbol
#G11
"Command"
m:0x10 + c:220
Mod2 + NoSymbol
#G12
"Command"
m:0x10 + c:143
Mod2 + NoSymbol
#G13
"Command"
m:0x10 + c:246
Mod2 + NoSymbol
#G14
"Command"
m:0x10 + c:251
Mod2 + NoSymbol
#G15
"Command"
m:0x10 + c:137
Mod2 + NoSymbol
#G16
"Command"
m:0x10 + c:138
Mod2 + NoSymbol
#G17
"Command"
m:0x10 + c:182
Mod2 + NoSymbol
#G18
"Command"
m:0x10 + c:183
Mod2 + NoSymbol
#SysSchmalLinksLinks Schmale Taste über Multimedia
"Command"
m:0x10 + c:170
Mod2 + NoSymbol
#SysSchmalLinks Schmale Taste über Multimedia
"Command"
m:0x10 + c:219
Mod2 + NoSymbol
#SysSchmalRechts Schmale Taste über Multimedia
"Command"
m:0x10 + c:249
Mod2 + NoSymbol
#SysSchmalRechtsRechts Schmale Taste über Multimedia
"Command"
m:0x10 + c:205
Mod2 + NoSymbol
#M1
"Command"
m:0x10 + c:184
Mod2 + NoSymbol
#M2
"Command"
m:0x10 + c:93
Mod2 + Mode_switch
#M3
"Command"
m:0x10 + c:131
Mod2 + NoSymbol
#Run dialog
"/home/maces/apps/skripts/run/run.sh"
m:0x18 + c:68
Alt+Mod2 + F2
#
# End of xbindkeys configuration
-
- Posts: 148
- Joined: Sun Jan 11, 2009 6:57 pm
Re: Volumen and power button
May I ask, what exactly a volume wheel is?
Does it send key strokes to the pc, or it soe kind of analog tuner?
Does it send key strokes to the pc, or it soe kind of analog tuner?
Re: Volumen and power button
Maybe a bit late, but can be useful for someone else.
You can edit .config/opengbox/lxde-rc.xml and add the following keybinds for volume wheel and mute.
<!-- Keybindings for audio volume -->
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<execute>amixer -q set Master 1- unmute</execute>
</action>
</keybind>
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<execute>amixer -q set Master 1+ unmute</execute>
</action>
</keybind>
<keybind key="XF86AudioMute">
<action name="Execute">
<execute>amixer -q set Master toggle</execute>
</action>
</keybind>
You can edit .config/opengbox/lxde-rc.xml and add the following keybinds for volume wheel and mute.
<!-- Keybindings for audio volume -->
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<execute>amixer -q set Master 1- unmute</execute>
</action>
</keybind>
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<execute>amixer -q set Master 1+ unmute</execute>
</action>
</keybind>
<keybind key="XF86AudioMute">
<action name="Execute">
<execute>amixer -q set Master toggle</execute>
</action>
</keybind>
Re: Volumen and power button
Hi!
Ive got the same problem with an external USB Keyboard on my
notebook.
Ive tried to change .config/openbox/lxde-rc.xml as stated by
User minisori. It doesnt work with the special volume-keys,
like "XF86AudioLowerVolume".
But it works - for example with F2 - when I replace "XF86AudioLowerVolume"
with "F2".
So what I have to do, to get the special volume keys alive?
Thanks
Rudolf
Ive got the same problem with an external USB Keyboard on my
notebook.
Ive tried to change .config/openbox/lxde-rc.xml as stated by
User minisori. It doesnt work with the special volume-keys,
like "XF86AudioLowerVolume".
But it works - for example with F2 - when I replace "XF86AudioLowerVolume"
with "F2".
So what I have to do, to get the special volume keys alive?
Thanks
Rudolf
Re: Volumen and power button
Hi,
have a look at what "xev" says. You also need special packages for some keys, just google it.
maces
have a look at what "xev" says. You also need special packages for some keys, just google it.
maces