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)

1
vote
0answers
60 views

How to Map AltGr + any key to shortcut in Openbox/Lubuntu file lubuntu-rc.xml

I have a highly customised lubuntu-rc.xml file; all key combinations that I can use for command shortcuts are mapped, so I need to utilise more keys so I can have more shortcuts. I would like have ...
1
vote
1answer
38 views

Unset or change default “re-detect monitors” windows+p cinnamon keybinding using gsettings

I'm trying to unset or change the default Windows+P (or to be more exact Meta+P) "re-detect monitors" cinnamon keybinding via gsettings, but having a hard time finding it in the gsettings tree. In the ...
1
vote
1answer
22 views

How do I bind the Python interpeter to a key?

Currently I open the interpreter with a keybinding pointing to gnome-terminal --hide-menubar --full-screen then type python I want to open it directly. I've tried: gnome-terminal --hide-menubar --...
1
vote
0answers
19 views

execute script on shortcut key in all runlevels

I have a laptop with intel graphics. The Fn key brightness control only works when the user is logged into the desktop environment. It never works in the login screen or in tty sessions. I have to ...
2
votes
1answer
29 views

How can I jump to a particular window, no matter what workspace it's on?

Ideally I could say $mod+J+E → jump to Emacs (wherever it is), and the same could be done for $mod+J+W → jump to Firefox (wherever it is). It seems pretty trivial to jump to a workspace, using ...
3
votes
2answers
151 views

What are the keyboard shortcuts for the command-line?

I'm talking about the keyboard shortcuts that you use in command-line/terminal. Example: Ctrl+c that kills the process, Ctrl+d that logout, Ctrl+z that send process to background... etc. I've tested ...
5
votes
2answers
859 views

Resizing windows in i3 using keyboard only

I am trying to set up my computer (running Crunchbang Linux Waldorf and i3) so that it is always, by default, configured so that pressing Ctrl + Shift and arrow keys resizes the window the direction ...
3
votes
0answers
64 views

Bind ALT key in Tmux to move across panes

I'm using Ubuntu 14.04 and I would like to bind ALT + <hjkl> in tmux to move across splits. I've seen this plugin that allows you to move across panes with CTRL + <hjkl> but I would like ...
0
votes
0answers
27 views

LXDE/Openbox shortcuts are slow

I've noticed that when using a shortcut on Openbox (the ones in ~/.config/openbox/lubuntu-rc.xml) They tend to react slowly at times. Especially when launching applications. If I launch fehlstart (...
0
votes
0answers
41 views

KDE changes keyboard layout on shortcuts

I ran into a strange anomaly with KDE 4.14.3 (Gentoo Linux) on my college's workstation. He had two keyboard layout: hu qwertz and us qwerty, and the hu qwertz was the active layout. When He typed a ...
0
votes
1answer
55 views

Linux alternative to alt+numpad codes

I sometimes need to type "alt codes" to get symbols and on linux, it can be inefficient to use shift+ctrl+u then type the code, for example shift+ctrl+u+00a7 for § when on Windows it's alt+21. So ...
0
votes
1answer
49 views

Ubuntu Gnome 15.10 super key mapping into Android Studio keymap

I am switching between OSx and Ubuntu Gnome (which is fantastic btw) and want to try and have the same shortcuts inside Android Studio. I am using a wired mac keyboard and CMD is default mapped to be ...
1
vote
1answer
113 views

Execute custom command in Geany

I want to execute some command with currently edited file as argument from within Geany, triggered by keyboard shortcut. For example: I am editing /home/user/file.txt and after hitting "Ctrl+B" I ...
4
votes
0answers
73 views

How do I *completely* disable the Ctrl-O shortcut in Midnight Commander?

I like using both Midnight Commander and Vim. In Vim, Ctrl-O is the "go to previous position" command, and in MC, by default, it toggles between the shell and the panel. I would like to be able to ...
1
vote
1answer
60 views

“Close window” (Ctrl+q) Shortcut not working on every window

In Linux Mint Cinnamon there are a lot of tools that can not be closed using Ctrl+q. For example the "Software Manager".. Is there a reason for this strange behavior? Can I somehow make Ctrl+q work on ...
1
vote
0answers
18 views

Making the Mod+4 Key Behave

I have a Dell XPS 13 laptop, originally with Windows but running Debian (after some effort). On the bottom row of the keyboard, there is, in this order, these keys: CTRL FN Windows ALT SPC ALT CTRL-...
1
vote
1answer
42 views

