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)

2
votes
1answer
41 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 ...
1
vote
1answer
105 views

Disabling a keyboard key in console

I wrote a script that dialog command is vulnerable to Esc key, now I want to disable Esc key in console. NOTE: X11 has been not installed in server and xev or xmodmap doesn't work.
8
votes
1answer
620 views

keyboard hard remap keys?

I am trying to find a way to remap keyboard keys forcefully. I tried using xmodmap and setxkbmap, but they do not work for one specific application. Such commands work for other normal ...
2
votes
1answer
198 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
0answers
52 views

Wrong keybindings in Dvorak

Using Dvorak as the selected keyboard layout, I find this strange behavior: The copy+paste keybindings in some programs don't work with Ctrl+C and Ctrl+V in the dvorak position, but they work in the ...
3
votes
2answers
200 views

how to recall last argument in bash with vi setting

I use set -o vi setting in bash. The shorcut Alt+. (recalling last argument of previous command) here doesn't work as in emacs mode, so what is the equivalent for vi?
0
votes
1answer
45 views

Quick way to copy the rest of a line?

In Emacs, I want to copy the rest of the current line. The regular way is to select the rest of the current line, and then M-w. A quicker way is C-k C-_. Is there a non-customized way using only ...
1
vote
1answer
104 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
1answer
175 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
48 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
23 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
130 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
659 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
161 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
70 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 ...
-2
votes
1answer
103 views

Why are there several keys unbound in vim?

There are several keys that are unbound in vi/vim, such as g, q, v and #. Is there a particular reason why these keys are unbound? Can I just use them however I want or will I be breaking certain ...
8
votes
1answer
807 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
91 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
236 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 ...
2
votes
0answers
364 views

How to control keyboard backlight using hotkeys

How can I turn increase and decrease the keyboard backlight in notebook on Linux using the same hotkeys used on Windows? In Windows I can control the keyboard backlight by pressing hotkeys (FnF9 to ...
2
votes
1answer
711 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
310 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
36 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, ...
1
vote
0answers
133 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
81 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
35 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
174 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" ...
3
votes
2answers
315 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 ...
2
votes
2answers
898 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
265 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
33 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 ...
1
vote
1answer
57 views

How to configure up arrow to get to the previous command in maxima?

If I press Up in a shell, then normally it brings up the previous command I entered. In maxima it's all different. Pressing Up just prints out ^[[A. The same thing happens when I try to move the ...
3
votes
1answer
323 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
214 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
125 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
102 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.
1
vote
2answers
111 views

Home and End keys in a gnuplot interactive terminal do not move cursor

When working interactively with gnuplot, the home and end keys do not move the cursor to the beginning and end of a line, but instead produce the characters "OH" and "OF", respectively. What's the ...
3
votes
1answer
195 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
0answers
307 views

Different layouts and specific key mapping for different keyboards

Here's the deal I have an apple aluminium usb keyboard connected to my laptop with "windows" keyboard. And almost everything works great on my apple keyboard except three annoying problems. Each ...
1
vote
1answer
215 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
364 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 ...
24
votes
8answers
15k 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 ...
1
vote
0answers
137 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
73 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
98 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
60 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
86 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.
0
votes
0answers
88 views

ir-keytable modifier keys support

I'd like to add modifier keys to some of my ir-keytable tables. I've tried with the following syntax: 0x48e KEY_LEFTALT+KEY_RIGHT # >> right jump But it is not working (the scancode=keycode ...
6
votes
2answers
395 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
18 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, ...