0
votes
1answer
15 views

After upgrading to 14.04 arrow down doesn't work / action seems to be wrongly assigned on Xserver

after upgrading to 14.04 (from 12.04) the down arrow is not working properly anymore on graphical system. On console the key works fine, but not on terminal (within X). Unfortunately I didn't found ...
2
votes
1answer
23 views

Why does pressing ctrl+space bring up a keyboard layout menu?

I am trying out StumpWM, however when I press Ctrl+Space I get a menu to change keyboard layouts. This conflicts with emacs region selection. What causes this behaiviour and how do I disable it? I ...
1
vote
0answers
20 views

fn+pgup (home) button key in Fujitsu Lifebook PH521 is not working on Ubuntu 14.04-01

I installed a fresh Ubuntu 14.04 64bit on my 2 years old laptop (Fujitsu Lifebook PH521) it is an AMD E-450 powered laptop. Everything is working right, except the "home" (fn+pgup) and "end" ...
1
vote
0answers
38 views

Get keyboard input without requiring root and without x11

I'm trying to capture keyboard input in a C/C++ program without requiring root privileges and without the use of X11 XNextEvent(). I've tried to open the device directly, but for obvious security ...
3
votes
1answer
61 views

Who reads `/etc/default/keyboard`?

And I do not care about the console here (I care about X11)... I see in /var/log/Xorg.0.log that my X-server picks up xkb_rules evdev from somewhere I can’t find. It also seems to take xkb_model and ...
0
votes
1answer
40 views

Find X-Window Name

