Questions about how to run a program or other operating system function when a given combination of keys is pressed.

learn more… | top users | synonyms (2)

1
vote
0answers
13 views

How to customise keyboard mappings with Wayland

I use Linux on a Macbook with a UK/GB keyboard and I customize the keymap to solve some problems Apple's weird keyboard layout causes. I use xmodmap to do this. I'd like to try Wayland, but xmodmap ...
0
votes
1answer
45 views

Up arrow at an empty prompt in ksh93

This is a request for explanation or pointer to documentation. I'm a KornShell93 (ksh on Mac OS X or ksh93 elsewhere) user. I like the shell for its relative simplicity as an interactive shell and ...
1
vote
2answers
64 views

Keyboard shortcuts C-h, C-m in bash [duplicate]

Bash uses GNU Readline. Readline provides a collection of keyboard shortcuts. However, there are some shortcuts that work on bash and that are not documented in Readline reference. Some examples are: ...
3
votes
0answers
31 views

Xfce Keyboard Layout change Ctrl+Space

Ok, so I've been googling this for almost a week now...without any luck. When I open the Keyboard settings pane, the options are only limited to (ones that have "Space" in them) Alt+Space and Super+...
1
vote
1answer
20 views

Pass F10 to the application in Gnome-terminal

I'm running old Debian machine: Distributor ID: Debian Description: Debian GNU/Linux 5.0.2 (lenny) Release: 5.0.2 Codename: lenny I open terminal and run Midnight Commander in it. Now I need ...
1
vote
1answer
29 views

binding key shortcuts to shell functions in zsh

In zsh, how do I bind a keyboard shortcut to a function? In other words, how do I translate: bash: hw(){ echo "hello world"; } bind -x '"\C-h": hw;' to zsh?
1
vote
0answers
27 views

How to configure XFCE to handle keyboard shortcuts\hotkeys on key-release\up, not key-press

While using an application on XFCE, pressing a keyboard shortcut\hotkey that overlaps with an XFCE hotkey, I find the XFCE hotkey effect taking place instead. For instance, Eclipse IDE has the hotkey:...
1
vote
0answers
29 views

Custom command when pressing Power Button on GNOME 3.20

I'm using GNOME 3.20 (on Archlinux, with systemd and no acpid). Since GNOME only allows three options as actions for when pressing the power button (hibernate, sleep, or nothing), i'd like to execute ...
1
vote
1answer
22 views

New keybindings in ZSH are not saved

I just switched from bash to zsh on my arch linux install and want to change my keybinding so that ctrl + arrow skips a word forward/backward. If I add bindkey "^[[1;5C" forward-word bindkey "^[[1;5D"...
0
votes
0answers
12 views

(Linux Mint) dconf changes are not applied after closing window

Linux Mint 17.3 Cinnamon Tried to change org.cinnamon.desktop.keybindings.wm.switch-group to [] but it has no effect - Alt+ causes switch-group after closing dconf editor insted of nothing. Need to ...
1
vote
1answer
23 views

How to change the key for autocompletion in ZSH?

I'm on Ubuntu Mate 16.04 using terminator as my terminal. And using ZSH version 5.1.1. I'd rather change the keybinding to the left arrow key to emulate fish in a way. Anyone know how?
1
vote
1answer
8 views

How to open a new terminal from my working folder in Solaris 10?

In Solaris 8, I could to ctrl+t to open a terminal from the file manager. But in Solaris 10, I can't seem to be able to. I try to create a shortcut key by gnome-terminal, but the pwd is always my ...
2
votes
1answer
57 views

Ctrl + arrow keys working in tmux

