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

learn more… | top users | synonyms

1
vote
0answers
98 views

Making the keyboard eject switch work

My keyboard switch for ejecting the CDROM does not work though it displays an eject button on the screen. I need to make it work. I know ejecting a cdrom using system call is as simple as ...
3
votes
1answer
74 views

How to clear keybinding

I'm in Linux (if it's relevant: Fedora 17 x86_64, 3.6.11) and my laptop's PageUp key has gone ultrasensitive on me. I'd like to disable it (remap it to nothing at all) as I've never liked it where it ...
6
votes
3answers
520 views

Turn off Caps lock when Escape is pressed

Is there any way to disable CapsLock whenever Esc is pressed. Yes, I use VIM! I actually have an alternative all-caps keyboard layout on Ctrl-6 but I find it cumbersome and would prefer to just have ...
3
votes
2answers
372 views

The key codes for Caps Lock, Shift, Left Control and FN key?

Can somebody please provide the key codes for these keys: Caps Lock Left Shift Left Control Option key FN The key code I'm talking about is something along the lines of \<Esc>[200~, although ...
6
votes
2answers
591 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 ...
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
331 views

Have Sun keyboard moon key (116) not shut down my computer

On my Sun keyboard, the top-rightmost key (with a moon image, right above the keypad) shuts down my computer. I'd like it not to, as I hit it by mistake now and then. In /etc/default/keyboard, I only ...
2
votes
1answer
2k views

Certain keys (arrows, page-up, page-down) not working in rdesktop-vrdp

I start and stop my VM headless style. Start VBoxHeadless -s Windows -v on -e "TCP/Address=0.0.0.0" -e "TCP/Ports=3389" Stop VBoxManage controlvm Windows poweroff And I connect to it using ...
1
vote
0answers
93 views

Fprintd - How to customize

I'm making a system based on web technologies, which means that my interaction with hardware is very limited (keyboard/mouse). I would like to modify/write some code/driver that makes my fingerprint ...
8
votes
1answer
1k views

Adjusting keyboard sensitivity in a command line terminal?

When using a tty login shell by entering Ctrl-Alt-F1 from an Ubuntu 12.04 install on a laptop the keyboard seems overly sensitive and if my finger lingers for a moment on a button I end up with ...
2
votes
0answers
472 views

How to change a keycode using setkeycodes

I have a Thinkpad Edge E130 running Sabayon (a Gentoo-based distro), and I'm fighting the well-know bug Xorg 255 keycodes limit. My laptop has the Fn+F4 hotkey for Mic Mute/Unmute. This is the ...
3
votes
1answer
644 views

Unix User Level Keylogger

I need to record my own keystroke data for some academic research. I wrote a regular keylogger for Windows, but now I need to write one for a Unix environment, with the constraint that I have only ...
1
vote
0answers
28 views

Configuring Xorg lvl5 symbols

