1
vote
1answer
14 views

Resync NumLock light with NumLock status

I plugged a second keyboard into my computer to test something, and now my NumLock light is out of sync with the lock status (the light is off when NumLock is on, and vice-versa). How can I get the ...
3
votes
2answers
193 views

How does an emulated keyboard work?

I have read that some USB devices emulate a keyboard and the information these devices send will be as if the information was typed on a keyboard. For example: a magnetic card reader can use an ...
1
vote
0answers
55 views

How to hold <Caps Lock> when it sends a single event on key press and release?

Using the keyboard of a Macintosh IIcI (~1990) with remapping of the Caps Lock key to Ctrl in Xorg, it is impossible to use it, as holding it does not send events persistently. When holding other ...
1
vote
1answer
53 views

Is bluetooth keyboard associated with `stdin`?

I know that keyboard is standard input and is referred by the stdin file. I sometimes use a Bluetooth(BT) keyboard when working on my laptop. Both keyboards, my laptop keyboard as well as the BT ...
1
vote
0answers
92 views

Different layouts and specific key mapping for different keyboards

Here's the deal I have an apple aluminium usb keyboard connected to my laptop with "windows" keyboard. And almost everything works great on my apple keyboard except three annoying problems. Each ...
0
votes
0answers
24 views

Pantheon lost keyboard configurations

I install Pantheon yesterday and now every time startx my keyboard configurations back to us, but the correctly is br+abnt2. So I need to run in terminal (after startx) the command: setxkbmap ...
0
votes
0answers
18 views

In Linux count number of key presses except those in the browser

I want to count the number of key-presses in Linux, except those in the browser. There was a solution proposed here but not sure how to ignore browser key-presses.
1
vote
0answers
30 views

Keyboard is disabling

I stuck with a strange problem on OpenSUSE 13.1, after some random uptime my keyboard is disabling. I'm not even sure how to concretize this problem, this happening randomly and I can't see any ...
5
votes
1answer
87 views

Linux kernel dropping custom keyboard scan codes

I have a vintage IBM 122 key model M keyboard that I am adapting for use on a modern computer. I am using a Teensy 2.0 to do the encoding and to handle the USB side of things. I borrowed the firmware ...
0
votes
0answers
200 views

Debian wheezy FN key inverted after resume from suspend

I have debian wheezy installed on my new laptop (Toshiba Satellite L70), with Kernel 3.14 from backports. After I resume from suspend, all function keys (F1 - F12) behaviour is inverted, for example, ...
0
votes
1answer
228 views

Corsair Vengeance K-95 Keyboard & Linux

I've been thinking that I want a mechanical keyboard, currently I'm using a logitech G510 which is perfect with it's 18 programmable keys (I'm using it with this) but I hear a lot of people drooling ...
0
votes
1answer
30 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 ...
4
votes
1answer
344 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 ...
3
votes
1answer
104 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 ...
2
votes
3answers
198 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 ...
2
votes
1answer
317 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 ...
3
votes
1answer
124 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 ...
2
votes
0answers
52 views

Detach keyboard from the kernel

I am writing a remote controller app for an octocopter and want to use a keyboard as an input device for this app but I don't want it to have any effect outside this app. Somehow I would like to make ...
4
votes
2answers
442 views

Disable the external keyboard from a script

I have a udev rule for my external keyboard. I can catch events, and by running a script I can also reach udev env variables. Can I disable keyboard with udev? Or must I use a script to disable the ...
2
votes
0answers
214 views

udev rule for bluetooth device(logitec)

I want to write udev rule for a Logitec Bluetooth. My keyboard and mouse connect to PC as one Bluetooth device. When I monitor udev, I see there are separate events for keyboard and mouse. I want to ...
13
votes
4answers
808 views

Is there any reason why I get ^[[A when I press up arrow at the console login screen?

Whenever I'm at the console login, I press up arrow intentionally to see the previously typed commands. But I see this ^[[A. But when I press Ctrl Alt Print Screen Scroll Lock Pause Break Page Up ...
2
votes
1answer
150 views

Where in the linux kernel sources can I find a list of the different keyboard scancodes?

I was looking for a list of keyboard scancodes in the linux kernel sources, but I did not find anything. Does someone know where to find these? Especially the USB scancodes would be interesting.
7
votes
2answers
1k views

Is it possible for a daemon (i.e. background) process to look for key-presses from a USB keyboard?

I'm working on an embedded Linux project where I will be developing a program that will run automatically on bootup and interact with the user via a character display and some sort of button array. ...
6
votes
1answer
1k views

How to disable keyboard?

Without unplugging my keyboard I'd like to disable it from the terminal; I was hoping that this could be done using rmmod but based on my currently loaded modules it doesn't look like it is possible. ...
1
vote
1answer
451 views

How to permanently disable the Insert key on Linux?

The Insert is located right next to Backspace. So when I am using Leafpad, Gedit, etc., I hit Insert by accident often, which causes the cursor to turn into a bold box which over-writes text as I ...
5
votes
1answer
379 views

Swapping <esc> and <caps lock> in a way that persists with external keyboards

I have a file called ~/.speedswapper which contains the following: ! Swap caps lock and escape remove Lock = Caps_Lock keysym Escape = Caps_Lock keysym Caps_Lock = Escape add Lock = Caps_Lock ...
1
vote
2answers
426 views

A single key on keyboard produces extra keypresses for each simultaneously pressed key

I recently acquired MK-85 mechanical USB keyboard from QPAD. The keyboard works perfect on Windows. It works perfect in Syslinux. It works almost perfect on Linux. The only issue on Linux is that a ...
3
votes
2answers
138 views

Multi-function CapsLock without X

I would like to remap CapsLock to Esc when pressed by itself and Ctrl when pressed with another key without using X. This is similar to a previous question ( Remap CapsLock to Escape and Control ...
3
votes
1answer
232 views

Switch to TTYs without Function keys

At the moment I have a keyboard which lacks function keys (F1 through F12), and I was wondering - is there a way I could switch to textual TTYs (and back, which might prove to be a problem if I were ...
2
votes
2answers
600 views

Key mappings in Linux

What do people mean when they point out that the "keys are not properly mapped" in a Linux installation when working on the command line? Isn't the default installation OK? What extra/specific ...
4
votes
1answer
437 views

Trying to set keyboard layout using Xorg configuration but it's not working

I'm trying to set my HP Pavilion g6 keyboard layout to English(us) and Arabic(ara). I'm using Fedora 18, but followed Arch Wiki anyways. Here's my 90-keyboard-layout.conf file : Section ...
6
votes
2answers
2k views

Grub 'incompatible license' error

The other day, I was using a laptop for general desktop use when its keyboard began to act up. Most of the keys on the keyboard's right side stopped working entirely and key combinations such as Ctrlu ...
0
votes
2answers
79 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
729 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 ...
3
votes
1answer
382 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 ...
1
vote
2answers
216 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?
1
vote
1answer
55 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" ...
1
vote
0answers
115 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 ...
1
vote
0answers
98 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 ...
9
votes
1answer
2k 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
220 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 ...
2
votes
0answers
134 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
2k 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 ...
6
votes
2answers
721 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 ...
5
votes
2answers
6k 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 ...
3
votes
1answer
802 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, ...
2
votes
1answer
2k views

Keyboard and mouse do not function in Debian

I powered on my laptop running Debian kernel 3.3.0. After the boot process starts the X server and KDE, my keyboard and mouse do not function. Keyboard input works when I use the Recovery Console, and ...
2
votes
0answers
373 views

acpi_listen returns different result in Ubuntu than Arch Linux

Ubuntu is able to detect my Lenovo "Mic Mute" button with acpi_listen, but when I try it on Arch Linux, there is no output available. Model: Thinkpad X220 4290LY9 Tried to add acpi_osi=Linux in ...
2
votes
1answer
337 views

Ctrl-Alt-F1 to F6 work differently for left and right sides of the keyboard

If I want to log in to the traditional text shell, I can only use the right side control and alt keys, the left side ones will do nothing. Once I switch to another shell, I now have to use the left ...
2
votes
2answers
329 views

Swap alt and windows key except when using an external keyboard

On my laptop the Alt and Windows keys are in the opposite positions that I'd prefer them in. Swapping them is fairly easy. However, my external (USB) keyboard has the Alt and Windows keys in the order ...