Paste clipboard as text into keyboard buffer

Once in a while I come across annoying web sites, which think they know security and won't allow me to paste password from password manager. I want a tool which allows me to take clipboard text and ...
2
votes
1answer
89 views

How to configure Ctrl+w as delete word in zsh

I want to delete a word by Ctrl+W in zsh like. vim /foo/bar^W vim /foo/ And found a solution for bash, but bind is not in zsh function. Is it possible to configure ctrl-w (delete word)? How can I ...
0
votes
0answers
70 views

Using Super(Win)-Key with shortcuts on latest GNOME

I am running Arch Linux x86_64 with GNOME 3.18.3-1 x86_64 as desktop-environment. In an earlier version of GNOME I successfully used the Super_L-Key for shortcuts, but now that key isn't gonna be ...
1
vote
0answers
16 views

Make IRDA hotkeys work in the lock screen

I have some IRDA reciever and remote controller. Some keys on it emulates hotkeys. So, I've created a hotkey that locks my current session. Now I want to create one that will unlock it (for example, ...
3
votes
1answer
123 views

Translate ascii codes to AT set 2 keyboard scancodes

I want to send a couple of characters with the virtualbox controlvm keyboardputscancode subcommand. The scancodes expected by virtualbox are the IBM PC AT set 2 keyboard scancodes, which in my case do ...
1
vote
0answers
15 views

How do I edit the keymap of Cinnamon without using Cinnamon Settings?

I would like to edit my keyboard shortcuts in Cinnamon but using the graphical user interface for editing them (i.e., Cinnamon Settings) is not an option as it keeps crashing on me (here is my bug ...
3
votes
0answers
25 views

How to remap “dead_hook” in Emacs and Vim?

I would like to remap some common symbols like ( and ) to the base line of my keyboard combining Alt Gr with other keys like j or k. I can remap Alt Gr+k to ) because that combination prints ĸ. The ...
2
votes
1answer
71 views

Readline: Binding an ANSI escape sequence to a key

