! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Keyboard shortcut doesn't work with remapped keys with xmodmap
Status:
RESOLVED: FIXED
Product:
Xfce4-settings
Component:
Keyboard Settings

Comments

Description Pigeon 2009-03-07 11:56:07 CET
For example, I remap my caps lock to control:
xmodmap -e 'remove lock = Caps_Lock'
xmodmap -e 'add control = Caps_Lock'

Then goto xfce's "Keyboard" settings, "Application Shortcuts" tab, try to add a shortcut to an app that maps to, for example, "Ctrl-Alt-m".

I remember I've seen this bug in xfce 4.2, and it was fixed at some point.
Comment 1 Pigeon 2009-04-23 00:18:55 CEST
As all i needed was to map the caps lock as a control key, I've discovered instead of using xmodmap, I could also do "setxkbmap -option ctrl:nocaps". And that worked around the problem.

However, I have just discovered another issue with keyboard shortcuts.

When I map a key like ctrl-shift-1, it turns into ctrl-shift-exclam. It used to still work with Xfce 4.4, but not anymore with 4.6.

I have just tried with 4.6.1 too and it has the same issue.
Comment 2 Jérôme Guelfucci editbugs 2011-06-02 23:54:41 CEST
Should be fixed in gist master branch for the ctrl + alt + 1 thing. setxkbmap is indeed the way to go to customize your layout.

Bug #5055

Reported by:
Pigeon
Reported on: 2009-03-07
Last modified on: 2011-06-02

People

Assignee:
Jannis Pohlmann
CC List:
5 users

Version

Attachments

Additional information