Skip to main content

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
6 views

What is the proper way to bind a "compose" key at the kernel level? OpenSuSE Leap 15.6

What is the proper way to bind the key that sudo showkey shows to be "keycode 126" to "compose". sudo dumpkeys says "keycode 126 = Alt".
Steven Thomas Hatton's user avatar
0 votes
0 answers
17 views

alt-< shortcuts not working under KDE Plasma

I've recently switched back to KDE Plasma with KWin from Qtile. After making the switch, I found that the Alt-< and Alt-> shortcuts, used to jump to beginning/end of input in Emacs-like ...
Tom Hunt's user avatar
  • 10.1k
-1 votes
1 answer
23 views

How to find the keycodes for remapping Control and Super keys using xmodmap on X11

I am trying to swap my Super_L and Control_L keys on my keyboard. I determine the keycodes for remapping these keys using xev, showkey, and xmodmap itself. They provide me different keycodes but none ...
Lone Wolf's user avatar
0 votes
0 answers
23 views

Is there a reverse mapping of key codes or escape sequences to common keyboard keys?

I am using fish for my shell, so I have an easy way the escape sequences or key codes for various key presses using the fish_key_reader builtin. What I'm looking for is the reverse. Is there a way I ...
Hari's user avatar
  • 127
0 votes
0 answers
23 views

How can I add a functioning Control key to my keyboard layout?

