Questions tagged [keyboard]

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

Filter by
Sorted by
Tagged with
2
votes
0answers
107 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
123 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
190 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
21 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
26 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
76 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
20 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
40 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
27 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 ...
1
vote
2answers
420 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
21 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
237 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
80 views

Console login enter repeats after entering username

I've been a long time Linux user and today I've come across a problem that just baffles me! This is happening on an Ubuntu 18.04 LTS fresh install for my nephew, I'm a long time Gentoo user myself and ...
0
votes
0answers
52 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
37 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
63 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
23 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
102 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
62 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
33 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? ...
6
votes
2answers
529 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 ...
1
vote
0answers
52 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
113 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
158 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
193 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
321 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 ...
4
votes
0answers
124 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
180 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
40 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:...
12
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
512 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
165 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
66 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
46 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
31 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
456 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
219 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
37 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
44 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
75 views

XKB: Hyper_L and Hyper_R

I'm running XMonad as my WM and I've been very inspired by this Youtube 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 ...
2
votes
1answer
76 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
475 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
22 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
44 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
888 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
20 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
267 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
190 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
50 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
56 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 ...