You are not logged in.
Pages: 1
Hi,
I recently switched my keyboard layout from US to US international with deadkeys. It's awesome, everythings is going well, but one thing isn't fun.
I need to do AltGr + ' to have ' , but just ' is doing ´ . Same with Shift + " doing ¨ and AltGr + Shift + " for " .
It's really annoying for programming, and writing in generally.
I'm using Cinnamon, somebody knows how to change the layout of a certain key, or just this behaviour?
Thanks.
Offline
I need to do AltGr + ' to have ' , but just ' is doing ´ . Same with Shift + " doing ¨ and AltGr + Shift + " for " .
Thanks.
Could you rephrase please. I'm afraid I don't follow.
Edit: Ok, nevermind. Those punctuation characters really got me. I'd suggest you look into loadkeys way.
I'd :
Use
sudo dumpkeys >>keyboard.map to output your current keyboard translation table into a file.
Modify the file as your liking. Read
man keymaps for the guide to syntax.
Use
loadkeys keyboard.mapto load the keyboard translation table from the file.
Last edited by bibek22 (2015-12-07 10:55:55)
Offline
I have this for the AltGr key
keycode 100 = AltGr AltGr AltGr
control keycode 100 = AltGr
shift control keycode 100 = AltGr
alt keycode 100 = AltGr
control alt keycode 100 = AltGr But it doesn't look like what I'm looking for.
Offline
You need to look at the entry for the specific character key which you want to map differently and not the modifier unless you want to change the modifier behaviour itself.
So, find the keycode of the key you're concerned with using
sudo showkeyand look the section for that keycode on the map.
Also you need to look at the "complete keycode definition" section of keymaps(5) to know what actual changes you're going to need.
Edit: Leave the AltGr keymap as is if you want the compose function which I think you do.
Last edited by bibek22 (2015-12-08 02:16:51)
Offline
Pages: 1