I've got right alt remapped to ctrl (via remap right alt to behave as right ctrl), now I need my ctrl to be an alt. thanks for help with this
Asked
Active
Viewed 5,866 times
2 Answers
4
I would add setxkbmap -option 'ctrl:rctrl_ralt' to the startup applications
- Open up the startup applications menu by searching
startup applicationsin the dash. - Click
Addand set the command tosetxkbmap -option 'ctrl:rctrl_ralt'. - (optional) Set the name and/or comment.
EDIT: Thanks @quixotic for the command
3
You may achieve the result by editing the /usr/share/X11/xkb/symbols/pc file.
Find the line starting with key <ALT> and replace Alt_R to Control_R.
If you want to swap right control with right alt, you need also find the line starting with key <RCTL> and do analogically. Then relogin to the system.
Works on Ubuntu 18.10 gnome-shell 3.30
ilyuha21st
- 181