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 (1)

1
vote
1answer
71 views

What does ^Z mean?

I tried using ^Z to send and application to the background(to then use fg to restore) but I notice that it says "Stopped" and in another terminal while monitoring htop, everything just freezes. Is ...
3
votes
1answer
223 views

Broken history search after upgrade of oh-my-zsh

I did the auto-upgrade of oh-my-zsh a few days ago. Now my filtered history (type a few letters and up arrow) no longer works. I did not realize how dependent I became on it. EDIT: For example, I ...
2
votes
1answer
215 views

xorg.conf XkbOption ignored for terminate:ctrl_alt_bksp to restart X

I want Ctrl+Alt+Bksp to restart X, so I created an xorg.conf rule: /usr/share/X11/xorg.conf.d/53-zap.conf: Section "ServerFlags" Option "DontZap" "false" EndSection Section "InputClass" ...
2
votes
1answer
47 views

How to bind a key sequence to a widget in vi cmd mode zsh?

Let's say I want to bind R to redo in vicmd mode. This works. bindkey -a r redo If I change it to this, it does not work. bindkey -a rr redo I have tried different things with no success. Is ...
2
votes
0answers
135 views

How can I prevent my bluetooth keyboard from sleeping?

I like to type using a bluetooth keyboard. After about 5 or 10 minutes of being idle, the keyboard seems to go to sleep. Once the keyboard is asleep, there is a 5 to 10 between the next key press ...
1
vote
1answer
100 views

Forcing keys to run bash scripts

Is it possible to define bash scripts for all keys on keyboard so that by pressing any key the bash script for that key will be run? The scripts may do anything, for instance they may save the key ...
3
votes
1answer
155 views

Unset Fn key in emacs (console)

When I run emacs24 on the console the Fn key on both my Lenovo laptops sets the selection mark (in the same way as C-SPC). That's pretty crazy behavior as I need the Fn key to change screen ...
6
votes
1answer
199 views

Save custom keyboard shortcuts in Gnome

On my Debian system I've customized my Gnome (Shell) keyboard shortcuts, via System Settings > Keyboard > Shortcuts. Where do I find the file with these settings so that I can copy the file onto a ...
3
votes
1answer
53 views

Dual keyboard shortcuts in Gnome