I configured Lvl3 via editing /usr/share/X11/xkb/symbols/typo. But I found no documentation, how configure lvl5. I tried to add 2 more entries in this file, like this key <AD05> { [NoSymbol, ...
2
votes
0answers
145 views

Netbook w/ Fedora 17 and USB Numpad at Boot Disables Internal Keyboard

I have a netbook with F17 installed. No X, just text console. The system boots fine and the internal keyboard works. I can plugin a USB numpad after boot and it functions reliably. However, if the ...
4
votes
2answers
531 views

Log number of keyboard hits

How can I log a keyboard hit via shell script? My aim is to log the number of keyboard hits of a login session on my Ubuntu system. Note: I do not want to log the keystrokes itself, only the number ...
4
votes
1answer
768 views

Create and set custom keyboard layout

I want to create and set a custom keyboard layout with setxkbmap. I created a file in ~/.xkb/prog with this content: partial default alphanumeric_keys xkb_symbols "basic" { include "latin(type4)" ...
1
vote
2answers
304 views

What's stealing my F11 key?

I've just installed Arch Linux with LXDE and Openbox on my Asus Eee PC 1000. I can't get my F11 key to work in any application. It doesn't appear to do anything when I press it. I installed xev, ...
6
votes
1answer
1k views

What is the Mode_switch modifier for?

Playing with xmodmap I encountered a modifier key I hadn't heard of: Mode_switch. It seems to have something to do with inserting special characters. I assigned it to a key but it seems to have no ...
4
votes
1answer
309 views

Filtering the keyboard input

I have a program that takes input from the keyboard and presents a nice visualization. The purpose of the program is so that my infant can mash on the keyboard and get the computer to do something. ...
3
votes
1answer
115 views

How to use the Meta/Alt Key with tput?

I want to redefine keybindings for the commandline of a lisp dialect. The commandline is actually modeled after Vi and implemented with tput/terminfo. I want an alternative version with Emacs ...
1
vote
1answer
3k views

Keyboard/mouse do not work when connected to USB hub, but only on Fedora - works on other distros

For the record, the same problem happens in openSUSE, too, and the solution is the same. It is fixed in both Fedora 18 (as far as I could tell: I just booted a live CD) and openSUSE 12.3. I installed ...
6
votes
1answer
580 views

Debian Wheezy, VirtualBox, HP DV6-7099EL problem with AltGr

I just bought a HP DV6-7099EL laptop (Italian keyboard). I'm going to install Debian in a week or two, I just want to test the computer without touching the partitions (just in case I need ...
2
votes
0answers
212 views

K800 USB Wireless Keyboard - keyboard repeat rate intermittent problems

Any advice as to how to debug this: My K800 USB Wireless Keyboard's repeat rate intermittently stops working. It will start behaving erratically and when holding a key down it will either not repeat ...
4
votes
1answer
198 views

detect if key is pressed from script

I would like to detect if a key is being pressed when running a script. I have the following script: #!/bin/bash sleep 0.5 xte 'str sometext' I run this script using a shortcut to paste "sometext" ...
2
votes
1answer
2k views

Backspace, del, arrow keys not working with interactive programs in Tilda

I currently run Openbox on a light netinstall of Debian. In Tilda, when I use a program like nslookup or winexe, some of my keys do not work properly. Backspace generates ^? Up generates ^[[A ...
1
vote
0answers
385 views

OpenSUSE - Apple Wireless Keyboard - Switch “fn” and “ctrl” key?

I'm trying to configure the Apple Keyboard so that the "fn" key and the "ctrl" key are swapped. So far I swapped the "cmd" and "alt" key, the "°" and "<" key using xmodmap. Information for that can ...
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, ...
4
votes
1answer
157 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 ...
2
votes
1answer
274 views

String syntax for the kbd macro in Emacs [duplicate]

Possible Duplicate: Associating a function in Emacs after looking up the code with M-x describe-key I have typed the following macros on my .emacs file (global-set-key (kbd ...
2
votes
1answer
542 views

Control and up/down keys in terminal for use by emacs

Is it possible to use C-up and C-down when running emacs in the terminal window (when starting emacs from the command line with the -nw flag)? What should my terminal send when I press C-up and C-down ...
2
votes
0answers
130 views

xkbcomp doesn't update keymap for running xterms?

When I use setxkbmap all programs use the new layout but when I change the keyboard layout with xkbcomp to my own only newly started programs are affected (using xkbcomp with a file with a default ...
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 ...
0
votes
1answer
174 views

Duplicate keystrokes onto remote computer in realtime [duplicate]

Possible Duplicate: Share keyboard over network as separate device? Sort of like a poor man's keyboard sharing. I've tried using Synergy and x2x but couldn't get them to work, so I decided ...
6
votes
2answers
628 views

Share keyboard over network as separate device?

I am trying to achieve something similar to this: http://superuser.com/questions/67659/linux-share-keyboard-over-network The difference is that I need the remote keyboard to be usable separate from ...
4
votes
1answer
692 views

What are/were the keys on a Sun keyboard for?

I have a Sun type 7 UNIX keyboard that I'd like to get more productivity out of. So what are those extra keys for, or rather, what were they intended for by Sun? And is there a way to approximate ...
2
votes
2answers
563 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 ...
5
votes
2answers
2k views

assign shortcut key to run a script

I've written a script to change the brightness of my screen. It's useful when I am working on text mode and shortcut keys of my keyboard to change brightness doesn't work. Is it possible to run this ...
3
votes
0answers
395 views

How to load HID kernel module from the kernel command line?

While upgrading a server from kernel 3.2.9 to kernel 3.5 I had a problem with the network (ifconfig eth0 up won't work) so I updated the system to get a newer userspace, but in the process something ...
3
votes
1answer
210 views

Archlinux gizmod

I've recently installed Archlinux on my laptop and it's been doing everything I needed except one thing: key bindings. I wanted to be able to use the volume buttons (including when in a full screen ...
5
votes
1answer
2k 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. ...
6
votes
2answers
506 views

Custom xkb layout in which one key creates two unicode code points

I am writing a new custom keyboard layout for Xorg, but there is one particular glyph which does not exist in Unicode. It is, however, easy to create it by using a standard letter plus a combining ...
7
votes
1answer
2k views

Korn Shell: End, pgup, pgdown, and delete key not working

So basically my End, Pageup/Pagedown, and Delete key are not working in ksh93. I'm running FreeBSD by the way. My arrow keys are working, and so is my home key. Those keys work when I put this in my ...
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 ...
4
votes
2answers
5k views

Switch Fn key state

I have this issue with Lenovo Thinkcentre Edge. Its keyboard has Fn key, which acts in my Ubuntu (with Fluxbox) as if it is always "active/pressed". I can't use standard F1-F12 keys unless I hold ...
1
vote
1answer
230 views

Map caps to esc for RHEL 5?

I have an older version of RHEL. In newer versions, there is usually an option to map the caps key to the esc key. How would I do this in an old version? Going to System Preferences -> Keyboard -> ...
1
vote
1answer
600 views

Problem with keyboard and mouse in gdm3 and lightdm

Linux anarki 3.2.0-2-amd64 #1 SMP Fri Jun 1 17:49:08 UTC 2012 x86_64 GNU/Linux Distributor ID: LinuxMint Description: Linux Mint Debian Edition Release: 1 Codename: debian When my ...
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 ...
2
votes
1answer
95 views

Preventing multiple keypresses from RF remote

I needed to replace a Gyration remote control (which was for controlling MythTV) and it is no longer made. So I got a Keyspan TSBX-2404. It works in the sense that it communicates with the box ...
2
votes
1answer
258 views

How to disable wifi and bluetooth keyboard switches in GNOME?

My (capacitive) media keys have recently become autonomous, causing my wifi to switch on and off at random intervals and effectively rendering the machine unusable. How can I disable those keys? My ...
3
votes
1answer
706 views

sysrq won't reboot with a keystroke, but will with echo “b” > /proc/sysrq-trigger

CentOS 6.2, 2.6.32-220.el6.x86_64 laptop. SysRQ is enabled for keyboard input, as is witnessed by: $ cat /proc/sys/kernel/sysrq 1 Common Magic SysRQ Keys are working such as alt-sysrq-h. However, ...