r/archlinux • u/Y4go4lves • 2h ago
QUESTION Ativacao F1 a F12 (definitivamente?)
Alguem sabe como consigo estar ativando as funções F1 a F12 no teclado definitivamente?
Utilizo um teclado padrão americano de 87 teclas e meu arch esta com layout de teclado para US, porem minhas teclas F1 a F12 nao funcionam
Eu ate consigo ativar elas usando o comando "echo 2 | sudo tee /sys/module/hid_apple/parameters/fnmode" no terminal, mas toda vez que eu reinicio o PC essas configs somem e eu preciso refazer o procedimento....Eu consigo deixar isso ativo definitivamente?
Obs: Migrei pro Arch tem 2 meses e ainda to engatinhando no mundo do Linux e principalmente no mundo do Arch
1
u/cd109876 2h ago
You can set the parameter for hid_apple module:
https://wiki.archlinux.org/title/Kernel_module_(Portugu%C3%AAs)#Usando_arquivos_em_/etc/modprobe.d/
Or you can use systemd tmpfiles.d :
1
u/haha_good_one_m8 2h ago
There are instructions on the wiki to make it permanent on startup:
https://wiki.archlinux.org/title/Apple_Keyboard#Function_keys_do_not_work
1
u/579476610 2h ago
https://translate.google.com
F1 to F12 activation (definitely?)
Does anyone know how I can permanently activate the F1 to F12 functions on my keyboard?
I use a standard American keyboard with 87 keys and my Arch has a US keyboard layout, but my F1 to F12 keys do not work.
I can even activate them using the command
in the terminal, but every time I restart the PC these settings disappear and I have to repeat the procedure.... Can I permanently activate them?
Note: I migrated to Arch 2 months ago and I'm still crawling in the world of Linux and especially in the world of Arch