I would like to set multiple keyboard shortcuts doing the same thing. My particular example is Volume Up/Down, I would like to retain the standard settings I have (Sound/VolumeUp - ...
1
vote
0answers
58 views

htop: Using Ctrl + n & Ctrl + p to move between processes

I'm running the latest version of htop through Homebrew on the latest OSX. htop seems to work well on my terminal (either Terminal or iTerm), but: I'm unable to use Ctrl+n and Ctrl+p to move up and ...
1
vote
0answers
359 views

ElementaryOS / Specific layout

For switching layouts between three different languages I use Ctrl+Shift but this approach very slowly. I want to use specific combination for the specific layout. Like: English -> Ctrl+Shift+1 ...
2
votes
1answer
265 views

Change volume with terminal

Using mate and linux mint, I would like to create another keyboard shortcut to increase and decrease the volume. Currently, I'm using custom keyboard bindings with mate-keybinding-properties. I ...
2
votes
1answer
60 views

Keypad plus and minus names in ~/.XCompose

I use XIM under Debian Linux with Gnome 2. Many compose sequences are already defined in the system, including the one for ± sign: palec@Palec:~$ grep PLUS-MINUS ...
2
votes
1answer
59 views

How to customize or reprogram function of specific keys on my keyboard and the LED on my laptop

When I disable bluetooth on my laptop, the light does not go off and the blinking of the Wi-Fi LED is starting to bother me. Since I sometimes use my laptop in a poor lighting condition an illuminated ...
1
vote
1answer
92 views

Mapping C-1 does not work in VIM

I'm trying to bind 1gt to CTRL + 1, so in vimrc I added nmap <c-1> 1gt But pressing these keys in normal mode does not work. Either VIM (konsole) or gVIM Anything wrong with my command?
2
votes
3answers
2k views

Whisker menu remove keyboard shortcut

Using Linux mint 16, with XFCE as desktop environment. I have a problem removing the default keyboard shortcut (Super_L), for opening the Whisker menu. The shortcut shows up in Application shortcuts, ...
2
votes
1answer
47 views

How can I install tactile audio keys on my latitude?

I have a Dell latitude 6430u which has three tactile keys for mute/audio decrease/audio increase. On debian (sid), either with xfce or gnome, these keys don't work well. The mute key has never work. ...
0
votes
2answers
117 views

Switch between tabs (panels) in Mint

How to switch between tabs (panels) in any window (i.e. setting windows for keyboard) in Linux Mint? I use Ctrl+Tab in Windows.
4
votes
1answer
71 views

system settings -> shortcuts and gestures

Something is stealing my Ctrl+F7 and Ctrl+F8 shortcuts from eclipse. I checked out the settings panel from the title but could not spot any such bindings over there. So, how do I get to see who is ...
0
votes
0answers
72 views

Shortcuts for sakura

How can I configure shortcuts for a sakura terminal? I know about the question Configuring shortcuts for Sakura but since I am quite a newbie I did not success. In the end I would like to have ...
1
vote
3answers
130 views

Copy & paste in a terminal without SHIFT

In all terminal emulators that I know of, Ctrl is used for sending control codes such as Ctrl+C and Ctrl+Z. On most systems this conflicts with common keyboard shortcuts. Thus on all those systems ...
8
votes
2answers
177 views

Vim - map last shell command to the key

Is there any way to map leader-r to repeat last command sent to bash? For example, when working with C files I would like to compile and run program from vim without typing :!make or gcc. I know I ...
0
votes
1answer
236 views

Tmux key-bind like to use the windows/super for my meta key in Tmux Without X [duplicate]

I have RaspberryPI with no GUI==(no x.org) I like to bind the useless window/super key to be my prefix. Using Arch for ARM runs great. If think this is going to take more then simple mod in the ...
1
vote
1answer
51 views

Geeqie: keyboard shortcut for “up folder”

I love Geeqie photo viewer, the best of all I've seen on Linux. However, I'm having problems setting the right keyboard shortcuts. The backspace key acts as "previous photo", but it would be way more ...
2
votes
5answers
281 views

How can I delete input in the terminal?

Xubuntu 13.10 Say I paste a command, something like sudo apt-get install abc yxz 123 DEF MMM KKK into the terminal. Then I suddenly had a change in mind and thus I would like to delete the last ...
1
vote
1answer
225 views

how to send keyboard signal using a shell script

I have an application in graphical interface that when I run it, it's not opened in full screen mode, but when I use the keyboard shortcut Alt+Ctrl+M , it becomes fullscreen, I want to change the ...
2
votes
2answers
163 views

How can I remap the shortcut keys for scroll down/up in gnome terminal

According the gnome-terminal usage: You can also scroll up or down one line at a time by pressing Control+Shift+Up or Control+Shift+Down. In this document shows: Control + Shift + Up / Down can ...
5
votes
1answer
73 views

How to put current line at top/center/bottom of screen in vim?

Any quicker navigation trick to place the line at which the cursor is at the moment to the top of the screen? center of the screen? bottom of the screen?
2
votes
0answers
148 views

How to reset linux centOS 6.0 keyboard shortcuts with custom changes to default one?

On Single Desktop Environment.... I created some custom shortcuts, but currently I want to revert all the changes to default settings (which having no custom changes). Example: created like CTRL + N ...
2
votes
2answers
251 views

How do I disable the left CTRL on Ubuntu 13.10?

How do I disable the left CTRL on Ubuntu 13.10? Actually I can do it already. All I need to run is xmodmap -e "keycode 37 = " The problem I have is this only works if I run it from the terminal ...
0
votes
0answers
113 views

Global keyboard shortcuts for Amarok

I'm using Linux Mint 16 Cinnamon x64. Amarok doesn't response to global keyboard shortcuts (Next media, Pause... etc) how can I make Amarok response to global keyboard shortcuts in Cinnamon just like ...
1
vote
3answers
100 views

Emacs's <C-l> vim equivalent

There's a neat Control-L hotkey in Emacs that repetitively moves the cursor to the top/middle/bottom of the screen. I'm quite sure there's a vim equivalent for that, but I couldn't find it.
3
votes
1answer
168 views

Navigating the CLI: replace text from specific character to specific character

I am a VIM user learning Emacs commands for use in Bash. I know that on my systems I can use Vim-keybindings in Bash but I'd like to learn how to use it effectively in its default configuration. ...
9
votes
2answers
550 views

Alt-Left to skip words does not work in terminal emulators

On a Debian Wheezy machine at previous job, I got used to Alt+Left and Alt+Right to skip between words on active command-line (in bash). However, since at home I have upgraded to Jessie (Debian 8.0, ...
2
votes
2answers
76 views

How could all the GNOME keyboard shortcuts be removed in a script, in other words, NOT using gconf-editor?

I am developing custom software on a RHEL system, which tightly locks down every user on the system. I have implemented my own lock screen through dbus, user screen lock (Alt+L) through xbindkeys, and ...
2
votes
1answer
271 views

How to disable menu under ALT+1 binding in Linux-Mint

I want to disable the menu in Linux-Mint which is showing when you press ALT+1. I can't even capture the screen when the menu is showing so I've attached a photo. I tried everything and I didn't find ...
0
votes
2answers
407 views

Set scroll speed and have a show desktop keyboard command on Mint 16

How can I change the scroll speed and have a show desktop keyboard command? I cannot figure out these two things. I have looked around, but cannot find any definitive or working advice. ...
1
vote
1answer
204 views

How to create a custom keyboard-shortcut for renaming files on CentOS? [closed]

I want to create a keyboard-shortcut for renaming files, like the F2 key in Windows. How can I do that in CentOS 6.4? Following is the image of the panel for keyboard shortcuts:
2
votes
1answer
416 views

Disable Ctrl+Alt Hotkeys in certain programs

I am using Sublime Text 3 which uses CtrlAlt$key hotkeys for a few important functionalities, but CtrlAltLeft (for example) switches workspaces. Is there a way I can disable the OS functions of these ...
2
votes
1answer
107 views

Send keystrokes to a process on Console

If I have a terminal with a shell open, how can I write a shell script (any scripting language is ok with me!) that will send a keystroke to any one of the running processes? As an example, how could ...
3
votes
2answers
84 views

keyboard shortcut to jump cursor to prompt?

I often mistype a command. So I will type this sublimetext myfile.txt instead of git add myfile.txt When I do this, I hit up to restore the last command. But after doing so, my cursor is at the ...
4
votes
2answers
217 views

How to move windows across displays in Gnome 3?

In Gnome 3, moving windows with the keyboard shortcuts Meta+← and Meta+→ can be convenient. Now, I have two displays installed and would like to move windows across the displays without ...
1
vote
2answers
307 views

Keyboard shortcut to move window to a side in Gnome

In Windows I can press Windows key + (left/right/up/down) keys to press a window against the upper, right, down, left side. Is there an equivalent in Ubuntu? Distro: Ubuntu 12.04, using Gnome.
1
vote
1answer
106 views

setxkbmap configuration

I'm using Lubuntu 13.04 without executing lxpanel (I killed it on purpose because I don't want to use it for the project I'm working on now). The problem is that, without lxpanel executing, the run ...
3
votes
1answer
125 views

Navigating the CLI: Go back N words

I'm a Vim user, so I'm learning Emacs commands for use in the Bash CLI. I know that on my systems I can use Vim-keybindings in Bash but I'd like to learn how to use it effectively in its default ...
3
votes
1answer
176 views

Configuring shortcuts for Sakura

I am massively confused by the sakura terminal emulator's .conf file. I want to make Alt+; open a new tab and Alt+: close a tab. I have tried: add_tab_key=alt+; add_tab_key=alt-; add_tab_key=; None ...
4
votes
1answer
64 views

How do I copy/yank a multi-line expression I typed at the ZSH prompt?

For example, supposed I'm browsing through my history, and reach this multi-line command I'd typed earlier: ~ >> for f in *; do echo $f done I've enabled vim bindings in the ZLE (bindkey -v), ...
3
votes
1answer
308 views

How to enable Fn keys on Samsung 900X in Arch Linux?

The only one which works is Fn+F5 (toggle touchpad), presumably because xf86-input-synaptics is installed. Fn+F1 prints a literal plus/minus sign ("±"). Installing samsung-tools and rebooting did not ...
1
vote
0answers
134 views

Configuring Caps Lock as modifier and layout switcher

I want to set the caps lock key working as a modifier (modkey) and layout switcher at the same time. I want Caps Lock to act as a modkey in awesome in different hotkey combinations, for example, ...
3
votes
1answer
246 views

bind key sequence to Escape, zsh

How would I map jj to Esc in zsh? I'm trying to recreate a key-mapping that I have setup in vim, where I have jj mapped to ESC so that whenever I double-press j, it sends the an <Esc> to ...