6
votes
1answer
194 views

How can I remove a single temporary key mapping without resetting the entire keymap?

So I saw this question the other day. The user's K key was broken and they wanted to map it to Right-Shift. A good answer popped up and I thought I'd test it to see if it worked. I ran: xmodmap -e ...
0
votes
0answers
23 views

Issues with xmodmap, alt+shift or alt+control viewed as hyper?

I have a file, .xmodmap, that looks like this : clear Control clear mod4 clear mod1 keycode 64 = Control_L keycode 37 = Control_L keycode 133 = Alt_L keycode 108 = Super_R keycode 134 = Alt_R add ...
2
votes
0answers
66 views

Howto to set AltGr key with xmodmap

I use a us-intl with "AltGr dead keys" layout and the option to switch Alt and Win key. Nice, but my AltGr does not work. The key I want to use for AltGr has keycode 134 (found out using xev). So I ...
0
votes
1answer
160 views

Trying to map <Ctrl>+<hjkl> to <Left Down Up Right> globally (Vim-like arrow keys) with xmodmap

I am trying to map Ctrl+H,J,K,L to arrow keys Left,Down,Up,Right, respectively, on Ubuntu OS (globally, not inside Vim). I've attempted the solution posted here, but the modifier commands are not ...
2
votes
1answer
140 views

Using Xmodmap, my shift lock now acts as both a shift lock and a compose key. I just want it to work as a compose key. What can I do?

I have two Xmodmap files. First one: keycode 8 = keycode 9 = Escape NoSymbol Escape keycode 10 = ampersand 1 ampersand 1 bar exclamdown bar keycode 11 = eacute 2 eacute 2 at oneeighth at ...
1
vote
3answers
172 views

How to map <modifier> + hjkl to arrow key functionality?

I've been getting so used to vim's hjkl for moving around recently, and find myself wanting to use them right after alt tabbing out of vim. What would be the best way to map fn + h/j/k/l to ...
3
votes
1answer
218 views

Assigning Print button to screenshot not working after upgrade from 13.10 to 14.04

When I pressed the Print button, nothing happened. Checked in System Settings, the button is assigned to screenshot. If I assign ANY other button except Print, it works normally. Is this a known ...
0
votes
0answers
35 views

How to xmodmap Super_L+TAB to Alt+TAB

I used xmodmap to use my Super+L key as a ctrl key, but I'd like to use Super+L+Tab as Alt+tab, as I don't like to switch in behaviour between my MacBook and Ubuntu Desktop. Is there any way of ...
0
votes
0answers
73 views

Enter key not working after xmodmap change

Mistook key number for another key, now i cant get it back to working. tried: xmodmap -e "keycode 36 = Return NoSymbol Return" xmodmap -e "keycode 36 = Return" xmodmap -e "keycode 36 = Enter NoSymbol ...
1
vote
0answers
94 views

How do I create curly brackets using Shift + Alt

I'm used to writing curly brackets using Left Shift + Left Alt + 7 or 0. As of right now I can only do them using the Right Alt + 7 or 0. How do I configure my Left Alt + Left Shift to behave as ...
2
votes
0answers
149 views

How to remap key with shift and alt modifier using xmodmap?

I want to put have the following behaviour for key with code 94: 1) by default it is '<' 2) with shift it is '>' 3) with alt it is '|' I only managed to get the default and shift behaviour by ...
2
votes
0answers
86 views

Remap keyboard using xmodmap but when press to change keyboard layout all settings are reset to default

I tried to map key following this guide How do I remap certain keys?. It's work for me. but one problem that i found is when i change keyboard layout (alt+shift) all keys will be reset to default. ...
1
vote
1answer
101 views

How to reconfigure keyboard (W and P not functioning correctly) [duplicate]

I was reluctant in asking this question but everything I've researched has led me to a dead end. Shift + w and Shift + p aren't working correctly. So I'm unable to use W and P unless I use the caps ...
0
votes
0answers
110 views

Ubuntu 13.10 custom keyboard layout

Using Ubuntu 13.10, I want the PrtSc key to work as Menu on Lenovo S430 keyboard. On 13.04 this was possible with modified .Xmodmap file, see Ubuntu 13.04 custom keyboard layout This solution does ...
3
votes
2answers
90 views

