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)

2
votes
1answer
421 views

Control-space on Cinnamon

I installed synapse on my Cinnamon desktop, and everything worked with the keyboard shortcut Ctrl+Space. Then, at some point, it stopped working properly, and I had to hold down Control and hit space ...
4
votes
2answers
3k views

How to remove Cinnamon's Alt-F1 keybinding using Linux Mint 15

I've just started using Linux Mint 15 with Cinnamon 1.8.8 at work and when I press Alt+F1 the display zoom out and displays the workspace switcher. How can I disable this shortcut? I removed the ...
2
votes
1answer
282 views

How to use numeric keypad as mouse?

Is there a way in Linux mint to use numpad as a mouse on my desktop. I have tried shift+numlock but it did not work. Is there a package that I must install? Articles on the Internet are too old to ...
1
vote
1answer
210 views

ArchBang - Missing wireless interface, or how to remap fn+F1-F1

Hello I am using ArchBang on old laptop Dell D410 (Dell D410 Technical Specification). I have troubles with wifi. My assumption (please read bellow explanation why I deducted this) is that I cannot ...
5
votes
1answer
479 views

Return to X session after Ctrl+Alt+F1

What is the command to return to the graphical desktop after entering the terminal mode with Ctrl+Alt+F1? I need it for operating my Raspbian.
4
votes
1answer
47 views

What is the scheme for textual representation of keystrokes in screen?

How can I derive the character sequence that represents a certain keystroke in screen? I mean, what bind takes as input. For instance, 's' represents the obvious keystroke on the 's' key. 'S' ...
0
votes
0answers
25 views

Keyboard shortcut glossary for terminal apps

