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

Bind a key to a series of actions for Nano

I have an extremely common task: pick asdf1234 Comment on this commit With text like this, I want to turn the first word into f like: f asdf1234 Comment on this commit Now I have learned that I can ...
0
votes
0answers
10 views

Can GNU Screen Bindkey command be used to enter a key press?

I would like to make a custom keybinding in GNU Screen which, when some key is pressed, like F1, is the equivalent of pressing Enter and then the Screen next command. I know that bindkey can bind keys ...
1
vote
0answers
14 views

Changing which program responds to media keys

When I start a VLC instance, I can control it with media keys (Fn, BT headphones, etc.). But if I then start a second VLC instance simultaneously, I cannot control that one with media keys. That's ...
0
votes
0answers
17 views

Switch language and capitalize letter smoothly

I come from Windows Background So I'm used to use Alt+Shift for switching language and I used GNOME tweaks to make Alt+Shift work in Linux. However, when I switch language, I hold on the Shift key to ...
0
votes
0answers
8 views

What exactly am i doing when pressing Windows+Function keys in CentOS7 Minimal in VMWare Workstation?

So i really just stumbled over this accidently, but when i press Windows+F1,F2 etc. in my CentOS7 VM which i access via VMWare Workstation, i got thrown to the login prompt. First i was confused, ...
0
votes
0answers
10 views

Debian LXDE hot keys not working in second language

I use Debian 11 with LXDE. When my keyboard is in a non-english language (persian), hot keys do not work. When I want to use shortcuts, I should change language and then do that. How can I repair the ...
0
votes
0answers
13 views

on linux, how to map Ctrl-i to F6?

Inspired from here how can I make <Ctrl-i> to send <F6>? This is done I believe with the software “Karabiner Element” on macOS. Is there any solution for this on Linux or preferably ...
0
votes
0answers
35 views

How to remap Fn keys in Linux on Lenovo IdeaPad laptop?

My Lenovo IdeaPad 3 laptop has a row of function keys which also have extra functions like brightness control, volume control etc. I use Artix Linux and I don't have a desktop environment so I have ...
1
vote
0answers
17 views

Remap Tmux prefix to control + control

Is it possible to use the same key twice in tmux for the prefix character? I. e. Ctrl+Ctrl+%?
1
vote
0answers
23 views

Setting ALT + ARROWS LEFT,RIGHT to HOME,END in xkb

I'm trying for days to set the (left) ALT + arrows keys (left/right) keybindings in xkb. ALT + LEFT to HOME ALT + RIGHT to END These keybindings should work together with SHIFT as well. I just ...
0
votes
1answer
20 views

Change Tmux default shortcut to switch between sessions