When I SSH in to our server, control + arrow sequences are working fine for me: Ctrl + V then Ctrl + up, down, right, left gives ^[OA, ^[OB, ^[OC, and ^[OD respectively. In tmux, I get ^[[A, ^[[B, ^[[...
0
votes
0answers
16 views

Send Capital Letters with Custom Shortcuts in Kubuntu 16.04

I recently upgraded to Kubuntu 16.04 and I have been reassigning keyboard shortcuts. In 14.04, if I wanted to assign a keyboard shortcut to type the word, Hello, for example, I could do the following: ...
0
votes
0answers
14 views

Removing a key binding

It turns out that Ctrl-Alt u invokes the following alert box on my machine: "No suitable ZModem software was found on this system." I need this key combination for other purposes inside emacs. I ...
1
vote
0answers
11 views

xbindkeys/xkb map ctrl shortcut

I have installed colemakwide(xkb) and would like to keep shortcut like ctrl+s etc. The goal is that all ctrl shortcut behave like QWERTY which I did in windows/klc by have the original vk for the keys....
5
votes
0answers
26 views

How can I get both custom compose sequences and Unicode character entry?

Entering raw Unicode characters by first hitting Ctrl+Shift+u and then entering the hex value of a code point to get that character (e.g. 262D for ☭) is quite useful, esp. when you're testing ...
2
votes
0answers
13 views

How can I stop using setxkbmap groups from snagging modifier keys?

I have several different keyboard maps that I can switch between to my heart's content using: setxkbmap dvp Then when I want another one: setxkbmap ptf Etc. This works, but I'd rather use the ...
0
votes
0answers
27 views

Ctrl+D toggles the OSX dock but I want it to be passed to the terminal [migrated]

I'm new to Linux and have been playing around with manipulating files with cat ie. cat > randomNames Albert Einstein Marie Curie Isaac Newton now when I want to quit cat with control + D on my ...
2
votes
1answer
26 views

MySQL command line - bind <UP> key to a backward command search

With mysql command line client on Ubuntu 14.04 I could bind UP to a backward command search by adding the following lines to ~/.inputrc # type a word, hit up and a search is performed # "\e[A": ...
1
vote
1answer
28 views

trigger vi mode key binding in normal mode only

I've created some custom key bindings for bash vi mode. They trigger while I'm in insert mode and I want them instead to trigger when I'm in normal mode. I'm using vi mode set -o vi in a terminal ...
0
votes
0answers
26 views

How is a key sequence processed in a terminal? [duplicate]

My question comes from re-reading Gilles' excellent reply, and my recent comment on it. In a terminal (physical one, or virtual one such as Gnome terminal), when a key sequence is typed, is the ...
1
vote
3answers
41 views

How to remove a zsh keybinding if I don't know what it does?

How do I disable a keybinding if I don't know what it is or what it's triggering? I have my zsh key mode set to vi-mode, through bindkey -v. To do a history search, I press Esc to get to "command ...
3
votes
2answers
29 views

disable insert key for all but one applications

I would like to disable the insert key on my keyboard, because I often hit it accidentaly when typing, and it messes up my text. I found I can use xmodmap to disable insert key completely: xmodmap -...
0
votes
2answers
29 views

Insert/overwrite mode in fish

I'm using Linux Mint on a MacBook and on its keyboard the equivalent for the INSERT key is the combination Fn + RETURN. At the moment I can only see the intended behavior of this combination in GNU-...
1
vote
1answer
56 views

stty on old AT&T unix: how to add End-key for “end of line”?

How I can use the ctrl+e keyboard combination in emacs mode to go to the end of the line, but also be able to use the End key to do the same? How do I set that with stty? I have tried this combination ...
2
votes
0answers
18 views

How can I map the Caps Lock key to ShiftInsert on xubuntu [duplicate]

For a long time I have disabled my Caps Lock key using xmodmap. However I would now like to map it to something useful, specifically Shift+Insert which does the same as the mouse middle button (if ...
2
votes
1answer
24 views

how to create more than three geany custom commands with shortcuts

Geany allows creating custom commands and first three of them are available for invocation by pressing ctrl+1/2/3 respectively. How to make the fourth and subsequent ones available for shortcuts as ...
4
votes
2answers
32 views

Question about behavior of control key shortcuts

I am confused about how Ctrl-key combinations work in terminal. In bash man page, there are various combinations such as: C-e - go to end of the line C-f - go one character forward etc. But then ...
0
votes
0answers
35 views

Nemo file manager - change focus from the sidebar to the main view (automatically)

I find it hard to change the focus (either by keyboard, or automatically) from the sidebar to the contents view in Nemo 2.8.7 on Ubuntu 16.04. Nautilus does not have this problem. I want to be able ...
13
votes
2answers
455 views

What is “<Esc>Kv” in bash

When I am in bash and press Esc, Shift+K, V, bash fires up $EDITOR with a filename similar to /tmp/bash-fc-186566385. Why is that and what is its purpose? I probably need to mention that I am ...
0
votes
0answers
24 views

Cinnamon DE - View all global key bindings?

I'm using Cinnamon 2.8.6 on Ubuntu 16.04. How do I identify which process is grabbing a hotkey or combination shortcut? I tried How do I find out what program 'owns' a hotkey?. However, ...
1
vote
0answers
27 views

What keycodes correspond to requests for touchpad-enable and touchpad-disable?

I'm trying to write a kernel driver to support a hardware switch on my laptop. The switch is supposed to control whether or not the touchpad is disabled or enabled, and it is built into the laptop's ...
1
vote
1answer
40 views

How does 'Create New Folder' short-key work?

In many file managers there is a shortcut/key to create a new folder. In Nautilus, Thunar, Panthon-Files, this is Ctrl+Shift+N, in Dolphin it is F10. How does this shortcut work? I imagine that ...
4
votes
1answer
68 views

How to allow for caps-lock keyboard layout change

I am using a freshly installed Ubuntu-Gnome 16.04, and I want to set caps-lock to change keyboard layout (single key, not key combination). I used to have this Linux-mint, and I grew used to it. I ...
0
votes
2answers
38 views

Problem with understanding keys bindings

I have a settings and a zsh session ~ bindkey | grep help "^[H" run-help "^[h" run-help Why when i press "Control + [ + h" word under cursor removes and nothing happens, but if i press "Alt + h"...
1
vote
1answer
23 views

Find out if ctrl+backspace equals ctrl-H or ctrl-?

This question was about how to delete the last word in bash with ctrl-backspace. As already mentioned there, different Linux distros (or different Unices in general) behave differently: Some produce ^...
5
votes
0answers
30 views

How to change built-in xfce shortcuts

XFCE4 has some customizable keyboard shortcuts configurable under Settings > Keyboard and Settings > Window Manager. But there are other keyboard shortcuts that I cannot find in these menus. For ...
1
vote
2answers
36 views

Setting up keyboard shortcuts to perform a terminal command

I'd like to perform certain actions by keyboard shortcut on Linux Mint 17.3. Specifically, I'd like to execute commands expressvpn connect (connecting to my VPN provider) and xsel -b|xsel -bi (...
0
votes
1answer
21 views

Getting Ibus working with tiling window manager

I am wanting to get the Ibus IME (Anthy engine for Japanese input) working in all my window managers. Unity is fine, along with Compiz and Metacity. But the one I really want to get it working with ...
1
vote
0answers
51 views

What is preventing my window managers from recognizing some key combinations?

Since rebooting my system this morning, every window manager seems to have lost its capacity to recognize combinations of keys. I'd started noticing it in xfce4 when I tried to launch the ...
2
votes
1answer
24 views

Text movement in Text fields

I moved to OS X several years ago, and have noticed that due to the way they set up keybindings, you get some niceties when it comes to navigating any text area (for example the URL field in your ...
5
votes
1answer
61 views

Xmonad: Catch all keyboard shortcut

I'm using Xmonad and I have a quite long list of custom keyboard short cuts defined in my config. I would like to add something like a catch all at the bottom of the config which locks my screen if ...
7
votes
1answer
90 views

What is the historical origin of CTRL + P for up and CTRL + N for down?

I am a moderately experienced vim user, who is now beginning to use GNU emacs. At about the same time as I learned that Ctrl-p and Ctrl-n are the default for up and down in emacs, I also learned they ...
2
votes
0answers
33 views

xfce4-terminal: keyboard shortcut to set terminal title

How can one set a keyboard shortcut for an instance of xfce4-terminal? It appears that the Terminal->Set Title menu does not have a shortcut tooltip, and I would really like to keep my open terminals ...
0
votes
0answers
21 views

Linux Mint Cinnamon: Change 'Text Scaling factor' via Shortcut

Does anyone know a way to define a Shortcut for the 'Text Scaling factor' Setting in Linux Mint Cinnamon? I could not find anything under 'System Settings' > 'Keyboard' > 'Shortcuts' ...
3
votes
1answer
38 views

Cannot reassign shortcut SUPER+M under GNOME

Kernel: x86_64 Linux 4.4.5-1-ARCH GNOME: 3.20.0 I am unable to make use of the shortcut SUPER+M. What I've tried so far: assigning the shortcut to the system's email program assigning the shortcut ...
2
votes
1answer
47 views

Is there a KeyHold event in Xorg?

I have a new Macbook Pro and I installed Arch Linux on it. One thing I want to be able to do is use the media keys to seek through a track (in mpd) and goto the next or previous track. This is ...
1
vote
1answer
33 views

Meaning of the bash shortcut Alt+{

What's the meaning of the output from the Bash shortcut Esc { (Esc, Shift+[ on a US keyboard)? e.g., $ ls brown.txt file1.txt file2.txt fox.txt quick.txt Esc { produces the following at the ...
0
votes
0answers
22 views

vim + tmux: some shortcuts broken?

When I am using vim inside of tmux, some of my shortcuts are broken. E.g. I have bound Ctrl + up/down and Shift + up/down in my .vimrc and when I'm running vim inside of tmux these shortcuts do not ...