How do i enable the volume, brightness, mute/unmute...etc buttons?
i found some tutorial that mentioned i need to get to "~/.config/openbox/rc.xml"
but I cannot find this file, do i create one?
also an example would be useful

keyboard shortcuts/hooks
(9 posts) (3 voices)-
Posted 12 years ago #
-
Hi Adel,
Let me ask you, do you enable hidden files show in your file manager?
Can you see any files beginning with dot in your home folder using PCManFM? If no, you can press Ctrl+H to toggle hidden files show.Posted 12 years ago # -
oh my bad :)
I have found the file
I am following these instructions:
http://wiki.lxde.org/en/LXDE:Questions#How_do_I_make_my_keyboard_volume_buttons_work.3FBut i can't seem to get anything working, would u give me an example for the mute function?
Posted 12 years ago # -
The commands for muting are
amixer-c 0 sset Master, 0 toggle
the command to increase the volume is
amixer-c 0 sset Master 1 + unmute cap
another control to decrease the volume
amixer-c 0 sset Master 1 - unmute capthe problem is that the media keys often have codes not standerd and openbox not identify them.
To install xev occurs with tazpkg-gi xorg-xev
type from the terminal xev | egrep-o "keycode. * \)"
then press the media keys, if the terminal scroll code keys ex.
keycode 176 (keysym 0x0, NoSymbol)
nosymbol not mapped, so do not be set directly, and it gets more complicated. : (Posted 12 years ago # -
I tried doing that but i get a
"-sh: egrep-o: not foundPosted 12 years ago # -
type a full line
xev | egrep-o "keycode. * \)"Posted 12 years ago # -
yeah that's what I did :(
Posted 12 years ago # -
Sorry there was a error from my copy and paste, repeat correct command
xev | egrep -o "keycode.*\)"Posted 12 years ago # -
yup worked just fine, I'll try editing the file now
thanksPosted 12 years ago #
Reply
You must log in to post.