I am looking for a way to disable multimedia keys (that coexist with function keys) in hp laptops using terminal commands, such that it is compatible with a script mentioned in the question
how can i create an icon on the launcher to disable keyboard + rotate the screen
The output of xinput -list
is
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ELAN Touchscreen id=10 [slave pointer (2)]
⎜ ↳ ELAN Touchscreen Pen id=11 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=14 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ HP Wide Vision FHD Camera id=9 [slave keyboard (3)]
↳ Intel Virtual Button driver id=12 [slave keyboard (3)]
↳ HP WMI hotkeys id=15 [slave keyboard (3)]
↳ HP Wireless hotkeys id=16 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=13 [slave keyboard (3)]
The output of gsettings list-keys org.gnome.settings-daemon.plugins.media-keys
is
logout
screenreader
volume-mute
volume-up
window-screenshot
previous
control-center
stop
home
terminal
screenshot-clip
magnifier
help
search
custom-keybindings
magnifier-zoom-in
calculator
video-out
eject
window-screenshot-clip
area-screenshot-clip
media
www
play
email
volume-down
decrease-text-size
on-screen-keyboard
next
screenshot
increase-text-size
max-screencast-length
magnifier-zoom-out
priority
screencast
screensaver
toggle-contrast
pause
active
area-screenshot
As you can see
the list does not contain brightness
and airplane
mode.
Therefore disabling id=13 AT Translated Set 2 keyboard
does not disable the brightness adjustment keys (F2
and F3
) and airplane mode key (F12
).
the model that I'm using is HP spectre x360
.