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

learn more… | top users | synonyms

2
votes
1answer
79 views

xkb: make ctrl+backspace behave as delete

How can I map ctrl+backspace to behave as delete key with xkb? I can remap a single key on /usr/share/X11/xkb/symbols/pc but can't figure out how to do the combination. My OS is Ubuntu 15.04
1
vote
0answers
20 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 ...
0
votes
0answers
30 views

Where does Debian (Ubuntu) store key mappings?

I've just replaced my Debian installation with Ubuntu today. In my old setup, I configured the Caps Lock to work as another ctrl, but I can't remember how exactly I did it before. However it got ...
2
votes
1answer
28 views

Reading keypresses in shell using trap and Unix signals

I am trying to grasp a fairly involved Unix shell (tested in bash) function that listens for keypresses. The full code can be found here. The part I am having trouble understanding is the purpose of ...
1
vote
0answers
10 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
10 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 ...
-2
votes
0answers
15 views

Keyboard layout map generation [migrated]

I want to generate exactly the same than that : but in an HTML document (whatever the locale is)! Is there a way to do this?
-1
votes
1answer
32 views

My keyboard will not type 'm' or backspace

I am running Arch Linux. Recently, out of nowhere, I have been unable to use the 'm' key or the 'backspace' key on my external keyboard. The keyboard on my laptop works fine. The keyboard I have ...
1
vote
0answers
28 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
1answer
37 views

Low mouse and keyboard framerate in Fedora 21

I have recently added a Fedora 21 partition on my workplace machine, however i'm experiencing the curious issue that my mouse and keyboard "framerates" are incredibly slow. The mouse cursor is ...
1
vote
0answers
49 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
20 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 ...
0
votes
0answers
26 views