I would like to be able to fire up any terminal app (including ones I've never used) and see, on my second monitor (which is actually a second iPad running a terminal emulator) a glossary of keyboard ...
2
votes
0answers
64 views

Keyboard-bound applications in Openbox

Following the template of another stack user I've bound a keyboard shortcut to toggle an application between hidden and fullscreen. The only problem is, no matter what application I apply it to, I ...
0
votes
0answers
103 views

Mapping custom shortcuts in MATE (Gnome)

I am used to Ratpoison, but now I have to work with MATE (Gnome) for a while. To make it less painful, I would like to use some keyshortcuts from Ratpoison. Is there any simple way to do it? How ...
1
vote
1answer
277 views

How can I script xrandr's scale function to switch to the next or previous resolution in a predefined list?

xrandr has a nifty feature that lets you scale your entire screen so that your virtual resolution is larger or smaller than your actual resolution. I use it on my netbook's 1024x600 resolution screen ...
2
votes
1answer
106 views

Zsh - Disable Tab Insert

I'm trying to configure zsh to closely fit how bash behaves before I fully switch, and one behavior I'm trying to modify in zsh is when it inserts a Tab character. I see how it could be helpful for ...
4
votes
1answer
150 views

Using Ctrl+[0-9] to cycle between windows using tmux

I have started using tmux but I feel that using Ctrlb0-9 is very annoying, because it's used so often. How do I bind the keyboard so I only need to do Ctrl0-9 for changing windows (like in Chrome)? ...
4
votes
1answer
271 views

How to bind 'tab' and 'shift+tab' in gnu screen?

As the title says, how do I bind the keys 'tab' and 'shift+tab' in screen? My problem is that I don't know what to pass to the screen command "bind" to designate these keystrokes. BTW, I'm aware of ...
1
vote
1answer
123 views

Nautilus Renaming Bug when pressing 'n' key in Ubuntu

I have what i can consider a Big Bug on Nautilus under Ubuntu Linux. When I am in the process of renaming a file or a folder, if I press n, nautilus opens a new tab. The effect is: I cannot include ...
2
votes
1answer
392 views

How to run a script by shortkey in elementaryOS?

I want to be able to run certain scripts by shortcut the way I do in ubuntu - for example some similar to this awesome script. (On that model I can search google the text selected in any text editor, ...
2
votes
3answers
671 views

How can I delete a word backward at the command line (bash and zsh)?

How can I delete a word backward at the command line? I'm truly used to some editors deleting the last 'word' using ctrl+backspace, and I'd like that functionality at the command line too. I am ...
1
vote
1answer
54 views

Vim key binding to cycle through windows

How do I bind one single key to cycle through the windows? For example, each time I want to switch a window, I have to click ctrl-a (default was ctrl-c) then use arrow key up/down/left/right to ...
4
votes
2answers
100 views

How can I use caps lock to change language in VIM

Can I use capslock for changing languages in VIM instead of Ctrl + 6 in case of "keymap=russian-jcukenwin"? How can I do it? Maybe something like mapping it in the $VIMRC file? How can I map ...
47
votes
6answers
5k views

Exit vim more quickly

I use Vim mainly for quick edits rather than long work sessions. In that sense, I find the keyboard sequence for quitting especially laborious: Esc, Shift + ;, w, q, Enter. How to quit Vim (possibly ...
2
votes
1answer
68 views

In emacs are any key sequences available for user macro bindings in all modes

I have recently started using org mode in emacs, but my macro bound in my initialisation file to C-x C-k T no longer works because this combination is used by outline mode which underpins org mode. I ...
7
votes
1answer
1k views

Why didn't Ctrl-C work?

I just hit Ctrlc twice at my shell in an attempt to halt a process that is taking a long time to finish. ^C was echoed twice, but the process just kept going. Why didn't Ctrlc quit the process like ...
2
votes
0answers
54 views

Make Compose not compose after certain key presses

On my laptop, I use the Win as a modifier. With the Fn key pressed, the key sends a different keysym and I use that as a Compose key. keycode 133 = Hyper_L keycode 134 = Multi_key add mod4 = Hyper_L ...
0
votes
0answers
454 views

Zorin OS 7 - Home button

What is the name of the command that invokes the home menu? I am using linux zorin os 7 ultimate. The home button (windows button) does not bring up the home menu. It does work, its not broken. I have ...
16
votes
1answer
481 views

Shortcut keys that are independent to keyboard layout

Is there a way to define an association of a particular physical key of the keyboard to some action, independently of the letter that this key is associated to in any layout? Example: In most ...
2
votes
1answer
77 views

tmux “last-session” binding

How could I bind to last (most recent) session? The obvious last-session leads to an "unknown command" error. bind-key z last-session
8
votes
1answer
103 views

Map a symbol to a specific key

I have the following problem: I use the intl variant of gb keyboard layout, i.e., what you get with: setxkbmap -layout gb -variant intl I use gmail in Firefox, and for some reason, the gmail ...
6
votes
1answer
2k views

How to execute a script in shell when a shortcut key is pressed

How could I execute a script in Shell when a shortcut key is pressed. Essentially what I need is when a shortcut key is pressed the script should read from a file and display that content in the ...
3
votes
2answers
954 views

Adding key bindings for “Fn” + “Control” key in openbox

I need use Fn + CTRL as a key combination, but it doesn't work in openbox (works in XFCE / KDE4`). <keybind key="Fn-C"> <action name="ToggleMaximize"> </action> ...
0
votes
1answer
48 views

is there a vim shortcut or can I create one for 'tabe other_file'

When possible I create 1 or 2 letter abbreviations for aliases and the like, e.g. x for exit or p for pwd at the command line. When using vim and doing multiple tabs for different files (which I can ...
2
votes
2answers
262 views

Cursor keys in bash in dtterm don't work as expected

I am trying to remap some of my keyboard shortcuts in bash. The problem is that when I try to display key code using Ctrl-V, not all keys work. For example, Typing Ctrl-V, then Home moves the terminal ...
2
votes
2answers
168 views

Is it possible to assign multiple commands to a single hotkey? (bash, xterm)

Back in the day, if my cursor was in the middle of a really long shell command I'd just hit Ctrl+C to get myself a new command prompt. Then I learned about Ctrl+K/C and life was good. Unfortunately ...
1
vote
1answer
522 views

How to use Super-L instead of Alt in XFCE for resizing/moving windows?

In XFCE, when holding down Alt and then clicking anywhere in a window with the left button will move that window (as if by dragging the title bar), or resize the windows when clicking and dragging ...
2
votes
1answer
2k views

Switch between windows & tabs in Linux? [closed]

do we have keyboard shortcuts to switch between tabs or windows, am looking for shortcuts similar to of those available in windows (ctrl + tab to switch btw tabs & Alt + tab to swtich btw ...
0
votes
1answer
175 views

In tcsh shell how I find a particular word in the command prompt?

Suppose I have the following line in my command prompt and the cursor is at the and of the line or the beginning of the line by using (CTRL+A) [subhrcho@slc04lyo pcbpel]$ abc def ghi jkl How can I ...
4
votes
2answers
112 views

How do I go to beginning of command line when I am inside the screen?

In bash I can hit Ctrl + a and go to first of the command line. But in screen Ctrl + a does not do this. How do I go to first of command line in screen?
9
votes
2answers
1k views

What is meant by a shell is in “vi” mode or “emacs” mode?

This question follows directly from the answer to one of my previous questions here. I am newbie to unix world and this site has helped a lot to understand some core concepts. In this case I am ...
5
votes
2answers
161 views

How to assign shell command to key?

I want to assign my script to special key on my keyboard. xmodmap recognize this key as XF86AudioMute, but I want to execute my script when it pressed. How to do it? My window manager is Window ...
0
votes
1answer
56 views

Disabling/enabling language specific mappings in Vim

I have :set keymap=russian-jcukenwin. In this keyboard mapping ` maps to ё. I want to unmap this backtick. :lmap ` l ` *@ё :lunmap ` E31: No such mapping Why lunmap ` gives an error? ...
5
votes
1answer
672 views

Keyboard shortcut to copy current command from terminal to clipboard [duplicate]

Is there any way to copy current command (line typed in bash prompt) in terminal to X-clipboard without involving a mouse?
2
votes
0answers
99 views

Xmonad seems like a (physically) painful experience

I've been using Xmonad for several hours after hearing recommendations from several people. Currently my configuration is very basic. I mapped the modifier key to the "windows key" as suggested in ...
1
vote
1answer
145 views

Make Nautilus navigate to the first file beginning with the typed letter

When I hit N in Nautilus under a folder, it behaves like I am searching files which contains N. Can I make it so that it only leads me to the first file whose name starts with N, like Windows ...
2
votes
0answers
104 views

Application launcher with grid like hotkeys

Is there a desktop enviroment or tool wich can provide the following functionality? If I press a self defined hotkey, a menu of self defined shortcuts/launchers is shown somewhere on the screen where ...
2
votes
1answer
43 views

How can I bind my ctrl+b so that I don't need to press it to resize my pane?

I managed to be able to resize panes in tmux thanks to this answer. But now I press CTRL-b and then e each time I want to resize the pane (e.g. make larger to the left). How could I bind the CTRL-b as ...
2
votes
3answers
71 views

Emacs paste into search (C-s) field?

Let's say you are writing code in one of Emacs window and then want to search for a string that you have copied manually (M-w) some time before. The problem is, that by default, when you issue C-s, ...
7
votes
1answer
134 views

The shell's “delete word” shortcut deletes too many characters

Under Bash some behavior of Alt+d has been driving me crazy since years and I figured out that maybe it could be fixed with a setting. If I'm at a terminal and issue a command like this: ...$ cat ...
1
vote
1answer
143 views

Dropbox, notify-send and OSD interfere with Ctrl-shortcuts

I'm using Ubuntu 13.04 with i3 4.5.1. When i3wm starts, Ctrl-C/-D/-K etc. are working fine. When I start Dropbox, notify-send or change the volume, all Ctrl-something shortcuts stop working. I can ...
2
votes
1answer
108 views

Alt +Tab behaviour in Gnome

It may be a silly question but in Windows I used ShiftAltTab to switch back between my open windows, that is go back to previous windows. Unfortunately, it is not working in Gnome. I have even used ...
1
vote
0answers
238 views

How to scroll in a terminal by line in GNOME Terminal 2.31.3?

I use Shift+(PgUp/PgDown) while scrolling in the terminal. But it seems to scroll one screen (or a half may be) at a time. I feel comfortable scrolling the terminal by line with the mouse, but don't ...
2
votes
3answers
590 views

switching windows in twm with keyboard shortcuts

I am using a system that runs twm and I am wondering if it is possible to switch between windows using keyboard shortcuts, as I do in gnome with Alt+Tab.
0
votes
1answer
94 views

Why do some default bindkey keys do not work in tcsh?

I'm using tcsh and I'm seeing that some of my custom and some of the default bindkey bindings do not work. Why don't they work? For example: I load some default bindings: bindkey -e I check the ...