Key-binding refer to keyboard shortcuts that are customised by the user to be different to the default.

learn more… | top users | synonyms

25
votes
5answers
11k 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 ...
20
votes
3answers
17k views

How do I set Xmodmap on login?

As my keyboard layout doesn't suit me, I run xmodmap on login. The script is named .profile and it runs OK, but it breaks the Unity interface. I want to know where to put the xmodmap line so that it ...
14
votes
3answers
7k views

How do I enable Emacs keybindings in apps, such as Google Chrome?

Can anyone tell me how to enable Emacs keybind on Chrome? I found some links but they are either not clearly mentioning how to do so or not what I want (I don't want external tools to be run for this ...
10
votes
3answers
7k views

Emulate Keypad on Laptop

I have a laptop without a numeric keypad on which I'm running Ubuntu 12.04, and I very much enjoy playing roguelike games. Such games tend to require a numpad for movement, targeting, &c., as one ...
10
votes
1answer
2k views

How to bind Ctrl+arrows to Home and End keys? xmodmap does not work

On Windows, I used to bind Ctrl+Left to Home and Ctrl + Right to End via ahk. Now I'm struggling to achieve this behavior in Ubuntu. I've tried editing /etc/inputrc: "\e[1;5C": end-of-line ...
8
votes
2answers
3k views

How to remap Emacs evil-mode toggle key from Ctrl-Z?

I'd like to remap the toggle key for emacs evil mode. From Ctrl+Z to something that won't confuse me like the CUA bindings (I'd like Ctrl+Alt+`, but I think that terms don't recognize that one). In ...
7
votes
3answers
5k views

Change Default TTY shortcut

I would like to change the default shortcut to switch back and forth to the tty. By default it is ctrl + alt + F#. I have tried making a custom shortcut using Ubuntu's keyboard settings but it only ...
7
votes
3answers
7k views

Why does ctrl + left arrow not skip words?

I'm on my Ubuntu 12.04. Every time I'm editing text, I use ctrl + left/right to move/jump between words. Recently, I installed xscreensaver and changed keyboard shortcuts to activate my screensaver. ...
7
votes
1answer
1k views

making any key into a modifier key

When one presses and holds down certain keys like Control, Alt, Super, no release event is generated while with other keys multiple release & press events are generated simulating the key being ...
6
votes
2answers
20k views

Ubuntu 14.04 workspace switch hotkeys

I upgraded my Ubuntu from 12.04 to 14.04 and hotkeys for switching workspaces (Ctrl + Alt + arrow keys) are not working anymore. I checked in System Settings > Keyboard > Shortcuts to make sure that ...
6
votes
1answer
1k views

How to unassign Alt key from window context menu in GNOME

When I use GNOME Shell, and GNOME Connectin Manager program, and trying Alt+S in MidnightCommander (all inside GNOME Connection Manager), I get window context menu opened, instead of "search action" ...
5
votes
1answer
2k views

How do you swap the caps lock key to control key in lxde?

I know it is easy to this in Gnome, but how can I do it in LXDE?
5
votes
1answer
693 views

How can I change what action is caused when the power button is pressed?

I want know if there's a way to change the action when the power key is pressed. I use Ubuntu 11.10 and when it is pressed it opens a small window with shutdown options. I want know how to change ...
4
votes
3answers
7k views

Remap side touch button on Microsoft Sculpt Comfort Mouse

I recently purchased a Microsoft Sculpt Comfort Mouse. It uses Bluetooth to connect to my laptop and all regular mouse buttons work perfect under both Linux and Windows 7. What's different about this ...
4
votes
2answers
866 views

how to remap Ctrl to Escape if pressed and released on its own

I want to remap Control, so that: If it is pressed and released with no other key, it acts as Esc. If it is pressed & held together with another key, it acts as Ctrl (no change in behaviour in ...
4
votes
1answer
699 views

How can I remap Control+m to Enter?

I'd like to remap some key behaviors globally. For example: Control + m -> Enter Control + [ -> Esc Is there any tool equivalent to Keyremap4Macbook ? Or is it possible to remap by using Xmodmap? ...
4
votes
1answer
496 views

Add a custom keybinding with gsettings in ubuntu

I can modify existing custom keybindings like this: gsettings set ...
4
votes
3answers
4k views

How to bind Alt+Arrows to PageUp/PageDown?

I just tried it using loadkeys and this map file: alt keycode 73 = Prior string Prior = "\033[5~" alt keycode 81 = Next string Next = "\033[6~" But it doesn't work.
4
votes
1answer
738 views

xte called from xbindkeys is not working

I am trying to setup xbindkeys in Kubuntu, since I got a new mouse with some useless buttons. I was trying to bind the F5 key to the windows-logo button on my mouse, which I identified as c:134. ...
3
votes
1answer
977 views

~/.inputrc is missed in ubuntu 14.04 => Cannot create a key binding

I want to add this key binding in the suitable conf file : Control-t: "top -Ss \C-m" Which means : Bind Ctrl+T keys to top -Ss command line . i enter on terminal sudo ls ~/.inputrc to check ...
3
votes
2answers
2k views

Assign hotkeys to paste predefined text

I am looking for a program that runs on Ubuntu 12.04+ x86_64 which allows pasting pre-defined text based on hotkey combinations. For instance: Ctrl+Alt+V+U: pastes my username Ctrl+Alt+V+E: pastes ...
3
votes
1answer
2k views

How do I find all key bindings in Ubuntu 14.04?

The Ubuntu / Unity key bindings are interfering with Android Studio (IntelliJ) key bindings. There is a partial list of key bindings to disable / reconfigure here in section 6. It is missing Alt+F1 ...
3
votes
2answers
2k views

Make terminal use pageup/pagedown instead of shift-pageup/shift-pagedown?

I've grown quite weary of shift-pgup to page up in gnome terminal, the command line, terminator, and guake, etc. Any way to easily make these apps use the straight page-up and page-down keys for ...
3
votes
1answer
136 views

Configuring hotkeys for Fn combinations not recognised by acpi_listen

Some of the Fn combinations of my laptop work, some do not. I tried to manually configure the missing key bindings, but acpi_listen has no output when I hit the keys. Is there any possibility to ...
3
votes
0answers
132 views

Any way to find keybindings currently in use? (ubuntu, compiz or otherwise)

Is there a good way to list or find out the keybindings that are currently in use on your computer? I'm changing some keybindings in compiz (particularly because I don't have a keypad) and I didn't ...
3
votes
0answers
131 views

Ubuntu 12.04 Keyboard Shortcut without use of modifier key

Currently it seems you cannot enter keyboard shortcut combinations without the use of a modifier key. Is there any way to circumvent this, ie. a configuration file that I could manually enter these ...
2
votes
4answers
2k views

How to access favorites in gnome-shell with keyboard?

In Unity, I can press Super+1, Super+2 and so on to access favorites. What is the key-shortcut in gnome-shell and where can i customize it? Edit: I mean favorites in Activities Menu (after bringing ...
2
votes
2answers
311 views

How to make unity unresponsive?

Recently I wanted to test a keyboard shortcut, which is supposed to kill X server (hence very useful when you have a crash). That shortcut is not dependent on any particular window manager (like lxde, ...
2
votes
1answer
358 views

CTRL key locks in until I press it again or a shortcut is triggered

When I do press my CTRL-key it seems to lock in the pressed state, even after releasing it. Symptoms of this are for example that if I press CTRL, release it and scroll in my browser window the size ...
2
votes
3answers
2k views

Copy current terminal prompt to clipboard

Is there a way to copy the currently written content of the bash prompt? Say I wrote: ping www.google.com so that the lines in terminal looks like: petr@sova:~$ ping www.google.com and didn't ...
2
votes
2answers
1k views

Bash script not working as required with xbindkeys

I made a simple bash script to display a notification whenever my capslock key is pressed. It works fine when I call it like bash capsnotify.sh. The problem now is when I bind my above script to ...
2
votes
1answer
143 views

Can not type \, | and ~ on Ubuntu inside Virtualbox

I have installed a Virtual Box Ubuntu 14.04. I run into two very basic problems: Somehow I cannot type \ | ~ characters in terminal or textfile. It is a clean and fresh install under Virtual Box. ...
2
votes
1answer
530 views

How to run .sh script with keybind

I have small script that makes screenshot of selected area and then updates it on imgur function uploadImage { curl -s -F "image=@$1" -F "key=486690f872c678126a2c09a9e196ce1b" ...
2
votes
1answer
537 views

Using the Insert key as a hotkey

I recently started using parcellite, I love the program but can't get the shortcuts working the way I want. I want 'insert' to bring up the history menu, I tried setting it to but it didn't work. I ...
2
votes
1answer
1k views

How can I swap the Fn key for a Microsoft All-in-One Media keyboard?

I have a Microsoft Keyboard N9Z model. I am using it on Ubuntu 14.04. The problem is, F1, F2, F... keys are by default act as media player keys. Fn key is required to be pressed to get regular ...
2
votes
1answer
109 views

Can't map Esperanto characters to <kdb>Alt</kbd> Gr in Ubuntu 14.04 LTS (Trusty Tahr)

In previous versions on Ubuntu, I was able to type Esperanto characters with the Alt Gr (right alt) key. I think it was under Keyboard > Shortcuts > Esperanto circumflexes. In Ubuntu 14.04 LTS ...
2
votes
1answer
55 views

Delete Line GTK Keybinding

How do I bind a key combination (alt-backspace) to delete the current line of text? For example, bind "<alt>Left" { "move-cursor" (display-line-ends, -1, 0) }; in gtk-keys.css moves the cursor ...
2
votes
1answer
2k views

Emacs GTK keybindings theme in 13.04

I'm trying to enable Emacs GTK keybindings in a fresh install of Ubuntu 13.04, but it doesn't seem to take effect. What I have already tried: enabling it in gnome-tweak-tool executing gconftool-2 ...
2
votes
0answers
16 views

What application is taking up my key bindings?

My keyboard shortcuts (Ctr-Alt-arrow-key) don't work in IntelliJ and I think it's because something is taking up those shortcuts. One person suggested killing all processes until the keyboard ...
2
votes
0answers
83 views

What program is using CTRL+SHIFT+2 in GNOME?

I want to find the GNOME configuration item of the program (built into GNOME or something installed into it) is consuming CTRL+SHIFT+2 such that it is not "seen" by other X programs such as Firefox. ...
2
votes
0answers
174 views

Map my menu key to fn or achieve similar functionality

I'm using an Lenovo Ideapad y410p and (hoping someone at Lenovo sees this) for some stupid reason, Lenovo decided to put the Fn key on the left side of the keyboard while most of the keys with extra ...
2
votes
0answers
361 views

key word remap enter carriage return vim command line

In my .vimrc file I have :imap ii <CR> which allows me to hit ii for enter/carriage return in vim but now i would like to set that same configuration in my .inputrc so that i can just hit ...
2
votes
1answer
154 views

Emacs keybindings in Lubuntu

Is there a way to enable ubiquitous emacs keybindings in Lubuntu? I've seen solutions for Ubuntu and Xubuntu, such as emacs keybindings in ubuntu 12.04, but I haven't found one for Lubuntu.
2
votes
1answer
810 views

Xfce4 keybinding and logout randomly not working since Ubuntu 14.04

I upgraded my ubuntu installation from 12.04 LTS to 14.04 LTS a few weeks ago. Everything works fine except Xfce4. Since the update, I'm sometimes unable to use my custom keybindings (like alt-F1 in ...
2
votes
0answers
231 views

Why does CTRL key resize window in Unity desktop?

I have an almost out-of-the-box install of 12.04 Precise. I am familiar with assigning and reassigning keyboard shortcuts, as I interact with my computer almost entirely through the keyboard. I am ...
2
votes
1answer
332 views

XF86WakeUp keys - where do they come from?

$ head -1 /etc/issue && emacs --version | head -1 Ubuntu 12.04.1 LTS \n \l GNU Emacs 23.3.1 From time to time I get undefined messages in the echo area (that do not show up in buffer ...
1
vote
1answer
2k views

Remap Ctrl+PageUp, Ctrl+PageDown (switch tabs in gnome)

In gnome-shell, if you do Ctrl+Page Down, you can switch to the previous tab. However, when I'm on a laptop, there are no Page Down and Page Up keys. So, I would like to map this key combination to ...
1
vote
2answers
69 views

Need more help Key Binding

Alright, so let me make this very clear, I am an entry level user on Ubuntu, I am still getting very used to it and I require help. See I finally solved how to swap my Super L key on my laptop (which ...
1
vote
1answer
239 views

Bind the Ctrl + <number> keys to firefox in Ubuntu

In Firefox on Windows, I can cycle through tabs using the Ctrl+1(2,3) etc. However Ubuntu (with cinnamon) seems to not allow this binding - how can I restore it?
1
vote
2answers
1k views

How can I set a certain keycode to a key and bind it to the right action?

I have a laptop with Swedish keyboard layout, everything works well with the keyboard. Due to injuries I am using an external ergonomic USB keyboard, this is where I am experiencing difficulties. The ...