meaning of ^[[A ^[[D ^[[1;3C and other notation [duplicate]

I noticed that if i type arrow keys on the terminal when it busy on some other process, for example after running gedit without an & i get these symbols i don't understand. I was unable to find ...
1
vote
0answers
40 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
40 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
32 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 ...
0
votes
1answer
55 views

How to bind AtlGr to Ctrl+Alt in Debian 7

I'm new to Linux and recently I installed Debian 7 in my laptop. I used to use Ctrl+Alt shortcut all the time in Windows, but in Debian 7 I can only use AltGr. So, I was trying to bind AltGr to ...
1
vote
0answers
13 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
33 views

udev keyboard remapping with hwdb for secondary keyboards

I have a laptop, and I save the following to /etc/udev/hwdb.d/90-custom-keyboard.hwdb keyboard:usb:v*p* keyboard:dmi:bvn*:bvr*:bd*:svn*:pn*:pvr* KEYBOARD_KEY_1a=a KEYBOARD_KEY_1b=b and run $ ...
1
vote
0answers
34 views

How to set up XKB to work with 3 modifier keys and 2 switchable layouts?

Consider the following XKB layout: xkb_keymap { xkb_keycodes { <ESC> = 9; <FK01> = 67; <FK02> = 68; <FK03> = 69; <FK04> = 70; <FK05> = 71; ...
0
votes
1answer
32 views

My shift/ctrl and numlock keys stopped working

My ctrl and right-shift keys are not responding, though they still work in a VMware window. Numlock doesn't work. A held-down key does not repeat. clicking in a field in another window does not make ...
2
votes
0answers
33 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 ...
0
votes
1answer
15 views

Xmodmap remapping Caps, but still triggering Caps Lock

Im using CentOS 6.5 workstation, pretty standard config, with normal dell keyboard, EN/US lang and keyboard layout. I have the following in the .Xmodmap keycode 66 = Control_L clear Lock add Control ...
1
vote
0answers
45 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 ...
2
votes
0answers
42 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?
0
votes
0answers
39 views

How do I realize a Shell Script that keeps track of how long the keyboard has not been used ?

Is it possible to write a script that counts the time between two pressed keys, so that one could put a script into the crontab that checks if the keyboard had not been for longer than a certain time ...
0
votes
0answers
32 views

Map characters to key-combinations

Is there a way to map special characters to the keyboard, using a combination of keys? For example, having Alt+A print out a Greek alpha letter, or having Alt+⇨ print out an implication arrow.
4
votes
1answer
56 views

How to remotely send a keypress to an X11 application?

I've got an X11 program (Mathematica/Linux) running which contains unsaved data (calculated after I left; unfortunately I didn't have the foresight to programmatically save the data). Now I've gotten ...
0
votes
0answers
24 views

Remapping two (simultaneous) keypresses to a single keycode

Is it possible to use X keyboard functionality to remap two keypresses to different keycode? I am asking because couple of keys (such as Q and P) on my laptop don't work anymore, thus I have to use ...
2
votes
1answer
32 views

make existing rdesktop session grab keyboard/mouse

By default, rdesktop grabs keyboard, so that key combinations such as Alt+Tab or Alt+F4 act inside the rdesktop window. This can be overridden with the -K option rdesktop -K myserver.mydomain.com ...
1
vote
1answer
42 views

How to map extended buttons on mouse?

I am trying to follow this guide to using a Logitech G600. I have (using a windows computer) mapped each key combo on the mouse to something on a normal keyboard. I have set up some rules in ...
2
votes
0answers
22 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 ...
1
vote
0answers
47 views

Make a key act as a modifier when combined with another key

I want to achieve the following effect: [ Key1 pressed & held, then Key2 pressed & released, then Key1 released ] acts as [ Ctrl + Key2 ] but Key1 pressed and released act as Key1 So, for ...
0
votes
1answer
28 views

password is not recognized on login via wireless keyboard?

When I start my Linux Mint, the first display I met is the Login-Display. I am asked for my username and I can type using my wireless keyboard, the username is beeing displayed correctly. But after ...
1
vote
0answers
61 views

Bluetooth keyboard not showing up in /dev/input

I've just installed an Apple Wireless keyboard on a Debian system. I used this guide and only console tools — no X on that machine yet. The keyboard works fine. Now I want to remap a right Cmd key ...
1
vote
1answer
72 views

How to turn off scroll lock LED, indicating keyboard layout, when the PC is turned off

I edited the file /etc/X11/xorg.conf.d/90-keyboard-layout.conf: Section "InputClass" Identifier "keyboard-all" MatchIsKeyboard "on" MatchDevicePath "/dev/input/event*" Driver "evdev" ...
1
vote
0answers
31 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 ...
1
vote
0answers
109 views

How to enable Acer Aspire One 725 0802 touchpad & F Keys?

I recently tried to install the Elementary Luna OS using Unetbootin. Instead of installing to a USB or CD to boot from, I installed the OS to the hard drive. It seemed to install fine, the BIOS ...
1
vote
0answers
178 views

Debian wheezy, 3.19, problem keyboard and mouse on dekstop environment

I am running Debian Wheezy on a BananaPi. I just compiled the kernel and the keyboard was working in terminal(if it's called that way). However, after I installed a dekstop interface using "apt-get ...
2
votes
0answers
74 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 ...
1
vote
1answer
52 views

Is (wayland's) libinput something new, i.e., not related to X.Org server?

Having read http://www.freedesktop.org/wiki/Software/libinput/ which states libinput is a library to handle input devices in Wayland compositors and to provide a generic X.Org input driver. It ...
3
votes
1answer
69 views

How can I make the pairing of the 'ltunify' program permanent?

I have used the ltunify pairing tool for Logitech Unifying Receiver, written by Lekensteyn, on my Logitech M510 mouse and K350 keyboard, which works perfectly. However, when I reboot, these changes ...
0
votes
2answers
113 views

Send Mouse commands to PC with Raspberry Pi over the network

Is it possible to have a Raspberry Pi connected to a CCTV recorder via USB and send mouse input commands over the network? The video feed from the CCTV recorder is displayed on a TV with in the ...
2
votes
0answers
58 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 ...
1
vote
0answers
47 views

Permission of file keeps changing back

I have an Asus G75VX laptop running Fedora 20. The laptop has a keyboard backlight that is turned on by default every time I log in, which is undesirable behavior. I tried to solve the problem by ...
0
votes
0answers
41 views

Fn key results in slashes rather than brightness, etc

I recently upgraded from Ubuntu 14.04 to 14.10. On 14.04, the Fn key controlled bits and pieces such as mute, brightness, volume, lock touchpad, etc. all worked fine. After the upgrade, they don't. ...
1
vote
2answers
138 views

Can't enter GNU GRUB boot menu!

so I booted up an old Linux Mint machine today and I can't seem to remember the password. So I wanted to reset the password using the instructions on Mint's website but when I hold shift the GNU GRUB ...
0
votes
0answers
21 views

Mimic alt + backspace in iTerm2

I'm trying to figure out how to mimic the alt + backspace behaviour in iTerm2. (In a Linux virtual terminal that should delete everything before a non alpha character, I guess) I can send a key ...
1
vote
1answer
127 views

setxkbmap command and set local keyboard

Suppose the following code of shell: setxkbmap us ## set keyboard layout to English language ## OR setxkbmap ir ## set keyboard layout to Persian language ### OR setxkbmap ru ## set keyboard layout ...
1
vote
0answers
31 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 ...