Carlos_Cunha
(usa Linux Mint)
Enviado em 22/08/2022 - 08:36h
Tente isso....
# TEMPORARIEDADE
The first way is to temporarily set this value. This means that when you next reboot your machine the value will be put back to the default (which is 1). To do this you just need to echo the value you want into the file at /sys/module/hid_apple/parameters/fnmode.
echo 0 | sudo tee /sys/module/hid_apple/parameters/fnmode
To double check that the value has taken just use cat to print out the contents of the file. It should only contain a single character so the output will be very short.
$ cat /sys/module/hid_apple/parameters/fnmode
0
To set the value back to 1 use the following.
echo 1 | sudo tee /sys/module/hid_apple/parameters/fnmode
Remember that when you reboot your machine the value will be back to 1.
# PERMANENTEMENTE
The second way to do this is to write this value into your system permanently. This involves setting the value of the fnmode to be the value you need, which will then be copied into the fnmode file mentioned above.
echo options hid_apple fnmode=0 | sudo tee -a /etc/modprobe.d/hid_apple.conf
This will do nothing until you trigger copying the configuration into the initramfs boot file. This can be done by killing the update-initramfs service.
sudo update-initramfs -u -k all
Fonte:
#-------------------------------------------------------------------------------------#
"Falar é fácil, me mostre o código." - Linus Torvalds
#-------------------------------------------------------------------------------------#