Damn Small Linux Forums
eeePC 1005 fn Key - Printable Version

+- Damn Small Linux Forums (https://damnsmalllinux.org/forums)
+-- Forum: Damn Small Linux Forum (https://damnsmalllinux.org/forums/forum-1.html)
+--- Forum: User Feedback (https://damnsmalllinux.org/forums/forum-2.html)
+--- Thread: eeePC 1005 fn Key (/thread-135.html)



eeePC 1005 fn Key - fran-byte - 07-20-2024

Hi,
Sorry for my English,
I don't know how enable fn key (sounds keys)for my Asus EEEPC 1005P
someone could help me? 
thanks [Image: wink.png]


RE: eeePC 1005 fn Key - John - 07-21-2024

Hi Fran-Byte

I do not have an EEEPC to test on, but it looks like you can do the following...

sudo apt update
sudo apt upgrade
sudo apt install acpi-support acpi
sudo apt install xbindkeys xbindkeys-config
xbindkeys --defaults > ~/.xbindkeysrc
xbindkeys-config

I think you'll need to make a volume up and down script and then point to them in xbindkeys-config

Volume up:
sudo nano /usr/local/bin/volume_up
#!/bin/sh
amixer set Master 5%+

Volume down:
sudo nano /usr/local/bin/volume_down
#!/bin/sh
amixer set Master 5%-

Don't foreget to make the scripts executable:
sudo chmod +x /usr/local/bin/volume_up
sudo chmod +x /usr/local/bin/volume_down

You'll then have to add the key bindings using xbindkeys-config.

After doing that restart xbindkeys:
killall xbindkeys
xbindkeys

Please let us know how it goes.