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

learn more… | top users | synonyms

11
votes
1answer
1k views

Fix Fn-keys for keyboard illumination

I've tried following the Ubuntu hotkeys/media keys troubleshooting guide and /usr/share/doc/udev/README.keymap.txt.gz to make the Fn keys work. After copying the map file and modifying ...
1
vote
0answers
9 views

Remap input keys in /dev/input level

I want to remap input keys from keyboard and mouse, but I need it to be in low level, so that reading /dev/input* shows remapped functions. Example: I have regular keyboard and I want ENTER key to ...
1
vote
0answers
15 views

Language bar in RHEL 6

I have problem with language bar specifically in RHEL 6.5. I need the following. Language bar on panel with 2-letter code or flag Switch language with Caps Lock, optionally turn lead on/off on it ...
2
votes
1answer
505 views

Setxkbmap turns off NumLock LED - but not NumLock.

Whenever I use setxkbmap in a terminal (or my .bashrc), the next time I press any modifier keys (ctrl, shift, alt) the NumLock LED on my keyboard goes off, but NumLock itself is still active so it's ...
4
votes
1answer
1k views

Apple Bluetooth Keyboard

I have an Apple bluetooth keyboard and want to use it with Fedora 15. I turn on the bluetooth on the both devices. Click 'Setup new device' via Gnome3's GUI. The computer detects the keyboard but it ...
3
votes
1answer
22 views

Connect a keyboard / IR controller to a command line program running in a screen

I'm trying to have my Raspberry Pi function as a GUIless music player. I've got Arch Linux installed, and use it through ssh. I've got also an IR receiver dongle, and I'm planning to use it to control ...
5
votes
1answer
455 views

Dead keys not working in Java Swing applications

I'm currently using Ubuntu 10.10 and Netbeans 7.0 and I can't type accented letters with dead keys any more. It's not a version specific problem seems it's related with Swing since I've got the same ...
2
votes
2answers
429 views

Key mappings in Linux

What do people mean when they point out that the "keys are not properly mapped" in a Linux installation when working on the command line? Isn't the default installation OK? What extra/specific ...
6
votes
1answer
1k views

Using setkeycodes to map pressed and released to different “keys”

I have a keyboard that has a scroll wheel, but it doesn't work on Ubuntu and xev command doesn't show anything when moving it. But with the dmesg command I found this: When moving the scroll wheel ...
4
votes
2answers
3k views

Cannot pair my generic keyboard via automatic PIN

I am using Xubuntu, pure Xfce, 64-bit. The problem: I have tried 2 ways; both have failed for different reasons: (1) the commandline way (see below) fails because at no stage does it actually ask ...
6
votes
2answers
476 views

How to force release of a keyboard modifiers

Sometimes, when I use synergy between my machines when one is using full-screen VirtualBox guest I get stuck with some weird key modifiers turned on. If they exist on my keyboard (like Shift_L) I can ...
3
votes
1answer
266 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 ...
1
vote
0answers
17 views

Use hardware button for onscreen keyboard

I have installed Linux Mint on a tablet computer. This computer runs the same as a PC, but it does not have a built-in keyboard. I want to use the hardware button to load the onscreen keyboard. How ...
0
votes
1answer
28 views

Targus USB number pad not working in Debian Wheezy

I am running a fresh install of Wheezy x86 and trying to connect a Targus number pad (model AKP10US) which has the USB Vendor/Model IDs of 05A4 / 9840. (FWIW the system is also running in VirtualBox) ...
0
votes
0answers
125 views

Strange behaviour from special keyboard keys

OS: Linux Mint 13 Maya - MATE So, I had a new keyboard through today and there is something strange going on. The following keys are identified as the Shift key. LEFT SHIFT RIGHT SHIFT ...
4
votes
1answer
231 views

Diacritics do not work in GTK+ applications running on Mac OS X Snow Leopard

