Questions tagged [keyboard-shortcuts]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
13 views

How do I disable the menu access shortcuts in xfce4-terminal?

In xfce4-terminal, the Alt key with a letter of one of the menu items is a shortcut for entering that menu item: Alt+F for File, Alt+E for Edit, and Alt+A for Tabs. How do I change this behaviour? I ...
0
votes
0answers
30 views

VIM - do not delay mapped keys with common prefix

What I want to do is have two mappings. One mapped to <s-k>, and one mapped to <s-k><s-k>. What happens right now is that if I press <s-k> vim delays for timeoutlenms, and if ...
0
votes
0answers
6 views

How can I display available rtorrent keyboard commands/actions from within rtorrent?

rtorrent can be a useful tool, but I always forget the keyboard shortcuts for the commands I want. If I were on the command line, I would pass in -?, -h, --help or some such flag to see usage info. ...
0
votes
1answer
30 views

Can I rebind Ctrl-C to do the same as ESC in readline?

I have started using vi mode in bash (set -o vi), and my laptop has no escape key (stupid touch bar…) so its annoying to leave insert mode on the command line. This got me thinking that in Vim, I ...
0
votes
1answer
9 views

Highlghting with Shift+Home and Shift+End do not work correctly on Manjaro KDE on a Laptop Keypad

When using a laptop keypad, using the numlock key to enable Home and End does not allow for highlighting. For example, when trying to highlight the sentence: "This is a test sentence." Using Shift+...
1
vote
1answer
63 views

What is the function of the keyboard shortcut Ctrl+Y under Linux?

Below is excerpted from a well-known professor's site: Some signals cause a process to stop: SIGSTOP (stop!), SIGTSTP (stop from tty: probably ^Z was typed), SIGTTIN (tty input asked by ...
1
vote
1answer
33 views

How to use “3rd level of Caps Lock” as a compose key on Linux Mint 19.3 (based on Ubuntu 18.04)?

I'm trying to set up a convenient compose key to use for practicing Greek in duolingo. But, I don't want it to mess up my normal use of my laptop. I'm a developer by trade and use pretty much all of ...
1
vote
0answers
29 views

Sticky keys problem on Debian

