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
0 answers
4 views

What can I do to avoid blank laptop monitor after disconnecting external monitor?

I'm using an old Lenovo X201 laptop with Lubuntu 2022, and more specifically, LXQt. When connected to an external monitor, I use the display settings dialog (or arandr) to enable the external monitor ...
einpoklum's user avatar
  • 9,217
0 votes
0 answers
5 views

LXQt - iBus / X server won't respond to Alt+Shift for switching keyboard layout

I'm using LXQt on Lubuntu 22.04, and am having trouble switching keyboard layouts (between Hebrew and English). I can switch them by mouse, using the iBus panel applet, but - neither RAlt+Shift nor ...
einpoklum's user avatar
  • 9,217
1 vote
2 answers
64 views

How to set single key for customization keyboard shortcuts in gnome

I'm trying to set single key to operate anything i want in gnome settings. I'm using Debian-12 and Gnome 43. Settings->Keyboard>View and Customize Shortcuts(Keyboard Shortcuts)->Custom ...
livan3li's user avatar
0 votes
1 answer
25 views

Switch audio output by keyboard in KDE Plasma

I would like to have a way of switching the audio output device (internal speakers/headphones to bluetooth speakers etc) by keyboard actions (which I usually can do without searching, finding and ...
cipricus's user avatar
  • 1,398
3 votes
1 answer
293 views

On an editor (gedit, bash command line, vim...) what is the easiest way for a well displayed negative exponent, i.e. : 5.10⁻⁷?

Using the dead char ^ I can type 5.10⁷ easily. But how doing the same for -7? typing 5.10^-7 isn't working, inserting a minus sign before the ⁷ of the previous example isn't appealing: 5.10-⁷ knowing ...
Marc Le Bihan's user avatar
0 votes
2 answers
49 views

lynx - change Line Edit Style / lineedit_mode

What I want to know: What is the name of the variable name in /etc/lynx/lynx.cfg with the option Line Edit Style? I am trying to set it to Bash-like Bindings, but I can't find any documentation on ...
Pixelbog's user avatar
  • 669
0 votes
0 answers
15 views

Ctrl+Shift+M apparently intercepted by Chromium, does not get through to Jupyter

Working in a Jupyter Notebook, I often want to press Ctrl+Shift+M to "Merge Cell Below". However, there seems to be a clash of keyboard shortcuts and it brings up the user profile popup of ...
akratz's user avatar
  • 101
1 vote
1 answer
85 views

Is there a way to customize the keys in tmux's "choose mode"?

From tmux's manual - Choose mode, which allows an item to be chosen from a list. This may be a client, a session or window or pane, or a buffer. This mode is entered ...
Jethro Cao's user avatar
-1 votes
2 answers
91 views

Use arrow keys in the middle of command

I type 3 commands in my terminal, one after another: command1 command2 command3 If I use the up arrow key on my keyboard, I can access the previous commands. Suppose I want to use those commands in a ...
mohamadi_arch's user avatar
0 votes
0 answers
40 views

Is it possible to have several actions for a single keycode in XKB keymap?

In XKB (X keyboard extension), it seems to me only one Action max is possible for any keysym: There is zero or one key action associated with each keysym bound to each key. https://www.x.org/releases/...
bam's user avatar
  • 26
1 vote
1 answer
177 views

Which keymapping is Luks using?

Short version How can I know which keymap is used when I am prompted for my password by LUKS? Long version I am using three keyboards and their mappings (US-Qwerty, FR-Azerty, and FR-Bepo), and ...
Clément's user avatar
  • 328
0 votes
1 answer
162 views

How to remap keys in the linux console? (Wayland)

I need to remap the num enter key to enter in the terminal. I'm using openSUSE with GNOME and Wayland. Num enter doesn't work when I use ssh. From the factory, my laptop's regular enter key works like ...
Delete's user avatar
  • 1
0 votes
0 answers
37 views

Help with custom shortcut - Fedora

I am trying to set up a custom shortcut for terminator on Fedora 28. Connected a script to a custom shortcut. The shortcut should either start terminator, or based on whether it is on top or not, ...
iandorr's user avatar
0 votes
0 answers
48 views

How to quit all apps/all apps from workspace?

I can't find anywhere the gnome action of "quit all open applications" - which seems strange as it's such an obvious thing to do. Does it exist in gnome (or anywhere - in wayland/xorg/system)...
zaabson's user avatar
  • 33
0 votes
0 answers
18 views

External keyboard configuration on ChromeOS?

I have connected an external keyboard to my Acer Chromebook via USB but a few keys seem odd. Windows key was expected to open the search, but it acts like Alt.
Huge's user avatar
  • 215
0 votes
0 answers
131 views

How can i set up xdotool to hold down a key so that mouse button 2 is held and releases when the key is released?

I am in linux mint, I would like to hold down the ` key to click and drag using mouse button 2. I have xdotool mousedown 2 which holds down mouse button 2 and xdotool mouseup 2 which releases mouse ...
ruuu's user avatar
  • 1
1 vote
1 answer
154 views

Shortcut to show a window on all virtual desktops in KDE Plasma

I am using KDE Plasma 5, and I want to define a shortcut to toggle showing the active window on all virtual desktops (a.k.a. pinning the window). I cannot find such a shortcut in the shortcuts list ...
DBear's user avatar
  • 137
0 votes
2 answers
109 views

How to bind the DAS keyboard volume knob in dwm / void linux?

My setup: Void Linux, xorg, dwm + dmenu + st, DAS keyboard. I can probably figure out how to bind some "normal" keys for volume control, but I really like this big round knob on my keyboard :...
badbishop's user avatar
  • 101
0 votes
0 answers
28 views

Keyboard shortcuts not persisting

I have a custom script that I sometimes run as an alternative to the main terminal. The script has functioned fine for just under three years, and I always test it after making changes. It still works ...
Lee's user avatar
  • 85
0 votes
0 answers
48 views

Ctrl-Shift-U requires *extra* U in Ubuntu 23.04 Cinnamon?

I'm running a new install of Ubuntu 23.04 with cinnamon desktop 5.6.7 Typing Ctrl-Shift-u in a terminal does nothing unles the next character is another u; then the underlined u appears and I can ...
jimav's user avatar
  • 111
0 votes
1 answer
51 views

can I configure tmux with a single key shortcut for ":kill-session"?

I'm using tmux in an application (I have a script that automatically loads scripts in each split) and I'm wondering if there's a way to configure a single shortcut like ctrl-q (I realize that ctrl-c ...
mistyron's user avatar
0 votes
0 answers
17 views

Configuring XCompose to Recognize Option Key on Arch Setup Running on MacBook

I'm attempting to make Arch Linux recognize the left MacBook Pro Option key, so that I can, similar to macOS, use accent marks with certain keys. For instance, on macOS, I can press Option + e + e to ...
asyncerror's user avatar
1 vote
1 answer
74 views

How to handle caret + character options in GNU nano editor in Ubuntu

Extremely simple question. In the attached image the majority of options seem to entail typing ^ and another character at the same time. The problem is that to type ^ I need to press Shift + 6, at ...
JAP's user avatar
  • 113
0 votes
1 answer
32 views

Force X11 to keep xmodmap changes

On my Lenovo T420 I use this: # Lenovo back/forward => PgUp/PgDown xmodmap -e 'keycode 166=Prior' 2>/dev/null ...
Ole Tange's user avatar
  • 34.8k
3 votes
0 answers
90 views

GNOME: Select multiple windows

I'm a fullstack dev with a past in C and a current focus on Python and React. I'm not a sysAdmin but I've been using *nix systems since 1989 and I'm afraid of no dirty hands admin task. The UI problem ...
Ricardo's user avatar
  • 131
0 votes
0 answers
13 views

Overwrite keycodes associated with arrow keystrokes

I noticed that the keycodes associated with the arrows (up,down,left,right) changed, so the shortcuts defined for my terminal are broken. I would like to change the keycodes of those values but I do ...
Fabio's user avatar
  • 101
1 vote
1 answer
82 views

How to remap keys to work with KVM switch

I have a KVM switch for which the hot-key is <scroll lock> <scroll lock>. The hot key lets me switch the keyboard, video and mouse from a Windows machine to a Linux machine, but not vice-...
StrongBad's user avatar
  • 5,201
0 votes
0 answers
40 views

Kitty shortcut to escape prompt

Inspired by this answer I have the following mapping in my kitty.conf to escape a stuck command quickly: map ctrl+shift+z send_text normal \x1akill -9 %%\r But for commands which prompt the user such ...
xeruf's user avatar
  • 531
0 votes
0 answers
104 views

How to modify keyboard shortcut programmatically in linux mint cinnamon?

I want to create a bash script that automatically modify the keyboard shortcut in linux mint. Currently, I use Linux Mint 21.1, Cinnamon 5.6.8. I want the script also affect the keyboard settings GUI ...
Jastria Rahmat's user avatar
0 votes
0 answers
14 views

Is there a way to switch layout inside the group of layouts?

For example I want to have EN and RU groups. Inside EN group I have only one language. Inside RU I want to have RU and UA layouts. I want to configure ALT+SHIFT to switch between RU/EN groups and I ...
Eugen Konkov's user avatar
0 votes
1 answer
56 views

Swap with setxkbmap pageUp and pageDown

On Debian, I try to swap with setxkbmap pageDown with pageUp (and also Home and End), but I didn’t find options to do it in the -option option. I try someting like setxkbmap -layout fr -variant bepo -...
fauve's user avatar
  • 1,150
0 votes
0 answers
37 views

How to remap mouse keys? (special case)

I remapped 2 mouse buttons, #4 and #7. Now they are used as 'Home' and 'End' keys, very useful in firefox. Unfortunately all the extra keys on my mouse are identical to the numeric keys on the ...
CaneRandagio's user avatar
1 vote
0 answers
144 views

Combine Alt and AltGr keys

On macOS, there is no distinction made between Alt and AltGr, both keys are labelled "option" and used for both hotkeys and inserting special characters like @€£‰¶÷[]≠. That is, I can use ...
foqrwehgioerhwrgo's user avatar
0 votes
1 answer
175 views

Map <C-S-A-hjkl> to Arrow Keys with XKB Map

I'm trying to also have access to my arrow keys from the default Vim hjkl. Since CtrlShiftAlt seems to be a rare key combo, I was thinking about using that. How would I do that using setxkbmap (or ...
Philippe Fanaro's user avatar
1 vote
1 answer
209 views

How to access gnome settings without system running

I want to access gnome configurations such as keyboard shortcuts, from an OS installation that I cannot boot, but I have access to the whole file system. The old system is Fedora 36, Gnome 42, wayland,...
Bonlenfum's user avatar
  • 163
1 vote
1 answer
377 views

KDE custom shortcut > send keyboard input: named keys reference table?

TLDR KDE allows the user to set up custom keyboard shortcuts that send arbitrary keyboard inputs. However apart from the single-character keys and some obvious ones (e.g. Ctrl, Shift), the key names ...
cyqsimon's user avatar
  • 695
1 vote
1 answer
225 views

How to disable the mapping of Ctrl+; to underscore e in Ubuntu?

I noticed that Ctrl+; is somehow mapped to a strange mini-popup window with a e and underbar below it (Ubuntu 22.04). I wasn't sure what this is for, and want to disable the mapping as I need Ctrl+; ...
tinlyx's user avatar
  • 618
0 votes
0 answers
14 views

Can't figure out source of shortcut

I'm using Linux Mint, and I've been trying to set up Shift+Command+3 for a particular task, but it appears that it's already mapped to the "Grouped Window List" panel - it keeps launching ...
Melllvar's user avatar
  • 111
1 vote
1 answer
229 views

Zsh bindkey map Ctrl+c To Ctrl+p

I know how to map CTRL+L to run a command like 'ls' bindkey -s "^L" 'ls^M' but how can I map CTRL+c to another key stroke like CTRL+p in my ZSH? Or what is the command to kill the current ...
Russo's user avatar
  • 135
0 votes
0 answers
163 views

Using keyboard shortcut for entering password while entering SSH session

I am using CentOS, and as part of my job, I need to log into multiple SSH sessions (servers) on a daily basis, which requires entering the password every time. I have been wondering if there is a way ...
Georgy Paul's user avatar
0 votes
0 answers
16 views

Change Plasma keyboard layout and LO Writer paragraph language with one shortcut

I often write in 2-3 languages in the same text for which I use 3 different keyboard layouts. Thus, I very often have to switch the layouts but also the paragraph language. I would like to have the ...
cipricus's user avatar
  • 1,398
0 votes
0 answers
107 views

Problems with my TTYs key bindings in Fedora 38

I am trying to configure my .inputrc file as I always did for key bindings (bash and Fedora 38). It works perfectly for urxvt/xterm, but my TTY's (virtual consoles) do not take into account modifiers. ...
Luis A. Florit's user avatar
1 vote
0 answers
157 views

Custom key combinations for command execution in a terminal change the terminal line settings

Problem description I would like to bind commands which I execute very often in a terminal to key combinations. The bind command appears to work at first. However, when I use the key combinations, ...
user13062187's user avatar
0 votes
1 answer
595 views

How to switch between applications with one button instead of Super-Tab in a fast way?

I have been using Linux on and off for more than a decade. The one thing that keeps me from completely turning my back on Windows is a Autohotkey-Script I wrote years ago that allows me to quickly ...
Alex_289's user avatar
0 votes
1 answer
144 views

escape not working, xev detects weird event

I've encountered a strange issue in my EndeavourOS-i3wm system. The escape key is not functioning at all. I haven't reconfigured any keyboard settings or messed with xkbmap. This problem occurred when ...
GuedesBF's user avatar
1 vote
1 answer
220 views

openbox: disable "grab" window that moves together with mouse cursor

Normally in Openbox I can move windows around by holding Alt and grabbing the window with left mouse button. But sometimes I accidentally "grab" a window and then it is stuck to my mouse ...
Martin Vegter's user avatar
0 votes
0 answers
17 views

My control keys shortcut has been swapped

from what I have observed, these are the keys that suddenly acting weird: ctrl+n ctrl+m ctrl+h ctrl+j These don't work using left control but when using right control It works. I don't really recall ...
cevhyruz's user avatar
  • 437
1 vote
0 answers
36 views

How do I type in special characters in Cinnamon with various apps?

I'm using Devuan GNU/Linux Daedalus, with Cinnamon 5.6.7 (Xorg server 21.1.7). I want to type in some characters not available on my keyboard, nor (to my knowledge) in my keyboard layout (English - ...
einpoklum's user avatar
  • 9,217
0 votes
0 answers
54 views

Custom command to launch straight into cinnamon-settings keyboard and Custom Shortcuts on left side selected

Linux Mint 21.1 Cinnamon here. The closest I've come to this is using xdotool command that I bind to Super+K ..below xdotool key Super+F12 sleep 0.25 key Ctrl+Tab sleep 0.15 key Return sleep 0.15 key ...
tpcs's user avatar
  • 1
1 vote
1 answer
84 views

Which process intercepts ALT-TAB in KDE?

I have experienced that KDE stops responding to ALT-TAB (and CTRL-F1/CTRL-F2) out of nowhere. Which process do I have to restart to get it working again? Can it be done without closing all windows? I ...
Ole Tange's user avatar
  • 34.8k

1
2 3 4 5
33