You are not logged in.

#1 2018-07-01 11:21:43

destou
Member
Registered: 2018-03-31
Posts: 59

[SOLVED] undo hid-apple-patched-git-dkms?

I installed  hid-apple-patched-git-dkms which never set my fn key to ctrl but rather witched cmd and alt which is very uncomfortable and counterintuitive... is there a way to undo the changes? I've also edited  /etc/modprobe.d/hid_apple.conf with the config I want but there is no

sudo update-initramfs -u

it says command not found so I am unable to make those settings permanent.

Last edited by destou (2018-07-02 13:04:02)

Offline

#2 2018-07-01 12:36:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED] undo hid-apple-patched-git-dkms?

Which instructions are you following exactly? /etc/modprobe changes do not require you to regenerate your initramfs either way. And usually to undo what a package does it should be sufficient to uninstall the package, unless it did some runtime configuration, which I wouldn't expect from a kernel module.

Last edited by V1del (2018-07-01 12:36:57)

Offline

#3 2018-07-01 12:53:10

destou
Member
Registered: 2018-03-31
Posts: 59

Re: [SOLVED] undo hid-apple-patched-git-dkms?

Added this into /etc/modprobe.d/hid_apple.conf

options hid_apple fnmode=2
options hid_apple swap_fn_letctrl=1
options hid_apple swap_opt_cmd=0

and then I ran

modprobe hid_apple
sudo modprobe hid_apple
sudo mkinitcpio -p linux
sudo reboot

Then the hid_apple.conf changes became permanent. Uninstalling the package didn't undo the changes that's why I had to do this myself. I was following the arch linux wiki but the "regenerate dmks" just passed my eye I guess.

Offline

Board footer

Powered by FluxBB