0
votes
1answer
25 views

Left Alt key should work as right Alt key (Alt Gr)

I'm using a German Apple keyboard on my Ubuntu 12.04 machine. Under Mac OS X the left Alt key has the same behavior as the right Alt key (I think the right Alt key acts a Alt Gr). I don't know what I ...
0
votes
0answers
37 views

Remap Windows key

I have a hardware "Windows" button on the front of my Lenovo Ideapad Yoga 13 that maps to the "Windows" key. According to xev, the keycode passed by the "Windows" key is the same that is passed by the ...
0
votes
0answers
22 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
38 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 ...
1
vote
0answers
45 views

Remapping Menu key to Delete on Xubuntu

I would like to bind my Menu key (the one that brings up the context menu at your cursor location) to my Delete key for convenience. Preferably, I'd like to do this through xkboptions in ...
0
votes
0answers
32 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. ...
0
votes
0answers
34 views

problem switching between shift and super key

since my shift key in my keyboard is not functioning properly I wanted to permenantly switch between shift and super key. I've succeeded doing that by using xmodmap command which runs this script: ! ...
1
vote
1answer
52 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 ...
1
vote
0answers
38 views

Function keys on the apply keyboard with no root

There is a well-known method on how to make function keys work on Apple keyboards in Ubuntu: echo 2 | sudo tee /sys/module/hid_apple/parameters/fnmode However, is there a way to do that with no root? ...
0
votes
2answers
242 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 ...
1
vote
1answer
89 views

Swapping right shift and delete key using xmodmap

I'm unsure how to swap these 2, this is the thought process I had but am unsure how to get it working: remove sh = Shift_R remove dl = Delete keysym Delete = Shift_R keysym Shift_R = Delete add sh ...
1
vote
1answer
69 views

How to map right shift to slash using xmodmap? [duplicate]

How to map Shift_R to slash (/) using xmodmap?
3
votes
1answer
661 views

How do I remap the IJKL keys to arrow keys when I hold Alt down?

I need to remap IJKL to the arrow keys while alt is down. Also, modifiers should still work ie: Shift+Ctrl+Alt+L should map to Shift+Ctrl+RightArrow I was able to get this working using xbindkeys + ...
0
votes
0answers
27 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
66 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: ! ...
0
votes
0answers
75 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 ...
3
votes
1answer
197 views

Change aphostrohe with AltGr + P using xmodmap

