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

Questions tagged [keyboard]

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

0
votes
0answers
11 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
52 views

Debian Fn key not working on Matias witeless 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
25 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
23 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
1answer
26 views

Configure backliting on Logitech keyboard Ubuntu 18.04

I have a Logitech g413 keyboard,it has only red backlighting and two modes:static(just solid red backlighting) and breathing. When I load Windows(I have Ubuntu 18.04 and Windows 10 dual boot) ...
0
votes
0answers
20 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
11 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
67 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
11 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
26 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
145 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
13 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
24 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
37 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
29 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
60 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 ...
2
votes
0answers
29 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-...
0
votes
1answer
64 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
22 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
971 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). ...
1
vote
0answers
101 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
37 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
29 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
28 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
17 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
447 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
76 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
28 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
25 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 ...
0
votes
0answers
30 views

XKB: Hyper_L and Hyper_R

I'm running XMonad as my WM and I've been very inspired by this YT video. In short, what I'd like to achieve is having my right \ key when pressed continually, act as a Hyper_R and the left Tab act as ...
1
vote
0answers
20 views

how do i map the cmd key to ctrl on kubuntu 18.04?

I'm using an apple mac keyboard and I'm trying to map the "cmd" key to the "ctrl key but not having any luck can someone advise? I've tried setting the keyboard model to apple macintosh but that has ...
2
votes
1answer
104 views

Lenovo Thinkpad Mute LED Stopped working after update

Updated my packages today on my Lenovo Thinkpad X1 Carbon (6th Gen). I didn't expect anything to happen but it did. The Mute indicator LED's on the F1 and F4 key stopped working. I actually know this ...
0
votes
1answer
18 views

Ctrl keys don't work, need to debug hardware or software

Neither of the ctrl keys work. I have a Lenovo Yoga 13 with OpenSUSE 15, and have set the BIOS to switch the left ctrl with Fn. In that case the left ctrl (now mapped to Fn) works. I get nothing on ...
0
votes
1answer
33 views

How can I run a Linux Distro on my mid 2017 MacBook Pro 13 Inch?

1) I tried making a persistent USB drive with Linux Mint and Ubuntu but when i boot into the usb, I cannot use my touchpad or my keyboard. I tried everything online and did everything i read from ...
5
votes
3answers
812 views

Is it possible to type μ on the bash command line without copying and pasting?

This may seem a bit of a strange question, but it occurred to me that when typing a command such as the following, I always have to copy and paste the character from Wikipedia. echo '5 μs' >> /...
0
votes
1answer
18 views

Check if autorepeat is enabled

For the purposes of an app I'm developing, I need to temporarily disable autorepeat (with xset r off), and then restore it back to its original state. Can I easily (like with a terminal command) check ...
1
vote
0answers
52 views

Make the TTY console ignore the /dev/input/event3 keyboard

I have a remote control IR USB receiver, but it acts just like a normal keyboard. I'm reading the input from /dev/input/event3 to handle events. Because of this I need a way for the TTY console to ...
3
votes
0answers
56 views

setxkbmap conflicting with xmodmap

So initially I had the following in my ~/.Xmodmap which mapped CapsLock+HJKL to left/down/up/right like in vim: keycode 66 = Mode_switch keysym h = h H Left keysym j = j J Down keysym k = k K Up ...
1
vote
1answer
35 views

Detect key status in zsh from the Linux console

Can zsh detect a key status without a tool that depends on a graphical session? I've overwritten the getty@tty1 service to autologin, and zlogin executes sway. I would like to prevent running a ...
1
vote
0answers
43 views

Two keyboard keys with same ouput?

I have a Gigabyte Aero 14 with the G-Macro keys on the side. I have had Arch for a while on this computer and love it for my coding environment, but I have had some free time lately and want to ...
0
votes
1answer
27 views

How to disable ALT + HOME shortcut? Linux Mint 18

My notebook keyboard seems pressing random times the shortcut ALT + Home. Is bad because when I'm in, e.g., browser, I go to home page.
2
votes
1answer
235 views

Changing the keyboard layout/mapping on both the console (tty) and X in an X/console agnostic way?

I've been able to change the keyboard layout/mapping when the X Window System is running using ~/.Xmodmap (and I suppose you could also do it through the X protocol directly, eg. using libxcb as a ...
2
votes
3answers
130 views

Why does XTerm support 63 function keys?

According to this table of terminal emulators and their keycodes, new versions of XTerm recognize function keys from F1, F2, F3, ... all the way up to F63. Most keyboards only have physical function ...
0
votes
1answer
23 views

Assign BackSpace to Super_R or Menu button in /etc/default/keyboard

I am running Debian 9. I bought a new keyboard that I love, but the BackSpace key is very small. I would like to assign BackSpace to the right Super key or Menu key (also on the right lower side). ...
1
vote
0answers
61 views

How to compose chained dead keys in `kbd`?

In Linux Console, is there a way to make hitting a dead key twice print the corresponding dead character on screen? as it is the case in X11? For instance I want the logical ^^ sequence to send a ...
1
vote
0answers
48 views

Change Scan Code of Keys

In Windows I use sharpkeys to remap keys. On Mac I use Karabiner Elements to remap keys. Is there a preferably built in way to remap keys based on scan code? The advantage of this is that VirtualBox,...
1
vote
1answer
411 views

HyperX Alloy Elite RGB customize led patterns

Today I bought an HyperX Alloy Elite RGB keyboard. I see that they have a led pattern customization software called NGenuity (https://www.hyperxgaming.com/us/ngenuity). But that's windows only. I ...
0
votes
2answers
86 views

Does Linux Mint have Windows-like dead keys?

I'm from the Netherlands, using Windows' Dutch US-International keyboard layout, where a fair few characters use dead keys (éèëê, times five for every vowel). On Windows, typing an apostrophe with a ...
0
votes
1answer
128 views

How to send F10 with gtkterm?

How can I send F1..F12 especially F10 in gtkterm? I have to press F10 at the right moment to select the boot menu of an APU2 system.
1
vote
0answers
20 views

Disabled keyboard, gets re-enabled

I have used xinput to disable the built in keyboard of my laptop, because it sometimes sends a shift pressed, when it is not pressed. For some reason, the keyboard randomly becomes re-enabled. I ...