** Attachment added: "shortcutpatch" https://bugs.launchpad.net/ubuntu/+source/xubuntu-default-settings/+bug/1961506/+attachment/5562244/+files/shortcutpatch
** Tags added: patch ** Description changed: Swapping caps lock and escape in Xubuntu causes the super key to become caps lock. This is because "/etc/xdg/xdg-xubuntu/autostart/xcape-super-binding.desktop" runs "xcape -e 'Super_L=Control_L|Escape'" on startup, which binds super to LCtrl+Escape on release which is bound to xfce4-popup-whiskermenu in xfce4-keyboard-settings. Changing the xcape command in xcape-super-binding.desktop to something not involving escape like "xcape -e 'Super_L=Shift_L|Control_L|Alt_L|Super_L'" and then changing the whiskermenu bind in keyboard settings to Shift+Ctrl+Alt+Super L fixes the issue. - This fix can be applied with these two patch files, applying the first to "/etc/xdg/xdg-xubuntu/autostart/xcape-super-binding.desktop" and the second to "~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml" - $ cat xcapepatch - --- xcape-super-binding.desktop 2021-08-19 06:33:42.000000000 -0500 - +++ xcape-super-binding-updated.desktop 2022-02-19 21:15:45.383340028 -0600 - @@ -1,4 +1,4 @@ - [Desktop Entry] - Name=Bind Super Key - -Exec=xcape -e 'Super_L=Control_L|Escape' - +Exec=xcape -e 'Super_L=Shift_L|Control_L|Alt_L|Super_L' - OnlyShowIn=XFCE; - $ cat shortcutpatch - --- xfce4-keyboard-shortcuts.xml 2022-02-19 20:57:08.901876000 -0600 - +++ xfce4-keyboard-shortcuts-updated.xml 2022-02-19 21:41:15.476227000 -0600 - @@ -61,7 +61,6 @@ - </property> - <property name="XF86Explorer" type="string" value="exo-open --launch FileManager"/> - <property name="<Super>m" type="string" value="exo-open --launch MailReader"/> - - <property name="<Primary>Escape" type="string" value="xfce4-popup-whiskermenu"/> - <property name="<Primary><Shift>Escape" type="string" value="xfce4-taskmanager"/> - <property name="XF86Calculator" type="string" value="mate-calc"/> - <property name="<Super>t" type="string" value="exo-open --launch TerminalEmulator"/> - @@ -78,6 +77,7 @@ - <property name="<Super>e" type="string" value="exo-open --launch FileManager"/> - <property name="XF86WWW" type="string" value="exo-open --launch WebBrowser"/> - <property name="override" type="bool" value="true"/> - + <property name="<Primary><Shift><Alt>Super_L" type="string" value="xfce4-popup-whiskermenu"/> - </property> - </property> - <property name="xfwm4" type="empty"> + This fix can be applied with the two patch file in the comments. Apply xcapepatch to "/etc/xdg/xdg-xubuntu/autostart/xcape-super-binding.desktop" and shortcutpatch to "~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml" ** Description changed: Swapping caps lock and escape in Xubuntu causes the super key to become caps lock. This is because "/etc/xdg/xdg-xubuntu/autostart/xcape-super-binding.desktop" runs "xcape -e 'Super_L=Control_L|Escape'" on startup, which binds super to LCtrl+Escape on release which is bound to xfce4-popup-whiskermenu in xfce4-keyboard-settings. Changing the xcape command in xcape-super-binding.desktop to something not involving escape like "xcape -e 'Super_L=Shift_L|Control_L|Alt_L|Super_L'" and then changing the whiskermenu bind in keyboard settings to Shift+Ctrl+Alt+Super L fixes the issue. - This fix can be applied with the two patch file in the comments. Apply xcapepatch to "/etc/xdg/xdg-xubuntu/autostart/xcape-super-binding.desktop" and shortcutpatch to "~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml" + This fix can be applied with the two patch files in the comments. Apply xcapepatch to "/etc/xdg/xdg-xubuntu/autostart/xcape-super-binding.desktop" and shortcutpatch to "~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1961506 Title: fix super turning into caps when user swaps caps and esc To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xubuntu-default-settings/+bug/1961506/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs