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

learn more… | top users | synonyms

1
vote
1answer
6 views

swap symbols with numbers in keyboard layout

I'm looking to modify my keyboard layout such that holding down Shift and pressing a number key will result in a number being printed to the screen instead of the symbol that's on the key. For ...
0
votes
0answers
5 views

In Linux count number of key presses except those in the browser

I want to count the number of key-presses in Linux, except those in the browser. There was a solution proposed here but not sure how to ignore browser key-presses.
0
votes
0answers
3 views

Pantheon lost keyboard configurations

I install Pantheon yesterday and now every time startx my keyboard configurations back to us, but the correctly is br+abnt2. So I need to run in terminal (after startx) the command: setxkbmap ...
6
votes
2answers
279 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. ...
3
votes
1answer
20 views

adjusting keyboard sensitivity with kbdrate

The keyboard on my Laptop is too sensitive (when typing, I often type two characters instead of one). I have been googling and found kbdrate. But for some reason, kbdrate does not work properly: # ...
5
votes
4answers
1k 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 ...
21
votes
5answers
12k views

How to get keycodes for xmodmap?

I'm trying to use xmodmap to remap Alt / Super keys on Dell L100 keyboard, and have trouble getting the keycodes. For instance, using xev doesn't give me keycode for Alt FocusOut event, serial 36, ...
5
votes
1answer
29 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
0answers
18 views

Keyboard is disabling

I stuck with a strange problem on OpenSUSE 13.1, after some random uptime my keyboard is disabling. I'm not even sure how to concretize this problem, this happening randomly and I can't see any ...
3
votes
1answer
331 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 ...
5
votes
1answer
515 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 ...
5
votes
3answers
4k 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 ...
4
votes
2answers
56 views

Print currently pressed keys to stdout and read them line by line

I want to know which keys are pressed on my keyboard and print the information to stdout. A tool that can do this is showkey. However, if I want to pass the data of showkey to read: while read line; ...
2
votes
1answer
67 views

Making udev rule for bluetooth keyboard

I'm using a logitech k810 bluetooth keyboard with my laptop running Debian Wheezy. (I got the keyboard working by following this guide.) By default the F1-12 keys are multimedia keys unless the FN ...
1
vote
0answers
34 views

Emulating scroll lock behaviour to trigger USB KVM switch

At work, I use two computers: one Windows machine for intranet and mail, one Ubuntu machine on a separate network for development. In order to easily switch between the two I use a simple USB KVM ...
4
votes
1answer
242 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 ...
15
votes
9answers
1k views

Keep NumLock always on

I have standard keyboard with numerical keys on the right side (I guess it's called 104-key keyboard). I want to use the numerical keys only as numerical keys. That means, I don't want the NumLock to ...
4
votes
0answers
44 views

Linux kernel dropping custom keyboard scan codes

I have a vintage IBM 122 key model M keyboard that I am adapting for use on a modern computer. I am using a Teensy 2.0 to do the encoding and to handle the USB side of things. I borrowed the firmware ...
1
vote
2answers
176 views

Perform an action when a wireless keyboard is connected

I need to perform a command when I connect a bluetooth keyboard. How can I 'listen' this event?
1
vote
1answer
72 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 ...
2
votes
1answer
565 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 ...
4
votes
1answer
345 views

Gnome3/Archlinux move windows with keys?

Looking for an app that will allow me to move my Gnome3 windows with keys like Ctrl+Alt+Home to move to top left corner of the screen. Essentially, this is what Winsplit revolution does on windows. ...
3
votes
1answer
560 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 ...
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 ...
11
votes
1answer
379 views

Get the keycode of a key, from a custom made keyboard

I'm trying to transform a Minitel to a computer with a Raspberry Pi. This is a minitel: So I soldered the matrix of the minitel keyboard to a usb keyboard pcb, like this: Everything is working ...
2
votes
2answers
533 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 ...
3
votes
2answers
132 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
323 views

How to permanently disable the Insert key on Linux?

The Insert is located right next to Backspace. So when I am using Leafpad, Gedit, etc., I hit Insert by accident often, which causes the cursor to turn into a bold box which over-writes text as I ...
1
vote
3answers
39 views

Before logging in my system, any way to make a key simulate another key?

In my keyboard I button doesn't work. I had earlier asked a Q on how to make a key simulate another key. That Q solved the issue only after I logged in my system. I'm working on Ubuntu 13.04. But how ...
5
votes
1answer
62 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 ...
3
votes
1answer
605 views

How to distinguish input from different keyboards?

I want to write an application in Python that you can use with your default keyboard and a specially designed one for the application. I will design it simply by using a small numerical keyboard with ...
2
votes
1answer
157 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 ...
1
vote
1answer
34 views

How to 'simulate' a Fn key

I want to 'simulate' a Fn key of an ASUS laptop running Ubuntu when using a normal external keyboard. How can I do this?
0
votes
0answers
141 views

Debian wheezy FN key inverted after resume from suspend

I have debian wheezy installed on my new laptop (Toshiba Satellite L70), with Kernel 3.14 from backports. After I resume from suspend, all function keys (F1 - F12) behaviour is inverted, for example, ...
0
votes
1answer
39 views

Corsair Vengeance K-95 Keyboard & Linux

I've been thinking that I want a mechanical keyboard, currently I'm using a logitech G510 which is perfect with it's 18 programmable keys (I'm using it with this) but I hear a lot of people drooling ...
2
votes
0answers
22 views

