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
14 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
24 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
63 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
67 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
46 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
42 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
160 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
46 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
26 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
155 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
36 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
61 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
31 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
45 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 ...
1
vote
0answers
37 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
49 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 ...
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
60 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 ...
0
votes
0answers
22 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
103 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
78 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
48 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
72 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. ...
1
vote
2answers
68 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
321 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
68 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
181 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 ...
2
votes
0answers
119 views

Keyboard shortcut to switch focus without raising window

So right now I have 'focus follows mouse' enabled, and windows don't automatically raise on focus, which means I can have a window in focus that is partially behind another window. Now, when I use ...
1
vote
0answers
51 views

Media key shortcuts ceased to function

Recently (say within the last two months), some of my media keys have ceased to obey their assigned shortcut. Take, for example, Play. If I assign AudioPlay as the keyboard binding in the ...
3
votes
2answers
98 views

Latin characters on Mint - Alt key like Windows

How can I use Latin characters on Linux Mint? I've tried the alt key like on Windows but it doesn't work. I've searched and they say that alt doesn't work on Linux like on Windows. I've tried other ...
1
vote
1answer
118 views

how to bind commands like “Ctrl+C” to one-key (for example “F5”)?

I use some commands very frequently. Some of them are several keys combinations. And my fingers are not quite satisfied with them. So it looks usable for me to bind them to one-key commands. For ...
0
votes
1answer
32 views

Is there a shortcut for opening a terminal in the current folder in Thunar?

Is there a shortcut for opening a terminal in the current folder in Thunar? This can be done by right clicking, but is there a keyboard shortcut?
0
votes
0answers
32 views

Xubuntu: disable global hotkey

In my Xubutu 15.04 combination alt+ins binded by create new desktop operation. How to change this? I tried to check xfce keyboard settings, but alt+ins not found on list.
2
votes
1answer
240 views

Changing specific keys on Apple keyboard under Fedora 22

I'm trying to change some specific keys on my USB Apple keyboard running Fedora 22. Just spent three days searching for an answer and trying different solutions, I ended up using xmodmap and still ...
1
vote
0answers
54 views

How to disable UIM “cooked mode”?

A user on my machine has an xfce4-terminal open. This automatically starts a special character (think Chinese character) input method like UIM/SCIM. That means, some ordinary characters are not ...
0
votes
0answers
56 views

Black screen when pressing Windows + L

I've recently installed the Ubuntu-based "Elementary OS" alongside Windows 8, and I have a problem with the shortcut (Windows)+L. In the CLI I'm using at work, this is a shortcut to clear the ...
1
vote
1answer
103 views

Is there any file I can edit to change the keybindings of Enlightenment 19?

I would like to edit the keyboard shortcuts used by the Enlightenment window manager and I would like to do so textually by editing some text/XML file. Sort of like how I edit ...
1
vote
1answer
67 views

Easy way of mapping Ctrl+Shift+Alt+J to Down

I have an IDE called Intellij that I'm using on Linux to code Java applications with. I have the editor mapped to VIM keys, using the IdeaVim plugin. What I don't like is when I get a popup dialog ...
1
vote
1answer
72 views

How to access contextual menu in gnome 3 dash from keyboard?

My question is simple: How do I access the contextual menu from my keyboard inside gnome 3? I've seen other answers reffering to a menu key or button but not all laptops come with that button, mine ...
1
vote
1answer
288 views

remapping Caps Lock to Ctrl key in tmux

I'm a Linux beginner and using tmux 2.0 on CentOS 6.7(without X). How can I use Caps Lock instead of Ctrl in tmux?
3
votes
3answers
204 views

Key for the letter “o” stopped working, works only with Shift, Linux

A few days ago, I fund out that the "o" key n my keyboard doesn't work. I have seen a few similar topics with this problem, but none of them seemed to be solved. When I tap the key - nothing happens ...
2
votes
1answer
239 views

Use only left alt as modifier in i3wm?

Is it possible to set modifier only to left alt? I need to write special characters using right alt (or alt gr), therefore I would like not to have right alt bound to i3wm shortcuts. I've set mod ...
0
votes
0answers
42 views

How to steal keystrokes instead of just monitoring them?

I am writing a program that allows controlling the mouse through keyboard. The user is supposed to assign a hotkey to start the program, which runs in the background without GUI or CLI. The keyboard ...
5
votes
1answer
40 views

How do I *un*set an option in `xkbmap`?

I would like to disable the Ctrl-Alt-Backspace combination using a command line tool, without root priviliges. I know I can use setxkbmap to enable “zapping” with the option terminate:ctrl_alt_bksp. ...
1
vote
2answers
60 views

How to change pager key bindings

I'd like to swap RETURN (scroll forward N lines, default one window) and SPACE (scroll forward N lines, default 1) in less to get a for me more natural way to page through man pages. I saw years ...
1
vote
2answers
114 views

Find OS X terminal key combination/escape sequence for Ctrl-'

One of my Emacs keybindings is C-', which works well in GUI. In terminal however, it is not being recognised. I understand that I need to figure out the actual characters sent to the terminal by C-' ...
0
votes
1answer
70 views

Show uGet downloader window with click on tray-icon or shortcut

I like uGet multi-thread downloader in Linux. I use it with Flashgot addon in Firefox. But I miss the following feature: when it is minimized to tray, the only way I can make it visible is by right ...
1
vote
1answer
144 views

Set global xmodmap in Debian

I currently have xmodmap setup for my user so I can type certain special characters. However, this only applies to my user, and I need these characters to be type-able everywhere, for all users. Is ...