Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [keyboard-shortcuts]

Questions about how to run a program or other operating system function when a given combination of keys is pressed.

6
votes
0answers
5k views

Enable Alt+Ctrl+t to open a terminal in LXDE

How can I enable shortcut Alt + Ctrl + T to open terminal on Debian in LXDE? I found that this is possible to define in rc.xml file. In LXDE webpage I found message: How do I define LXDE settings ...
5
votes
0answers
2k views

Mate custom shortcut for keyboard layout in Linux Mint 18 (Sarah)

Coming from OSX and Windows 7, I want to try to keep the same keyboard shortcuts so that I do not get confused when I switch between them. I have mapped the CTRL key in Windows 7 and Linux Mint to be ...
5
votes
0answers
289 views

Method to convert simultaneous key chord / letter key combo into another key?

I'm looking for a method to make simultaneous key presses trigger another, e.g. for the keys W, E, F, pressed simultaneously, to trigger another key press, say, Ctrl+Alt+Esc. My ultimate goal (in ...
4
votes
0answers
104 views

zsh keybinding: ignore given command in insert-last-word

In zsh, I have alt+. bound to insert-last-word. When I press alt+., I can list through the last word of previous commands. How can I exclude some words from being shown when I cycle through ? ie, ...
4
votes
0answers
703 views

Bluetooth headphones pause/play button not working

I've been trying to get the pause/play button on my headphones working (Plantronics BackBeat Pro 2) with my laptop running Manjaro 17.1.10. They also have Next and Previous buttons which work ...
4
votes
0answers
508 views

How to remap an existing keybinding in Zathura

After reading the man zathurarc for the map command, I still don't know how to remap an existing keybinding. By "remapping", I mean replacing a current keymapping for a given action. Problem: <C-...
4
votes
0answers
442 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 ...
4
votes
0answers
222 views

Dead keys maps missing in certain programs only

I cannot use ^ with certain programs. I'm working in KDE on OpenSUSE 13.1 64b. ^ works as a dead key in Konsole, Firefox, Chrome, Gvim. ^ has no effect (pressing ^ then a just inserts a) in Xterm, ...
3
votes
0answers
150 views

Remapping apple keyboard modifier keys with xkbOptions

I want to remap my apple keyboard's keys so that just to the right of the spacebar I have a key that acts as Ctrl and to the left of the spacebar I want the first button to acts as alt/meta and the ...
3
votes
0answers
340 views

Define Command-C as copy and Command-V as paste global in debian

I'm running Debian 9.3.0 in VirtualBox on macOS 10.13.3. I want all applications in debian to interpret Super+C as copy and Super+V as paste, as they are defined in macOS. Note: debian calls the ...
3
votes
0answers
649 views

Is it possible to bind a key shortcut to another key shortcut using Xbindkeys?

What I'm trying to do is to pre-configure a Logitech G602 assigning a specific key combination to each configurable button (G6, G7, G7 etc...) The only way to do that is on Windows (to save the key ...
3
votes
0answers
248 views

How to rebind key in Awesome WM to other key?

I want to implement the simplest functionality possible - remap key a to t. In my rc.lua I have following lines: function myremapp_ress() root.fake_input('key_press', "t") end function ...
3
votes
0answers
233 views

how to disable keyboard on debian 9 with shortcut?

I want to know if it's possible to configure Debian 9 to dedicate one key on the keyboard to disable the the rest of the keyboard. I'm trying to watch something and my cat keeps walking on the ...
3
votes
0answers
1k views

tmux select window with Alt<number>

In tmux to select a window, the default behavior is C-b <number>. I would like to avoid the prefix by using alt+ for a faster selecting. I did it for the next and previous window, and it works: ...
3
votes
0answers
100 views

Customized keyboard shorcuts with gnome-shell

I would like to customize some keystrokes in gnome-shell and I have two problems: I would like to have Shift+Enter launch Emacs but gnome-shell doesn't want me to use this shortcut. How can I ...
3
votes
0answers
126 views

GNOME 3 two keyboard shortcuts for the same action

