Can anyone help me with Fn key on my laptop ? It does not work when I press Fn+App arrow or down arrow or any F key. Which packet I have to install ?

Fn key
(8 posts) (3 voices)-
Posted 12 years ago #
-
You can manage your Fn keys in different ways. How I did it:
Go to your home folder using PCManFM file manager, press Ctrl+H to show hidden files and folders.
Enter to folder .config (yes, name begins with dot), then enter to folder openbox, and open file rc.xml in text editor.
Search for line:
</keyboard>
Copy next code and paste it above the line you found:
<!-- my additional hot keys: START --> <keybind key="XF86AudioMute"> <action name="Execute"> <command>amixer set Master toggle</command> </action> </keybind> <keybind key="XF86AudioRaiseVolume"> <action name="Execute"> <command>amixer set Master 5%+</command> </action> </keybind> <keybind key="XF86AudioLowerVolume"> <action name="Execute"> <command>amixer set Master 5%-</command> </action> </keybind> <keybind key="XF86AudioPlay"> <action name="Execute"> <command>alsaplayer --pause</command> </action> </keybind> <keybind key="XF86AudioNext"> <action name="Execute"> <command>alsaplayer --next</command> </action> </keybind> <keybind key="XF86AudioPrev"> <action name="Execute"> <command>alsaplayer --prev</command> </action> </keybind> <keybind key="XF86Sleep"> <action name="Execute"> <command>sudo pm-suspend</command> </action> </keybind> <keybind key="A-Print"> <action name="Execute"> <command>mtpaint -s</command> </action> </keybind> <keybind key="XF86PowerOff"> <action name="Execute"> <command>poweroff</command> </action> </keybind> <!-- my additional hot keys: END -->
Save the file and close text editor and PCManFM. Minimize all your opened applications, press right mouse button on free space on the desktop, select menu 'Openbox' and press 'Reconfigure'. Done.
Now you can: mute, unmute, rise and lower volume, control alsaplayer, make screenshot (Alt+PrtScr), power off using Power button (though, Sleep button not work, but let the code be here).
Note, that I have next button layout:
Sleep: Fn+F4
Mute/unmute: Fn+F8
VolumeUp: Fn+Up
VolumeDown: Fn+DownYou can have your different layout, and everything should work as expected, because code above use names of keys, not layout.
Posted 12 years ago # -
Thanks !
What about screen brightness control with Fn+Up Arrow and Fn+Down Arrow ?Posted 12 years ago # -
On my netbook it is done out of the box. Both brightness control and touchpad on/off. I think, these keys are hardware driven.
I don't know properly, maybe xset helps you. Install package xorg-xset, type in terminal:
xset --help
Posted 12 years ago # -
Reading xset man page I see that it can't help you to control screen brightness. I found good article on the ArchWiki: https://wiki.archlinux.org/index.php/Backlight
Read and try. By the way, xbacklight you can find in the xorg-xbacklight package, redshift in the redshift package (need python), setpci in pciutils. Xcalib, relight, calise are absent.
Good luck! Post here results of your work.
Posted 12 years ago # -
Thanks.
But xbacklight does not work.tux@slitaz:~$ xbacklight
No outputs have backlight propertyPosted 12 years ago # -
For me too. I have empty folder
/sys/class/backlight
, what about you?Even if I connect to the netbook an external monitor (TV, located in the kitchen), turn it on by LXrandr, then still nothing change.
Posted 12 years ago # -
Man, you was THE GUY!!!!
Thank you for this GREAT tip!
:DRegards from Brazil,
Cristiano
Posted 11 years ago #
Reply
You must log in to post.