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
11 views

MC 4.8.13 uses Ctrl-Backspace for directory hotlist

I just built GNU Midnight Commander 4.8.13 from source and the directory hotlist is now invoked with CtrlBackspace instead of Ctrl\. This is a PITA since it seems to not be passed through via ssh -- ...
2
votes
1answer
80 views

Why don't emacs keybindings work on Mint 17.1?

I'm migrating from Ubuntu to Mint and loving it so far. One thing has been bugging me. On ubuntu I was able to run: gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs" to get ...
52
votes
8answers
9k 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
790 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 ...
4
votes
0answers
22 views

emulate key-combination with xdotool

I am using Xephyr as a nested X server. When I am in Xephyr window and pres the key combination Control_L+Alt_L+Shift_L, Xephyr grabs my input (mouse, keyboard). This grab can be released with ...
1
vote
0answers
11 views

Assign hotkey to single keyboard layout in LXDE

Well, the question is following: can I assign separate keyboard shortcut to every layout I have? Exactly like in Windows we can assign Ctrl-1, Ctrl-2 and so on, to any layout.Question appeared after ...
2
votes
1answer
576 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" ...
1
vote
0answers
23 views

Keyboard shortcut with Shift in Mate

I installed Fedora 21 with Mate. When I tried to bind the hotkey Ctrl+Alt+Shift+Up (for moving a window to some desktop), it tells me that I am already using Ctrl+Alt+Up for switching. I can't ...
6
votes
2answers
238 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 ...
2
votes
2answers
21 views

Disable keycode printing in urxvt

