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

learn more… | top users | synonyms

3
votes
1answer
367 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 ...
2
votes
3answers
139 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 ...
3
votes
2answers
155 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 ...
16
votes
8answers
5k views

Disable Keyboard & Mouse input on unix (under X)

How can one programmatically "freeze" the Keyboard & Mouse temporarily, so that no one could mess with the system? There are several possibilities where this is useful. For instance, I have a ...
0
votes
1answer
15 views

Archlinux ARM Rasperry Pi decryption fail

I have created an encrypted Archlinux partition on my SD card, but currently I am unable to decrypt it. I am using the key "Xö&(4n=%YF3Ü!BN" which includes german letters. So for this I have ...
1
vote
0answers
33 views

Debian Wheezy on Samsung NP900X3A some Fn Keys don't work

I've gone through all questions and tutorials on how to solve this problem. They weren't meant for my Laptop version but "close enough". Unfortunately they didn't help. This is the case. # ...
1
vote
1answer
13 views

Resync NumLock light with NumLock status

I plugged a second keyboard into my computer to test something, and now my NumLock light is out of sync with the lock status (the light is off when NumLock is on, and vice-versa). How can I get the ...
7
votes
2answers
3k views

command line retrieve list of all valid kbd layouts, variants and toggle options (to use with setxkbmap)

Is there a way from command line to retrieve the list of all available keyboard layouts and relative variants? I need to list all the valid layout/variants choices to be used then from setxkbmap. ...
0
votes
0answers
15 views

disable mouse and keyboard on Ubuntu 14.04

I use only ssh access to my 'slideshow' computer (it, and a big TV screen are located in a public room). I'd like to disable generally (not X only) all of the USB slots, and the PS2 keyboard/mouse ...
3
votes
2answers
111 views

How can I write a non-breaking space? [closed]

When I write a question, I'd like the space between the final word and the question mark to be non-breaking, and this very sentence is an example of it (this is why it is awkward), how can I do that ? ...
3
votes
2answers
174 views

How does an emulated keyboard work?

I have read that some USB devices emulate a keyboard and the information these devices send will be as if the information was typed on a keyboard. For example: a magnetic card reader can use an ...
1
vote
1answer
36 views

Archlinux ARM Rasperry Pi login buffer display and decryption fail

I have put the Archlinux Arm on my SD card and the first time I have done this it was all correct and worked well but I had to "reinstall" everything for several reason. So now I am doing the same ...
1
vote
2answers
383 views

A single key on keyboard produces extra keypresses for each simultaneously pressed key

I recently acquired MK-85 mechanical USB keyboard from QPAD. The keyboard works perfect on Windows. It works perfect in Syslinux. It works almost perfect on Linux. The only issue on Linux is that a ...
3
votes
3answers
967 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
42 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 ...
0
votes
1answer
28 views

I cannot enter the vertical line character in OSX terminal

I'm using a Mac and I'm piping some data from curl to tar and when I went to hit the | in the terminal I got the o with an umlaut. It totally works fine, as the unicode character still comes up as ...
1
vote
1answer
31 views

Brazilian Keyboard layout in CentOS 6.5

I'm Brazilian and new with Linux. I have the CentOS 6.5 with Gnome 2.28.2 running in a VirtualBox VM. I'm using it to PHP programming and I'm loving it. But I'm having a hard time to make ...
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 ...
1
vote
0answers
50 views

How to hold <Caps Lock> when it sends a single event on key press and release?

Using the keyboard of a Macintosh IIcI (~1990) with remapping of the Caps Lock key to Ctrl in Xorg, it is impossible to use it, as holding it does not send events persistently. When holding other ...
2
votes
1answer
108 views

CapsLock as modifier key for application keymaps

I am developer and currently I am using Ubuntu Linux with PyCharm IDE for development of website. In order to improve typing performance I consider change CapsLock to Hyper_L and assign it to mod3 ...
5
votes
1answer
538 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 ...
98
votes
3answers
46k views

How to unfreeze after accidentally pressing Ctrl-S in a terminal?

It's a situation that has happened quite often to me: after I press (with a different intention) Ctrl-S in a terminal, the interaction (input or output) with it is frozen. It's probably a kind of ...
1
vote
1answer
54 views

Remap keypad keys to modifiers

I did some research but I couldn't find a working solution: How can I make my keyboard buttons: KP_1, KP_2, KP_3 to work exactly the same as Shift_L, Alt_L and Control_L? I use Linux Mint 17 ...
5
votes
1answer
6k views

AltGr keys don't work with Ubuntu in VirtualBox

I just installed VirtualBox (from Oracle) in Windows 7, and created a virtual machine with latest Ubuntu. Here in Firefox I can use the left Ctrl key, while the right one doesn't have any effect. ...
4
votes
1answer
351 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. ...
1
vote
0answers
63 views

Different layouts and specific key mapping for different keyboards

Here's the deal I have an apple aluminium usb keyboard connected to my laptop with "windows" keyboard. And almost everything works great on my apple keyboard except three annoying problems. Each ...
5
votes
0answers
287 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
1answer
48 views

Is bluetooth keyboard associated with `stdin`?

I know that keyboard is standard input and is referred by the stdin file. I sometimes use a Bluetooth(BT) keyboard when working on my laptop. Both keyboards, my laptop keyboard as well as the BT ...
12
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 ...
5
votes
2answers
990 views

How to switch X windows from the command-line?

How can I create a script that automatically switches windows? I'm trying to do the same thing Alt+Tab does.
1
vote
1answer
23 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
16 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
20 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 ...
7
votes
2answers
333 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
42 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: # ...
21
votes
5answers
14k 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
117 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
25 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 ...
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
67 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; ...
3
votes
1answer
209 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
61 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
243 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 ...
16
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 ...
5
votes
0answers
68 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
205 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
124 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
584 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 ...
11
votes
1answer
403 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
576 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 ...