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

learn more… | top users | synonyms

2
votes
0answers
103 views

Sun type 5 keyboard via serial port replicator

I'm running Ubuntu 12.04 on an HP G60 laptop with a Targus serial port replicator to USB and a custom cable between the keyboard and the replicator I ran modprobe sunkbd. Nothing works for the Type ...
0
votes
2answers
66 views

Why is my Yellow Dog keyboard layout wrong? [closed]

I just installed Yellow Dog on my PowerBook G4, and it worked, and noticed my mac keyboard. Then, suddenly, the layout went wrong. Most keys don't do anything, and I have letters instead of arrow ...
3
votes
1answer
469 views

How to distinguish input from different keyboards?

I want to write an application in Python that you can use with your default keyboard and a specially designed one for the application. I will design it simply by using a small numerical keyboard with ...
4
votes
3answers
268 views

Ctrl-a does not take me to the beginning of the prompt while I am working within a GNU screen

To navigate to the starting and end of a command, I usually use Ctrla and Ctrle. However, when I work within a GNU screen, those keybinding do not work becuase perhaps they are being used by the GNU ...
3
votes
3answers
1k views

Ubuntu 12.04 Gnome 3 “freezes” randomly - not a normal freeze though

Since upgrading to 12.04, I've randomly experienced this strange phenomenon where my mouse mostly doesn't work and keyboard mostly does. I have not been able to identify a cause for this. Sometimes it ...
1
vote
0answers
725 views

Switching on numlock by default in Linux Mint

Whenever I boot in to Linux Mint the NumLock is switched off by default. As my username consists of some numbers, I need to switch on NumLock each time. I want it to be switched on by default each ...
3
votes
1answer
263 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
2answers
478 views

Fix keyboard chattering/bouncing on the software side

I have a mechanical keyboard (Noppoo Choc Mini with Cherry MX Blue switches) and after a few weeks, some key presses are getting sent two times even though I press a single time. I found out that this ...
1
vote
2answers
126 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?
0
votes
1answer
1k views

Mouse and keyboard not working in FreeBSD 9.0

Could not use keyboard and mouse at KDM log in screen in FreeBSD 9.0 KDE Typed on nano: hald_enable="YES" dbus_enable="YES" local_startup=${local_startup} /usr/local/kde4/etc/rc.d" kdm4_enable="YES" ...
2
votes
0answers
301 views

Logitech G110 Multimedia Keys in Linux Mint 14

I know that plenty of questions have been asked about multimedia keys, but I'm having trouble finding a solution for my specific problem. I have a Logitech G110 keyboard, which (besides the macro ...
1
vote
1answer
1k views

How to permanently swap esc and caps lock in xfce / xubuntu?

I followed some post a while ago, and it said to make an ~/.xmodmap file like so: ! Swap caps lock and escape remove Lock = Caps_Lock keysym Escape = Caps_Lock keysym Caps_Lock = Escape add Lock = ...
1
vote
1answer
47 views

Why grp:lctrl_lshift_toggle still keeps right keys as switch triggers?

I ran the following command in my terminal: setxkbmap -layout us,ru -option "grp:lctrl_lshift_toggle,ctrl:nocaps" but for some reason, the effect is the same if I specified "grp:ctrl_shift_toggle" ...
3
votes
1answer
228 views

Map Super+[Left|Right] to Home/End

How do I map key "Super" so, when combined with Left/Right, it produces keycode Home/End? My current setxkbmap: setxkbmap \ -model pc105 \ -layout 'us(dvorak-intl),us(alt-intl)' \ -option \ ...
0
votes
3answers
682 views

Overriding functionality of special keys on CM Storm Trigger keyboard

I have a CM Storm Trigger Keyboard. This has some special keys, which can be programmed to trigger certain macros. There are special "M" keys for macros on the left-hand side, and there are two ...
2
votes
1answer
248 views

Script to turn off laptop keyboard if USB keyboard is present [duplicate]

My laptop keyboard is broke (Esc keeps randomly being pressed, can't fix it), so I've bought a USB keyboard instead. I want to write a script that will run at login which will check if my USB keyboard ...
1
vote
2answers
193 views

Cannot type accented capital letters in kde-konsole

If i try to type a capital letter with accent (e.g. Ř) in kde-konsole, I get the following result: ˇR - the letter and the accent as two characters. The normal behaviour is that after pressing ˇ ...
0
votes
2answers
152 views

German umlaut on Danish keyboard

I use standard Danish QWERTY keyboard (on Debian, if the distro matters). Is it at all possible to write German umlauts such as Ä, Ö, Ü by some key combos (that is without changing the layout to ...
2
votes
1answer
556 views

How can I automatically disable my laptop's built-in keyboard in X.org?

Distro and X.org Version Information I am using Ubuntu 12.10 with xserver-xorg/quantal 1:7.7+1ubuntu4. Disabling Built-In Keyboard in X11 I have a laptop with a built-in keyboard that no longer ...
3
votes
1answer
431 views

Getting keyboard to work in debian 6.0 in order to unlock root partition

I just installed Debian 6.0, encrypted / and now I'm trying to boot. When GRUB comes up, I select Debian, it loads the initrd and asks for the root password, however I can't enter anything, because ...
0
votes
0answers
140 views

keyboard lockup after hold ctrl key

With Fedora 17 I have a PS/2-connected keyboard. If I hold just the left CTRL key down for a period (say 5 seconds) then the whole keyboard locks up. The USB-connected mouse still works and I can ...
1
vote
0answers
87 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
66 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
481 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
327 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
469 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 ...
5
votes
1answer
217 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
284 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
1k 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
85 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
943 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
393 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
563 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
27 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
142 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
397 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 ...
3
votes
1answer
705 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
274 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, ...
5
votes
1answer
969 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
290 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
109 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 ...
84
votes
6answers
4k views

How to run a command without hitting Enter Key?

Accidently I mapped Enter key via xkbset to Pointer_button2. Now every time I hit Enter some gibberish text appears. I thought of a workaround involving remapping it back but that means I will have to ...
5
votes
1answer
526 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
206 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
174 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
1k 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
341 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 ...
19
votes
4answers
9k 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
155 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 ...