Remapping Left Control <LCTL> in xkb changes behavior of Alt + Left Shift

For some reason pressing any alt key (including <MENU>) together with <LFSH> toggles "Switch windows of an application". This can be turned off by commenting out key <LCTL> { [ ...
1
vote
0answers
30 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 ...
5
votes
1answer
877 views

How to detect which keyboard device is being used

I'm working on a computer with two keyboards and two users. They are using different layouts. The two keyboards are identical. Their device ID can be found easily with xinput, but when typing we can't ...
6
votes
2answers
2k views

Permanently remapping a key on Linux

I'm using an aluminum Apple keyboard with my Mandriva 2010.2 Linux system. I remap the Apple Command key (⌘) to control using the following .Xmodmap file: keycode 134 = Control_R remove mod4 = ...
0
votes
0answers
80 views

set the default keyboard type to ascii mode

I am running CentOS 6.5 and I am having problems setting the default keyboard mode to ascii for the virtual terminals. Currently, only the system console defaults to ascii mode, but if I log in to an ...
0
votes
1answer
22 views

Cannot type keyword symbols in Linuxmint

I found that in my linuxmint 13.10, when I want to type a @(Shift + 2), the screen displays " (Shift + ' in windows). However, today the biggest problem is there is no ways to type |. Therefore, I ...
2
votes
3answers
86 views

Remapping a keyboard key to print ⸮ (irony mark)

I find myself using the irony mark ⸮ unicode U+2E2E (or ؟ unicode U+061F) in both mcabber and vim a lot. The old copy-and-paste antipattern is tedious so I thought I would rename one of the many ...
2
votes
2answers
89 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 ...
4
votes
3answers
560 views

How can I make Ctrl + Alt act like Alt gr in Ubuntu?

I recently switched to Ubuntu on my laptop and one thing that almost got me to switch back to windows is the fact that I can't make Ctrl + Alt to act like Alt gr. I have programmed in several years ...
2
votes
2answers
564 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 ...
3
votes
1answer
141 views

First key pressed repeates forever

I just installed CentOS 6.4 on an old machine I acquired for a development box, but I am running into keyboard issues I can't get around. I start the machine and go to type a user name in and ...
0
votes
0answers
60 views

LinuxMint doesn't recognize `Katakana/Hiragana` key in japanese keyboard

I installed LinuxMint 16 Cinnamon in a virtualbox environment. And set Keyboard Layouts Japanese in Regional Settings. But Katakana/Hiragana key that is obviously implemented in Japanese keyboard, ...
0
votes
2answers
70 views

Giving more priority to a USB device

I have a keyboard with USB cable connected to computer through a USB 2.0 socket. But when I type fast, Ubuntu ignores some key messages (e.g. I may type CORRECT but what is typed may be CORET) . After ...
2
votes
1answer
144 views

Sun type 5 keyboard via serial port replicator

I'm running Ubuntu 12.04 on an HP G60 laptop with a Targus serial port replicator to USB and a custom cable between the keyboard and the replicator I ran modprobe sunkbd. Nothing works for the Type ...
4
votes
1answer
161 views

How to get all my keys to send keycodes

I'm using Gentoo with XFCE. I have a logitech K350 keyboard, all but a few of the keys work as expected but there is one specific key that I want to use but when I run showkey no key codes are being ...