I would like to bind a key with bash / readline, to clear the bottom of my console screen. The ANSI sequence to clear the bottom of the screen is \e[J, so I tried to add the following line to my ....
1
vote
2answers
72 views

How to disable shortcuts in urxvt?

I have installed urxvt and mc. There is a combination Alt + S in urxvt and the same combination in mc. When i use mc through urxvt and press Alt + S, command of the urxvt works instead of command of ...
1
vote
0answers
48 views

XFCE online help on ctrl-c

I'm running Xubuntu. The terminal has started popping up a dialog Do you want to read the Xfce Terminal Manual Online? every time I hit Ctrl+C. This has rendered emacs (among others) basically ...
1
vote
1answer
45 views

Keyboard shortcut to paste to active window in GNOME (Fedora)

What I'd like to achieve is to be able to press a button (F9 in this case) and for a specific string to be "pasted" into the active window. (It's to save typing a very long password - I know, I'm ...
1
vote
1answer
180 views

How do I enable the on-screen keyboard in the Linux Mint lock screen?

I'm using Linux Mint 17.2. I'm locked out of my own computer after changing my password to one using a 3rd tier character. I had set up my keyboard settings so the windows key enabled 3rd tier ...
2
votes
0answers
47 views

readline - use of modifiers other than control and meta

I'm trying to use Apple's ⌘ command and ⌥ option keys to map some functions in readline to no avail. As per the man page I used octal values but that doesn't seem to work \xHH the eight-bit ...
2
votes
0answers
27 views

readline - yank resets set-mark

I want to implement this binding "\C-xk": kill-region # turn previous word into HTML/XML # opening and closing tag pair "\C-xh": "\e \eb\C-xk<\C-y>\e </\C-y>\C-x\C-x" but it returns to ...
0
votes
0answers
6 views

Keyboard Shortcuts Reset

For some reason the keyboard shortcut defined for maximizing a window is reset every time I shut down my computer. When I go to the Window Manager settings, it still shows the shortcut I specified, ...
5
votes
1answer
169 views

CTRL+C: copy or interrupt

In both Linux and Windows CTRL + C has two very different meanings, depending on what program you use. In some programs (mostly GUI programs) it means "copy" whereas in other programs (almost ...
3
votes
1answer
39 views

xkb: how toggle keyboard layout with win + capslock?

I want to set custom shortcut to change keyboard layout using setxkbmap. For example win_caps (Win+CapsLock). This option is not listed in /usr/share/X11/xkb/rules/base.lst How can I achieve this?
1
vote
3answers
62 views

How to search for a suitable “command character” for GNU-screen?

I'm having a hard time finding a "command character" for GNU-screen that does not collide with some key combination that I already use. Through Emacs (and org-mode, and my regular shell, etc.), ...
0
votes
1answer
34 views

Map a Character key to some modifier key [say Control-key]?

I am so used to emacs keybinding that I use emacs style keybindings on my entire system (with gtk settings). I've mapped Caps-Lock key to an extra Control key. But that doesn't help me from having ...
1
vote
1answer
46 views

kwin: key binding to move a client to a different desktop

How does one go about adding a Kwin shortcut that reassigns a client to a different desktop? KDE is set up for nine desktops with keyboard shortcuts for Kwin for navigating between them using META+{1....
1
vote
0answers
38 views

Multiple keyboards same letter fires one keypress

i am using the latest Linux Mint distro with two external keyboards connected to a laptop. Both are identical. Logitech K120 If I press letter a on both keyboards at the same time it seems that it ...
1
vote
0answers
52 views

How to use Ctrl+mouse click in tmux?

Due to the change in Tmux2.1, I need to remap my mouse's middle click to tmux's paste: bind -T root MouseDown2Pane run -b "tmux paste-buffer" However, I also would like to enable using Ctrl (or Alt,...
3
votes
1answer
86 views

Undo tab expansion?

In bash, pressing Tab invokes the programmable completion feature and either (a) expands to a unique path or command matching what's typed or (b) a list of possible options. Is it possible to undo ...
1
vote
1answer
70 views

Xfce 4: how to change keyboard shortcuts globally (for all user accounts)?

I changed some window manager shortcuts through Window Manager>>Keyboard and Keyboard>>Shortcuts. Now, as it happens these changes take effect only on the account where they were set (I'm using Xfce 4....
0
votes
0answers
23 views

Cinnamon close window keyboard shortcut stops working

I am using Cinnamon version 2.0.14. From time to time I am seeing that specifically ctrl+w stops functioning, and there is no way for me to bring the functionality back. Rebooting is the only way to ...
0
votes
0answers
34 views

Shift Key won't work with F1,F2 etc. keys in gnome2. What could be the reason?

I have a vnc session with gnome2 desktop. The following are couple of examples where multiple key press working as expected and the last two examples have unexpected results (with F1 & F2). ...
3
votes
1answer
121 views

Bind alt but not altgr in i3

I use Mod4 for most keybindings in i3, but I use Mod1 for this: bindsym Mod1+a workspace a bindsym Mod1+b workspace b bindsym Mod1+c workspace c bindsym Mod1+d workspace d ... However this binds ...
3
votes
0answers
84 views

Custom keyboard shortcut to switch on certain language on Fedora

I am using Fedora OS. I need to set up the custom keyboard shortcut to switch keyboard to certain language. I. e. right Shift to English and left Shift to Russian. Fedora keyboard settings allows only ...
1
vote
1answer
49 views

Why isn't X treating ALT_L and ALT_R differently w/r/t Mod1

I have changed the definition of Mod1 via xmodmap to not include ALT_R (to understand why scroll to the bottom). The current layout of the modifiers is below. Despite ALT_R not participating in the ...
1
vote
0answers
75 views

How to Edit Text Anywhere with Your Favorite Editor in Linux?

Editors like emacs or vim has efficient keybindings. How do I edit every text editing field of all applications which them? There is one for windows already. http://www.listary.com/text-editor-...
1
vote
2answers
71 views

Can Xmonad treat left and right alt differently?

I have an application that utilizes ALT_R+ENTER to perform a function. When using this application in Xmonad, the combination Mod1+ENTER triggers the function "swap the current window with the master ...
3
votes
1answer
364 views

Nautilus in Gnome 3: delete key is not working

I just installed a fresh Debian 8 with Gnome 3 and in Nautilus the delete key is not working. Via Google I found out that setting org.gnome.desktop.interface can-change-accels to true with dconf ...
1
vote
1answer
71 views

Relation between emacs and bash terminal shortcuts [closed]

I would like to know what is the relation between emacs and bash terminal shortcuts.
3
votes
0answers
200 views

How to bind the Super-key to whiskermenu without breaking Super+Other combinations?

Coming back from Windows 7 I'd like two kinds of shortcuts to work at the same time: Pressing Win (a.k.a. Super) alone should open the whiskermenu e.g. for quick application launch Pressing Win + an ...