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

How to write your own shortcuts for Linux

I want to write my own macros for ubuntu. (Not sure if its called a Macro); Here is an example. I am writing this question on a text writable box at the moment. And if I "ctrl+a" it will ...
0
votes
1answer
35 views

How to type less/greater than (<, >) characters in US keyboard with non-US layout in settings

I'm using a Keychron K2 with a physical US layout that I set as Italian in my settings. This means I'm missing a few keys that exists only in the physical Italian layout keyboards. Specifically the ...
0
votes
0answers
15 views

Make xkb produce two symbols on one key press (e.g. make `ctrl`+`+` & `ctrl`+`=` produce same (combined) effect to get rid of `Shift` for zooming in)

Some apps use ctrl++ and some ctrl+= to zoom in. Only some allow to customize. If all used same, I would just remap the keyboard not to use Shift. Can I make apps receive signals that both ...
0
votes
0answers
22 views

How do I make an emoji macro keyboard for linux?

I want to make a macro keyboard that types emoji for my Raspberry Pi 4 with a quite old spare keyboard. I got this idea from Tom Scott (British youtuber) and he made it in windows. Although I could ...
0
votes
0answers
55 views

Does ctrl-; (semicolon) not do anything on Linux?

I have been trying to make a keyboard binding in tmux's root key-table (no prefix) for Ctrl-Alt-;, but haven't been able to get it to work. I then realised that in bash Ctrl-v, Ctrl-; returns only ;, ...
4
votes
1answer
73 views

How to find out where systemwide keybindings come from, and remove them?

I switched my keyboard layout to Polish, in which Alt_R is used to generate various non-Latin letters. Some of them are working, and some aren't: Alt_R-l generates "ł", as it should Alt_R-c ...
1
vote
1answer
31 views

Are GNOME keyboard shortcuts saved to a viewable file in Fedora 34?

I can't find a file anywhere that seems to have the change I made to various shortcuts. Environment information: cat /usr/share/gnome/gnome-version.xml;echo;cat /etc/redhat-release <?xml version=&...
0
votes
0answers
6 views

Open mail with "mail-key" under KDE

I have a keyboard with shortcut to e-mail (Fn + F9). Somewhat similar to this: I use Thunderbird. When I enter Fn + F9 nothing happens. I went to settings -> shortcuts and searched for “mail”. ...
0
votes
2answers
46 views

Bash hotkey to retrieve the last value sent to stdout

I know you can use the last argument passed to last the last command by hitting Alt-.. Is there a similar binding to get the output of the last command, or in other words the last value printed to ...
1
vote
0answers
21 views

Shortcut / Keymap Problems

I am a Blender user on Archlinux and some hotkeys are intersecting. There seems to be a hotkey for everything in Arch so I would need to tweak almost every hotkey in blender. I wondered if there was a ...
0
votes
1answer
24 views

PrintScreen key not registering in Arch Linux

I'm using Arch Linux with i3 as my wm and running an x server. All my keys work but printscreen key doesn't even register. I tried xbindkeys -k which seems to work for all keys except Print. My ...
-1
votes
1answer
39 views

localectl: Failed to read list of keymaps: No such file or directory

When I run localectl list-keymaps I get Failed to read list of keymaps: No such file or directory How can I fix this error (not I have the console-data package installed)? It also happens when I ...
0
votes
1answer
27 views

How do i add a shortcut to open terminal in that folder Thunar

Thunar does show terminal option when right clinking inside a folder but i want to specify a shortcut(super shift E) to open terminal in the folder that is open is that possible? if so how do i do ...
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
12 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
17 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 ...
1
vote
0answers
23 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
10 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
15 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
14 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
76 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
18 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
33 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
31 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
36 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 ...
1
vote
1answer
35 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
28 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
31 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
30 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
13 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
46 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
29 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
25 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
62 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 ...
2
votes
2answers
48 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
26 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
169 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
42 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
22 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
50 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
21 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
18 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
15 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
21 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
26 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
137 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
111 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
223 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 ...

1
2 3 4 5
32