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)

0
votes
0answers
18 views

keyboard shortcut for inserting text

how to set a keyboard combination for inserting special string in current window at current position? for example, when I'm on Firefox address bar, or Chrome address bar, and press Alt+Ctrl+N it ...
4
votes
2answers
122 views

Why can't Emacs running in a terminal distinguish Ctrl+; from “;”?

This question arose from my previous question on emacs beta. In short I want to bind C-; to an Emacs functions in a terminal, but it seems that something captures this key before it reaches Emacs: ...
1
vote
1answer
33 views

How to remap keyboard shortcut for context menu in Xubuntu

I'm using Xubuntu 14.04 and typing on a keyboard without "Windows" and "context menu" keys (Unicomp Model M). Currently, I get context menu (mouse right-click) with Shift+F10, but when touch-typing, I ...
1
vote
0answers
26 views

How can I remap a key combination to a different one?

I have a keyboard with a US layout and there is a special key that triggers Ctrl+Z (key codes 37 and 52). The problem is that I'm using it with a QWERTZ layout (selected during installaiton) and ...
1
vote
2answers
25 views

Why doesn't this sequence of keys, using SyRq, work

I have Fedora 20, with zshell and Mate desktop. I have just come across this article about using SysRq keys, but they don't give the results shown there. I am using Alt with the key marked "Home" ...
0
votes
0answers
10 views

key replacement (like autohotkey?) [duplicate]

I have several broken keys on my laptop keyboard, which I replaced with key commands in Windows using autohotkey. Autokey, the closest linux alternative, has fallen out of development and won't run on ...
2
votes
0answers
23 views

Copy and Pasting Script for the Alphabet and Numbers [closed]

How would I create the following shortcut? Ctrl+Win+A = Copy selected text to a unique "A" variable. Win+A = Paste the text which is binded to the unique "A" variable. And then extend this to the ...
1
vote
1answer
30 views

Tmux: how do I bind to C— (control-minus)?

I'd like to bind to control-minus in my .tmux.conf but it doesn't seem to work: bind C-- split-window -v Is this possible?
2
votes
1answer
16 views

List of acceptable entries in openbox config (keyboard)

Is there an exhaustive list of the tokens that openbox config xml files recognize for keybindings? e.g. F1 = F1 ... W = Windows C = CTRL I'm specifically interested in how openbox ...
2
votes
1answer
69 views

From a bash script, is there a way to get the keybinding for “Resize window”?

This question is related to another that I asked How do I execute a program in Xfce and make it use another xfwm4 theme other than the default one? However, I'm now trying to get an answer that will ...
1
vote
1answer
45 views

Send specific signal number with specific key

I want to set a specific key like F12 to send me a specific signal number that out of linux signals range that I can handle this signal with trap command. How can I do that? NOTE: I'm working with ...
1
vote
0answers
29 views

Use a keyboard shortcut to switch between synergy-“ized” monitors/windows

Is it possible to map a command to my keyboard so that I can switch between my various windows? I checked on the synergy website but was not able to find very much about the subject. I'm trying to be ...
3
votes
1answer
13 views

How to navigate the panel by keyboard to launch applications in XFce4?

In most applications, I can use TAB, TAB, to navigate from one button to the next, then ENTER to select it. I placed several launchers on the XFce4 panel. Is there any way to launch items located ...
0
votes
0answers
19 views

How to tie a keyword (to be pasted) to a key in Linux

I have to configure the keyboard to paste text 'abc123' into any program after pressing key combination Alt or Ctrl + a number. It has to work for every program, and I prefer to do it through the ...
1
vote
0answers
24 views

Linux Mint Search launcher doesn't do anything

In Mint 17, using Cinnamon, if I go to System Settings > Keyboard > Keyboard shortcuts > Launchers there is an option to set a shortcut for something called Search. However, whatever key ...
0
votes
1answer
71 views

Keyboard shortcut to launch Nemo

In Windows you can type Super+e to launch the file explorer. I find this really useful, particularly because almost every action I take starts with search for a file or folder. Is there an equivalent ...
2
votes
0answers
39 views

Hex codes for input key combinations

In iTerm2 one can setup keyboard shortcuts so that for a given input sequence, iTerm2 sends a specific hex code to the terminal. What exactly are these hex codes? And how can I identify a hex code ...
6
votes
1answer
60 views

