You are not logged in.
Pages: 1
Hello
I am having a problem with the FN keys on a HP Probook 4320s and using openbox.
When I tried an ubuntu live cd the brightness, volume etc, worked just fine.
Using xev I got this output while hitting the keys
KeyRelease event, serial 40, synthetic NO, window 0x1800001,
root 0x152, subw 0x0, time 1722303, (-375,141), root:(717,436),
state 0x0, keycode 233 (keysym 0x1008ff02, XF86MonBrightnessUp), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
Also when I echo a value in /sys/class/backlight/acpi_video0/brightness the brightness changes but still fn keys not working.
Can anyone help me with this?.
Offline
Use xbindkeys and define the command to use on that keycode and/or the key name (XF86MonBrightnessUp)
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Is there a way to see what is called when pressing the keys in ubuntu? I could write a scrips to be called and decrease/increase brightness as I have done for the sound but I still want to know if I can reverse the action in ubuntu and see what is wrong in arch.
Offline
I am having a problem with the FN keys on a HP Probook 4320s and using openbox.
When I tried an ubuntu live cd the brightness, volume etc, worked just fine.
Openbox is a window manager, not an environment like Gnome. It manages windows, not your screen brightness and wireless settings.
I can reverse the action in ubuntu and see what is wrong in arch.
Nothing is wrong. And your keys work fine, I know because mine do.
Is there a way to see what is called when pressing the keys in ubuntu?
They developed their own notifications that handle this. You can just call xbacklight and amixer for a start from xbindkeys.
For volume and brightness an applet is nicer to get the visal cue, you can do that with a little bash and Zenity easily, or code your own in GTK (I used pygtk for mine).
You need to install an RTFM interface.
Offline
Thank you for your useful answers.
I have managed to increase/decrease brightness by assigning the keys to scripts.
I just have one last little problem. I am running a script that needs sudo and I have entered this line at the sudoers
valemon ALL=(ALL) NOPASSWD: /usr/bin/brightness_control/brightnesscontrol.sh
But still it requires password to run?
I am soo close..
Offline
Pages: 1