[SOLVED] Firefox ignores xmodmap changes

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mat44

[SOLVED] Firefox ignores xmodmap changes

Post by mat44 »

My laptop has a "uncommon" keyboard layout where the /?° key is right ctrl on most layouts. so i figured i could change it with

Code: Select all

xmodmap -e "keycode 105 = slash question"
i haven't figured out how to get the ° working though
And that works fine for most things except for firefox, which still thinks its a right ctrl key.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
magnus7
Level 4
Level 4
Posts: 359
Joined: Sat Jan 30, 2016 8:46 pm

Re: Firefox ignores xmodmap changes

Post by magnus7 »

xmodmap is obsolete, use xkb.
Run this command in terminal and restart the computer:

Code: Select all

sudo sed -i '30s|.*|key <RCTL>{[slash,question,degree]};|' \
/usr/share/X11/xkb/symbols/pc && sudo dpkg-reconfigure xkb-data
Locked

Return to “Software & Applications”