File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,13 @@ Open a terminal window and enter the following command:
13
13
14
14
Paste the following into the window:
15
15
16
- ``` [Unit]
16
+ ```
17
+ [Unit]
17
18
Description=The command to make the Keychron K2 work
18
19
19
20
[Service]
20
21
Type=oneshot
21
- ExecStart=echo 0 | sudo tee /sys/module/hid_apple/parameters/fnmode
22
+ ExecStart=/bin/bash -c " echo 0 > /sys/module/hid_apple/parameters/fnmode"
22
23
23
24
[Install]
24
25
WantedBy=multi-user.target
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Description=The command to make the Keychron K2 work
3
3
4
4
[Service]
5
5
Type =oneshot
6
- ExecStart =echo 0 | sudo tee /sys/module/hid_apple/parameters/fnmode
6
+ ExecStart =/bin/bash -c " echo 0 > /sys/module/hid_apple/parameters/fnmode"
7
7
8
8
[Install]
9
9
WantedBy =multi-user.target
You can’t perform that action at this time.
0 commit comments