0
votes
2answers
454 views

How can I set a certain keycode to a key and bind it to the right action?

I have a laptop with Swedish keyboard layout, everything works well with the keyboard. Due to injuries I am using an external ergonomic USB keyboard, this is where I am experiencing difficulties. The ...
4
votes
1answer
301 views

How can I remap Control+m to Enter?

I'd like to remap some key behaviors globally. For example: Control + m -> Enter Control + [ -> Esc Is there any tool equivalent to Keyremap4Macbook ? Or is it possible to remap by using Xmodmap? ...
7
votes
1answer
990 views

How to bind Ctrl+arrows to Home and End keys? xmodmap does not work

On Windows, I used to bind Ctrl+Left to Home and Ctrl + Right to End via ahk. Now I'm struggling to achieve this behavior in Ubuntu. I've tried editing /etc/inputrc: "\e[1;5C": end-of-line ...
4
votes
2answers
420 views

how to remap Ctrl to Escape if pressed and released on its own

I want to remap Control, so that: If it is pressed and released with no other key, it acts as Escape. If it is pressed & held together with another key, it acts as Control (no change in ...
14
votes
3answers
8k views

How do I set Xmodmap on login?

As my keyboard layout doesn't suit me, I run xmodmap on login. The script is named .profile and it runs OK, but it breaks the Unity interface. I want to know where to put the xmodmap line so that it ...
6
votes
1answer
887 views

making any key into a modifier key

When one presses and holds down certain keys like Control, Alt, Super, no release event is generated while with other keys multiple release & press events are generated simulating the key being ...