Keyboard modifier to use <CAPS> with xmodmap

I've just installed a fresh Ubuntu. For the last 2 years I've used a system that allowed me to use my <CAPSLOCK> key as a keyboard modifier to get the character I want. For isntance, if I ...
3
votes
0answers
3k views

How to remap Fn key combinations (Lenovo G500)

I am running Kubuntu 13.10 on a Lenovo G500 laptop. My question is similar to this one: How can I remap my F keys on my HP laptop? That is to say, my F1-F12 keys are mapped to certain special ...
0
votes
0answers
31 views

Why is the keyboard repeat rate so high for Ctrl, and can I change it to the default rate?

I use my right Ctrl key for Delete by having xmodmap -e "keycode 105 = Delete" in my .bashrc, where 105 is the keycode for my right Ctrl. Today I tried to get it to repeatedly activate when held ...
0
votes
1answer
86 views

Xmodmap configuration

I am trying to configure my keyboard to be able to type German characters without trying to learn another completely different keyboard layout. I found the exact stuff that I need to do to Xmodmap: ! ...
2
votes
2answers
5k views

UbuntuGNOME 13.10 - Problem: Keyboard layout: Control L and Caps Lock swapped

I have a problem in UbuntuGNOME 13.10 which I didn't had in prior releases: I did a clean install and I don't know if it was already there or if I may have changed something, but my "Control L" and ...
6
votes
4answers
542 views

.xmodmap doesn't work for two layouts

before doing the upgrade to Ubuntu 13.10 I was using two layouts for the Keyboard - GR & DE. I was able to set both in one .xmodmap, means I was able to configure GR and DE. Now, when I create a ...
0
votes
0answers
104 views

German Umlauts on US Keyboard and second layout

I want to use the following keyboard layout setup: US layout, modified to support German Umlauts and BG-Bulgarian Phonetic layout. So, the normal setup Standard US, BG works fine. Also, I ...
1
vote
1answer
279 views

Ubuntu 13.04 custom keyboard layout

Using Ubuntu 13.04, I want the PrtSc key to work as Menu on Lenovo S430 keyboard. /usr/bin/xmodmap /home/user/.Xmodmap with modified line keycode 107 = Menu NoSymbol Menu NoSymbol Menu Does not ...
0
votes
1answer
114 views

Map CapsLock key to Return

I want to remap my CapsLock key to work as if it was a Return key. I've created a xmodmap file like this: remove Lock = Caps_Lock keycode 66 = Return If i run it from Terminal: xmodmap ...
1
vote
0answers
78 views

I want to use Xmodmap along with multiple layouts

I usually use 3 keyboard layouts: US, BG, DE. As I need the DE layout only for Umlaute, I found the solution with modifying the keys in ~/.Xmodmap. The command xmodmap ~/.Xmodmap changes my US layout ...
1
vote
1answer
832 views

How to apply Xmodmap permanently

I had to make some changes to the xmodmap in my home directory. When i execute xmodmap ./.Xmodmap everthing works as expected. But i can't figure out how to apply this permanently. I tried to add it ...
2
votes
2answers
764 views

Set Context Menu key to function as Right Control

Dell notebooks in Brazil and possibly other countries no longer ship with a right control key. This is bad for ergonomics, so I would like to set the context menu key to function as right control. ...
0
votes
1answer
54 views

Remap dead_diaresis(?) to to CTRL

I have some problem with my left little finger. So I'm trying to remap the key which looks like this: with the CTRL-button. That part I managed. Now I want to place that key on the caps lock key ...
0
votes
1answer
178 views

Caps-Lock remaps to ESC doesn't desactivate the capslocking

I'm the happy owner of a Asus ZenBook Prime UX31A-R4005P running kubuntu 13.04. I'm also a happy vim user, that mean I'm lazy and don't like for my hands to move more than they should. I did remap ...
1
vote
0answers
127 views

How can I correctly rebind an additional space to another key?

I've bought a split ergonomic keyboard, and wish to bind the left spacebar to space. I'm attempting to use xmodmap, which binds it fine when pressed alone, except it does not correctly recognise ...
1
vote
3answers
1k views

Chromebook: Map Search Key to ctrl, ubuntu

