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

learn more… | top users | synonyms

4
votes
1answer
840 views

Disabling or changing console switching keys

For some reasons on my Ubuntu 11.04 Natty running Linux 2.6.38-13, with an Italian layout for the keyboard, the keystrokes AltFx switch between virtual consoles (instead of the normal CtrlAltFx ...
6
votes
6answers
2k 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
1answer
2k views

setxkbmap for macbook pro (US)

I recently installed awesome on my ubuntu oneiric, a nice window manager. This doesn't seem to inherit the keyboard settings that were set in the Unity settings. Now, the problem is, I can't seem to ...
3
votes
2answers
2k views

What does this output from xev mean?

I'm interested in remapping some keys on my keyboard. In particular, I want to hold down the Function key, press the F1 key, and have this trigger a script. I know that xev is useful for figuring out ...
4
votes
2answers
1k views

Is there a way to remap the AltGr key to Ctrl with setxkbmap?

I've already checked the option section in /usr/share/X11/xkb/rules/base.lst but I didn't find an entry for AltGr...
12
votes
3answers
2k views

Remap CapsLock to Escape and Control System Wide

Is it possible to remap the CapsLock key system wide such that when the CapsLock button is pressed by itself it acts as the escape key and when pressed with another key it acts as the control key?
2
votes
1answer
440 views

How can I use GNOME's keyboard settings in Fluxbox?

My GNOME keyboard settings do two main things: Switch CMD and CTRL (I'm on a Macbook) Give me a third level (for special characters) This is really the only functionality I'm missing in Fluxbox. ...
4
votes
1answer
941 views

What does GNOME do with multimedia keys?

GNOME makes multimedia keys, such as fn+directional keys on my laptop, maybe dedicated keys on your keyboard, into very useful keys. They seem to work with a large number of application. What can I do ...
4
votes
2answers
745 views

How to get user-level access to modifier keypresses in console app?

I need to get access to modifier-key state for a console app I'm writing (a personalized editor). Are there any packages/libs/whatever that provide this access? I cobbled the following from ...
6
votes
1answer
197 views

Why does mapping <esc> cause arrow keys to fail in vim?

When I do inoremap <Esc> <Esc>`^ in vim, the next time I switch to insert mode (after using Esc) the arrow keys fail to move the cursor (they insert letters instead). Why does that ...
4
votes
2answers
832 views

How does X map from kernel key scan codes to a keysym?

According to this page there is no direct mapping from udev key mappings to X, it has its own mappings. X has a (quasi) total independent way of mapping keys: X reads the kernel keycode table at ...
6
votes
2answers
6k views

How do I temporary change my keyboard layout on Debian? (no X)

How can I quickly change my keyboard layout between US and German? setxkbmap does not apply here, as I only have an SSH shell. Persistent changes via dpkg-reconfigure keyboard-configuration ...
5
votes
2answers
3k views

Some keys are invalid on emacs when using German keyboard

When I am using emacs 23.3 on KDE, I can not input ^, ´ and ~ from my German keyboard. If I press these keys, then emacs says that <dead-circumflex>, <dead-acute> and <dead-tilde> ...
1
vote
0answers
234 views

uemacs 4.0.15 strange key bindings

Playing around with uemacs I noticed that some of the default alternative key bindings are set to the Fn key in combination with a different key (for example, an alternative for 'help' is set to ...
13
votes
3answers
2k 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 ...
3
votes
2answers
3k views

Disable scroll lock

We have a shell/tty based application that has ~1,000 users. It is running in an environment where X Server is not available. If a user accidently turns on the Scroll Lock, it makes it seem as if the ...
3
votes
0answers
738 views

Keyboard repeat without pressing a key

Occasionally a key repeats although I do not press the key. I would like to prevent this phenomenon. The phenomenon happens when I am pressing Ctrl+w again and again. After several times of Ctrl+w, w ...
3
votes
1answer
1k views

Disabling caps lock by setxkbmap makes it Shift key in Emacs

I'm using GNU Emacs 23.2.1. within Xfce 4.8.0 (both coming from the Ubuntu Natty repository). I disable the CapsLock by running /usr/bin/setxkbmap -option "ctrl:nocaps" at the beginning of the Xfce ...
2
votes
0answers
889 views

USB keyboard won't work with usbhid driver

I have an HP thin client (model t5325) which runs Debian Linux (kernel 2.6.22.18-1-armel). We are testing some kiosk keyboards from Operator Interface Technology which are presenting themselves to ...
1
vote
2answers
646 views

How do you configure numpad keys using XKB?

I haven't figured out how you configure XKB to use the numpad yet. I found the following in the "us" file. partial alphanumeric_keys modifier_keys xkb_symbols "basic" { name[Group1]= "USA"; ...
1
vote
0answers
748 views

Asus G53S keyboard backlight

I have troubles enabling keyboard backlight in Asus G53SW-XR1 (2.6.39-2 kernel) with modules: $ lsmod | grep asus asus_nb_wmi 12393 0 asus_wmi 18488 1 asus_nb_wmi ...
6
votes
1answer
7k 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. ...
1
vote
1answer
285 views

Strange terminal behavior: 'j' key not working in urxvt

For some bizarre reason my 'j' key stopped working properly. Every time I hit the key, it prints "true". If I type 'jake', the terminal prints: >>trueake I don't know what lead to this. I ...
3
votes
2answers
514 views

Uppercase input turns on periodically

I have some problem. Every 3-5 second everything, that I input from keyboard became UPPERCASE only. I also have two keyboard layouts: us and ua. And when uppercase happens - I can't switch my keyboard ...
8
votes
1answer
5k views

Enable num-lock as default in Linux

There has been a similar question - but IMHO there has to be a simpler solution. If num-lock is on in the BIOS - why is it turned off during linux boot and/or KDE/Gnome/whatever startup?
1
vote
1answer
2k views

How to use bash control a keyboard

How to use bash command control a Keyboard. e.g. what is a command in bash for pressing ctrl+c, ctrl+l, etc..?
7
votes
1answer
7k views

Switch VI to use backspace key instead of Control+H for backspace?

I'm on Solaris 10 and by default vi version SVR4.0, Solaris 2.5.0 is installed. The system was set up so that when I ssh to it Control+H does backspace, and backspace outputs ^? I added stty erase ...
13
votes
2answers
948 views

Manipulating X key and pointer grabs on the command line

What command line tools exist to list and manage X server grabs? (That's grab as in key and pointer grabs, i.e. restricting the use of a particular key or mouse button to a particular application, or ...
18
votes
3answers
5k views

ESC key causes a small delay in terminal due to its Alt+ behavior

My terminal setup is gnome-terminal + tmux + zsh with vi bindings. In applications like vim or even in the zsh's command line vi editing mode, I need to frequently hit the ESC key but there is a ...
1
vote
1answer
532 views

How do I set Keyboard and profile preferences when connecting to Solaris via SSH?

I'm connecting to a Solaris box from Mac OS X. Whenever I have connected to linux boxes in the past it has been much easier to navigate around. How do I fix these configuration issues on Solaris? ...
5
votes
2answers
1k 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.
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 ...
7
votes
2answers
1k views

UTF8 math symbols & keyboard layout / input

I'd like to use UTF8 math symbols, when typing one list, another list. I've found sth called ComposeKey. Unfortunately it's not covering omega, theta, rightarrow etc. I am using KDE, I've tried ...
1
vote
1answer
357 views

GNOME: Use WinKey (Super_L) as a main menu toggle

I know how to set Super_L (WinKey) button to open the Menu. gconftool-2 --set /apps/metacity/global_keybindings/panel_main_menu --type string "Super_L" Currently, in order to close that menu, I am ...
4
votes
1answer
1k views

How to make BT keyboard available at login and OS selection screens

Is it possible to have my bluetooth keyboard active before I enter into the desktop environment? I'm unable to type in my login and password at the login screen because the Debian hasn't associated ...
5
votes
3answers
6k 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 ...
2
votes
1answer
206 views

How do I rebind M-/ in Emacs to M— (dash)

I'm basically trying to figure out how to use keyboard-translate in Emacs to make M-- do the same thing as M-/ How do I go about doing this?
3
votes
1answer
3k views

Keyboard Problem with Debian testing and gdm3

I'm driving a Debian testing machine that is running fine. But since testing includes Linux Kernel 3 I have the following problem: While booting all is working (I mean especially the keyboard) - ...
3
votes
1answer
274 views

Keyboard bindings from bash to zsh?

I have the following entries on my .inputrc for bash: "\C-p": history-search-backward "\C-n": history-search-forward "\e[A": history-search-backward "\e[B": history-search-forward "\e[C": ...
8
votes
1answer
350 views

Recovering from Sys Rq + r

I had a really bad lockup of my X server and had to do a Sys Rq + r to release my keyboard from X and get into a console. I was able to kill the process that was locking up my system, and continue my ...
1
vote
2answers
764 views

Left Ctrl key swapped with Fn key?

I used xev to try to capture the keycode, but I don't get any output from it. I get output for the rest of the keys I checked. This happened after my system froze (likely the fault of VirtualBox) so I ...
1
vote
1answer
431 views

How to set keycodes manually in vim?

Sometimes when I fire up vim, my Insert key doesn't work (need to use i) and my arrows don't work (they give me letters instead). I'm guessing this has to do with my keys not being mapped correctly. ...
3
votes
1answer
581 views

Keyboard input not displayed on the screen?

We use the `exceed tool to connect to our UNIX servers, but sometimes the command-line behaves erratically. When I am typing some command on the command-line, nothing happens -- nothing is displayed ...
2
votes
1answer
430 views

Disable action keys

I'm running openSUSE on HP Pavilion dm4. I have a bunch of action keys (volume up/down, brightness, wifi etc.) on my function keys. For using standard Fx keys I have to hold Fn key. The problem is ...
5
votes
1answer
256 views

Xorg key clicks?

I've currently got Fedora 9 on my home PC (yes, I know its quite old - but hell I only reboot it every 6 months - nevermind upgrading!) . My only niggle is that keyboard I've got has quite a different ...
9
votes
4answers
889 views

How do I disable or change the caps lock key on my keyboard?

We have ergonomic keyboards at work which I'm not entirely used to. I seem to keep hitting the capslock key while I'm in vim and it's starting to annoy. How can I disable this key, and or change to to ...
4
votes
2answers
1k views

Why does Ctrl+Arrow make my terminal switch to a strange mode?

When i type Ctrl+Left or Ctrl+Right within Guake or gnome-terminal the last one's behaviour turns to a some kind of non-usual mode: - key acts like arrow up and + like arrow down, v runs Nano, etc. ...
19
votes
8answers
7k 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 ...
11
votes
6answers
2k views

Disable Keyboard & Mouse Temporarily

I would like to know how one can disable the keyboard & mouse temporarily in OS X.
2
votes
2answers
2k views

How do you force Linux to detect a PS/2 device (e.g. mouse) on demand?

I plugged in a PS/2 mouse while inside my Gnome desktop, but Linux doesn't recognize it. Linux will only recognize the PS/2 mouse if it is plugged in before booting the machine (like a normal ...