Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 8193  / 1 Year ago, thu, april 6, 2023, 1:40:11

How do I swap the left Alt and the left Super ("windows") keys in Saucy Salamander? I just upgraded and I have noticed the keyboard layout dialog has changed, and I can no longer find the options window. I use this option because occasionally I use a Sun keyboard that has super next to space, which I'm not used to.


More From » 13.10

 Answers
0

You can use the following commands in terminal to swap Left Alt with Left Super:



xmodmap -e "keycode 64 = Super_L NoSymbol Super_L"    #this will make Alt_L to act as Super_L
xmodmap -e "keycode 133 = Alt_L Meta_L Alt_L Meta_L" #this will make Super_L to act as Alt_L


To get this change for every session, after you have run the ​​previous commands create a file called .xmodmap with the new keymaps, using the following command:



xmodmap -pke > .xmodmap


Then, create a file called .xinitrc in your home directory, containing the following line/command:



xmodmap .xmodmap

[#28813] Saturday, April 8, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
brailloni

Total Points: 122
Total Questions: 108
Total Answers: 108

Location: North Korea
Member since Tue, Apr 4, 2023
1 Year ago
;