Questions tagged [keyboard]
Questions about keyboards, both touch and otherwise. However, please add the "touchscreen" tag for touchscreen keyboard questions.
6,326
questions
284
votes
11
answers
329k
views
How do I remap certain keys or devices?
I'm searching for a way to remap certain keys in ubuntu.
i.e.
I'd like to change PgUp to Home or PgDown to End.
Does a built-in command or a tool exist reassign keys in Ubuntu/GNOME?
195
votes
4
answers
80k
views
Keyboard locks in IntelliJ IDEA on Ubuntu 14.04
Could you help me with hell of a weird issue?
I use Intellij IDEA 13 on Ubuntu 14.04, and from time to time my keyboard completely (yep, completely, it's not about shortcuts) locks in IDEA. I still ...
179
votes
3
answers
180k
views
How to invert fn keys on Dell Laptop?
My Dell laptop (XPS 15z) has special keys on the F1 to F12 keys. If I want to disable keyboard backlight, for example, I must type Fn + F6.
Is it possible to invert it?
In fact, I don't often use ...
150
votes
12
answers
208k
views
Is there a way to disable a laptop's internal keyboard?
A week ago, I spilt the contents of my cup onto my laptop keyboard. Half of the keys no longer work, except one! The letter Q which is very active regularly.
This is very disturbing as I work.
Is ...
146
votes
5
answers
83k
views
How to set keyboard repeat delay and speed in Ubuntu Gnome 16.10?
In previous versions I could tweak the keyboard repeat delay and speed by going to Settings → Keyboard → Typing. Now in Ubuntu GNOME 16.10 (with GNOME 3.20.2) that panel seems to be missing.
How can I ...
139
votes
14
answers
171k
views
How do I remap the Caps Lock and Ctrl keys?
I'd like to remap my keys such that Ctrl behaves as the Caps Lock key and vice-versa. Also, if possible I'd like the settings to be available only within the currently logged-in user. How can I ...
136
votes
14
answers
178k
views
How can I toggle the Fn (function) key?
Is there a way to toggle the Fn key? I'd like to be able to toggle it so I don't have to press Fn+F12 to raise the volume, for example.
I'm running Ubuntu 16.04.1 LTS on an Asus D550C.
119
votes
2
answers
146k
views
What is the difference between GRUB_CMDLINE_LINUX and GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub
I'm troubleshooting a fn-key brightness control problem on my laptop, so I'm wading through a lot of config options in /etc/default/grub, as you can imagine. However, it's raised a question for me:
...
92
votes
6
answers
63k
views
Howto to move window to another monitor on the left/right using keyboard shortcut?
I have always used Ctrl+Alt+Shift+Left/Right to move windows from left to right monitors.
Installed Ubuntu 18.04 last week (fresh install) and it appears that this is not working anymore despite the ...
92
votes
3
answers
25k
views
What does [Ctrl] + [Shift] + [e] do, while typing text?
I already knew that Ctrl+Shift+u would allow to type a character by giving its Unicode hexadecimal representation: an underlined u appears, you type the code and hit Enter.
For example, Ctrl+Shift+u;...
88
votes
12
answers
419k
views
How do I change keyboards from the command line?
How I change keyboard layouts from the command-line? For example, I want to switch from English to Hebrew. I'm able to do it from lightdm with the little icon in the corner of my screen.
88
votes
4
answers
75k
views
Moving windows from the keyboard
Is it possible to move windows from the keyboard itself without touching the mouse?
I know I can do a Alt + Left Click and drag the window, however I am hoping there is something I can use to move it ...
82
votes
11
answers
75k
views
How do I remap the caps lock key?
In the the past I used to use xmodmap to prevent the Caps Lock button from working, and then tell Launchy to handle the key press instead. I can't seem to do this anymore.
What is the best way to ...
77
votes
11
answers
76k
views
How to set custom keyboard shortcuts from terminal?
How to set custom keyboard shortcuts from terminal for different Linux versions?
Basically I want to know where Linux stores the keyboard shortcut files and how it can be edited.
On my research I ...
70
votes
4
answers
34k
views
How can I reverse the 'fn' key on an Apple Keyboard so that F1, F2, F3... are used as default? [duplicate]
To be more clear, right now the volume and brightness keys are used and I have to hold Fn in order to execute an F1, F2, F3, F4, F5... command. Can I reverse this so it's function key by default and ...
68
votes
9
answers
44k
views
How can I enable Ctrl+Alt+Backspace?
Ctrl+Alt+← can usually be set to restart X, however I can't find the option to allow this (it is disabled by default).
I have looked in System->Preferences->Keyboard and System->Preferences-&...
62
votes
3
answers
40k
views
How do I disable the on-screen keyboard in the unlock screen?
Somehow, I activated the on-screen keyboard (Onboard) in the unlock screen and I can't deactivate it now. I've restarted the computer, but it's still there in the unlock screen.
How can I deactivate ...
62
votes
4
answers
90k
views
How can I detect a keylogger on my system?
How could I know if there's a keylogger in my system, or at least if one is active right now?
60
votes
13
answers
76k
views
How do I enter the Euro symbol?
I have a US English keyboard. How do I enter a euro symbol in Ubuntu? I can't find the symbol in character map, and I don't really want to change keyboard layout just to type one symbol occasionally.
60
votes
5
answers
65k
views
How do I clear xmodmap settings?
Exactly what the title asks. How do I clear xmodmap settings?
I have an IBM model M, and somehow xkeycaps got it into its head that my End key was not any key at all. xev reports keypresses when I ...
54
votes
5
answers
52k
views
How do I swap Left Ctrl with Left Alt on my keyboard?
There is no such option in Keyboard Layout Options which is sad.
How can I do it manually?
54
votes
3
answers
17k
views
Something blocks Ctrl+Alt+left/right-arrow keyboard combination
In Ubuntu 18.04 I'm not able to assign Ctrl+Alt+← or Ctrl+Alt+→ to anything. To be precise I may bind it to something, but it doesn't work when using the keyboard combination, up/down arrows do ...
54
votes
14
answers
54k
views
How can I reach over 100% volume with a keyboard shortcut?
sometimes the sound of videos isn't enough for me. so i reach the sound indicator , over sound preferences and change it to a level higher than 100%.
the question is how can i do it from the keyboard? ...
51
votes
10
answers
26k
views
XUbuntu: Make Shift+NumPad work like Windows
Ok, I've used Ubuntu with GNOME for a while, but now I'm using XUbuntu. In Ubuntu, there used to be a keyboard preference which makes the numpad more sane, it was called something like "Make Shift+...
51
votes
6
answers
100k
views
Updated from 16.04 to 16.10; the keyboard and mouse no longer works after getting to the lock screen
So I just updated to 16.10 (just got 16.04 a few weeks ago, still new to Linux). The keyboard still works when I need to enter my password to unencrypt the lvm drive, but stops working (along with the ...
50
votes
7
answers
31k
views
Spotify keyboard controls not working
I am on Ubuntu 16.04, I cannot play, pause, go to the next or the previous song in spotify. There are many answers but most are complicated, is there a simple solution that doesn't require a command ...
48
votes
10
answers
66k
views
How do I insert an umlaut on the u in ubuntu?
I have already activated the compose key (left CTRL). According to all the forums I've read, I have to punch in Compose, followed by "u. This is what I get as a result: ´u'
I am really stuck here. ...
48
votes
9
answers
15k
views
Keyboard shortcut for pasting the primary selection
Is there a standard or conventional keyboard shortcut for pasting the primary selection?
I'd like to select some text and go to another app to paste without trashing my clipboard contents. I'd ...
46
votes
2
answers
33k
views
What's the opposite of setxkbmap -option ctrl:nocaps?
Normally I have caps lock to be a control key.
setxkbmap -option ctrl:nocaps
makes that happen, but I can't remember where I got it from or find any docs (man setxkbmap is singularly unhelpful )
...
45
votes
8
answers
45k
views
Super key not working in Ubuntu 20.04
I just updated to Ubuntu 20.04 LTS and my super key has lost its main functionality. Previously in Ubuntu 18.04LTS, I was able to click the super key and the applications drawer would show. Now it ...
44
votes
13
answers
124k
views
Brightness fn key shortcut doesn't work on ASUS laptop
The brightness shortcuts via fn key don't work.
I tried each solution from this answer and its comments. After editing /etc/default/grub file I rebooted.
GRUB_CMDLINE_LINUX="acpi_osi=Linux"
...
44
votes
5
answers
26k
views
Where does Ubuntu store its keyboard shortcut configuration?
Is there a place in "Ubuntu" that stores a complete list of what keys/combinations/shortcuts are bound to what?
What are Unity's keyboard and mouse shortcuts? list some "Unity" shortcuts to the ...
43
votes
10
answers
43k
views
Deactivate Caps Lock in 14.04
I really don't need Caps Lock (who does?) and would rather have it as a Shift key as I sometimes hit it by mistake especially on the small netbook keyboard.
Since I don't read while I type this might ...
43
votes
4
answers
15k
views
How to set a Compose Key in Ubuntu 18.04
Now that Unity is gone, the usual way of setting a Compose Key (via Keyboard Preferences > Layout) no longer works (because in Ubuntu 18.04, Devices > Keyboard has no Layout tab).
How do we set a ...
42
votes
7
answers
17k
views
keyboard shortcut gnome-terminal (ctrl-tab) and (ctrl-shift-tab) in 12.04?
Keyboard shortcuts in gnome-terminal (Ctrl+Tab and Ctrl+Shift+Tab) in 12.04 don't seem to be working. Is there a setting that I dont know of?
42
votes
10
answers
78k
views
How do I remap my Ubuntu keyboard shortcuts to match OSX?
I'm using Ubuntu in VirtualBox on Mac. As I switch frequently, I would like to use the same shortcuts. Please, does anyone know how to have the same shortcuts on Ubuntu, as they are on Mac?
...
42
votes
2
answers
11k
views
Where can I find the full list of Compose combinations for my locale?
After enabling my Compose key, I want to find the list of all the key combinations I can use to create special characters. Where is the full list that my system is using when parsing the keys typed ...
42
votes
11
answers
59k
views
Keyboard input lag in Ubuntu 18.04
I recently switched to Ubuntu 18.04 and since then I have a lot of keyboard input lag, sometimes multiple seconds.
I can type the words but it takes some time until they show on the screen.
I ...
41
votes
9
answers
43k
views
How can I persistently remap keys in Ubuntu 16.04?
This is working for the current session:
costales@dev:~/Desktop$ xmodmap -e "keycode 166 = less"
costales@dev:~/Desktop$ xmodmap -e "keycode 167 = greater"
Then I created this config file:
costales@...
41
votes
3
answers
18k
views
Is there any way to disable the default behavior of the Insert key?
I keep hitting the Insert key accidentally and it really annoys me.
Is there any way to disable it's default behavior, toggling insert/overwrite mode in editors?
40
votes
9
answers
41k
views
Media Keys not working on Ubuntu 17.10
I'm running a pretty-much brand-new Ubuntu 17.10 installation on a Thinkpad T470s.
Whenever I'm hitting one of the media keys (play/pause, skip, etc) on any one of my keyboards or bluetooth-headset ...
40
votes
3
answers
32k
views
workspace switching via ctrl + alt + arrow not working after upgrade to 13.04, how to fix this? [duplicate]
So, my update to 13.04 didn't go very well. Due to the lack of a decent driver (Yes, i'm unlucky to have a legacy driver which doesn't play nice with the new Xorg.), I had to mess around with stuff to ...
40
votes
2
answers
22k
views
How to dump ALL dconf/gsettings so that I can compare them between two different machines?
The problem:
I have two machines, both with Ubuntu Gnome 14.04 up-to-date, and both with installed the latest CrossOver Linux(1) to run MS Office 2007 on it. I know, it's a proprietary program, but ...
40
votes
4
answers
65k
views
Keyboard and mouse unresponsive after suspend
I have a Toshiba Satellite S55-A5154 with 14.04 installed. Every time it resumes from being suspended, neither the keyboard nor mouse work. What can I do to fix this or provide you with more info?
39
votes
2
answers
34k
views
Where do I find a list of all X keysyms these days?
They used to be in /usr/lib/X11/XKeysymDB or /usr/share/X11/XKeysymDB, but those have been missing from Ubuntu for a while. I've tried google, but all I get are more references to XKeysymDB or the ...
36
votes
7
answers
33k
views
Remapping Caps Lock to Control and Escape (not the usual way)
I know how to use xmodmap to remap the Caps lock key so it acts as a Control key, or as an Escape key. I would like to combine both features as follows:
When I push, then release, the Caps lock key, ...
36
votes
2
answers
69k
views
How can a Bluetooth keyboard that requires a code entry be paired in the terminal?
I have a Bluetooth ThinkPad 2 Tablet keyboard that I want to pair with my Ubuntu Touch Aquaris E4.5. Due to GUI limitations, I want to try to do this in the terminal. I'm hoping that the process'll be ...
35
votes
5
answers
71k
views
How to change Function (Fn) Key behavior on wireless Logitech keyboard
I do have a wireless Logitech K750 keyboard (silver Mac version) connected to a Lenovo ThinkPad (via the unifying USB receiver, together with a wireless Logitech mouse M705) and currently running ...
35
votes
7
answers
60k
views
USB slots stop working suddenly from time to time
After re-installing Lubuntu 12.04 system on my laptop an older problem re-emerged after a few days and installation of different programs: without apparent reason the external mouse and sometimes ...
35
votes
1
answer
4k
views
Alt+Left key locks the screen
I have seen a few similar problems on SE. None of them match exactly, and unfortunately none of their solutions worked either.
The problem: Alt + Left key locks the screen. This is also the Chrome ...