I've got ubuntu running on chromebook using crouton. How do I map the search key to the ctrl action. Similar to this, swapping the caps lock key and the ctrl key. /usr/bin/setxkbmap -option ...
2
votes
1answer
442 views

After swapping ctrl and caps in xmodmap, how can I make ctrl work properly for multi-modifier combinations?

I've swapped left ctrl and caps lock by creating ~/.Xmodmap keycode 66 = Control_L keycode 37 = Caps_Lock clear Lock clear Control add Lock = Caps_Lock add Control = Control_L Control_R then ...
4
votes
1answer
317 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? ...
1
vote
0answers
151 views

Xmodmap changes aren't taking effect

Ok. I have a Thinkpad laptop and my bottom left key is a function key instead of a Control key like I'm used to. So I fired up xev, pressed the Fn and got a keycode of 151. So I cleared all of it's ...
2
votes
1answer
289 views

Can I configure both Alt keys to print 3rd level signs via xmodmap or keyboard-options?

Currently only my right Alt-Key (which xev prints out as keycode 108 / "ISO-Level3-Shift") is able to print 3rd-level characters like {[]}. The left Alt-key (xev shows it as keycode 64 / Alt_L) ...
0
votes
1answer
270 views

Questions about remapping keys

I have a couple of questions about remapping keys et al. How to interpret the output of the command xmodmap -pk. I put in xmodmap -pk | less and try to browse for the key I am looking for. Here's a ...
0
votes
2answers
793 views

How can I remap my keys to act like the Macintosh keyboard (like hold alt l + l click = r click)?

I want my keyboard layout to act like a Macintosh keyboard. It's hard to use my computer after years on a mac. I want to disable my right mouse click, and replace it with alt + right mouse click. ...
3
votes
0answers
1k views

How to share two keyboard on the same laptop, french iso layout and usa ansi layout keyboard with usb?

I recently buy a "noppoo choc mini" with this specific ANSI US-INTERNATIONAL pc84 layout. This specific keyboard have only 84 key , a 60% (compact tenkeyless) reduced layout My problem is ...
15
votes
3answers
13k views

How do I switch the Command key and Control key on a MacBook Pro?

I have scoured the web, and I can't seem to get Xmodmap / anything to work properly. I want to swap BOTH my Command keys with my Control key - in essence, inverting what they do currently. How would ...
0
votes
2answers
861 views

Caps Lock/ Tab Swap Xmodmap Errors

Ubuntu 11.10 First off, I'm completely new to Linux, as in I just partitioned my computer two days ago and installed Ubuntu. My tab key recently quit on me, and I would rather swap the caps lock and ...
2
votes
2answers
328 views

Changing Ctrl-Win-Alt keys to Win-Alt-Ctrl

Coming from a Mac, the standard modifier keys on Linux (and Windows) are pretty irritating. I need my thumb to be able to hit control so I need to change alt to control. I need the windows key out ...
0
votes
1answer
535 views

Extracting and automating xkeycaps configuration

This is my procedure every time I start my computer: xkeycaps -kbd mac I then swap the downarrow and left shift keys, which in fact switches the Left-Command and Left-Option on my Mac keyboard. ...
2
votes
1answer
169 views

Redefined ctrl key: can I obtain multiple strokes by holding?

I have redefined my right ctrl key to delete, using xmodmap -e "keycode 105 = Delete" and this works very nicely, except that whenever I hold the key, it deletes only once. Of course, I can ...
7
votes
2answers
1k views

Simplest way to swap esc key with ` key

What is the simplest way to swap the functionality of the Esc key and the ` key? System ➜ Preferences ➜Keyboard ➜ Layouts ➜ Options let me swap my Ctrl key and Capslock key, which was good, but it ...
13
votes
1answer
11k views

How do I clear xmodmap settings?

Exactly what the title asks. How do I clear xmodmap settings? I have an IBM model M, and somehow xkeycaps got it into its head that my "End" key was not any key at all. xev reports keypresses when I ...
2
votes
1answer
607 views

Diagnosing xmodmap errors [closed]

I'm getting this error when trying to use xmodmap to get rid of caps lock: $ xmodmap -e 'clear Lock' X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode ...