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

learn more… | top users | synonyms

8
votes
0answers
215 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 ...
4
votes
0answers
73 views

OS X-like deadkeys behavior on Linux

I'm on Debian (actually Crunchbang), and my notebook has a default US layout keyboard. My native language is Brazilian Portuguese (pt-BR), so I've changed my layout with setxkbmap -layout us -variant ...
4
votes
0answers
285 views

xmodmap for key combination - how to toggle the Fn behavior?

With Logitech K290 keyboard via USB, F. keys are not accessible by default, and I need to press Fn before using them, which is not really usable. The Fn key alone does not fire any event in xev. ...
3
votes
0answers
239 views

Remapping Left Control <LCTL> in xkb changes behavior of Alt + Left Shift

For some reason pressing any alt key (including <MENU>) together with <LFSH> toggles "Switch windows of an application". This can be turned off by commenting out key <LCTL> { [ ...
3
votes
0answers
81 views

Keep keyboard layout upon inserting external keyboard

I have a custom keyboard layout, that I enable using this commands: setxkbmap -verbose us -variant altgr-intl xmodmap -verbose /home/coub/.myxmodmap This works just fine, the thing is, that when I ...
3
votes
0answers
2k 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
0answers
456 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 ...
3
votes
0answers
159 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 ...
3
votes
0answers
515 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
0answers
786 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
0answers
243 views

Keyboard triggering mouse events on Debian on Macbook

I installed Debian 6 on my Macbook in a dualboot configuration. Everything is working fine, except for the keyboard. As I'm typing, I see the mouse arrow moving a bit and strange things happen, such ...
2
votes
0answers
21 views

Strange behaviour of the 'r' key on keyboard

I have an Arch Linux machine whose 'r' key started misbehaving recently. This only happens when the language is set to English (in another language, it works correctly), which makes me suspect it's ...
2
votes
0answers
38 views

some function buttons not recognised (even at scancode level) after resume from sleep

As in the title, some function buttons are not being reconised after resuming from sleep. systemctl suspend is used. The buttons work fine after boot and before the sleep but not after. I have tested ...
2
votes
0answers
44 views

Remapping Num Lock key to function as Caps Lock

As a followup to this question, my Caps Lock key is now mapped to Compose instead. However, it turns out that my 14 month old toddler still manages to turn on Caps Lock from time to time with his ...
2
votes
0answers
44 views

How to attach keyboard and mouse to another screen?

By default, the X server would attach keyboard and mouse to display 0:0, but how to change it to another screen such as 0:20?
2
votes
0answers
29 views

How to show the status of all modifier keys in X11?

I have a remote connection through NX client (Remmina) on my local box (Ubuntu 12.04) onto a remote Linux box (CentOS 5.3) with no root privilege, and it only has a strictly restricted internet ...
2
votes
0answers
35 views

Why when I press bloc num, my linux writes on disk?

As title, when I enable or disable the Bloc Num, my Archlinux writes something on disk. I can't understand what it saves, probably it's logging, but I can't find nothing in logs. And also, why should ...
2
votes
0answers
89 views

How can the xkb layout settings be simplified?

The question is, if there is a way to simplify the structure of the xkb configuration related to keyboard layouts? As explained in further detail below there are 5 independent places in which a ...
2
votes
0answers
74 views

How to use right-Alt key instead of left-Alt key

I have archlinux with i3 window manager. My left alt key is broken and I want to assign left-alt tasks to right-alt. How i can do this? Now when I hold right alt and press a key, just types ...
2
votes
0answers
38 views

How to capture a keyboard shortcut

I need a script, that will run in terminal (under X11), and wait for a keyboard shortcut (happening anywhere in the desktop environment), once that shortcut (or key press sequence) happens, it will ...
2
votes
0answers
103 views

Keyboard key is not recognized even with showkey

I am using Ubuntu 12.04, in a laptop that I carry around and use with different physical keyboards (as I don't feel comfortable with laptop keyboards) For one of those keyboards (Dell SK-8135) the ...
2
votes
0answers
943 views

Bluetoothctl: No default controller available

I'm having issues connecting my Logitech K810 Bluetooth keyboard in Debian Jessie with BlueZ version 5.23-1, kernel 3.16.0-4. The keyboard works fine most of the time but sometimes it doesn't work at ...
2
votes
0answers
141 views

Unable to load a USB keyboard driver on Debian machine

I have a pretty simple driver for USB keyboard: #include <linux/module.h> #include <linux/kernel.h> #include <linux/usb.h> #include <linux/usb/input.h> #include ...
2
votes
0answers
214 views

Debian Wheezy on Samsung NP900X3A some Fn Keys don't work

I've gone through all questions and tutorials on how to solve this problem. They weren't meant for my Laptop version but "close enough". Unfortunately they didn't help. This is the case. # ...
2
votes
0answers
362 views

How to control keyboard backlight using hotkeys

How can I turn increase and decrease the keyboard backlight in notebook on Linux using the same hotkeys used on Windows? In Windows I can control the keyboard backlight by pressing hotkeys (FnF9 to ...
2
votes
0answers
303 views

Modifier keys cannot be mapped to regular keys on USB keyboard with udev

Using an hwdb file, /etc/udev/hwdb.d/99-keyboard.hwdb, I can remap the left Alt key on my USB keyboard as the Ctrl key: keyboard:usb:v*p* KEYBOARD_KEY_700e2=leftctrl This also works when I try to ...
2
votes
0answers
316 views

Alt key not recognized - Dell Inspiron n4110/Mint 16 (Petra)

I'm running a fresh install of Mint 16 on an essentially-brand-new Dell Inspiron N4110. I booted to Kali Linux initially, and noticed AltTab, AltF4, and AltD (address bar focus) weren't working in ...
2
votes
0answers
434 views

How can I set repeat rate of USB keyboard with udev?

How can I get my keyboard repeat rate to apply to a hotplugged USB keyboard? I made a udev rule to set the keyboard repeat delay and rate, /etc/udev/rules.d/99-usb-keyboard.rules with the following ...
2
votes
0answers
318 views

delete key doesn't remove selected files

In file manager or on the desktop when I select a file and hit delete key it does nothing. Shift+delete works fine, as well as deleting in text editors. I'm using Debian Wheezy 7.4 with xfce desktop ...
2
votes
0answers
91 views

Alternate keyboard inputs: dwm on Debian

Currently my laptop's keyboard has some broken keys (z, x, c). When using my Windows partition I know I can just use Alt-codes to enter the keys or use alternate hotkeys for the respective keys (Alt- ...
2
votes
0answers
70 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 ...
2
votes
0answers
319 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 ...
2
votes
0answers
241 views

Remapping shifted function keys in XKB

I'm working on a keyboard layout for the Khmer language and I'm quickly running out of space. My aim is to create a keymap that includes all the characters in the Khmer script as well was their ...
2
votes
0answers
118 views

Xmonad seems like a (physically) painful experience

I've been using Xmonad for several hours after hearing recommendations from several people. Currently my configuration is very basic. I mapped the modifier key to the "windows key" as suggested in ...
2
votes
0answers
242 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
149 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 ...
2
votes
0answers
421 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
0answers
345 views

xkb: `ctrl:swapcaps` option messes with the escape key

I've been using setxkbmap -option "ctrl:swapcaps" to swap the capslock and left control keys, but I just recently noticed that this seems to mess up my escape key. With xev, I can see that pressing ...
2
votes
0answers
933 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 ...
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 ...
1
vote
0answers
21 views

Caldera Debian Keyboard Output Chinese Characters

So, I'm an involuntary IT guy at my current position, and we have come across an issue with Caldera's flavor of Debian Linux. For some reason, with no real prompting, our keyboard starting typing ...
1
vote
0answers
21 views

Linux Mint keyboard and mouse take a long time to work after boot

I turn my computer on, select my linux harddrive, and then I end up at the Linux mint encryption password area. I have to wait about 1 minute just for my keyboard and mouse to actually light up and ...
1
vote
0answers
14 views

kmscon and deadkeys

How can I configure kmscon to use dead keys? I already have xkb-layout=br in /etc/kmscon/kmscon.conf, but the dead keys don’t work. (' + e gives me e instead of é). The layout seems to have been ...
1
vote
0answers
48 views

How to get the mouse/keyboard raw events?

I want to intercept the raw events from the keyboard (or the mouse, eventually). I tried to use the /dev/input/[...] files, they are very practical and I can read the events of any key even caps lock ...
1
vote
0answers
58 views

Some of fn keys not recognized after upgrade

After upgrading my system (including kernel) I discovered that some of fn keys (XF86MonBrightnessUp and XF86MonBrightnessDown) are not recognized by xev and even showkey. Each time one of these keys ...
1
vote
0answers
23 views

Reading a passphrase from the physical keyboard in OpenBSD

I'm using Synergy to control an OpenBSD desktop from a Linux computer (think of it like a VNC client/server). That is to say what I type on the keyboard goes through a network connection before it ...
1
vote
0answers
49 views

How to permanently remap caps lock to esc in X11?

I want to remap caps lock to escape in X11 (i.e. pressing the physical caps lock button will be interpreted as esc by applications and esc's behavior will not change). The solution must survive an X ...
1
vote
0answers
67 views

Media key problems with Microsoft keyboard

I have a Microsoft All-in-One wireless media keyboard (n9z-00001) which behaves weirdly with my current distribution, Arch Linux. (Linux 3.19.3-3-ARCH #1 SMP PREEMPT Wed Apr 8 14:10:00 CEST 2015 ...
1
vote
0answers
16 views

Unable to prevent keypresses from unsuspending laptop

It appears that due to the poor build of my laptop, keys sometimes get pressed in my backpack, even though the lid is closed. This causes it to silently resume from sleep, then overheat and drain the ...
1
vote
0answers
50 views

How many bytes can a keypress return? And should a metafied key return more?

I've been tooling around w/ this input reader lately. Currently it only prints a report to stdout for each key pressed while it runs, but I would like to graduate it to a higher purpose sooner than ...