General keyboard topics, including keyboard hardware and keyboard functionality in software.

learn more… | top users | synonyms

3
votes
4answers
2k views

USB keyboard doesn't work with Debian installer

I have a wired USB keyboard. I've written the latest netinstall Wheezy image on my USB pendrive (using dd). It boots but the installer doesn't recognize the keyboard! (The same pendrive works on my ...
6
votes
6answers
2k views

Enabling Numeric Keypad

I have trouble with the numeric keypad (NumLock keys) being unusable while typing. While I don't think it's GUI specific, this happens both in Gnome and KDE. Sometimes it works in TTY, other times it ...
2
votes
1answer
77 views

xkb: make ctrl+backspace behave as delete

How can I map ctrl+backspace to behave as delete key with xkb? I can remap a single key on /usr/share/X11/xkb/symbols/pc but can't figure out how to do the combination. My OS is Ubuntu 15.04
1
vote
0answers
18 views

Caldera Debian Keyboard Output Chinese Characters

So, I'm an involuntary IT guy at my current position, and we have come across an issue with Caldera's flavor of Debian Linux. For some reason, with no real prompting, our keyboard starting typing ...
3
votes
1answer
537 views

Laptop keyboard occasionally stops working

I have a dirty solution that is to plug a USB keyboard in and execute the following command: setxkbmap -rules evdev -layout us -model evdev Afterward my keyboard will work. This solution only ...
0
votes
0answers
30 views

Where does Debian (Ubuntu) store key mappings?

I've just replaced my Debian installation with Ubuntu today. In my old setup, I configured the Caps Lock to work as another ctrl, but I can't remember how exactly I did it before. However it got ...
2
votes
1answer
27 views

Reading keypresses in shell using trap and Unix signals

I am trying to grasp a fairly involved Unix shell (tested in bash) function that listens for keypresses. The full code can be found here. The part I am having trouble understanding is the purpose of ...
6
votes
1answer
1k views

“usb 3-2: can't set config #1, error -110” - USB keyboard works in Windows 8 laptop but on PC only until Linux boots

I tried 2 new USB keyboards that work until Linux starts booting. When booting I saw: [ 8.365211] usb 3-2: New USB device found, idVendor=1a2c, idProduct=0b23 [ 8.404863] usb 3-2: New USB ...
1
vote
0answers
10 views

Linux Mint keyboard and mouse take a long time to work after boot

I turn my computer on, select my linux harddrive, and then I end up at the Linux mint encryption password area. I have to wait about 1 minute just for my keyboard and mouse to actually light up and ...
1
vote
0answers
10 views

kmscon and deadkeys

How can I configure kmscon to use dead keys? I already have xkb-layout=br in /etc/kmscon/kmscon.conf, but the dead keys don’t work. (' + e gives me e instead of é). The layout seems to have been ...
-2
votes
0answers
15 views

Keyboard layout map generation [migrated]

I want to generate exactly the same than that : but in an HTML document (whatever the locale is)! Is there a way to do this?
2
votes
0answers
343 views

How to control keyboard backlight using hotkeys

How can I turn increase and decrease the keyboard backlight in notebook on Linux using the same hotkeys used on Windows? In Windows I can control the keyboard backlight by pressing hotkeys (FnF9 to ...
3
votes
1answer
899 views

How to detect global key presses

I have an Asus laptop that has a special key that can be configured to launch any software (at least on Windows). The general question is: how can I detect any key press (globally)? Then, how ...
0
votes
1answer
55 views

How to bind AtlGr to Ctrl+Alt in Debian 7

I'm new to Linux and recently I installed Debian 7 in my laptop. I used to use Ctrl+Alt shortcut all the time in Windows, but in Debian 7 I can only use AltGr. So, I was trying to bind AltGr to ...
-1
votes
1answer
31 views

My keyboard will not type 'm' or backspace

I am running Arch Linux. Recently, out of nowhere, I have been unable to use the 'm' key or the 'backspace' key on my external keyboard. The keyboard on my laptop works fine. The keyboard I have ...
1
vote
0answers
28 views

How to get the mouse/keyboard raw events?

I want to intercept the raw events from the keyboard (or the mouse, eventually). I tried to use the /dev/input/[...] files, they are very practical and I can read the events of any key even caps lock ...
7
votes
1answer
2k views

monitoring events (keyboard, mouse) in X

Is it possible to display all events that are generated in Xorg? Such as keyboard pressed, mouse events...?
1
vote
1answer
37 views

Low mouse and keyboard framerate in Fedora 21

I have recently added a Fedora 21 partition on my workplace machine, however i'm experiencing the curious issue that my mouse and keyboard "framerates" are incredibly slow. The mouse cursor is ...
1
vote
1answer
734 views

Connecting usb keyboard, bluez-simple-agent missing

I'm attempting to connect my Logitech k810 usb keyboard to my Debian Jessie machine. Connecting using this guide has worked well in the past. The problem is that a step in the guide requires the ...
1
vote
0answers
49 views

Some of fn keys not recognized after upgrade

After upgrading my system (including kernel) I discovered that some of fn keys (XF86MonBrightnessUp and XF86MonBrightnessDown) are not recognized by xev and even showkey. Each time one of these keys ...
1
vote
0answers
20 views

Reading a passphrase from the physical keyboard in OpenBSD

I'm using Synergy to control an OpenBSD desktop from a Linux computer (think of it like a VNC client/server). That is to say what I type on the keyboard goes through a network connection before it ...
15
votes
5answers
2k views

Is there any reason why I get ^[[A when I press up arrow at the console login screen?

Whenever I'm at the console login, I press up arrow intentionally to see the previously typed commands. But I see this ^[[A. But when I press Ctrl Alt Print Screen Scroll Lock Pause Break Page Up ...
0
votes
0answers
26 views

meaning of ^[[A ^[[D ^[[1;3C and other notation [duplicate]

I noticed that if i type arrow keys on the terminal when it busy on some other process, for example after running gedit without an & i get these symbols i don't understand. I was unable to find ...
1
vote
0answers
40 views

How to permanently remap caps lock to esc in X11?

I want to remap caps lock to escape in X11 (i.e. pressing the physical caps lock button will be interpreted as esc by applications and esc's behavior will not change). The solution must survive an X ...
1
vote
0answers
32 views

some function buttons not recognised (even at scancode level) after resume from sleep

As in the title, some function buttons are not being reconised after resuming from sleep. systemctl suspend is used. The buttons work fine after boot and before the sleep but not after. I have tested ...
1
vote
1answer
220 views

keyboard lockup after hold ctrl key

With Fedora 17 I have a PS/2-connected keyboard. If I hold just the left CTRL key down for a period (say 5 seconds) then the whole keyboard locks up. The USB-connected mouse still works and I can ...
1
vote
0answers
39 views

Media key problems with Microsoft keyboard

I have a Microsoft All-in-One wireless media keyboard (n9z-00001) which behaves weirdly with my current distribution, Arch Linux. (Linux 3.19.3-3-ARCH #1 SMP PREEMPT Wed Apr 8 14:10:00 CEST 2015 ...
4
votes
3answers
5k views

'd' Key on VNC Viewer Minimises All Windows

I'm running vnc4server on an Ubuntu 10.10 box, and connecting to it from an Ubuntu 8.04 machine using TightVNC Viewer 1.3.9. I'm unable to type anything with the character d within the VNC session, as ...
1
vote
0answers
13 views

Unable to prevent keypresses from unsuspending laptop

It appears that due to the poor build of my laptop, keys sometimes get pressed in my backpack, even though the lid is closed. This causes it to silently resume from sleep, then overheat and drain the ...
1
vote
1answer
178 views

How to read characters from a serial keyboard on /dev/inputs/eventX (Speed?)

I'm trying to read from a second keyboard whose inputs can be read from /dev/inputs/eventX, but I get rubbish and not the character expected. I'm accessing my target by using Putty. I can connect to ...
1
vote
0answers
33 views

udev keyboard remapping with hwdb for secondary keyboards

I have a laptop, and I save the following to /etc/udev/hwdb.d/90-custom-keyboard.hwdb keyboard:usb:v*p* keyboard:dmi:bvn*:bvr*:bd*:svn*:pn*:pvr* KEYBOARD_KEY_1a=a KEYBOARD_KEY_1b=b and run $ ...
0
votes
1answer
31 views

My shift/ctrl and numlock keys stopped working

My ctrl and right-shift keys are not responding, though they still work in a VMware window. Numlock doesn't work. A held-down key does not repeat. clicking in a field in another window does not make ...
4
votes
2answers
97 views

xmodmap keybindings don't work

I am trying to use Xmodmap to add some german diareses/umlauts to my keyboard, but Xmodmap is not working with them (but is with other remappings). I am following this guide: German Umlauts on US ...
1
vote
0answers
33 views

How to set up XKB to work with 3 modifier keys and 2 switchable layouts?

Consider the following XKB layout: xkb_keymap { xkb_keycodes { <ESC> = 9; <FK01> = 67; <FK02> = 68; <FK03> = 69; <FK04> = 70; <FK05> = 71; ...
1
vote
0answers
178 views

Debian wheezy, 3.19, problem keyboard and mouse on dekstop environment

I am running Debian Wheezy on a BananaPi. I just compiled the kernel and the keyboard was working in terminal(if it's called that way). However, after I installed a dekstop interface using "apt-get ...
2
votes
0answers
33 views

Remapping Num Lock key to function as Caps Lock

As a followup to this question, my Caps Lock key is now mapped to Compose instead. However, it turns out that my 14 month old toddler still manages to turn on Caps Lock from time to time with his ...
1
vote
3answers
97 views

The n key doesn't work anymore but N does

I've been playing around xmodmap to create a custom keyboard (refer to Get the keycode of a key, from a custom made keyboard also). But now, I can't use the N key anymore, but the Shift+N still works ...
3
votes
0answers
269 views

xmodmap for key combination - how to toggle the Fn behavior?

With Logitech K290 keyboard via USB, F. keys are not accessible by default, and I need to press Fn before using them, which is not really usable. The Fn key alone does not fire any event in xev. ...
0
votes
1answer
15 views

Xmodmap remapping Caps, but still triggering Caps Lock

Im using CentOS 6.5 workstation, pretty standard config, with normal dell keyboard, EN/US lang and keyboard layout. I have the following in the .Xmodmap keycode 66 = Control_L clear Lock add Control ...
10
votes
4answers
4k views

Reassign Ctl and Alt keys - xmodmap error

I am attempting to remap my keyboard in order to make emacs usable. My ergonomic keyboard puts its single Control key in an isolated 4-key island way off to the left. The OS is Debian squeeze. Here ...
1
vote
0answers
45 views

How many bytes can a keypress return? And should a metafied key return more?

I've been tooling around w/ this input reader lately. Currently it only prints a report to stdout for each key pressed while it runs, but I would like to graduate it to a higher purpose sooner than ...
2
votes
0answers
42 views

How to attach keyboard and mouse to another screen?

By default, the X server would attach keyboard and mouse to display 0:0, but how to change it to another screen such as 0:20?
0
votes
0answers
39 views

How do I realize a Shell Script that keeps track of how long the keyboard has not been used ?

Is it possible to write a script that counts the time between two pressed keys, so that one could put a script into the crontab that checks if the keyboard had not been for longer than a certain time ...
0
votes
0answers
32 views

Map characters to key-combinations

Is there a way to map special characters to the keyboard, using a combination of keys? For example, having Alt+A print out a Greek alpha letter, or having Alt+⇨ print out an implication arrow.
0
votes
4answers
2k views

Overriding functionality of special keys on CM Storm Trigger keyboard

I have a CM Storm Trigger Keyboard. This has some special keys, which can be programmed to trigger certain macros. There are special "M" keys for macros on the left-hand side, and there are two ...
4
votes
1answer
56 views

How to remotely send a keypress to an X11 application?

I've got an X11 program (Mathematica/Linux) running which contains unsaved data (calculated after I left; unfortunately I didn't have the foresight to programmatically save the data). Now I've gotten ...
0
votes
0answers
24 views

Remapping two (simultaneous) keypresses to a single keycode

Is it possible to use X keyboard functionality to remap two keypresses to different keycode? I am asking because couple of keys (such as Q and P) on my laptop don't work anymore, thus I have to use ...
2
votes
1answer
32 views

make existing rdesktop session grab keyboard/mouse

By default, rdesktop grabs keyboard, so that key combinations such as Alt+Tab or Alt+F4 act inside the rdesktop window. This can be overridden with the -K option rdesktop -K myserver.mydomain.com ...
2
votes
0answers
22 views

How to show the status of all modifier keys in X11?

I have a remote connection through NX client (Remmina) on my local box (Ubuntu 12.04) onto a remote Linux box (CentOS 5.3) with no root privilege, and it only has a strictly restricted internet ...
1
vote
1answer
41 views

How to map extended buttons on mouse?

I am trying to follow this guide to using a Logitech G600. I have (using a windows computer) mapped each key combo on the mouse to something on a normal keyboard. I have set up some rules in ...