For quite a while now, I have installed on a Dell latitude 3340 a Debian Wheezy distribution which I recently replaced with a Debian Buster. On these two versions of Debian I have encountered (and ...
0
votes
0answers
14 views

URxvt: get list of default keybindings and command names referring to them

I need to get list of all URxvt default keybindings and command names referring to them. Example: URxvt.iso14755 → Ctrl+Shift+C, URxvt.iso14755_52 → Ctrl+Shift+V
0
votes
0answers
9 views

xmodmap: set Alt keys to simultaneously behave as normal Alt and as level chooser

I'd like to know if it's possible to set both Alt keys to behave simultaneously as Alt and as the third-level chooser (AltGr). I've mapped several special characters I often use under some combination ...
0
votes
1answer
23 views

How to map keyboard key to run a console command?

I have this cheap bluetooth multimedia controller with 5 keys (play, prev, next, vol up, vol down). It's all connected and key presses are recognised: [root] [~] # showkey kb mode was UNICODE [ if ...
0
votes
0answers
30 views

Simulate keyboard input using mouse

I'm using Linux Mint pretty much straight out of the box. Is there any way to remap my mouse so pressing both buttons simultaneously simulates typing a text string on my keyboard? Specifically, what ...
0
votes
0answers
15 views

How to make sure a keycode is unused and does nothing?

I use bspwm and want to be able to move stacked windows with mouse without having to press pointer_modifier. The only workaround I can think to this is make a unused key be constantly pressed, and ...
0
votes
1answer
7 views

Getting meta to work with the carpalx-full console keymap

In the Arch Linux console, M-b (alt-b) moves back one word with the default us layout, but after loadkeys carpalx-full, it doesn't (b is now at y). Why not? I have looked at the keymap files, but ...
1
vote
0answers
31 views

script run via keyboard binding does not write to file

Following bash script interprets text in an image file and writes to a .txt file. #!/usr/bin/env bash LD_LIBRARY_PATH="/usr/local/lib" export LD_LIBRARY_PATH /usr/local/bin/tesseract /home/martin/...
0
votes
1answer
69 views

Ctrl-P in command line not working as expected

When I use the Ctrl+p key binding (I use the default emacs key bindings) on my command line, it sometimes works as expected, showing the previous command that I've run. I'm using the bash shell on ...
0
votes
1answer
69 views

Anydesk connect Linux to Windows and transmit super key

I have Anydesk installed on both my Windows 10 desktop and Linux Mint laptop. Whenever I connect to Linux from Windows, the Windows key is transmitted perfectly. Whenever I connect from Linux, the ...
0
votes
0answers
13 views

How to remap a key to another key + control modifier in gnome Xorg?

Long story short, I like Emacs keybindings, what's great about them is that they can also be used in the terminal (e.g. CTRL + b to place the caret one character behind the current position). I wish I ...
1
vote
1answer
39 views

How to configure hotkeys to release focus with qemu / virt-manager

I'm using virt-manager on a Linux Mint 19.2 system to run a Windows 10 guest in qemu/kvm. For video, I'm using splice/ qlx. I can release the focus by pressing the left ctrl + left alt keys together. ...
1
vote
0answers
35 views

How can I change CMD to CTRL in Linux Mint only in Terminal?

I installed Linux Mint on my MacBook Air, and I prefer to use Cmd for copying/pasting, opening and closing windows, and general things like that. However, I would like to use Ctrl to input to the ...
1
vote
1answer
33 views

Rebinding reverse-search-history in bash

reverse-search-history is bound to C-r by default. One can type C-r to start the search, and then type C-r again to jump to an earlier match. I have bound reverse-search-history to \er (Alt-r). This ...
2
votes
0answers
15 views

Toggle capslock with command

I'm trying to enable capslock with a console command, is there a possibility to do so? I found setleds +/-caps but that only works in a non-graphical environment sadly. Any help is appreciated, ...
1
vote
0answers
23 views

Change Key's Function If Held (Tab>Super;Apostrophe>CTRL)

I'd really love tab and apostrophe to work as they are supposed to, but then change to Super and Ctrl respectively when held. If I can figure out how to do this, I'm gonna be doing it all over my ...
1
vote
1answer
56 views

What is alt-n used for in bash?

Alt+n returns a : and apparently is for forward-search, but how do you use it?
0
votes
0answers
20 views

Bind key combo to a mouse button

I would like to bind a key combination Ctrl+1 to a mouse button. Here is how I tried to do it with xbindkeys: "xte 'keydown Control_L' 'key 1' 'keyup Control_L'" b:9 This doesn't work as expected ...
0
votes
0answers
14 views

Keyboard autocorrect function to catch common typos?

I find myself making the same errors repeatedly on my Dvorak Keyboard. For example instead of typing: I'm It comes out as I"m because my finger lingers on the shift key. This is similar to typing ...
1
vote
1answer
30 views

How to bind a key combination to null in .inputrc?

You can bind keys like Ctrl-Left and Ctrl-Right in .inputrc like this: # Ctrl-Left "\033[1;5D": backward-word # Ctrl-Right "\033[1;5C": forward-word How would I bind Ctrl-Up and Ctrl-Down to nothing?...
1
vote
1answer
32 views

Mapping ctrl+shift+something to do something in zsh with urxvt

For example in my .Xresources I have a line URxvt.keysym.Control-Left: \033[1;5C. I don't know very well what \033[1;5C means, but by having bindkey "^[[1;5C" forward-word in my .zshrc it allows me ...
1
vote
0answers
11 views

What is the difference between “find next” and “next completion match”?

I'm trying to understand these two KDE Standard Shortcuts so I can set them properly and their descriptions in the documentation aren't helpful. In what situations would "find next" be different from "...
2
votes
1answer
36 views

Why doesn't Esc-[ scroll left in `less`?

According to the manpage for lesskey, the following keys are bound to left-scroll and right-scroll: \e[ left-scroll \e] right-scroll \e( left-scroll \e) right-scroll \kl ...
0
votes
0answers
7 views

How to turn a non-bindable key into a bindable one?

I'm talking about the Menu (keycode = 135) (aka Right Click), I don't use it So I disabled its contextmenu action with Xmodmap tool, now it doesn't open the menu and still working for keyboard ...
-1
votes
1answer
41 views

What Popular Programs Use GNU Readline?

I was reading about key-bindings in Bash. They seem to be based on Emacs but offer the ability to switch to vi based ones. You can do set -o vi in your .bashrc to effect Bash, but I saw there was ...
1
vote
0answers
75 views

XKB Error: Couldn't lookup keysym Symbol interpretation ignored

I have someone's XKB file binding Caps + uhjk to arrows (here is the file https://gist.github.com/AlexP11223/945e24fdc07ae8b093ef939b46d30b64 with diff from the original). Now I am trying to bind Caps ...
0
votes
0answers
24 views

Shell(zsh) variable to define the breaks ctrl+arrow jumps to

I could of swore that I once saw a zsh environment variable that allows you to define the breaks or punctuation that will be used to jump to when using the shell shortcuts Ctrl+RightArrow (move ...
1
vote
1answer
73 views

Setting new key bindings in ZSH removes default ones

I've added following code at the end of my .zshrc: export VISUAL=vim autoload edit-command-line; zle -N edit-command-line bindkey -M vicmd v edit-command-line When I restart the shell, it works ...
0
votes
0answers
32 views

Evince: Custom keyboard shortcuts to highlight text with different properties

I regularly read pdfs and annotate them. I use three types of annotations: highlight (yellow), underline (red) and note. With Okular I can select the type of annotation easily, that is with a keyboard ...
1
vote
1answer
29 views

There is a high priority keys combination for the opening terminal in Linux if UI is hanging on?

Several times I've run into with the problem of Ubuntu hanging when a memory leak happens in some application process (Chrome/Sublime/etc.). As a result, the keyboard and mouse stop reacting. I even ...
1
vote
2answers
108 views

KDE: Prevent kglobalaccel5 from starting

kglobalaccel5, a keyboard shortcut service, keeps chrashing and taking the whole session down with it. Apparently, it has been unstable for quite a while. I don't really need the shortcuts, so killing ...
3
votes
0answers
33 views

Cut Paste shortcuts issue

I hope to get some help here. I really don't know how to tackle this issue that I'm experiencing in the last days. In the last few days, ctrl+c and ctrl+x work randomly in every application. For ...
2
votes
1answer
52 views

Multimedia keys and wine

I run AIMP audio player with wine and can not use special multimedia keys like play/pause, next/prev. IS there any way to make them work with wine? For example: Fn+F9, Fn+f10, Fn+F8...
1
vote
2answers
37 views

Keyboard shortcuts in CLI as aliases or scripts

Is it possible to take a keybind/keyboard shortcut and turn it into a CLI command or integrate that keybind/keyboard shortcut into a script that can then be executed in BASH? I know this would be ...
0
votes
0answers
65 views

Release modifier keys after using xdotool

I use the following command in a bash script file: xdotool type --clearmodifiers $(xclip -o -sel c) I invoke it with a shortcut such as CTRL+SHIFT+e The action works as expected. However, after it ...
1
vote
1answer
31 views

Map right alt to left arrow on MacBook Pro with Kali Linux

I’ve just created a Kali Linux partition on my MacBook Pro. On Mac OS I used Karabiner Elements to remap the right alt key to left arrow because my real left arrow key is broken. Now I want to do the ...
0
votes
0answers
50 views

Keybindings: Mapping them from keyboard to application?

I would like to understand the mapping of keys from Mac OSX to end applications. What are the mappings, configuration and diagnostic tools at each point for these inferences? Does the provided step ...
0
votes
0answers
7 views

key bindings for Interrupting and then re-executing previous command

I want a keyboard shortcut (binding) that can step 1) interrupt the foreground process (/C-c) step 2) re-execute the previous process in history (/C-p/C-m) But i am not able to do it, probably ...
0
votes
0answers
50 views

How do I map laptop “media keys”?

This is a fairly basic question from a noob perspective. I am on Linux Mint 19.1 Cinnamon and want to change some of the keyboard shortcuts. (My laptop has a number of "media keys" on the same keys ...
0
votes
1answer
17 views

Linux Mint, Backspace Key and open two steps parent directory

I have a weird problem that I can not figure out how to solve it. When I press the backspace at caja (Mate Enviroment), the current director goes up not one step parent directory, but two steps. Ex. ...
1
vote
0answers
143 views

How do you unsplit all split panes in tmux?

In short, I'm looking for the tmux equivalent to the gnu screen 'only' command (Controla, Q). In gnu screen I will often split the window any number of times, then when I'm done and want to go back ...
2
votes
0answers
32 views

Key binding to swap shell foreground/background jobs

In spite of heavy tmux use and switching between panes, I still frequently find myself using shell job control. When something needs poking I'll background the tool I'm using with Ctrl+Z, poke the ...
2
votes
0answers
61 views

Problem remapping function buttons on Ubuntu 18.04 / i3 / xkb

I have been trying to remap my functions keys on my X1 Carbon 6th gen, since there's no Media Keys on the default keyboard. Until now, I have remapped F8, F9 and F10 to respectively XF86AudioPrev, ...