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

learn more… | top users | synonyms

1
vote
1answer
224 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 ...
0
votes
0answers
602 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 ...
2
votes
3answers
236 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 ...
0
votes
1answer
51 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 ...
0
votes
2answers
441 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 ...
4
votes
1answer
2k 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 ...
2
votes
2answers
172 views

Grabbing keyboard control in shell script

I have a certain shell (zsh) script which reads one character at a time and performs an action afterwards. In the shell, this is realized by "read -k" in a loop. I want to execute the script as a ...
1
vote
0answers
49 views

New keyboard messing up mouse

Fedora 20, xfce. I just plugged in a new keyboard, and everything appears to work. There's a backlight-toggling button in the corner. I press it. Now my mouse clicks don't want to register, or my ...
3
votes
0answers
92 views

Keep keyboard layout upon inserting external keyboard

I have a custom keyboard layout, that I enable using this commands: setxkbmap -verbose us -variant altgr-intl xmodmap -verbose /home/coub/.myxmodmap This works just fine, the thing is, that when I ...
12
votes
2answers
2k views

Record every keystroke and store in a file

I need to record every keystroke and store in a file in the user directory ~, when using my account, I am not sudoer and I cannot install programs (like logKeys) in any way. How could I do so using ...
3
votes
2answers
314 views

Execute script after period of inactivity

I'm looking for a way to execute certain script after period of inactivity and after completion of that period. By 'inactivity' I mean lack of mouse and keyboard events. E.g. I want: execute first ...
2
votes
0answers
332 views

Modifier keys cannot be mapped to regular keys on USB keyboard with udev

Using an hwdb file, /etc/udev/hwdb.d/99-keyboard.hwdb, I can remap the left Alt key on my USB keyboard as the Ctrl key: keyboard:usb:v*p* KEYBOARD_KEY_700e2=leftctrl This also works when I try to ...
2
votes
0answers
349 views

Alt key not recognized - Dell Inspiron n4110/Mint 16 (Petra)

I'm running a fresh install of Mint 16 on an essentially-brand-new Dell Inspiron N4110. I booted to Kali Linux initially, and noticed AltTab, AltF4, and AltD (address bar focus) weren't working in ...
1
vote
1answer
125 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
1answer
416 views

Language bar in RHEL 6

I'm having a problem with the language bar specifically in RHEL 6.5. I need the following: Language bar on the panel with either 2-letter code or a flag Switch languages with Caps Lock, optionally ...
3
votes
1answer
212 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 ...
1
vote
0answers
129 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
404 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) ...
3
votes
1answer
479 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 ...
0
votes
1answer
568 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
369 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
502 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 ...
3
votes
3answers
1k 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 ...
6
votes
1answer
184 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
1k 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 ...
2
votes
0answers
358 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
185 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
69 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 ...
0
votes
1answer
2k 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 ...
28
votes
1answer
3k 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 ...
2
votes
0answers
96 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- ...
5
votes
3answers
2k 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 ...
3
votes
4answers
3k 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
1answer
47 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
93 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.
3
votes
1answer
235 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 ...
4
votes
1answer
1k 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 ...
2
votes
1answer
253 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
2k views

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

The Caps Lock 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 Caps Lock key‽). ...
1
vote
3answers
5k views

How can I set the keyboard right on X?

Note: forked of this per recommendation here. I made a foolish typo for UTF-8, and expected that when I fixed it, the keyboard on X would work right. Since making this errant change, I was no ...
0
votes
0answers
527 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 ...
1
vote
1answer
510 views

how to send keyboard signal using a shell script

I have an application in graphical interface that when I run it, it's not opened in full screen mode, but when I use the keyboard shortcut Alt+Ctrl+M , it becomes fullscreen, I want to change the ...
3
votes
1answer
98 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 ...
4
votes
1answer
529 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 ...
4
votes
0answers
81 views

OS X-like deadkeys behavior on Linux

I'm on Debian (actually Crunchbang), and my notebook has a default US layout keyboard. My native language is Brazilian Portuguese (pt-BR), so I've changed my layout with setxkbmap -layout us -variant ...
0
votes
1answer
530 views

How do I find out the keycodes for Ctrl+up and down arrow for TERM=screen?

I am using tmux a lot, and I have already managed to tune my OS X terminal to send the correct key codes for Ctrl+left and right arrow (\033b and \033f). I found those information on the web. However, ...
1
vote
2answers
116 views

GRUB2 and Foreign Keyboards

If I have GRUB2 installed on a system that is using a foreign keyboard and I want to use CLI Mode, what key would I press? On Latin-based keyboards, we would press "C", but other alphabets lack the ...
0
votes
0answers
558 views

X keyboard layout unable to toggle

I don't understand why alt_shift_toggle is not triggers keyboard layout switch This is what I have localectl status System Locale: LANG=en_US.UTF-8 VC Keymap: us X11 Layout: us,ru X11 ...
3
votes
2answers
539 views

How do I disable the left CTRL on Ubuntu 13.10?

How do I disable the left CTRL on Ubuntu 13.10? Actually I can do it already. All I need to run is xmodmap -e "keycode 37 = " The problem I have is this only works if I run it from the terminal ...
0
votes
1answer
1k views

How to disable onboard (on-screen keyboard) that automatically starts when I log onto my system?

whenever I login to my system (Ubuntu 13.10) onboard (on-screen keyboard) automatically runs. I don't want it to run any more. Why does it run automatically & how to disable it? Long back as far ...