Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [keyboard]

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

0
votes
0answers
16 views

Xfce4 terminal input buffer issues

I have a fresh install of "linux mint" on a modern but quite limited PC. On this box the terminal in xfce terminal fails to print a character from the keyboard but it is in the buffer. So on the next ...
0
votes
1answer
19 views

Trigger a certain key combo with another one

Can anyone suggest me on what would be the best way to trigger a certain key kombo with another one. Say, I'd like to send CTRL+= while pressing CTRL+[. Basically I want to workaround zoom for Google ...
0
votes
1answer
17 views

PS2 keyboard in OpenBSD 6.4

On OpenBSD 6.4 , my usb keyboard is dead so i get a old ps2 keyboard. The problem now is that it is configured as qwerty keyboard and it is a azerty keyboard. I can set it in xfce with : Keyboard ...
0
votes
0answers
23 views

Keyboard issue with key 7 xmodmap

Here is a line in my xmodmap -pke output keycode 16 = 7 slash 7 slash bar backslash bar And the output of xmodmap -pm is xmodmap: up to 4 keys per modifier, (keycodes in parentheses): shift ...
1
vote
0answers
16 views

Some USB devices will automatically reconnect after I unbind it, how to disable it long time?

I'm trying to disable my two USB keyboard on my linux system, the first one can unbind long time until I unplug then plugin and the number lock light is off during this time. But the other one can not ...
3
votes
2answers
42 views

Can I launch macros and shortcuts from a second keyboard on Linux?

