Stack Exchange Network

Stack Exchange network consists of 174 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.

0
votes
0answers
20 views

ctrl alt shift not working on external keyboard

using latest mint cinammon 64bit dual boot with windows. So, whenever i use my laptop regularly everything works fine, but when i try to use my external keyboard(when i use a bigger monitor etc..), ...
0
votes
1answer
9 views

Access primary register with keyboard

I’ve read this answer on superuser.com by grawity and part of the text “X Selections, Cut Buffers, and Kill Rings.” by Jamie Zawinski. I understand there’s the primary register: use the mouse to ...
0
votes
1answer
12 views

Tmux binding error `returned 127` in cygwin

I want to use a clipboard manager in tmux. It is the CopyQ, but it does not matter, I guess. In ~/.tmux.conf I set following binding: set-window-option -g mode-keys vi bind C-y run 'out=`tmux save-...
0
votes
0answers
20 views

What the KDE equivalent of the Microsoft Windows Alt+Space and Alt+'-' sequences?

Microsoft Windows enables you to activate a window's system menu using the Alt + ' ' key combination and do so for an internal window ie (MDI) via Alt + '-' combinations. It is a equivalent to ...
0
votes
0answers
15 views

How can I remap Left Control + ijkl to cursor keys

Based on this blog post, I'd like to use Ctrl + ijkl as cursor keys, without losing other common keybindings such as Ctrl + s, Ctrl + a, etc. Using xkb, is there a way to remap Ctrl + i, Ctrl + j, ...
0
votes
1answer
18 views

How to bind a keyboard shortcut in zsh to a program requiring stdin?

This is a follow-up to this question: I'm trying to create a keyboard shortcut for the terminal file manager ranger, in order to jump from the zsh prompt into the file manager with a single keystroke. ...
0
votes
0answers
10 views

Archlinux auto key bindings wlan special button

I am struggling with figuring out where are stored default special key keybindings. I have Lenovo T460s running ArchLinux and for instance backlight control and more particularly wlan on/of (X86WLAN) ...
1
vote
0answers
13 views

How can I add a keyboard shortcut from the command-line or by editing a file?

On Linux Mint, I would like to bind a shortcut key to run a command*. I have already achieved this using the GUI, but I need a way to define this keyboard shortcut from the command-line, without GUI ...
0
votes
0answers
7 views

Mouse shortcut to open a second instance of an application on Mint?

