How to disable certain keyboard shortcuts?

Message
Author
User avatar
Mauser
Posts: 1514
Joined: Mon Jun 27, 2016 7:32 pm

How to disable certain keyboard shortcuts?

#1 Post by Mauser »

I rarely use keyboard shortcuts but sometimes I do like when I use xkill. The problem I have been having is because of my large fingers sometimes keys get hit that I didn't intend to hit. The most annoying one is the panel vanishes and I hit F11 to make it come back. Is there a way to disable certain shortcuts without disabling keys that are needed for other tasks? I have looked in Settings > Keyboard > Application Shortcuts but I couldn't find anything that would disable the key that causes the vanishing panel. I added the results of Quick System Info in case it's needed.

Code: Select all

System:    Kernel: 6.0.0-3.1mx-amd64 [6.0.7-1~mx21+1] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/vmlinuz-6.0.0-3.1mx-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: Compiz 0.8.18 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.2.1_x64 Wildflower October 20  2021 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Desktop Mobo: Gigabyte model: B450 AORUS ELITE serial: <filter> 
           UEFI: American Megatrends LLC. v: F64a date: 02/17/2022 
CPU:       Info: 8-Core model: AMD Ryzen 7 2700X bits: 64 type: MT MCP arch: Zen+ family: 17 (23) 
           model-id: 8 stepping: 2 microcode: 800820D cache: L2: 4 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 118172 
           Speed: 2200 MHz min/max: 2200/3700 MHz boost: enabled Core speeds (MHz): 1: 2200 
           2: 1996 3: 3700 4: 1712 5: 2200 6: 2194 7: 2196 8: 2192 9: 2200 10: 2200 11: 2100 
           12: 2192 13: 2200 14: 2191 15: 2200 16: 2200 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: mmio_stale_data status: Not affected 
           Type: retbleed mitigation: untrained return thunk; SMT vulnerable 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP: disabled, RSB 
           filling, PBRSB-eIBRS: Not affected 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: AMD Baffin [Radeon RX 550 640SP / RX 560/560X] vendor: XFX Pine 
           driver: amdgpu v: kernel bus-ID: 07:00.0 chip-ID: 1002:67ff class-ID: 0300 
           Display: x11 server: X.Org 1.20.11 compositor: compiz v: 0.8.18 driver: loaded: amdgpu 
           display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
           s-diag: 582mm (22.9") 
           Monitor-1: DVI-D-0 res: 1920x1080 hz: 60 dpi: 82 size: 598x336mm (23.5x13.2") 
           diag: 686mm (27") 
           OpenGL: 
           renderer: Radeon RX 550 Series (POLARIS11 DRM 3.48.0 6.0.0-3.1mx-amd64 LLVM 11.0.1) 
           v: 4.6 Mesa 20.3.5 direct render: Yes 
Audio:     Device-1: AMD Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X] vendor: XFX Pine 
           driver: snd_hda_intel v: kernel bus-ID: 07:00.1 chip-ID: 1002:aae0 class-ID: 0403 
           Device-2: AMD Family 17h HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel 
           bus-ID: 09:00.3 chip-ID: 1022:1457 class-ID: 0403 
           Sound Server-1: ALSA v: k6.0.0-3.1mx-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte 
           driver: r8169 v: kernel port: f000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           IF-ID-1: wgpia0 state: unknown speed: N/A duplex: N/A mac: N/A 
Drives:    Local Storage: total: 15.02 TiB used: 6.23 TiB (41.5%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 maj-min: 259:0 model: PCIe SSD size: 476.94 GiB block-size: 
           physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> 
           rev: ECFM22.9 temp: 27.9 C scheme: GPT 
           ID-2: /dev/sda maj-min: 8:0 vendor: HGST (Hitachi) model: HUS728T8TALE6L4 
           size: 7.28 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD 
           rpm: 7200 serial: <filter> rev: W414 scheme: GPT 
           ID-3: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST8000DM004-2CX188 size: 7.28 TiB 
           block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5425 
           serial: <filter> rev: 0001 scheme: GPT 
Partition: ID-1: / raw-size: 475.67 GiB size: 467.14 GiB (98.21%) used: 18.3 GiB (3.9%) fs: ext4 
           dev: /dev/dm-0 maj-min: 253:0 mapped: root.fsm 
           ID-2: /boot raw-size: 1024 MiB size: 973.4 MiB (95.06%) used: 413.5 MiB (42.5%) 
           fs: ext4 dev: /dev/nvme0n1p1 maj-min: 259:1 
           ID-3: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat 
           dev: /dev/nvme0n1p2 maj-min: 259:2 
           ID-4: /home raw-size: 7.25 TiB size: 7.2 TiB (99.20%) used: 6.22 TiB (86.4%) fs: ext4 
           dev: /dev/dm-1 maj-min: 253:1 mapped: 1.home.fsm 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 24.01 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/dm-2 maj-min: 253:2 mapped: swap 
Sensors:   System Temperatures: cpu: 42.9 C mobo: 16.8 C gpu: amdgpu temp: 56.0 C 
           Fan Speeds (RPM): N/A gpu: amdgpu fan: 269 
Repos:     Packages: 2571 note: see --pkg apt: 2560 lib: 1333 flatpak: 11 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian bullseye-updates main non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian bullseye main non-free
           2: deb http://security.debian.org/debian-security bullseye-security main non-free
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bullseye main non-free
Info:      Processes: 371 Uptime: 21h 30m wakeups: 1 Memory: 23.4 GiB used: 3.56 GiB (15.2%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: UEFI
I am command line illiterate. :confused: I copy & paste to the terminal. Liars, Wiseguys, Trolls, and those without manners will be added to my ignore list. :mad:

Huckleberry Finn

Re: How to disable certain keyboard shortcuts?

#2 Post by Huckleberry Finn »

The only suspect is F11 again.. First F11 by accident, panel disappears, then F11 consciously , it comes back.

There seems to be no other candidate (also in default settings) to hide the panel.

User avatar
dolphin_oracle
Developer
Posts: 22765
Joined: Sun Dec 16, 2007 12:17 pm

Re: How to disable certain keyboard shortcuts?

#3 Post by dolphin_oracle »

F11 is used in many apps for "full screen mode". Its probably in-app, not in Xfce.

xfwm is configured for full screen with alt+f11 for full screen mode for apps as well. that can be found in the Window Manager->Keyboard
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
Mauser
Posts: 1514
Joined: Mon Jun 27, 2016 7:32 pm

Re: How to disable certain keyboard shortcuts?

#4 Post by Mauser »

dolphin_oracle wrote: Sat Nov 19, 2022 10:41 am F11 is used in many apps for "full screen mode". Its probably in-app, not in Xfce.

xfwm is configured for full screen with alt+f11 for full screen mode for apps as well. that can be found in the Window Manager->Keyboard
Does that mean it can't be disabled? It seems to be F11 is being hit inadvertently. Is there a way to to disable the F11 key?
I am command line illiterate. :confused: I copy & paste to the terminal. Liars, Wiseguys, Trolls, and those without manners will be added to my ignore list. :mad:

Huckleberry Finn

Re: How to disable certain keyboard shortcuts?

#5 Post by Huckleberry Finn »

You can edit the "Toggle Full Screen" (change any of the keys: just Alt or just F11 or both) (or even delete the whole entry) in "Window Manager" => "Keyboard" tab.

Post Reply

Return to “Hardware /Configuration”