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

learn more… | top users | synonyms

1
vote
1answer
294 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
569 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
6k 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 ...
14
votes
2answers
996 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 ...
22
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
553 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
368 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
7k 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
212 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
290 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
365 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
789 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
462 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
608 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
448 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
266 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
950 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 ...
3
votes
1answer
2k views

PS/2 Keyboard & Mouse not working AFTER boot

My CPU is 64 bit, I have a PS/2 keyboard and a PS/2 mouse and I have tried Live CDs of Ubuntu, Kubuntu, Fedora, Arch Linux, Wubi installations, 32 and 64 bit (my CPU is 64 bit) and Puppy Linux. I am ...
2
votes
0answers
1k views

Slow keyboard response in some Distros

I will be quick and clear. My keyboard is very slow in Gentoo, Debian, Ubuntu, Arch, PCLinuxOS and LinuxMint. It works fine in Mandriva, Fedora and Sabayon (Gentoo Based) It is slow even in Gentoo ...
12
votes
2answers
4k views

What does raw/unraw keyboard mode mean?

In the magic sysrq key combinations, there is the combination alt+sysrq+r which, according to wikipedia, does the following: Switch the keyboard from raw mode, the mode used by programs such as ...
6
votes
2answers
3k 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 = ...
5
votes
3answers
1k views

How to set an xmodmap file for the session manager (or at least SLiM) because of a broken physical key

I've got my laptop set up to boot directly into SLiM as the X session manager. However, the "M" key on my laptop is broken. I've gotten around this when logged in by using xmodmap to remap my ...
3
votes
1answer
1k views

Keyboard (mostly) doesn't work in Wine

When I run any program in wine (e.g. notepad), I can use the keyboard just fine until I click the mouse. As soon as I click the mouse for any reason, the keyboard stops working entirely. I'm using ...
13
votes
4answers
19k views

How to inject keystrokes via a shell script?

I'm trying to inject keystrokes into the input daemon so as to simulate typing from a Bash script. Is this possible, and if so, how can I make it happen?
2
votes
1answer
417 views

Getting direct input from keyboard, ignoring X

I've made a hardware keylogger for PS/2 (it is connected between keyboard and PC) and it's storing keystrokes directly as keyboard is sending signals. When device dumps data to the computer, ...
10
votes
2answers
3k views

How to remap the Context Menu key to the Super key

This keyboard has only one super key, so I want to remap the menu key to make up for that.
5
votes
1answer
2k views

USB Keyboard does not work with Grub

I am setting up Arcade Puppy http://scottjarvis.com/page105.htm on an old Dell GX50 PC. Instead of using a PS2 style keyboard which I don't have I opted for a low profile generic USB keyboard. The ...
1
vote
1answer
91 views

Is there a way to bind TAB so that it outputs 2 space characters?

Is there a way to bind TAB so that it outputs 2 space characters? I know you can do this in a text editor like Vim, but I wanted to carry over this functionality to cat >>.
5
votes
1answer
698 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 ...
9
votes
1answer
2k views

Relationship of keyboard layout and xmodmap

I'm using Xubuntu. Before login I can choose a keyboard layout. I'm using xmodmap for remmaping some keys. I'm interested in two things: How the state of keyboard mapping changes when I turn the ...
1
vote
1answer
697 views

Autokey won't start

I installed autokey-gtk application but it won't start. When I run it from terminal it will write a message: Xlib.protocol.request.QueryExtension but that's all. The application won't start. Do ...
2
votes
1answer
207 views

Starting automatically uppercase after dot

Is it possible to configure the following automation? Everytime I will type a sentence in which the last character is dot, colon or quotation mark it will change the next letter automatically to ...
3
votes
1answer
1k views

Automating typing strings in xmacro

Could you show me how to write macro in xmacro (that will work in whole desktop environment) that is able to expand strings? E.g. I will type "thx" and it will expand to "thank you".
4
votes
3answers
1k views

Set the key for spanish eñe letter

How can I map the spanish eñe letter to a key combination? What application is suitable for this purpose (xmodmap, xbindkeys, ...)? When I press Caps Lock + n, it should type ñ When I press Caps ...
9
votes
1answer
2k views

How can I type Unicode characters into KDE's Konsole terminal from a Gnome desktop?

I use Ubuntu.. In 'gnome-terminal', I can type Unicode Codepoints by first typing Ctrl-Shift-u followed by the Codepoint hex value, eg. C-S-u 2468 produces ⑨ konsole, my preferred terminal, does ...
2
votes
1answer
752 views

How can I press key of “keycode 53” every minute in X?

I want to automate my typing. I can use window managers such as gnome and fvwm. I can access to ubuntu and obsd.
162
votes
3answers
85k 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 ...
30
votes
7answers
16k views

How do I get current keyboard layout?

I'm wondering is there any command line tool, that returns current keyboard layout. I have XkbLayout set to us, ru. Update: setxkbmap returns layout settings, not selected layout. E.g.: $ setxkbmap ...
3
votes
4answers
2k views

Matlab gets “crazy” after type special characters

I'm using a computer running Ubuntu and I'm connected through ssh to a RedHat machine where I use Matlab in command line mode (matlab -nodesktop). Matlab version is 7.10.0.499 (R2010a). My problem ...