mirror of
https://github.com/SinTan1729/random.git
synced 2024-12-24 20:38:36 -06:00
Added hp-keycodes.service
This commit is contained in:
parent
426b6300ca
commit
810644e5a9
1 changed files with 18 additions and 0 deletions
18
hp-keycodes.service
Normal file
18
hp-keycodes.service
Normal file
|
@ -0,0 +1,18 @@
|
|||
# This fixes the annoying issue of WLAN getting disabled on
|
||||
# lid open for HP laptops. Copy this file to /etc/systemd/system/
|
||||
# and enable the hp-keycodes service to fix this issue.
|
||||
# More at https://askubuntu.com/a/965596/537675
|
||||
|
||||
[Unit]
|
||||
Description=HP setkeycodes fix
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
Restart=no
|
||||
RemainAfterExit=no
|
||||
ExecStart=/usr/bin/setkeycodes e057 240 e058 240
|
||||
|
||||
[Install]
|
||||
WantedBy=rescue.target
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=graphical.target
|
Loading…
Reference in a new issue