I am using some GTK+ applications in Mac OS X Snow Leopard. My MacBook is configured for using the Brazilian layout, which allows it to enter diacritics as dead keys (so I can write á typing ' and ...
10
votes
3answers
794 views

How can I keep control+d from disconnecting my session?

I regularly ssh to a centos 5 box. Somehow they keys are mapped so that control+d will log me out of my current shell. If I am sudo'ed to another use it puts me back to the previous user. If I am not ...
0
votes
0answers
20 views

How to remap keycodes via setkeycodes?

I'm trying to change keycodes of some keys, but I don't get one thing. If I use /lib/udev/keymap, I get the following output: # /lib/udev/keymap -i input/event1 scan code: 0xC022D key code: zoomin ...
2
votes
1answer
520 views

Garbage characters appear on screen when typing

When typing, garbage characters somehow appear on the screen for all the letters that I type. The garbage character is a small rectangle box, and this prevents me from executing any commands on the ...
1
vote
0answers
25 views

How to remap the keys with xkeycaps?

I'm trying to remap different keys (for example, I want the "Y" to be "space"). XKeyCaps let me choose the keyboard, and shows correctly when one key is pressed. But the right click menu that allows ...
4
votes
3answers
951 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 ...
0
votes
1answer
47 views

How can I print out the current keybindings in Linux/Debian? [closed]

How can I print out the current keybindings in Linux/Debian ? I tried xmodmap -pp and got the response: xmodmap: unable to open display ''
1
vote
1answer
32 views

Forcing keys to run bash scripts

Is it possible to define bash scripts for all keys on keyboard so that by pressing any key the bash script for that key will be run? The scripts may do anything, for instance they may save the key ...
2
votes
0answers
28 views

How can I set repeat rate of USB keyboard with udev?

How can I get my keyboard repeat rate to apply to a hotplugged USB keyboard? I made a udev rule to set the keyboard repeat delay and rate, /etc/udev/rules.d/99-usb-keyboard.rules with the following ...
4
votes
1answer
30 views

Why does showkey show a different keycode compared to xev?

Looking for an answer I came across this question. There's something like this: The keycode X uses and the keycode the kernel uses are OFF BY 8 for "historical reasons". So take 97 - 8 = 89 and ...
2
votes
1answer
32 views

On an Apple Keyboard under Linux, how do I make the Function keys work without the fn modifier key?

I use an Apple wired keyboard on Linux. By default the function keys (F1, F2, F3, etc) require the fn key to be pressed for them to work. Without the fn key, these keys control the features like ...
7
votes
4answers
10k views

How to inject keystrokes via a shell script?

I'm trying to inject keystrokes into the input daemon so as to simulate typing from a Bash script. Is this possible, and if so, how can I make it happen?
15
votes
1answer
180 views

How do keyboard input and text output work?

Suppose I press the A key in a text editor and this inserts the character a in the document and displays it on the screen. I know the editor application isn't directly communicating with the hardware ...
3
votes
1answer
47 views

Since I execute 'stty erase ~' I can't type / anymore in Putty

Yesterday I was fed up with being forced to type Caps+Backspace to erase character in Putty, because a Backspace was printing a ~. I found some info on internet saying you should type stty erase ~, or ...
2
votes
1answer
81 views

Where in the linux kernel sources can I find a list of the different keyboard scancodes?

I was looking for a list of keyboard scancodes in the linux kernel sources, but I did not find anything. Does someone know where to find these? Especially the USB scancodes would be interesting.
1
vote
0answers
39 views

delete key doesn't remove selected files

In file manager or on the desktop when I select a file and hit delete key it does nothing. Shift+delete works fine, as well as deleting in text editors. I'm using Debian Wheezy 7.4 with xfce desktop ...
3
votes
1answer
84 views

How to regain control of my computer?

I am running a database server on my computer. Sometimes it takes up so much memory resources that the system stop responding to keyboard and mouse inputs. Although I can move the mouse pointer and ...
0
votes
1answer
24 views

Minix randomly fails to accept keyboard input

I'm currently toying around with Minix 2.0.4 on a somewhat dated 80386 based system with 8 MiB of RAM. I've succesfully managed to install Minix, but I randomly encounter the following issue: When I ...
4
votes
3answers
87 views

key bindings table?

Do we have a key bindings table that translates all the various ways of referring to a key press? I'm using zsh, but I presume that if there was such a table it would work for any shell. The reason I ...
0
votes
1answer
81 views

Insert a character that isn't present on my keyboard on Linux Mint

As stated in the title: How can I use Alt+<ASCII CODE> on Linux (Mint 16) on a netbook which doesn't have a num pad nor a "Num lock" button? I found lots of tutorials for Windows, but no one ...
2
votes
1answer
111 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 ...
1
vote
0answers
23 views

Alternate keyboard inputs: dwm on Debian

Currently my laptop's keyboard has some broken keys (z, x, c). When using my Windows partition I know I can just use Alt-codes to enter the keys or use alternate hotkeys for the respective keys (Alt- ...
3
votes
1answer
74 views

How to find out the escape sequence my keyboards sends to terminal?

Let's say we have a generic keyboard with some unknown keys which may send escape sequences to terminal. The keyboard is connected to an xterm terminal emulator running on a generic BSD/Linux. To ...
3
votes
1answer
114 views

How to turn on Keyboard Autorepeat permanently on VMware instances of CentOS 6?

In my lab we have about 40-50 machines, all cloned with the same image of CentOS 6. For some reason the keyboard auto repeat function decides to randomly turn itself off. Typically we just have ...
3
votes
4answers
668 views

How to print keypresses in .inputrc format?

Which application can I use to figure out what to put in .inputrc for any custom keyboard shortcut? I've tried a few, and none of them seem to be usable: showkey, showkey -a and read just print ' if ...
0
votes
2answers
429 views

Why is my keyboard typing the wrong letters?

While surfing with Iceweasel, I tried typing in a Web address, but I found, that every few keys, it started typing other letters instead of the ones I typed. For example, if I typed ...
4
votes
1answer
155 views

Set window manager's meta key depending on connected Xserver

Situation A linux server is running an xdm supporting XDMCP, it is connected to from various different Linux and OS X boxes using XDMCP via an X -query <server> command. Once the user is ...
1
vote
0answers
23 views

AltGr key released when rappidlby pressing other keys

I have a Norwegian Lenovo USB keyboard. When I hold AltGr and press v and b rapidly, it produces “bvbv instead of “”“”“”. I get the latter, expected, result when pressing v and b slowly. Never ...
1
vote
1answer
34 views

pressing @ in the keyboard gives " (and # gives £ ) in mint16

Hello I am using mint16(cinnamon). When I try to write @ it shows ". That is, key functioning of these two keys has got swapped somehow. Can someone please suggest a way to get rid of this problem.
2
votes
1answer
64 views

Writing single-handed layouts for X

I know someone who'd really like to be able to type with only the left hand, so I had the idea of writing a layout which "switches" the sides of the keyboard when the caps lock key is pressed. For ...
3
votes
2answers
124 views

Multi-function CapsLock without X

I would like to remap CapsLock to Esc when pressed by itself and Ctrl when pressed with another key without using X. This is similar to a previous question ( Remap CapsLock to Escape and Control ...
1
vote
1answer
68 views

How to display the current keyboard layout?

Is there a utility that allows to graphically display the current keyboard layout? This can be useful, for example, when writing in a foreign language and having the physical keyboard only ...
0
votes
0answers
107 views

Is there a way to turn on the function key indicator based on capslock status on Lenovo ThinkPad Yoga?

The Capslock key comes with no LED indicator light on newer ThinkPad models. The Fn key has a light for when FnLk (function lock) is turned on (as if that's more important that the capsloack ...
5
votes
1answer
220 views

Custom keyboard layout is reset to default after standby or reboot

I designed a keyboard layout for myself, after I run xmodmap it works OK, but after standby or reboot, the layout turn back to qwerty. How can I set it as default? My OS is Debian Wheezy with XFCE4. ...
0
votes
0answers
143 views

install opensuse: Brightness is too low and keyboard fn keys do not work

I installed OpenSUSE 13.1 in dual boot on my Samsung ATIV Book 6 pre-installed with Windows 8 with a USB key (ultrabook, no DVD reader at the moment). Brightness is too low and keyboard fn keys do ...