I'm struggling with changing one keybind with xmodmap. AltGr + P outputs þ, but I would like to change it to output '. xmodmap -pm outputs: xmodmap: up to 4 keys per modifier, (keycodes in ...
0
votes
0answers
80 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 ...
0
votes
0answers
53 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 ...
0
votes
0answers
364 views

Remapping Mac Keyboard

I use a Logitech Mac-layout keyboard. I'd like my Option(alt) key to be my super key, left control to be meta, and cmd to be Control. How do I go about doing this? I've fiddled around with the ...
0
votes
1answer
186 views

xmodmap reverting periodically

I'm using xmodmap to swap control and command keys on my macbook pro. However, periodically the key revert back to their original state and this is becoming quite annoying. I'm on Ubuntu 13.10 and I ...
0
votes
1answer
553 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
490 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
40 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
142 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
108 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 ...
2
votes
1answer
345 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 ...
3
votes
1answer
249 views

Ubuntu 12.10 xmodmap reset after usb plug/unplug

In Ubuntu 12.10 my .Xmodmap settings get lost (reset) after I plug/unplug my wireless keyboard/mouse combo. Do you know how to prevent or override this behavior?
1
vote
0answers
248 views

Ubuntu 12.10: Window switching using key combination Alt-Tab changes behaviour when using Alt specified by xmodmap

Alt-Tab normally lets you cycle through open windows and changes focus to the window that is active when you release Alt. This is all fine, but I want to use another key for Alt_L so I've specified ...
1
vote
0answers
131 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 ...
7
votes
1answer
741 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
1k views

How to swap Ctrl and Fn on a Lenovo Thinkpad keyboard?

I tried to exchange my Fn key with left Control, which didn't work. I used the command xev to get the keycodes/keysym. Afterwards I used: xmodmap -e 'keycode 151=Control_L' xmodmap -e 'keycode ...
1
vote
1answer
593 views

Remapping keys on Apple keyboard

I'm using the German Apple keyboard for both MacOS X and Ubuntu 12.10. $ lsbusb ... Bus 002 Device 004: ID 05ac:0250 Apple, Inc. MP110Z/B I've successfully remapped the exchanged < and ^ ...
4
votes
2answers
333 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 ...
2
votes
0answers
151 views

Map function+backspace to delete

I'm used to Apple laptops, on which Function + Backspace is mapped to Delete. I'm also okay with Shift + Backspace. Is there a way to obtain this? Note, I'm using Xmonad and have some keyboard ...
5
votes
3answers
2k views

Remapping Caps Lock to Control and Escape (not the usual way)

I know how to use xmodmap to remap the Caps lock key so it acts as a Control key, or as an Escape key. I would like to combine both features as follows: When I push, then release, the Caps lock key, ...
0
votes
2answers
718 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. ...
2
votes
1answer
1k views

Keyboard / keymap problems with Xubuntu 12.04 + NX nomachine

I'm running NX client on my Macbook Pro to connect to a Xubuntu 12.04 desktop at work. I have configured NX client to start up a console upon connection. I am able to connect to my remote linux ...
3
votes
1answer
871 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 ...
13
votes
3answers
9k views

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

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
1answer
120 views

Change is key-mapping is not remembered in Ubuntu 10.04

I have mapped my PageDown key to the Return command on my keyboard as the original Return key is broken. I used the following command [ I'm using Ubuntu 10.04 ]: xmodmap -e 'keycode 117=Return' It ...
4
votes
2answers
2k views

Remapping keyboard shortcuts (copy, paste etc) to Alt key instead of Ctrl

Interestingly, it turns out this is almost impossible to do. Remapping Alt key to behave as another Ctrl key is not a solution because you lose the Alt key functionalities (some of which are ...
3
votes
1answer
350 views

Changing keybindings for Ubuntu using xmodmap fails

I've changed some of the keybindings for my keyboard using xmodmap, I've specifically changed my caps-lock key to point to CTRL_L and my CTRL_L key to point to Super_L. This registers in xev but my ...
3
votes
1answer
432 views

xmodmap works for gnome session, but not for apps?

I'm running Ubuntu 11.10 using the gnome-fallback mode with compiz. My keyboard is the Apple metal add-on USB keyboard. My .Xmodmap file is set to swap the Alt and Command keys. I built the key map ...
3
votes
3answers
680 views

How do I bind 'Menu key' to right 'Win key'?

I have a keyboard with two "Win" keys but without "Menu" key. I'd like to bind my right Win as Menu. I tried do used xev in terminal and get keycode for .Xmodmap file but can't take code of right Win. ...
3
votes
1answer
734 views

xmodmap periodic resets on Xubuntu

I'm running Xubuntu 11.04 and i'm using a KeyOvation mac compatible Gold Touch keyboard. Because the weird ordering of ctrl, option, and the apple key, I wanted to remap the keys to my liking using ...
4
votes
0answers
285 views

Hyper does the same as super by default [closed]

Under the keyboard → layouts → options, one has the ability to 'Make caps lock an additional hyper'. This is a good feature because I personally abhor caps lock and like additional shortcuts. ...
6
votes
1answer
2k views

What does “Key to choose 5th level” in gnome-keyboard-properties do?

There is an option to specify a key to be used to acces 5th level on the keyboard in gnome-keyboard-properties ("Keyboard" under Hardware in System settings): But if I set the 5th level to AltGr ...
2
votes
1answer
154 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 ...
11
votes
1answer
9k 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 ...