Change inside comments with Vim

Is there a way to change inside of a comment with Vim? I know you can change inside brackets and quotes with i] and i". For example, If you are on a quote you can press, ci"my new textESC And ...
8
votes
1answer
665 views

What is the keyboard shortcut opposite to Ctrl+k?

Ctrl + K deletes rest of line in an UNIX command line. How do I delete all the text before the cursor?
1
vote
1answer
47 views

Archlinux ARM Rasperry Pi login buffer display and decryption fail

I have put the Archlinux Arm on my SD card and the first time I have done this it was all correct and worked well but I had to "reinstall" everything for several reason. So now I am doing the same ...
3
votes
1answer
52 views

zathura: How do I add a keybind for exec?

zathura is my default PDF reader. Some files cause it trouble though, and in such cases I run :exec acroread $FILE which automatically opens the same file with Acrobat Reader. How do I add a key ...
0
votes
0answers
82 views

Cannot change global keyboard shortcuts in Linux Mint XFCE

I am using Linux Mint 14 XFCE. I am trying to remove the default XFCE window manager shortcuts for workspace switching (Ctrl-F1, Ctrl-F2, etc.), as described in this question. The answers there ...
1
vote
2answers
95 views

Paste text from clipboard directly to browser and make Google search for it

When we need to paste something to Google Search from our clipboard, we need at least two or more clicks, before we can get to URL bar and hit CTRL+V and then Enter to start searching. I was thinking ...
1
vote
0answers
18 views

KDE global bindkey for 'accept-line'

Is there a way to bind Ctrl-j keys to send 'accept-line' in KDE? readline library has a nice feature called key bindings. There are quite a few default keybindings user may want to use. To see it, ...
0
votes
0answers
27 views

XFCE make media keys work globally?

I'm running Gentoo with xfce. I also have a logitech keyboard that has media keys like play and pause. The keys work fin in most programs, like vlc, if the program has the focus. I want these keys ...
3
votes
0answers
43 views

Keyboard shortcut for horizontal scrolling

Is there a utility I could use to scroll the active window horizontally using the keyboard?
0
votes
0answers
22 views

Additional keybinding combination to copy text to clipboard

I would like know, how to make copy to clipboard work not only with the default Ctrl+c key-combination but also using Ctrl+End for instance. How do I do that?
3
votes
3answers
64 views

confusing behavior of emacs-style keybindings in bash

Bash offers many useful emacs-style keybindings for simple commandline editing. For example, Ctrl+w deletes ("kills") word left from the cursor. Another keybinding, Alt+d is supposed to be a "mirror" ...
2
votes
1answer
65 views

Custom shortcut to i3lock screen

I'm having difficulties with creating a custom keyboard shortcut. I'm trying to lock my screen using i3lock with a picture. From the terminal, the command i3lock -i ~/Pictures/lock.png works like ...
1
vote
2answers
96 views

Ctrl-w closes my Chrome window

As I become more used to Emacs, I mix it with other applications quite a lot. For killing some text in Chrome browser windows, I repeatedly type Ctrlw, and close chrome windows and lost my unfinished ...
1
vote
1answer
45 views

Xterm Ctrl+Arrow shortcut keys

I'm using xterm version 293. While navigating in a command, I normally use the short-cut keys as Ctrl+LeftArrow or Ctrl+RightArrow to move back and forth. But while doing so, rather expected ...
0
votes
1answer
30 views

What does meta+n do in the terminal

When I click this it replaces whatever I have currently typed into the buffer with a :. Hitting backspace will go back to whatever I had in the buffer but I can't seem to find what the hell it's ...
3
votes
0answers
112 views

Ctrl+Alt+Backspace to kill X server can't be disabled

I would like to disable the Ctrl+Alt+Backspace shortcut to kill my X server. I have tried disabling it in the gnome-keyboard-properties "Layout Options..." dialog. When I start the dialog, the option ...
2
votes
0answers
51 views

Fluxbox: how to map a key for taking screenshot of selected area?

I want to map the Ctrl+Alt+4 to take a screenshot of a selected area. Right now I can do that from a terminal using gnome-screenshot -a. I have tried putting: Control Mod1 4 :ExecCommand ...
4
votes
1answer
64 views