I'm working on adding my keyboard layout to /usr/share/X11/xkb/symbols. So far it's going good, but I am having trouble with adding Control and Shift keys. key <AC03> {[ NoSymbol, NoSymbol, ...
carbon-starlight's user avatar
0 votes
0 answers
33 views

Installing Bazzite- Hit control + alt + F4 to open the log window, now I can't close it

I was installing bazzite and it was being slow so I took a look at the log with a key combination I found on google, control + alt + f4. The log showed up, but I haven't been able to get it to close, ...
Firion Hope's user avatar
0 votes
0 answers
32 views

how do I map <F7> to :argument with the file buffer number as input

I have several files opened with :argadd command. To traverse the files I use F2 and F3 which is mapped to :prev and :next. When a number like 15 and F7 is pressed then it should do :argument 15 ...
Ravenslock's user avatar
0 votes
0 answers
20 views

F4 not working on Yoga 7

I bought the Lenovo Yoga Pro 7 with the AMD processor, and installed Fedora on it. For now, it runs smoothly: the only problem I noticed is that, although all keyboard keys and combinations work, the ...
forgetfuled's user avatar
0 votes
0 answers
14 views

Bottom row of keys will not type, unless they are held down for a random(?) amount of seconds, to which they then work for a bit before regressing

System $ uname -r 6.6.23-1-rt28-MANJARO $ cat /etc/*release Manjaro Linux DISTRIB_ID="ManjaroLinux" DISTRIB_RELEASE="24.0.0" DISTRIB_CODENAME="Wynsdey" ...
Anon's user avatar
  • 215
0 votes
0 answers
30 views

I would like to disable the "Alt+a" keyboard shortcut in konsole for Kde Neon

As it says in my title, I would like to disable the "Alt+a" keyboard shortcut of my "Konsole" terminal in Kde Neon. For some reason every time I press "alt+a" the Konsole ...
sylar's user avatar
  • 1
0 votes
0 answers
15 views

Stylus Button keeps printing last highlighted text after installing xbindkeys

I use a Fujitsu Lifebook tablet PC with an integrated stylus and just installed arch on it with i3 as a window manager. To still have access to the Super key while in tablet mode i tried to map the ...
shrooms's user avatar
0 votes
0 answers
39 views

need to customize my keyboard layout to use the key (>/<) which is at an unusual place on my keyboard

I've got a Dell laptop Dell Inc. XPS 13 9360 and my keyboard has this key at the place usually dedicated for right CTRL (see this pic, not mine but same place) _____ | > | | < | _____ ("...
St3an's user avatar
  • 123
1 vote
1 answer
137 views

How to get function keys working on a Yunzii keyboard?

I have a Yunzii B705 keyboard. It has a row of multimedia keys that double as the function keys. Neither the multimedia nor function keys can work. I don't care about using the multimedia functions, ...
Village's user avatar
  • 3,717
0 votes
1 answer
22 views

Remap Right Alt to Backspace

As the title says how can I remap Right Alt to Backspace? I am on X11 I am aware that something can be done using setxkbmap but I not aware of the command for my particular case.
Mach50's user avatar
  • 1
0 votes
0 answers
52 views

QEMU/KVM: capturing keyboard shortcuts by the guest operating system

I have installed QEMU/KVM on my Ubuntu and created a new VM. When trying to switch apps using Alt+Tab or "Show Applications" using Windows key it is captured and interpreted by the host OS ...
etbaba's user avatar
  • 1
0 votes
0 answers
14 views

Shortcuts running privileged commands

Intro: Using ABIs to control fan_speed, fn_lock, or conservation mode can be done with editing files in the (e.g. /sys/bus/platform/.../) directory which is owned by root. For example if i wanted to ...
white-hat-er's user avatar
1 vote
0 answers
65 views

How to make shortcuts layout independent in KDE 6 / plasma 6 running wayland?

I've set Meta+1, Meta+2,... shortcuts to switch virtual desktops - my muscle-memorized workflow for years. However, after keyboard language layout change, 1 becomes +, which overrides this shortcut to ...
kravemir's user avatar
  • 4,226
0 votes
1 answer
67 views

What keycodes can be used for keyboard shortcuts in Nemo file manager?

In the Nemo file manager (the default in Linux Mint), what keycodes can be used to specify non-alphabetic keyboard keys? Specifically, I want to assign Ctrl+; to a built-in Nemo function. I have no ...
End Antisemitic Hate's user avatar
0 votes
0 answers
40 views

Better understanding accels/nemo file syntax to add keyboard shortcuts for custom Nemo scripts

I carefully followed the instructions to add keyboard shortcuts to custom Nemo scripts as explained in this Ask Ubuntu answer and this Stack Overflow answer. Although this technique works great to ...
End Antisemitic Hate's user avatar
0 votes
1 answer
46 views

Alt+Tab doesn't work in LXQT

Fresh and latest version of LXQT. Alt+Tab doesn't work at all. Is it how it's supposed to be? I've done a search and found only 1 or 2 results which proposed a tangled solution. How to make this the ...
barugaggi's user avatar
1 vote
0 answers
23 views

Minimal example of new function in Qutebrowser

General overview I am trying to create a function I can call from Qutebrowser with ex mode (the commands starting with :). But I can’t find a way to do it. What I did In my config.py, I added the ...
fauve's user avatar
  • 1,278
12 votes
1 answer
3k views

Why does typing 'q' exit vim? (.man file)

When I type the character q on my keyboard in vim, it exits vim. Why? Today I tried it edit a file with the file extension .man. I wanted to edit the file with a macro, so I tried to type qq -- but ...
Michael Altfield's user avatar
2 votes
2 answers
48 views

What are c: and m: in xbindkeys configuration?

In the default example configuration for xbindkeys, there is an example of specifying keycodes directly: # set directly keycode (here control + f with my keyboard) #"xterm" # c:41 + m:0x4 ...
nog642's user avatar
  • 133
1 vote
0 answers
44 views

SysRq key on a TLC keyboard

I have a "Logitech G14 TKL SE" keyboard. In this keyboard, the print screen key is emulated with the Fn+Ins keys combination. Unfortunately, I'm not able to get the SysRq magic key ...
Víctor Iglesias Castán's user avatar
0 votes
0 answers
18 views

how do I enable stickykeys while still in initrd

Followup to sticky keys in single user mode But I don't need it during normal single user. I need it in initrd to enter cryptsetup password. How do I apply a custom keymap to initrd? The manual gives ...
Joshua's user avatar
  • 1,893
0 votes
0 answers
16 views

Krusader: How to set up "Escape" key as a shortcut for "Unselect All" action?

In Krusader I would like to unselect all selected files just by pressing the Escape key. I did set that up in Krusader's configuration, but it does not work. I had to change the key sequence to Ctrl +...
Ladislavovic's user avatar
0 votes
1 answer
289 views

Open terminal in directory open in file explorer

In GNOME, I wish to setup a shortcut to open terminal in presently viewing directory in the gui file explorer. The nautilus gui is opened from terminal by the command xdg-open ., but I'm not sure if I ...
DatBoi's user avatar
  • 101
0 votes
1 answer
49 views

Ctrl+left/right on micro via SSH+byobu

Locally when opening micro text editor, Ctrl + left/right works normally (jump 1 word). But when running via SSH + byobu, Ctrl + left/right gives [1;5C] and [1;5D]. Ctrl + S and Ctrl + Q also didn't ...
Kokizzu's user avatar
  • 9,941
1 vote
0 answers
109 views

How to convert an escape sequence to a human-readable keystroke?

I am looking for a Linux command, or a zsh command, or at least an online service that given: an escape sequence like "^[^[[1~", "\M-C\M-^X" or "^[[1;5F" (these are not ...
Radagast's user avatar
0 votes
0 answers
507 views

How to enable <Ctrl+Backspace> with Tmux, Neovim and Alacritty to delete the previous word?

I use the alacritty terminal, and neovim editor with tmux. At first Ctrl+Backspace (for deleting a previous) wasn't working at all in the terminal. So added the following line to alacritty.yml: ...
an4s911's user avatar
  • 131
0 votes
0 answers
27 views

Ctrl-= in terminal mode

In Emacs, I have bound Ctrl-= to a custom function. What is strange is that when I run Emacs in a terminal, hitting Ctrl-= just enters an equal sign and does not execute this custom function. In a GUI ...
user52366's user avatar
  • 211
1 vote
0 answers
65 views

Differentiate Ctrl+BackSpace from BackSpace in MobaXTerm

I'm trying to configure zsh (.zshrc) in order to provide two different keystrokes, each one for a different action. While I need Backspace to just delete the previous character, control+backspace ...
FueraDeServicio's user avatar
1 vote
1 answer
49 views

Open top-left menu in Dolphin explorer with keyboard shortcut

I am looking for a way to open this menu in the Dolphin file explorer with a keyboard shortcut. (It can be invoked by clicking on the icon in the top-left.) I looked through the available keyboard ...
micahmo's user avatar
  • 21
1 vote
1 answer
154 views

In zsh, Home, End, and Del behave differently inside a script than they do outside

I learned after much frustration that having $EDITOR initially set to vim doesn't affect the main shell but does affect scripts and nothing seems to undo this initial state. Unsetting the env var, ...
Walf's user avatar
  • 1,395
0 votes
1 answer
60 views

Keyboard shortcut for debian app "Characters"

I am using sort of bare-bones Debian, the latest OS where there is an application viz "Characters v45.0" (a GNOME project which is coded by Daiki Ueno and Giovanni Campagna, and designed by ...
DarKnightz's user avatar
0 votes
0 answers
35 views

Disable keyboard layout switching for certain applications (or e.g. window classes) only

I have configured some key combination to switch keyboard layouts in KDE Plasma. But for some applications (or maybe window classes) from the list (e.g., remote desktop or virtual machines) I want ...
vvch's user avatar
  • 101
0 votes
0 answers
16 views

Shortcut that set at "switching to another layout" blocks other shortcuts

I use ALT+SHIFT as keyboard layout. This combination set at "switching to another layout" parameter of the Keyboard config. But if I want to use some combination that contains the 'switching ...
Oleg S.'s user avatar
0 votes
1 answer
67 views

right alt + F4 doesn't work when using CLion in Fedora 39

I recently installed Fedora 39, using Gnome on Xorg, and noticed that right Alt + F4 doesn't close the IDE the way I'm used to. left alt + F4 works fine. I was previously using Debian 12, and for ...
xdavidliu's user avatar
  • 343
0 votes
1 answer
56 views

How to disable or change the behavior or Fn+S?

I have a LG Gram 16 and I'm used to Thinkpad that have Fn and Ctrl keys inversed. I always press Fn+S thinking it's Ctrl-S to save files but it's actually putting my computer to sleep... Very annoying....
None's user avatar
  • 647
0 votes
0 answers
33 views

Ctrl+z combination(s) not working anylonger

Since a few days the undo action via Ctrl+z are not working any longer. My system is Kubuntu 23.10 x86_64 with Plasma 5.27.8 as DE. The problem is only occuring on X11 and not on Wayland. At this ...
woernsn's user avatar
3 votes
1 answer
166 views

Linux Mint Xfce. Map Alt-e to Ctrl-Tab

I have Linux Mint, Xfce. I want to change tabs in Firefox by pressing Alt-e, rather than by pressing Ctrl-Tab, as is default. I have been googling this quite a bit, but to no avail. How do I remap ...
john-jones's user avatar
  • 1,736
0 votes
0 answers
7 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,653
0 votes
0 answers
79 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,653
1 vote
2 answers
1k 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
  • 113
0 votes
1 answer
637 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,629
3 votes
1 answer
327 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
68 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 ...
Bog's user avatar
  • 1,034
0 votes
0 answers
28 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
190 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
186 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

1
2 3 4 5
34