I have a small numpad keyboard which I would like to use for launching macros and shortcuts, along side my regular keyboard. I can attach macros and shortcuts to these keys (i.e, numpad 1 minimises ...
0
votes
1answer
18 views

Simulate graphics tablet using libevent

I would like to simulate a graphics tablet (like wacom's ones) from a script. The "good" way to proceed seems to use libevent that is an abstract layer above uinput. So I tried to write a script that ...
0
votes
0answers
47 views

How to identify laptop-keyboard (I can't see it in lsusb, or usb-devices)

I am trying to identify a laptop keyboard. So that I can disable it. It is causing problems (see Permanently disable keyboard), so I want to disable it. However I can not identify it. How do I go ...
0
votes
0answers
17 views

Mapping a key combo to toggle Fn or ALT

I bought a USB keyboard/touchpad. As the keyboard has F1,...,F12 and 1,...,' on the same keys, resp., w/ F1,...,F12 triggered by holding down fn or ALT, I'd like to bind a key combo to toggle fn or ...
0
votes
0answers
25 views

CTRL, ALT & ALTGR dead on Fujitsu Celcius H770 with Linux Mint 19 Tara

My CTRL-L, CTRL-R, ALT, ALTGR and numpad keys don't work anymore. The German layout keyboard was fully functional after installation, but the keys got lost after some reboots. I had problems with the ...
1
vote
1answer
40 views

How to reset keyboard driver?

I have a KVM switch sharing my USB keyboard between Linux and Windows systems. If the switch is set to the Linux box when it boots up then the keyboard works fine. If I switch away to the Windows box ...
1
vote
0answers
17 views

LXDE: Keyboard settings not loading

Debian Stretch LXDE I made some keyboard settings wich means repeat delay and interval. After system's start I have to go into the settings and at least to cancel them to have that settings loaded. ...
2
votes
0answers
81 views

Enable dead keys in Gnome login screen (Gnome 3.30.2)

I am running Kali Linux 2019 with Gnome 3.30.2 on a somewhat older Lenovo ThinkPad s540 and I am really enjoying modern Gnome. I do have a problem though; I'm located in the Netherlands, so the ...
1
vote
0answers
28 views

xmodmap lost after sleep

In Ubuntu 18.04 I use the following autostart script: [Desktop Entry] Type=Application Exec=/home/user/.xinitrc Version=1.0 X-GNOME-Autostart-enabled=true Name=xmodmap Comment=xmodmap script which ...
0
votes
2answers
64 views

xterm: Disable Left Alt from producing ø

I'm on latest debian testing with i3wm on two different laptops. Linux mango 4.19.0-2-amd64 #1 SMP Debian 4.19.16-1 When I press LeftAlt + x I get "ø". And other special chars with other keys. I ...
0
votes
0answers
18 views

Re-assign CTRL+left arrow to move to beginning of line

I'm trying to make a custom shortcut through the ubuntu settings. I'm used to CTRL+left arrow taking you to the beginning of your current line, not just to the previous word. I assume I'm just not ...
0
votes
0answers
15 views

How to bind a keyboard shortcut with certain left or right modifier key in Ubuntu 18.04

In Ubuntu 18.04 keyboard shortcut settings do not differentiate between left and right modifier keys (e.g. Show All Applications - Super+A). Is there a remap-free way to assign a combination with ...
3
votes
1answer
33 views

Permanently change xkb keybindings?

I have a custom keyboard layout located in /usr/share/X11/xkb/symbols/us. Every time an update happens, this file is updated to the standard keyboard layout. Is there either a way to change this ...
0
votes
0answers
18 views

keymaps : strings as usual

In the keymaps manpage, section ABBREVIATIONS : strings as usual Defines the usual values of the strings (but not the keys they are bound to). In which file are these usual definitions ?
1
vote
2answers
29 views

How do I type German or Spanish characters in Linux when I don't use a desktop environment?

I'm using Debian 9 x64 with the dwm window manager. I don't use Gnome, KDE, Xfce, or any other desktop environment; it's just the window manager. I configured my keyboard layout to use the Generic ...
0
votes
2answers
23 views

Showkey with timestamp

How can I record keyboard actions with the timestamp, either to console, or preferably to a file? I have showkey output like: keycode 28 release keycode 30 press keycode 30 release keycode 48 ...
0
votes
2answers
102 views

How to change keyboard layout shortcut to ctrl+shift on Debian 9?

I am used to use ctrl+shift to change keyboard layout. I found how to do change keyboard layout : However, I can't set crtl+shift, for example, I can set only ctrl+tab or ctrl+c or ctrl+shift+w etc ...
0
votes
0answers
15 views

2-key Keybindings (e.g. alt-shift) override 3-key bindings (e.g. alt-shift-1). How can I fix that?

If I have a 3key binding (e.g. alt-shift-1) and 2-key binding (e.g. alt-shift), when I press alt-shift-1 it just does the alt-shift binding instead (and writes shift+1). Shorter bindings override ...
1
vote
1answer
102 views

Debian Fn key not working on Matias wireless keyboard

I have a Matias wireless mac keyboard (US layout) and while in Mac the fn keys work fine, for example, Fn + F12 works as volume up, however I have switched to linux on my desktop and in Debian (...
0
votes
0answers
30 views

Mapping Alt + Up to PgUp

I am using an application that has important operations mapped to the PgUp and PgDown keys, but my keyboard doesn't have these keys (I'm using a ChromeBook Pixel 2015, running Linux Mint 18.2). I know ...
0
votes
1answer
29 views

Use same compose keys of OSX on Arch

I use a apple keyboard and really like the way OSX handle insertion of special characters, for example: <Multi_key> + c then c gives ç <Multi_key> + e then e gives é <Multi_key> + ...
0
votes
0answers
34 views

Keyboard remap: home → comma, end → dot

I'm trying to change xkb settings in this file: /usr/share/X11/xkb/keycodes/evdev. Specifically, I tried this: // <AB08> = 59; // <AB09> = 60; // <HOME> = 110; // &...
1
vote
0answers
15 views

How to Remap Chewing (Chinese Input Method)

I'm using Bodhi Linux and yesterday made a huge mistake upon updating the system and remapped my keyboard completely wrong. I was able to get the English keyboard remapped, but the Chinese is still ...
1
vote
1answer
82 views

Some applications ignore Xmodmap settings

I am using the following ~/.Xmodmap keycode 133 = Mode_switch keycode 134 = Mode_switch keysym h = h H Left keysym l = l L Right keysym k = k K Up keysym j = j J Down keysym w = w W Prior keysym s = ...
0
votes
0answers
26 views

How to Control the Scroll Lock LED or Compose LED using another key?

I have a Sun keyboard (Type 5, I think) with several additional keys on the left hand side of the keyboard. I use one of these keys, "Again" as a modifier to toggle the function of the number keys on ...
0
votes
0answers
30 views

Where can I find the scripts binded to the lower volume / increase volume and brightness media keys?

When I press the media key on my keyboard to increase the volume (or the brightness, for example) a script is run and the volume is increased as expected. Where are those scripts located in the OS? ...
5
votes
2answers
264 views

How to map mouse keys as keyboard keys without losing'numeric keypad' for Linux?

I know how to map mouse click for F1, F2 and F3 (respectively left click, middle click, right click): xkbset m # required, but disable keypad xmodmap -e "keycode 67 = Pointer_Button1 ...
0
votes
0answers
18 views

How to install and switch between languages (English/Japanes) in Debian

I'd like to be able to install and switch to a Japanese keyboard and back to English. Notice that this is also a question of usability. I'd like to be able to type Japanese directly, in any program, ...
0
votes
1answer
50 views

Unable to remap CapsLock key on AwesomeWM with iBus-Mozc

I'm trying to remap CapsLock to Ctrl, but seems unable to remap in all ways. Also, the key has a strange behavior. First, I use japanese keyboard. Therefore, XKBLAYOUT = "jp" in /etc/default/...
0
votes
0answers
62 views

Remap capslock key to tab with setxkbmap

I was trying to remap the <Capslock>key to the <tab> key, after some research I found out I could do; setxkbmap -option ctrl:nocaps Which maps the <Capslock> key to <Ctrl>. ...
1
vote
1answer
63 views

Set different scroll directions per device Ubuntu 18.04 Gnome

I'm using a mouse keyboard combo as my main input device for my workstation. The PC is also connected to my TV. When watching TV I like to use a cheap keyboard with touchpad. It does not have a brand,...
2
votes
1answer
120 views

Trouble getting a PS/2 “Keyboard” to work under Linux Mint

I'm trying to get an old handhold barcode reader to work under Linux Mint 19.1, which is connected over PS/2 as a keyboard. Every time you scan a barcode it send the barcode text like you entered it ...
3
votes
0answers
52 views

ThinkPad second “sticky” backspace key

I have bought a Lenovo ThinkPad T580, and noticed that in the upper right corner of the keyboard, there is a second backspace button (in addition to the other backspace button right above the ENTER-...
1
vote
1answer
100 views

Keyboard issue console terminal

I have an issue on my Debian computer with Intel Stick. Link to screenshot => I have extra character in console tty like ^[ This issue is only with supperior 4.11.12 kernel Debian kernel and 4.11....
1
vote
0answers
26 views

Keyboard not working properly on my ASUS laptop with Fedora [closed]

I'm using Fedora for years on my ASUS X550LD laptop without any major problems. But sind a few months (I not able to say since when exactly), I have a very annoying issue that I can describe as follow:...
11
votes
3answers
1k views

How to release keyboard and mouse from grab by a hung unkillable app? [duplicate]

Suppose I have an X application, which grabs keyboard and mouse as its normal mode of operation (e.g. QEMU), but which, due to a bug somewhere, hangs really hard (e.g. gets stuck in Disk sleep). ...
2
votes
0answers
256 views

Can't access tty using Ctrl+Alt+F1,F2,F3 etc

Here is what I have tried: $ xev KeyRelease event, serial 43, synthetic NO, window 0x4a00001, root 0x1db, subw 0x0, time 23449801, (434,-234), root:(1305,244), state 0x1c, keycode 67 (keysym ...
0
votes
1answer
71 views

Function (FN) key has no output in xev

So neither of my function keys appear to be working on my Asus laptop running Arch Linux. They're definitely not broken but they don't produce any output in xev. Like it doesn't register a keypress or ...
2
votes
0answers
51 views

Understanding Keyboard Mapping

I was reading the man pages on find when I came across the part that says one can re-program the keyboard bindings. This got my interest. When I looked into the subject, and went to see my own Linux ...
0
votes
0answers
32 views

Can't switch to ruu layout variant in gnome

I'm running on Antergos with Gnome 3.30.2. Right now I have English and Russian keyboard layouts, they work fine. $ dconf read /org/gnome/desktop/input-sources/sources [('xkb', 'us'), ('xkb', 'ru')] ...
0
votes
0answers
21 views

KEY_UNKNOWN X1 tablet gen3

Some of the multimedia keys on the detachable keyboard of the X1 tablet gen3 (vendorid 17ef product id 60b5) do get mapped to KEY_UNKNOWN. Looking at the usbmon log, the data sent to the controller ...
10
votes
1answer
453 views

Rewiring key stroke

Some keys in my keyboard came to a sticky end after a catastrophic coke spill. I do not intend to replace the old keyboard, since the whole laptop will be replaced next year. The keys in question are:...
1
vote
1answer
125 views

Switch capslock and ctrl with config file on ubuntu 18.04

Recently, I tried to switch capslock and ctrl on my Ubuntu 18.04. I did it by add the following line into my .bashrc: # swap capslock and ctrl /usr/bin/setxkbmap -option "ctrl:swapcaps" This worked,...
0
votes
0answers
31 views

USB keyboard sometimes does not work on boot

I just installed Arch on a new motherboard and sometimes when I boot the machine the USB keyboard does not work. If I unplug it and plug it back it, then it works. Any way to fix a problem like this?
1
vote
0answers
31 views

How to disable Key repeat except for Backspace and Delete keys?

System: Linux Mint 19.1 Cinnamon. How to disable Key repeat except for Delete and Backspace keys? I find repeat keys really annoying, so I decided to do something with it today: But now I can't use ...