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
1answer
40 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
29 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
31 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 ...
2
votes
1answer
69 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
28 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
15 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
25 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). ...
2
votes
1answer
49 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
27 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 ...
2
votes
1answer
40 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
46 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
46 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
180 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
47 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
101 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
76 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
24 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
51 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
85 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
26 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
22 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
141 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
38 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
38 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
52 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
61 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
51 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
140 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
115 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
108 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
36 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
36 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
57 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
77 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
51 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
81 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 ...
2
votes
1answer
16 views

Is it possible to use two characters (e.g. ^tm) in insert mode in zsh for a command binding?

in my current .zshrc file I have bindkey -M viins -s '^tm' '^[Iman ^[Ela ^[d$' and this doesn't work, however when I remove m from the shortcut and it is now only ^t the shortcut is working. I'd ...
1
vote
1answer
98 views

How to use Ctrl-Insert to copy from XTerm?

In applications like Firefox Ctrl-Insert and Shift-Insert work like Ctrl-c and Ctrl-v (modifying the secondary clipboard), but in XTerm they do not work like the common Ctrl-Shift-c and Ctrl-Shift-v: ...
1
vote
0answers
10 views

Shift +Menu as a hotkey in KDE

In KDE environment I have set Menu button as a hotkey for switching language layout. But it does not work when Shift is pressed. So I need to set Shift+Menu as another hotkey for changing language ...
6
votes
1answer
55 views

How to revert from searching to original command

Following the instructions here, I edited by .bash_profile to enable the up and down arrows to autocomplete what I have typed in the shell based on previous commands. I added to my .bash_profile: # ...
2
votes
2answers
33 views

Inverting FN keys

My notebook is equipped with one of those fancy multimedia keyboards where you have to hold the FN key in order to use the classic function keys (F1-F12). Is it possible to invert this behaviour in ...
2
votes
1answer
47 views

Failed to disable shortcut on ubuntu14.04 and debian8

I used: gsettings set org.gnome.desktop.wm.keybindings switch-applications "[]" gsettings set org.gnome.desktop.wm.keybindings close "[]" to disable Alt+Tab and to disable Alt+F4 respectively. In ...
0
votes
1answer
58 views

Is CTRL+4 equal to ^4 or ^$ in caret notation?

This is a problem I have been thinking about. This Wikipedia page suggests that Ctrl+{Symbol} uses the shifted variant of {Symbol} when written in Caret notation. This suggests that CTRL+\ becomes ...
1
vote
0answers
19 views

How to force the X server to produce a specific keysym and state?

I have a Macbook which I want to map the right "command" key (also known as Super_R, RWIN) to AltGr. The reasons I want this is due to how a normal Norwegian keyboard has its square bracket keys and ...
1
vote
1answer
44 views

I cannot use the keyboard shortcut <ctrl>+<alt>+<enter> in matlab running in emacs running in screen

In my usual setup, I use use matlab-emacs to run Matlab through the emacs gui. I run matlab and emacs on a linux server, and use ssh and X forwarding so this all shows up on my local ubuntu laptop. ...
0
votes
0answers
334 views

make shortcut for changing keyboard language in kali

I'm new in kali and I set two keyboard language (English and Persian) I can switch to Persian by pressing the little logo rigth top of desktop but I want to have a shortcut. what shoud I do ?
2
votes
1answer
81 views

Debian/Xfce: Keyboard shortcut for home and end keys

I'm running xfce4 on debian. I'd like to assign keyboard shortcuts for the home and end keys (specifically, to move the cursor to the beginning and end of a line). In the settings manager there is a ...
2
votes
1answer
64 views

Access the GNOME shell aggregate menu per keyboard

Is it possible to access the aggregate menu, or system menu, located in the top right corner on the activities bar of the GNOME shell interface, with a keyboard shortcut? If not, can such a shortcut ...
0
votes
1answer
45 views

Is there a way to log key presses under linux?

I am a heavy Vim user and I also use a ton of tmux and a load of bash in my everyday computer activities. In order to optimize my work flow, even more, I would like a way to get a log of all key ...
1
vote
1answer
145 views

What are the keyboard-shortcuts for Matchbox window manager?

There doesn't seem to be anything related in the man pages for the matchbox executables. Googling & SO'ing has not led to me to anything, either.