I am using a script called SendKeys (https://github.com/kyoto/sendkeys) which I want to use to send keyboard strokes to Skype. I am able to get SendKeys to works perfectly with pluma (a text editor) ...
0
votes
1answer
69 views

Remap TAB key to another key

I am using Ubuntu 12.04, my TAB key is not working and I want to use auto complete function. Is there any way I could assign other key for the same function in Ubuntu manually? I looked into the ...
0
votes
0answers
692 views

Bluetooth Keyboard and Mouse gets detected but no signal gets send

I installed Ubuntu 14.04 LTS on a Mac mini (mid 2011) as second boot option using rEFIt and it works ok with wired mouse and wired keyboard. However apple wireless keyboard and mouse does not work. ...
0
votes
0answers
69 views

How to remap certain keys on keyboard on ubuntu 13.10 with xkb

Water spilled on my laptop and key "9" is not working. I want to map ALTGr or Ctrl_R to 9 so that I can program with out any hassle. I've seen so many solutions with xmodmap but its kinda outdated I ...
0
votes
0answers
53 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
64 views

My keyboard randomly won't “let go” of keys while in Dota 2 games

I have Ubuntu 13.10 installed on my Early 2011 MacBook Pro, and while playing Dota 2 through steam, sometimes my keyboard acts like nothing was pressed. As in my earlier questions (about my mouse), it ...
1
vote
0answers
17 views

Enable repeat for a specific key

My "down" key has died tonight. While waiting for a new keyboard, I am using the answer here to map the right CTRL (key code 105) so that it acts as "Down": How do I remap certain keys? Long story ...
1
vote
1answer
181 views

Trying to remap PrtSc key in laptop, no keycode

I'm trying to remap PrtSc key to Insert (to use it in vim), with /usr/bin/xmodmap -e "keycode XXX = Insert" for it, I need to figure out what keycode for PrtSc is. I'm doing xev -event keyboard and ...
3
votes
0answers
33 views

How do I stop application switcher button from rotating screen?

I have the Logitech Wave wireless keyboard, and whenever I accidentally press the "application switcher" button it rotates the screen by 90 degrees. This would only be moderately annoying if it didn't ...
0
votes
2answers
338 views

Has the kernel panic'd when Ctrl-Alt-F1/F2/…F7 don't work anymore?

I'm trying to learn (refresh, actually) stuff about X and vt* etc. I was fooling around, and somehow screwed up, hit a black screen, and even the usual Ctrl-Alt-F1/F2/...F7 to get to a Console didn't ...
0
votes
0answers
101 views

Accidentally deleted usr/share/X11/xorg.conf.d

Because there's where tochpad/mouse behaviour is stored, and connecting a USB mouse recently has messed up my touchpad settings. So I thought why not delete the settings, they'll get restored. ...
1
vote
1answer
1k views

How can I remap “special” keys in xkb?

I've been trying to migrate my keyboard mapping from xmodmap to xkb, but I'm having some trouble. I can see where to modify the "normal" keys, in /usr/share/X11/xkb/symbol/us for me, but this file ...
1
vote
1answer
542 views

Problem writing 'pipe' symbol on danish keyboard (Ubuntu 12.04 server, console)

I just installed Ubuntu 12.04 Server (32-bit) on an old machine, and have problems writing the | (pipe) symbol. I have no graphical UI installed. My keyboard has danish layout, and all other symbols ...
2
votes
1answer
896 views

What to do when my keyboard sensitivity decreases but returns to normal after re-log

i am having a random problem with both my keyboards. The keyboard will become so INsensitive that I have to press really hard to to make it work. If I restart, or just log out, it resets and it acts ...
1
vote
0answers
236 views

keyboard and touchpad quit working

I have a serious problem with my ASUS 1005PX, running Ubuntu 13.04. The keyboard is very slow and working unreliable (e.g. input is 'jjjjj' if 'j' is input) and the touch-pad is dead. In the beginning ...
1
vote
1answer
1k views

Left ctrl key not working in Ubuntu 13.04

I have just upgraded to Ubuntu 13.04 and the left Ctrl key has stopped working. How would I go about diagnosing the problem? I had to downgrade my X server to enabled legacy graphics card support, ...
2
votes
1answer
408 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 ...
2
votes
1answer
208 views

Numpad behaviour constantly changing

I have a Lenovo G550 laptop with Ubuntu 12.10 installed and I have a problem with the Numpad/Num Lock behaviour (standard Hungarian layout). Sometimes when I press Home (key 7) it types 7 (or press ...
4
votes
2answers
139 views

X keyboard layout occasionally resets itself

I have this in my .xinitrc: setxkbmap -layout "jp,ru" -option "grp:alt_shift_toggle" (I'm in Japan, have a local keyboard, and occasionally use the Russian keyboard layout) This works fine, most ...
0
votes
1answer
341 views

Keyboard not working/ kbd_drv.so missing

The keyboard stopped working on my Acer Aspire One running Ubuntu 12.04. The keyoard doesn't work when the computer is booted (ie: I can't press F12 to change the boot order) amd it doesn't work when ...
15
votes
3answers
2k views

How are key codes mapped to the appropriate action?

After figuring out how to change the mapping of scan codes to key codes using udev, see this question, I was wondering how those key codes (or events if you will) are mapped to the appropriate action. ...
2
votes
0answers
175 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 ...
2
votes
1answer
266 views

How to bind a character device in /dev directory as the keyboard?

I have written an character device, I want to declare it as the keyboard and use it to generate events from the virtual keyboard?
8
votes
2answers
419 views

Setting different keypress rate for individual keys?

I'd like an especially high repeat rate and low delay on my backspace key, but a regular delay and rate on every other key. This command works, but sets it for every key: xset r rate 120 30 Is ...
0
votes
1answer
387 views

dead keys not working in java app

The Arduino IDE is based on a java application called processing. While typing text into processing, it refuses to accept any of the characters under dead keys like " ' ^. As a work around I: Open ...
3
votes
1answer
1k views

Remapping the AltGr key to Control with setxkbmap

Is there a way to remap the AltGr key to Ctrl with setxkbmap? I've already checked the option section in "/usr/share/X11/xkb/rules/base.lst" but I didn't find an entry for AltGr... I also tried ...
3
votes
2answers
703 views

How to map CTRL+q key press to CTRL+c event?

How can the Ctrl+Q key combination be mapped to the Ctrl+C event? My keyboard is mapped to programmer-dvorak and I would like to have the Ctrl+X , Ctrl+C and Ctrl+V events to be mapped to Ctrl+' , ...
0
votes
1answer
494 views

Capital D key not working / producing output

For some inexplicable reason the capital d key on my Ubuntu system is no longer producing output. Hitting caps lock and then d produces a D. I've tried multiple keyboards and the issue is the same. ...
10
votes
1answer
6k views

Where do I find a list of all X keysyms these days?

They used to be in /usr/lib/X11/XKeysymDB or /usr/share/X11/XKeysymDB, but those have been missing from Ubuntu for a while. I've tried google, but all I get are more references to XKeysymDB or the ...
2
votes
1answer
747 views

How to intercept all keystrokes

First of all, I don't expect that something like this already exists, but I am interested in knowing how something like this would be accomplished. I want a program that I can have running in the ...
1
vote
0answers
186 views

How to bind to ctrl+alt+plus? [closed]

I would like to bind volume up/down to Ctrl+Alt++ and -, but AFAIK the X server catches those key combinations and uses them for resolution change. Now when I press Ctrl+Alt++ or -, nothing happens, ...
5
votes
1answer
283 views

Screen flickers in response to <Super>P, can't bind it to anything

I'm running Ubuntu 11.04 on ThinkPad Edge 11" and no matter what X session or wm I use, P makes widgets blank out for a fraction of a second. After a quick search through gconf and XF86 symbol tables ...
30
votes
7answers
16k views

How do I remap the caps lock key?

In the past the past I used to use xmodmap to prevent the Caps Lock button from working, and then tell Launchy to handle the key press instead. I can't seem to do this anymore. What is the best way ...
5
votes
1answer
226 views

How do I map the keyboard soft keys when they give no event notification?

I have a Silitek SK-2501B keyboard which has soft keys for volume and play pause and all that stuff. Only the mute and suspend button work. When I run the xev utility to determine the keycodes that ...
13
votes
1answer
2k views

Multiple keyboards with different layouts

I have ubuntu (11.04) running on a recent macbook pro. I use both the built in keyboard and an external keyboard. I want to remap capslock on both keyboards to super, and I want to swap left-alt (mac ...
3
votes
1answer
432 views

Keyboard freezes when xorg crashes [closed]

Situation is like that. Many times has happened that Xorg freezes and with it also keyboard. Quite some times because of some Compiz effects or Flash (fullscreen switch). Keyboard becomes totaly ...
121
votes
6answers
85k views

How do I remap certain keys or devices?

I'm searching for a way to remap certain keys in ubuntu. i.e. I'd like to change PgUp to Home or PgDown to End. Does a built-in command or a tool exist reassign keys in Ubuntu/GNOME?
7
votes
2answers
1k views

Map caps-lock key to middle mouse click

Since I rarely use caps-lock, I'd like to map the key to a middle mouse click instead. I would also like to map Alt+Caps Lock to the original function of the caps lock key, should I ever need it. I ...
5
votes
1answer
576 views

`p` key doesn't work in X

Today I had to force-shutdown my machine after it froze during resume from suspend. Since the reboot, I've found that the p key doesn't work normally in X. It does work normally in the console. ...
13
votes
5answers
3k views

How can I map a character to a key combination?

I'm a bit of a fan of the interrobang (‽), but it obviously is not on my keyboard. How can I map that character to a key combination?
5
votes
2answers
6k views

How do I reset my keyboard layout?

How can I reset my keyboard layout after modifying it with xkbcomp? Is there a way to do this without restarting X?