Almost all shortcuts don't work after using KDE/openbox

Hi! I have a different problem with KDE/x11 and because of it sometimes I use KDE/openbox. After that something happened with shortcuts on both systems: almost nothing works (for example, meta to open search panel or ctrl+alt+t for a terminal).

> System:
>   Host: dan-lt Kernel: 5.15.7-1-MANJARO x86_64 bits: 64 compiler: gcc
>     v: 11.1.0 Desktop: KDE Plasma 5.23.4 Distro: Manjaro Linux base: Arch Linux
> Machine:
>   Type: Laptop System: LENOVO product: 81WE v: IdeaPad 3 15IIL05
>     serial: <superuser required>
>   Mobo: LENOVO model: LNVNB161216 v: NO DPK serial: <superuser required>
>     UEFI: LENOVO v: EMCN47WW date: 07/29/2021
> Battery:
>   ID-1: BAT0 charge: 6.2 Wh (19.9%) condition: 31.1/35.0 Wh (88.7%)
>     volts: 7.2 min: 7.5 model: SMP L16M2PB2 status: Discharging
> CPU:
>   Info: quad core model: Intel Core i5-1035G1 bits: 64 type: MT MCP
>     arch: Ice Lake rev: 5 cache: L1: 320 KiB L2: 2 MiB L3: 6 MiB
>   Speed (MHz): avg: 2245 high: 3258 min/max: 400/3600 cores: 1: 1128
>     2: 1086 3: 1241 4: 2483 5: 3026 6: 2586 7: 3154 8: 3258 bogomips: 19048
>   Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
> Graphics:
>   Device-1: Intel Iris Plus Graphics G1 vendor: Lenovo driver: i915 v: kernel
>     bus-ID: 00:02.0
>   Device-2: Syntek Integrated Camera type: USB driver: uvcvideo
>     bus-ID: 1-5:2
>   Display: x11 server: X.Org 1.21.1.2 driver: loaded: intel
>     resolution: 1920x1080~60Hz
>   OpenGL: renderer: Mesa Intel UHD Graphics (ICL GT1) v: 4.6 Mesa 21.2.5
>     direct render: Yes
> Audio:
>   Device-1: Intel Ice Lake-LP Smart Sound Audio vendor: Lenovo
>     driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
>   Sound Server-1: ALSA v: k5.15.7-1-MANJARO running: yes
>   Sound Server-2: JACK v: 1.9.19 running: no
>   Sound Server-3: PulseAudio v: 15.0 running: yes
>   Sound Server-4: PipeWire v: 0.3.40 running: yes
> Network:
>   Device-1: Intel Ice Lake-LP PCH CNVi WiFi driver: iwlwifi v: kernel
>     bus-ID: 00:14.3
>   IF: wlp0s20f3 state: up mac: e0:d4:64:08:b7:3b
> Bluetooth:
>   Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB
>     driver: btusb v: 0.8 bus-ID: 1-10:4
>   Report: rfkill ID: hci0 rfk-id: 3 state: up address: see --recommends
> Drives:
>   Local Storage: total: 476.94 GiB used: 125 GiB (26.2%)
>   ID-1: /dev/nvme0n1 vendor: Western Digital
>     model: PC SN530 SDBPMPZ-512G-1101 size: 476.94 GiB temp: 29.9 C
> Partition:
>   ID-1: / size: 468.09 GiB used: 125 GiB (26.7%) fs: ext4 dev: /dev/nvme0n1p2
>   ID-2: /boot/efi size: 299.4 MiB used: 288 KiB (0.1%) fs: vfat
>     dev: /dev/nvme0n1p1
> Swap:
>   ID-1: swap-1 type: file size: 8 GiB used: 15.5 MiB (0.2%) file: /swapfile
> Sensors:
>   System Temperatures: cpu: 67.0 C mobo: N/A
>   Fan Speeds (RPM): N/A
> Info:
>   Processes: 277 Uptime: 12h 7m Memory: 7.33 GiB used: 3.12 GiB (42.6%)
>   Init: systemd Compilers: gcc: 11.1.0 clang: 13.0.0 Packages: 1570
>   Shell: Zsh v: 5.8 inxi: 3.3.11

I have never tested the Openbox/KDE session variant available when logging in - so I have no idea if there is some kind of integration scripts running behind the scenes. Another thought is the integration is pretty dated - perhaps from KDE3/4 - I don’t know how well it works with Plasma - my initial thougt is it requires more than trivial adjustment.

Openbox uses /etc/xdg/openbox/rc.xml for defined hotkeys and /etc/xdg/openbox/menu.xml for the desktop menu.

The default menu is pretty useless and there is no default hotkeys defined apart from We and this could be the reason your common hotkeys doesn’t work when using Openbox as vm.

You will have to copy the mentioned files to ~/.config/openbox and modify them to suit your workflow.

KDE and I have never had a relationship lasting more than a few hours and we have only seen each other with longer and longer intervals - so I can’t be of any help in that regard.

Hi, thanks for the answer. I deleted KDE/openbox. Is it possible to make default shortcuts for KDE/X11? I set the default ones in settings but they still don’t work.