On Windows, if I want to open a second instance of an application, such as open another Chrome window or another File Explorer window, I can middle-mouse click on it in the task bar and a second (or ...
0
votes
3answers
43 views

Keyboard Expression Question Similar To (echo -ne '\015')

How do I express (Ctrl + a + d) to detach safely from a screen session in the same fashion as I would enter the key combination with my keyboard in the following fashion: (echo -ne '\015') I want to ...
0
votes
0answers
19 views

Cannot set keybinding with 4 keys (Ubuntu 18.04)

I'm trying to change move-to-workspace-up keybinding to Ctrl+Alt+Shift+Up combination but is just doesn't work. That's what I do: gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-up "[...
0
votes
1answer
42 views

How to start the LXQT launcher (lxqt-runner) with just the Super key?

Posted in order to give the answer (QnA). I have installed Lxqt desktop on top of Kubuntu 18.04. That means I can still use the krunner launcher of KDE/Plasma if I chose to, but Lxqt has its own ...
0
votes
0answers
24 views

How can I execute hotkey presses from a script in Gnome?

I am using Ubuntu 18.04 x64 (with gnome). I have a set of hotkeys set up to do various things like switch layouts. For example, in one work flow I arrange four terminals, one in each corner, and ...
0
votes
0answers
18 views

Can I shortcut elinks?

Is there a command that can be set to a keyboard shortcut to run elinks, or a way to set elinks as the default browser?
1
vote
2answers
34 views

How to bind. Tab solely = Tab, but Tab with other key = WinKey + other key

I want to remap my Tab key so when it clicked solely without any extra keys it will acts as Tab as usualy, but when I combine it with other keys like Tab+j it will behave like Win. TAB = TAB (pressed ...
1
vote
2answers
19 views

Keyboard shortcut to focus the file list in Dolphin?

When using Dolphin, I often end up with focus on the "Places" left-panel. Moving keyboard focus to the main file list is a horrible process, involving pressing Tab once per entry in the location ...
1
vote
1answer
36 views

Where are the Linux Mint xfce keyboard shortcuts saved?

I am currently running "Linux Mint 18.3 Sylvia" with the Desktop Environment "xfce4". Because I have to setup several PCs, I want to write a bash script, that configures the keyboard shortcuts for the ...
2
votes
1answer
49 views

Setting Shift + Spacebar + SomeLetter as an alternative for arrow keys

Is there any way to customize your keyboard to set Shift+Spacebar+SomeLetter as an alternative for arrow keys? When editing text, I either use a mouse or arrow keys to take the cursor to a particular ...
0
votes
1answer
32 views

Invalid key bindings after upgrade to ubuntu 18.04 from 16.04

I need a shortcut Alt + 1 in Intellij IDEA but after Ubuntu upgrade it results into Alt + plus. However other numbers like Alt + 2 behave as expected. And hitting 1 indeed results into writing 1 in ...
0
votes
0answers
10 views

Keyboard shortcut to open new terminal in new window not working in classic Gnome

I login to my profile using gnome 3. I have set the keyboard shortcut there to open new terminal in new tab as Ctrl+alt+n and when I apply this shortcut it opens a new window terminal from desktop. ...
0
votes
0answers
9 views

How do I map control-[ to escape for all X applications

In the terminal and vim, control-[ (left bracket) are synonymous with the Escape key, and I've gotten very used to this, so I would like to have this mapping for all my X applications. How do I do ...
0
votes
0answers
18 views

how can i create a keyboard shortcut that uses Right CTRL key?

I want to create custom shortcut using Right CTRL key (like RControl + P to launch Pinta). But keyboard settings in GNOME recognize both CTRL keys as 'Ctrl'. I am running Debian 9 stretch(kernel 4.9.0-...
2
votes
1answer
21 views

How to override the copy-mode behavior of the Home and End keys in GNU Screen?

I use screen a fair amount and would like the Home and End keys to simply go to the beginning or end of the current line, rather than the default, which is to go to the global beginning or global end ...
3
votes
2answers
39 views

.zshrc shortcut working on Arch but not Ubuntu

Helllo everyone, I use the zsh shell as default shell on both Ubuntu and Arch. I configured a shortcut (the up arrow) to autocomplete from history in my zsh shell, using the following line in my ....
1
vote
0answers
16 views

Keyboard layout changes on change of focus at KDE

I have a Debian 9.5 (stable) with KDE and i've binded three commands to three different global shortcuts with System Settings -> Shortuts setxkbmap -model pc104 -layout us setxkbmap -model abnt2 -...
0
votes
0answers
9 views

Can't switch layout with Win + Space after enabling extra typographic characters

I'm not sure if it is Mint specific (Mint 19, Cinnamon), but after enabling extra typographic characters feature in keyboard settings I can't switch layouts with hotkeys. I tried left win, shift + ...
0
votes
0answers
21 views

How setup keyboard layout in GRUB2 Shell with sabayon

I have an Italian keyboard and I want setup the right keyboard layout in grub shell. I found many tutorials online that make use of grub-kbdcomp or grub-mklayout, but those commands doesn't works on ...
2
votes
1answer
54 views

Cycle through open windows in gnome3 workspace without minimizing

Is it possible to cycle through open windows on a specific gnome3 workspace while showing the windows in their original size, similar to Alt-Esc in MS Windows? I'm aware of the window picker (Alt-Tab)...
0
votes
1answer
44 views

How to access agetty terminals (e.g. TTY2, 3, 4, etc.) from QEMU VM

In my QEMU virtual machine (started with qemu-kvm -boot d arch-freebsd.img -m 4096) I'd like to access an agetty terminal, which I'd normally access with Ctrl+Alt+F2 (or F3 if I need tty3, F4 if tty4, ...
1
vote
1answer
26 views

xmodmap: remapped Control_L not working for copying and pasting

After spending hours, I found that xmodmap can be used to remap / key to Left Control key. I used following command: $ xmodmap -e "keycode 94 = Control_L NoSymbol Control_L" Using xev, I find that ...
1
vote
0answers
21 views

Is there a way to scroll to the previous input method in fcitx?

In fcitx one can set shortcut to scroll to the next input method (e.g. Ctrl + Shift). However, sometimes I need to switch constantly between two adjacent input methods (e.g. Chinese and Japanese), ...
1
vote
0answers
44 views

Why Tab can't be modified with ISO_Level3_Shift

I am using a 40 key keyboard called daisy, I want to have a consistent layout of all my keyboards. The tab can't modified to other keys is kind a waste of resources. The relevant part in .Xmodmap is: ...
4
votes
1answer
92 views

How to delete one word forward in bash? [duplicate]

Delete one word backward: Ctrl + w Delete one word forward: ? Can anyone answer the above or do I need to add a command to stty as I can see by running the following command: stty -a that the ...
0
votes
1answer
45 views

CentOS 7 escape key mapping?

I reinstalled a bunch of GNOME packages for my CentOS 7 desktop and it fixed several issues I was having but now I'm having some weirdness with the escape key. Basically I press the escape key and it ...
0
votes
1answer
47 views

How to make a custom keyboard shortcut for Applications Menu in Debian 9 Stretch

I was looking for a keyboard shortcut to see all Applications and found the answer and thought somebody new to Debian 9 Stretch might find it useful, too. For reference, this is what I googled: linux ...
0
votes
0answers
79 views

Xfce: Can't copy from Terminal

I can't copy text from my Xfce Terminal (0.4.7) into the clipboard nor directly into the command line. I've tried: Middle mouse button Ctrl+Shift+C Ctrl + Insert Right button and clicking copy (this ...
0
votes
0answers
13 views

What is the relationship of xmodmap and /usr/share/X11/locale/en_US.UTF-8/Compose?

I'm confused on what exactly /usr/share/X11/locale/en_US.UTF-8/Compose is for and how it relates, if at all, to xmodmap. Could someone enlighten me? My Right-Alt is the Mode_shift key and if I ...
1
vote
1answer
37 views

Is there a system-wide way to prevent Num Lock?

My keyboard is configured such that Num Lock replaces certain alphabetical keys with numbers when Num Lock is on. There is also no Num Lock indicator light, which makes Num Lock cause confusion when ...
1
vote
1answer
27 views

Detecting keyup

If I type: $ xinput test 14 and press and hold return, I get: key release 36 key press 36 key release 36 key press 36 ... until I release. Questions Is it possible to detect when I ...
0
votes
0answers
17 views

Can I bind ⌘ + key to an action on tmux? [duplicate]

I want to bind the key including ⌘ to some actions on tmux. For example: bind -n C-d if-shell "$is_vim" "send-keys C-d" "select-pane -L" In the binding above, which is triggered by ⌃ + d, I rather ...
0
votes
1answer
20 views

Shortcut to move window away to other workspace (stay focused on current workspace)

Is there a way to create a keyboard shortcut for moving a window away to another workspace and remaining focused on the current workspace (so not the default behavior of "move window one workspace ...
6
votes
1answer
182 views

Keyboard shortcuts in the virtual terminal

Is there any way of configuring keyboard shortcuts in the Linux virtual console? For example, if I go to tty1 then press the key combination Ctrl+Alt+H, I would like the script /usr/bin/hello.sh to ...
0
votes
1answer
46 views

open FIND dialogue in Yakuake with shortcut

Is there some way to set a keyboard shortcut to open the search/find dialogue in Yakuake rather than righclick->Find? I can't find one for the life of me and opening the dialogue with the mouse each ...
0
votes
0answers
37 views

How to remap Caps_Lock to F12?

I tried these: First I tried with xmodmap clear Lock keycode 66 = F12 but the issue is that it would reset my custom mapping after every reboot or log out. Therefore I had to run the command ...
0
votes
1answer
29 views

Why ctrl+x+e is not working?

I've added setenv EDITOR gvim to .cshrc, but still no able to run ctrl+x+e to launch editor from terminal command line.
2
votes
2answers
95 views

tmux alt meta zsh shell binding

I have following custom zsh keybindings for the alt (meta) + left and right arrow key withi os x Iterm2 and +Esc setting for meta bindkey "^[^[[D" backward-word bindkey "^[^[[C" forward-word This ...
0
votes
1answer
50 views

xedit: ctrl-underscore key combination is numb

I've got a Dell Latitude and eventually use xedit under cygwin-X (and via ssh -X also on Linux machines). I need the CTRL-_ key to undo edits. That key combination is recognized by e.g. xemacs (for a ...
1
vote
0answers
63 views

xfce Super _L shortcut disable others 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 + →...
3
votes
2answers
188 views

execute command to swap caps lock and ctrl at startup

I'm a bit puzzled why this is not working as intended. My goal is to map the caps lock key to control. I'm using debian. For this I'm using the following command /usr/bin/setxkbmap -layout "$(...
0
votes
1answer
243 views

How to make shortcut in Deepin to open an application that is on the dock panel?

In Windows, there is a shortcut to open the application that is on the dock panel. For example, Super + 1 opens the first application, Super + 2 - second and so on. Is it possible to do so in Deepin?