The current shortcut is Prefix ) and Prefix ( to switch between sessions. I want to change it to Ctrl PageUp/PageDown, but I don't know what command should be executed when I pressed these keys. I ...
0
votes
0answers
21 views

Manjaro linux on Lenovo yoga S740: Brightness control keys are not sending anything

I have fresh installation of Manjaro linux on Lenovo yoga S740. Everything works except for brightness control. I tried to run xbindkeys --key and every other key works except brightness up and ...
0
votes
0answers
16 views

tmux copy and paste not working

I am using tmux on a Raspberry Pi Zero W running Raspberry Pi OS. Every part of tmux seems to work with the exception of copy and paste. I can enter copy mode using Ctrl-b [, but I cannot get anything ...
2
votes
2answers
26 views

zsh keybindings: make backward-kill-word act on whole quoted string

When using Ctrl+w or Alt+Backspace or Alt+d keyboard shortcuts to delete words backward/forward, I know I can define the WORDCHARS characters: WORDCHARS='~!#$%^&*(){}[]<>?.+;-' for example, ...
0
votes
0answers
11 views

<ALT> - F-key or cursor switches to VT from X

In an X session, pressing alt+left will put me on a VT. Similar to this - only a reboot has no effect on my system. I tried setxkbmap -option srvrkeys:none to get X out of the line but the switch ...
0
votes
0answers
26 views

Closing windows in Xfce4

I use the xfce4 window manager (xfwm4-settings) to configure my some of my shortcuts. One of them ("Super+Esc") is supposed to close the focused window, which works when windows are opened. ...
0
votes
0answers
29 views

Key bindings disabled due to conflicts do not work depending on remote vs. local login

I'm using Eclipse 2021-03 on RHEL 8.4 with Gnome 3.32.2. There are the following key bindings by default (found in dconf-editor): switch-to-workspace-up: ['<Super>Page_Up', '<Control><...
0
votes
0answers
18 views

Ctrl + n launches new windows. How to disable

Having to pass a coding test soon, I am going to use an browser-embedded IDE. I am using Ubuntu 20.04 and awesome wm. When I press Ctrl + n in the active IDE, a new browser window is launched for some ...
0
votes
1answer
12 views

How can reassing a keyboard key on debian linux?

I am using kali linux, xfce desktop is installed. I want to change the functionality of the circled key on the image. Even though that key shows "" for some reason it types "<". ...
0
votes
0answers
26 views

Shortcut for LibreWolf AppImage is not working

I'm running Ubuntu 20.04 as a first foray into Linux and decided to try the LibreWolf browser. I downloaded the AppImage and decided that the easiest way to launch it would be with a keyboard shortcut....
0
votes
0answers
22 views

New command shortcut setting doesn't work

I want to modify the command of PrintScreen key to one that takes the screenshoot and ask me the name of the file through a pop up window. From terminal below line did the job: gnome-screenshot -f `...
1
vote
1answer
23 views

Can I stop NetworkManager from using my media key?

I am on a Thinkpad 460S. There is a media key on the keyboard to cut the wifi via Rfkill (F8). NetworkManager is grabbing the key and everytime it is pressed, disable or reenable the rfkill switch. I ...
1
vote
1answer
58 views

How to find the escape sequence for `Shift + PageUp`/`Shift + PageDown`?

How can I find the escape sequence for Shift + PageUp/Shift + PageDown? I googled and tried a few suggestions, but what always happens is that the screen scrolls up/down when I press this, or nothing ...
3
votes
2answers
42 views

Sun Type 7 Keyboard + KDE shortcuts: Why does the control center ignore most of the function keys on the left edge?

I've recently equipped my OpenSuSE 15.2 with KDE 5 with a Sun Type 7 keyboard and now would like to use the function keys on its left edge for a variety of system-wide shortcuts. The only issue is ...
1
vote
1answer
25 views

Pasting text killed in a custom widget only works for last word, can that be fixed?

I'm using answers from this question so that I can cut longer/shorter parts of text when I press Ctrl+W or Alt+Backspace respectively. Specifically I have this in my .zshrc to add the Alt+Backspace ...
2
votes
0answers
108 views

Changing keyboard language layout in linux mint doesn't work for second time

I have added second keyboard language layout (Persian) in Linux Mint 20.2 Cinnamon and in keyboard setting I've set it to use shortcut win+space to change the layout. It works fine when the selected ...
0
votes
0answers
35 views

Linux (Zorin OS) , how to bind two keys to type a symbol

I am using Zorin OS on a laptop where the Shift and . keys are not working. The keys work when I use an external keyboard so I guess it's a hardware problem. Now, I want to bind two keys like Ctrl+. ...
0
votes
0answers
17 views

Map key binding to cycle through the keyboard layouts

I have been using Fedora and Ubuntu for over a year now. Yesterday, I decided to install a base version of Arch with DWM as my window manager. I have wanted to do this for a while now as it will put ...
2
votes
0answers
34 views

How to create custom keyboard shortcuts in Gnome with wayland?

My main target: bind Alt+← / → as Home/End buttons. I have tried to create shortcuts with default gnome shortcut adder via settings, but with this approach you can only bind shortcut to execute ...
0
votes
1answer
19 views

Is it possible to get exact command when triggering shortcut?

For example, I want to know what command invokes when I hit Fn + F12 to increase brightness. Can I get this or any other command when I trigger some shortcut (what's happening behind the scenes) ...
0
votes
0answers
15 views

How to execute bindkey shortcut in same TTY?

My goal is to create a notifier function in zsh that tells me when a current command has finished running. The function is basically running and implemented but there is still one bug that I want to ...
1
vote
0answers
14 views

Numeric functions are not working for the applications I use but it works for the system

I'm a game developer, the framework I'm using has extra functions like showing information of an object on the screen, like a tree view, clicking CTRL-F1 opens this container that shows such ...
0
votes
1answer
16 views

How to use the special character < for assigning shortcut-keys in openbox config file?

According to https://stackoverflow.com/a/1091953/ five characters need to be escaped in XML documents under some circumstances: " &quot; ' &apos; < &lt; > &gt; & ...
0
votes
0answers
21 views

Change Konsole keymapping for resizing text

I'm using Manjaro KDE and I was trying to change the key mapping for resizing text on the Konsole terminal from the default Ctrl+Num to Ctrl+Shift+Num, to avoid collisions with Vim key mappings. But ...
3
votes
2answers
127 views

In GNU screen, how to read from stdin and save into a register?

I'm using GNU screen and I want to save input from stdin into a register to slowpaste it later. I tried a workaround with a temp file (which I can read into a register with readreg afterwards) and to ...
-1
votes
1answer
96 views

remap vim CTRL-a to CTRL-i

I need to adjust vim to count in visual block mode. See this post for more info: I use Ctrl+a for my tmux binding (replaces Ctrl+b), and that is not going to change. I tried everything here. Nothing ...
1
vote
1answer
142 views

wmctrl-like tool or alternative for kde wayland

A big part of my workflow is based on using shortcuts. Currently I use xbindkeys and wmctrl to run-or-raise an application. E.g: Super+F brings up firefox or run it if not running. Autokey works fine ...
0
votes
1answer
40 views

What does "level" of a key mean in keyboard settings?

Setting a Compose key, in KDE Plasma keyboard settings, Advanced > Configure keyboard options I am seeing this : What is a level? And what does it mean something like "third level of Left ...
1
vote
1answer
110 views

Why does this KDE keyboard shortcut command not work?

After some digging, I managed to find that to get the name of the user's preferred terminal emulator, as set in the 'Default Applications' section of KDE5's settings, one can run this command: ...
1
vote
1answer
31 views

Opening terminal links with the keyboard

One of the very useful things about urxvt is that I could use keyboard shortcuts to navigate through and open hyperlinks that appeared on the terminal screen (by adding some urxvt* entries on ....
0
votes
0answers
14 views

R_Alt as Compose key (tap-release)- but keep it as an Alt modifier when press+hold

I was wondering if the following is possible in an X11 + terminal emulator context: When I tap/release the Right Alt key it would be interpreted as the Compose key - i.e. the ensuing key presses ...
0
votes
0answers
12 views

Inconsistent response from function key

I'm using Ubuntu 20.04 on an ASUS TUF A15 laptop. I have a key combination (Fn-F10) that was pre-mapped by the OS to toggle the functionality of the trackpad on and off. For some reason, it's very ...
2
votes
0answers
33 views

Long press to capitalize

The ergodox-ez keyboard have a nice feature that they describe as follows: Dual-function Keys Tap your Z key, and it sends the letter Z as expected. Press and hold it down... and it becomes Alt. That ...
3
votes
1answer
35 views

Bash - Shift-Tab shortcut

How to bind Shift-Tab keyboard shortcut to an action in Bash? I tried to discover key code of Shift-Tab combination by # sed -n l ^[[Z \033[Z$ ^C and # read a ; echo $a | hexdump -cC ^[[Z 0000000 033 ...
-2
votes
3answers
69 views

How to start with sudo privileges every time I run terminal with CTRL+ALT+T

I'm using Kali Linux and I want to start with sudo privileges every time I run the terminal using CTRL+ALT+T. I tried this solution but it's not working: is-there-a-way-to-stop-having-to-write-sudo-...
0
votes
1answer
39 views

Changing key binding one specific key

How can I change key bindings for a single key? I know that there are software like xmodmap and so on, but with this I can't map my key bindings, because with xmodmap I first have to press the keys ...
0
votes
0answers
215 views

Brightness and volume key bindings not working in dwm

I'm trying to get my volume and brrightness keys to work using dwm. I put this into dwm/config.h: static const char *upvol[] = {"/usr/bin/pactl", "set-sink-volume", "0", &...
0
votes
0answers
12 views

How do I block host mouse input to QEMU/KVM machines like VMware Player

VMware Player has this functionality where when you press Ctrl+Alt it will block any further keypresses/mouse movements to the guest until you click within the guest. This allows you to mouse over the ...
2
votes
1answer
61 views

How to get a key's name in Vim?

Usually Vim tutorials on remapping keys will only show how to remap and assume you already know how to call a certain key within Vim, such as the well-known <esc> or <F2>. But what if I ...
0
votes
0answers
23 views

The super key is not bringing the start menu /activities menu on Feren OS

Hey I have recently installed Feren OS and everything is working fine except super key shortcut which should open the start menu or activities' menu is not working. The other shortcut keys of super ...

1
2 3 4 5
32