Shortcut to google selected text

Is there a way to customize evince to search on Google a selected phrase? Like in Firefox where I select a text and right-click--> "Search Google for ..." If evince isn't customizable, is there any ...
0
votes
0answers
32 views

Scientific Linux 6 assigning keyboard shortcuts

Can I assign keyboard shortcuts for launching Konsole terminal emulator on Scientific Linux 6 without administrator privileges? If so can you guide me how, I appreciate your help.
3
votes
1answer
69 views

How to add a key binding to maximize/close all windows?

Lubuntu uses LXDE with Openbox. I can configure key bindings in ~/.config/openbox/lubuntu-rc.xml I want to add key bindings to maximize all windows and have the current active one on top. I also ...
1
vote
1answer
54 views

ALT + CTRL shortcuts in MATE problem

I've installed MATE under Arch Linux. I've a problem with the shortcuts. A lot of the shortcuts doesn't work so I tried to change them. When I'm trying to reassign the shortcut I go to Settings -> ...
0
votes
1answer
92 views

Changing keyboard layout on Scientific Linux 6.0 and creating new keyboard shortcuts?

I have two questions regarding keyboard input and shortcuts: Is it possible to change the keyboard layout on Scientific Linux 6.0 and how can it be done? Is it possible to define new keyboard ...
16
votes
8answers
2k views

How do I repeat the last command without using the arrow keys?

I know I can use Up to iterate through previous commands. Running the last command simply involves Up + Enter. However, I was thinking of buying the Happy Hacking Keyboard as I spend a lot of time in ...
0
votes
0answers
53 views

Chrome OS: Crosh Window and Hostname

I have a couple of questions regarding Chrome OS: By default Ctrl+Alt+T opens a crosh window within the Chrome browser. I have the Crosh Window extension, which I would like Ctrl+Alt+T bound to - ...
0
votes
2answers
49 views

What is the difference between “find” and “till” in vim?

I see I can use t c or Tc to move to the next / previous character c I can also use fc or Fc to move to the next / previous character c Is the only difference between them that tc places the ...
1
vote
1answer
52 views

LXDE: How to run a program/command when I press one or more keys?

I have a numpad on my keyboard and I want to make the keys do something when (the otherwise useless) ScrollLock is on under LXDE graphical environment. For example, I want to run my browser when I ...
3
votes
0answers
50 views

Typing punctuation adds an accent to the preceding letter after my laptop is docked for a few minutes

I am running Manjaro XFCE. Everything worked like a charm for months now, but 2 weeks ago the keyboard configuration from my external keyboard seems damaged. Writing on my laptop itself works ...
1
vote
0answers
43 views

Assigning a global hotkey to a functionality of an appilcation in KDE

How can I set global shortcut keys to Pause and Record buttons in audacity? Options of vlc allow assigning global hotkeys but there's not such options in audacity.
5
votes
1answer
86 views

How to disable Alt-Arrow switching of Virtual Consoles?

The following happens on different Linuces: When I'm in a virtual console, hold Alt and press ← or →, the virtual ttys cycle. This is really annoying as I'm using fish-shell which also uses this key ...
1
vote
0answers
10 views

How do I allocate a key shortcut to moving GNOME 3 workspaces up/down?

In GNOME 3, in the Keyboard Shortcuts area of the Keyboard settings page, it is possible to allocate shortcuts to move between workspaces and move windows between workspaces. Unfortunately, however, ...
1
vote
1answer
18 views

Remap “Show the Overview” to control in Gnome ( Fedora 20 )

I would like to remap "Show the Overview" to control, but the gui will not allow it. Is there a config file somewhere I can use to specify this? Screenshot
0
votes
2answers
183 views

Openning root terminal by keyboard shortcut

I am using Debian Linux and I am setting some shortcuts on it. So in keyboard window I went to shortcut, added gnome-terminal, and set Ctrl + t as the keys. But in Debian we also have "Root ...
4
votes
2answers
139 views

Disable keyboard shortcuts in Thunderbird

Is there a way to disable those evil keyboard shortcuts in Thunderbird? When I accidentally hit a, suddenly the message gets archived and a new Archives folder is created. Similarly other keys bring ...