I would like to have two keyboard shortcuts associated to the same action. Is it possible to use a list of shortcuts for that? I get a single value/shortcut if I execute: $ gsettings get org.gnome....
3
votes
0answers
112 views

Linux console Shift + PgUp not working anymore

I run Fedora 24; I use to run "dnf update" from a console window (Ctrl+Alt+F3 virtual console, not an X session) so I know the Shift+PgUp/Down shortcut to scroll the window usually works, but today it ...
3
votes
0answers
418 views

Ctrl+Delete and Ctrl+Backspace shortcuts

TL;DR How to configure global environment shortcuts in KDE Plasma 5 on GNU/Linux for Ctrl+Backspace and Ctrl+Del to delete only whitespaces and new lines in all GUI applications which do not override ...
3
votes
0answers
84 views

How can I stop using setxkbmap groups from snagging modifier keys?

I have several different keyboard maps that I can switch between to my heart's content using: setxkbmap dvp Then when I want another one: setxkbmap ptf Etc. This works, but I'd rather use the ...
3
votes
0answers
211 views

alt-shift toggles keymap when part of a shortcut

I have two xkb layouts, and use Alt+Shift to toggle between them: setxkbmap "fr,us" -option grp:alt_shift_toggle However, when I press a shorcut which contains Alt+Shift, the shortcut isn't taken ...
3
votes
0answers
1k 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 ...
3
votes
0answers
77 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 ...
3
votes
0answers
602 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 ...
3
votes
0answers
246 views

vim arrow keys insert mode mapping

I want to move the cursor without using arrow keys in insert mode too. I've tried the following: :imap <A-h> <Left> but after moving cursor left by Alt-H from insert mode I get back to ...
3
votes
0answers
597 views

Custom key combinations in dwm

I have some custom key combinations in config.h, which work great. I just got a 60% keyboard, and would like to configure the arrow keys to work Vim-like ¨hjkl¨, instead of the combination with FN + ...
3
votes
0answers
1k views

Keyboard key is not recognized even with showkey