When I press alt + left arrow, Urxvt prints [D, or alt + up arrow prints [A. Is there a way to disable this behavior so that urxvt just does nothing?
1
vote
2answers
499 views

What does pressing Alt+Shift+3 do in Terminal?

What does pressing Alt + Shift + 3 in Terminal do? All I can see is that it prints a pound sign and jumps to the next line, but, supposedly, it does something special.
3
votes
1answer
29 views

Awesome window manager stops recognizing shortcuts

I recently started using Awesome (the X windows manager) in my Ubuntu. It is awesome! But some times (once a day max) it kinda crashes — or at least stop accepting shortcuts input. I get stuck on the ...
1
vote
1answer
79 views

Interference between XF86Display (F4) button and Super button in Xfce keyboard settings

I like the Super button for the Whisker Menu search (xfce4-popup-whiskermenu), which is the default in Linux Mint Xfce (but can be set like that in Xubuntu or other systems with the Xfce desktop) and ...
0
votes
1answer
7 views

fluxbox: how to disable raise (ALT+Down/Up)

I am using fluxbox and would like to disable Alt+Down and Alt+Up when I am inside a specific application. How can I do it?
2
votes
2answers
58 views

Exit from less by pressing ESC key

Can I setup less program to exit from it by pressing ESC key?
4
votes
3answers
79 views

Bash, insert last used argument of current command

I'm aware that you can recall the last argument of the previous command with !$ and also cycle through previous arguments with ALT + . but can you recall the last argument used for the current command ...
4
votes
1answer
1k views

How to get brightness keys working inside openbox session?

I'm using Openbox window manager without DE. I'd like to get fn + [brightness up/down icon] working like it is in GNOME/KDE, but i'm looking for lightweight solution without gnome-power-manager and ...
1
vote
1answer
921 views

CentOS: Avoid that ALT-F4 switches to console

At least every Linux system that I worked with used the convention to switch to the non-graphical consoles by Ctrl-Alt-F1, Ctrl-Alt-F2 and so on. Recently, I installed CentOS 6.3 on a machine. The ...
1
vote
0answers
22 views

Can I exclude some key bindings in VirtualBox?

I am running Ubuntu 14.10 as my host system. Then I have Virtualbox with Windows 8.1 as guest OS. I am using workspaces in Ubuntu and I want to run Virtualbox in fullscreen in one workspace and at the ...
1
vote
2answers
701 views

Linux guest VM on mac host - Keyboard

I use a Mac as a development box, but am slowly transitioning to Linux. So I am spending the majority of my time in the Linux guest VM while working. But I still spend a fair amount of time in Mac ...
0
votes
3answers
277 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.
2
votes
0answers
27 views

X11: disable Shift+NumpadN outputing N when NumLock is off to have Shift+NumpadHome

I’m using GNOME 3.14.3 on ArchLinux. If I press Shift+Home (regular Home) while the cursor is placed at the end of a line, the line gets selected. That’s expected. If I press just the regular Home, ...
4
votes
2answers
778 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
1answer
30 views

Hotkey for doing sudo suggestions

On Ubuntu and Debian, often if I try to run a program I will get a message that says something to the effect of: You don't have that program. To get it type sudo -apt -get -install programName ...
0
votes
2answers
60 views

Tilde on unix:hpux and / or solaris

On Linux press F9 return a correct ~ On unix(solaris or hpux) return 0~ How to set correct tilde on those systems?
6
votes
4answers
606 views

Is there a way to assign a shortcut key to nautilus' right click context menu?

Does anyone know of a way to assign a shortcut key combination to the menu items in the context menu that pops up in nautilus when you click on a file?
0
votes
0answers
14 views

Keyboard Shortcut for Applications Menu Extension Possible?

I am new to linux, Ubuntu, and GNOME. I am running Ubuntu GNOME 14.04 which comes with GNOME 3.10. I am using the Applications Menu extension from gnome-look.org. I would like to create a keyboard ...
5
votes
3answers
5k views

How to run the terminal using keyboard shortcuts in Gnome 2?

I'm using Gnome 2. I use the terminal several times, and I lose a lot of time going in Applications / Utilities / Terminal to launch the terminal. I am wondering if I can launch the terminal using ...
1
vote
0answers
14 views

Remap or unmap F10 from triggering window file menu in Xfce

By default F10 on Xfce activates the menu File menu and so cannot be used as a shortcut in any program. I already looked in the Window Manager and Keyboard settings pages and no F10 key binding is ...
0
votes
0answers
38 views

Switch between tabs command

By mistake I may have deleted the Switch between tabs shortcut, now I want to add it as a custom shortcut but I can't find the command to add. How do I add it back? I'm using kali Linux and I'm ...
4
votes
2answers
8k views

How do I get Ctrl + Alt + t to launch ther terminal in Linux Mint 13 MATE?

Pressing Ctrl + Alt + t seems to do nothing on my Linux Mint 13 MATE. How can I set this shortcut to launch a terminal window? As a detail, it seems the terminal is mate-terminal rather than ...
1
vote
1answer
252 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 ...
1
vote
0answers
29 views

Start command and stop command in terminal on keyboard (hotkey) shortcut press?

I have seen How to execute a script in shell when a shortcut key is pressed, but that is not what I want. If you have used recordmydesktop, you may have noticed the following in its manual: After ...
3
votes
2answers
134 views

Why is the shortcut Ctrl + A jumping to the start of a line in the terminal?

Like jumping to the end of a line is Ctrl+E, where E can be thought of as end, why does it jump to the start using A?
17
votes
1answer
737 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 ...
28
votes
6answers
20k views

How to get keycodes for xmodmap?

I'm trying to use xmodmap to remap Alt / Super keys on Dell L100 keyboard, and have trouble getting the keycodes. For instance, using xev doesn't give me keycode for Alt FocusOut event, serial 36, ...
1
vote
1answer
34 views

Vi keys in Xpdf?

The Xpdf man page says that it can be customized to work with Vi style keybindings: Previous versions of xpdf included a "viKeys" X resource. It is no longer available, but the following ...
2
votes
2answers
3k views

How do I edit the terminal launch command in Linux Mint?

In Linux Mint (Debian-based) how can I edit what the shortcut Ctrl+Alt+t launches? For example, I would like to issue gnome-terminal with the --maximize option, and to have it launch tmux instantly.
1
vote
1answer
38 views

using script function rather than keyboard input

I'm writing a shell script to change a user's password. I tried to use the passwd command, but that command always asks for the old and new passwords to be typed; it won't accept them from my script. ...
3
votes
2answers
255 views

how is a keyboard shortcut given to the correct program?

in Ubuntu (or for that matter most other linux distros), I could use the shortcut ctrl+t to open a new tab (in firefox or similar), or I could use alt+tab to make unity switch highlighted window, or I ...
2
votes
3answers
1k views

Home key not working in terminal

I am using GNOME Terminal 2.7.3 and zsh 4.3.9 (x86_64-unknown-linux-gnu) Home and End are not working. Nothing happens and nothing gets displayed when I press them. but they work when I press shift + ...
0
votes
2answers
61 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 ...
3
votes
2answers
104 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?
1
vote
0answers
29 views

Eye of Gnome (EOG) - Modify Shortcuts

Is there a way to change the default shortcuts of the image viewer Eye of Gnome? I would like to remap a few shortcuts, like the spacebar and mouse thumb buttons. As far as I can tell, the ...
1
vote
3answers
1k 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.
4
votes
2answers
335 views

Script for emulating Windows [Win]+[Arrow] keyboard shortcut

I am running Fedora 14. I would like to (at least partially) emulate the behaviour of Windows when you hit Win+Arrow Key. That is, I would like it to "snap" to the left/right sides of the screen. I ...
3
votes
2answers
1k views

Keyboard Shortcut To Send Text Strings To Program

How can I configure a shortcut key to send a text string to the current program? The purpose is to type common entries quicker (email address, street address, phone number, username, favorite quote, ...
3
votes
3answers
2k views

OpenSuse custom keyboard shortcuts not working

Note: This question is specifically on a clean install of OpenSuse 11.3 with gnome as the display/desktop manager I can't get custom keyboard shortcuts to work, default shortcuts are working ...
1
vote
1answer
36 views

Is there any way to identify which application is hijacking a keyboard shortcut?

Some application on my system (Ubuntu Linux 13.0) is hijacking a specific keyboard shortcut (Ctrl+Space). I don't know which one it is and would like to identify it. How can I do this?
0
votes
0answers
9 views

Bind multiple chars to single keyboard key [duplicate]

Is there any possibility to bind multiple chars (e.g. a word or even multiple words with spaces between them) to a single key? I've been able to bind specific letters to keys using xmodmap, but not ...