From d6e634b6a2857941c6c30c30d59252b07e699b36 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 31 Mar 2020 13:12:07 +0100 Subject: [PATCH] Always do the Apple fn fix, even if not on a macbook Makes using an Apple keyboard on a non-macbook sane --- tasks/input.yml | 6 ++++++ tasks/mac.yml | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tasks/input.yml b/tasks/input.yml index 100c9e6..aa1a9f0 100644 --- a/tasks/input.yml +++ b/tasks/input.yml @@ -56,3 +56,9 @@ - name: Enable US locale locale_gen: name: en_US.UTF-8 + +- name: Make the FN key work the correct way on Apple keyboards + lineinfile: + path: /etc/modprobe.d/hid_apple.conf + line: options hid_apple fnmode=2 + create: true diff --git a/tasks/mac.yml b/tasks/mac.yml index 851578f..fe1497b 100644 --- a/tasks/mac.yml +++ b/tasks/mac.yml @@ -15,12 +15,6 @@ enabled: true state: started -- name: Make the FN key work the correct way - lineinfile: - path: /etc/modprobe.d/hid_apple.conf - line: options hid_apple fnmode=2 - create: true - - name: Disable power key lineinfile: path: /etc/systemd/logind.conf