I am using Ubuntu 12.04, in a laptop that I carry around and use with different physical keyboards (as I don't feel comfortable with laptop keyboards) For one of those keyboards (Dell SK-8135) the ...
3
votes
0answers
232 views

Behavior of ALT in Qt5 applications

I work in Arch Linux 64bit with both English and Hebrew keyboard layouts available, using Alt+Shift to change between them. I recently noticed that when I work in Texmaker, which is a Qt5 application,...
3
votes
0answers
396 views

replace menu key with capslock and capslock with left control using xkb

I followed the instruction here by defining my own xkbsymbols (Use setxkbmap to swap the Left Shift and Left Control) partial modifier_keys xkb_symbols "replace_Menu_Capslock" { replace key <...
3
votes
0answers
79 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 ...
3
votes
0answers
116 views

Make Compose not compose after certain key presses

On my laptop, I use the Win as a modifier. With the Fn key pressed, the key sends a different keysym and I use that as a Compose key. keycode 133 = Hyper_L keycode 134 = Multi_key add mod4 = Hyper_L ...
3
votes
0answers
212 views

Awesome GNOME recognizes my media keys but fails to act upon them

I'm using Awesome GNOME. When I log into the GNOME Shell, my up and down volume keys work. When I login to Awesome GNOME, they don't. However, when I go into gnome-control-center to set them, the ...
3
votes
0answers
2k views

How to write dconf overrides for site-custom keybindings?

I want to add custom keybindings using dconf. Previously, I had do the same job using gconf and succeeded. However, there are some problems using dconf. (I'm working on a Debian package, so file-...
3
votes
0answers
771 views

How to use Sony VAIO buttons to lock the screen?

I have a Sony Vaio VPCEG laptop, like this. I'm using Lubuntu 11.10. I'd like to use those 3 buttons (Assist, WEB and VAIO). They work with Windows 7, to recover the system and to open the browser. ...
3
votes
0answers
63 views

Keyboard-only captioning in digikam

In digikam 2.5.0, is it possible to caption a series of photos using only the keyboard? If yes, how?
3
votes
0answers
591 views

How to map a complex multi-key combination into a shortcut to execute a process, in X (across WMs etc)?

I am wondering how can I make a complex multi-key combination like say, Ctrl+Alt+T into a shortcut to execute me a process,xterm for instance? The important caveat is that I want it wired into either ...
3
votes
0answers
159 views

How can I prevent Control+Alt+D from logging me out (of Gnome 2.22 on Debian 5)?

I was using Emacs, and typed Ctrl+Alt+D in order to run Emacs' "down-list" command. I was dismayed to see, however, that I was instantly logged out; I assume this is some Gnome keyboard shortcut. I ...
2
votes
0answers
43 views

setxkbmap -layout us,pt doesn't work

I'm using i3 and imported some keybinds from another user that has the US keyboard. From the i3 forums, the easiest way to do this would be to do: setxkbmap -layout us,pt ..... This solution seems ...
2
votes
0answers
253 views

xfce Super shortcut disable Super+* shortcut

I assigned Super + ← and Super + → to tile window on left or right. It works. I assigned Super to open whisker menu (xfce4-popup-whiskermenu) It works but Super + ← and Super + →...
2
votes
0answers
133 views

How do I list commands associated with non-custom desktop keybindings?

I already know how to determine the command associated with a custom desktop keybinding (keyboard shortcut) in relatively recent Linux Mint versions running the Cinnamon desktop environment. My ...
2
votes
0answers
44 views

Diagnosing and Troubleshooting keyboard shorcut issues

I am currently having trouble setting up some keyboard shortcuts, specifically the 'super' key. I am using Linux Mint Mate 18.2 and when used on its own the super key opens my menu bar. Here I can ...
2
votes
0answers
53 views

Synergy One-to-Many Keymapping

Overview I'm trying to map both Ctrl and Alt on Ubuntu to Cmd on MacOS. Progress So far, I have only been able to map Ctrl or Alt, but not both. Attempted Strategies In my .synergy.conf on the ...
2
votes
0answers
64 views

How to make xcape work in ssh session

I would like to have CapsLock behave like Ctrl when combined with another key and Esc when pressed without combination. I have added to my local machine's .zshrc: /usr/bin/setxkbmap -option 'caps:...
2
votes
0answers
73 views

How to set active keyboard language via a command?

I use OpenSuse with LXQT. I have three languages switched by CAPS LOCK - us,ua,ru I want to create a shortcut to switch English without pressing CAPS LOCK. So when I press a key combination, the ...
2
votes
0answers
23 views

Use English locale for keystrokes with modifiers

In my Linux system, I use English, Russian and Ukrainian locales. Because the latter two are non-latin (cyrillic), my hotkeys don't work with these locales. Is it possible to always interpret keys as ...
2
votes
0answers
72 views

change Decr_console/Incr_console to other key combination

I have just migrated to Debian 9. It turns out that Alt+Left/Right switches to another virtual console (Decr_console/Incr_console) which prevents me from using this key combination in emacs' ...
2
votes
0answers
31 views

Use media keys to switch keyboard layout

I have a keyboard with a whole lot of media keys and hardly use any of them but for volume - so how do I set some of them to switch between layouts? E.g. use "next track" to switch to Russian, and "...
2
votes
0answers
37 views

Vim no shortcut delay while still using shortcuts

I would like to use <BS><BS> to delete an entire word, however I do not like the small delay after pressing <BS> once to delete a single character. Is it possible to immediately ...
2
votes
0answers
263 views

Shortcut of mouse's right-click (Shift f10) does not work in some applications

I know that the shortcut of mouse's right-click is Shift+F10. I use it frequently in libreoffice, and I also try it in applications such as Firefox. However, in some case as in Texmaker, when I ...
2
votes
0answers
239 views

Key combo to Abort accidental massive paste-into-terminal mistake

Due to the vagaries of virtualbox's clipboard I ended up pasting a huge logfile into the terminal instead of a small snippet of text. At this point, as the log file contains many newlines etc. it ...
2
votes
0answers
296 views

Rebinding Ctrl-Tab

I wanted to rebind default Ctrl-Tab/Ctrl-Shift-Tab behavior (Next/Previous) to something else: (Super-H/Super-L), but I can't find the best way to do that. Looked all over in dconf editor, it's not ...