All Questions
Tagged with command-line shortcut-keys
355
questions
0
votes
0
answers
51
views
Adding ++ctrl+enter++ key combination in bash (to allow for nvim enter key combinations)
I'm trying to make the ++ctrl+enter+ key work in nvim to be able to create a new line above in incert mode without leaving <ESC>oi similar to vscode but the following don't work:
keymap("i&...
0
votes
0
answers
79
views
how to Disable windows key(left+right) on ubuntu23.10?
While working with ubuntu 23.10, I want to disable the functioning of the Windows key from the command or program. How can I achieve it?
0
votes
1
answer
84
views
MD5/SHA Ubuntu Download verification
I would appreciate if someone could tell me how to download and verify the MD5,SHA file on the terminal.
0
votes
1
answer
69
views
How to automate opening files one by one and then prompt to delete?
Full disclosure I am a total noob, I started using ubuntu 3 months ago, loving it so far.
Here is the problem
I have a folder containing over 800+ images, I want to go through each one of them one by ...
0
votes
0
answers
25
views
cp to a previous directory using the shortcut - [duplicate]
I am a beginner with Ubuntu and I tried searching for an answer for this but I can't find one that covers this and I am confused by the output I am getting. I know you can use cp to copy to a parent ...
1
vote
0
answers
64
views
Can't access magic SysReq via keycode 99
I am running Kubuntu (22.04.3 LTS)* and in following this answer to a related question, I found a key on my keyboard via showkey -s in TTY (ALT+F2) that was interpreted by my machine as 0x99 (in my ...
0
votes
1
answer
1k
views
'screen' [ctrl + a]+ k not working
Ctrl + a, k does nothing I've tried to get it to work but nothing happens no confirmation prompt shows at the bottom I looked up the file .screenrc and I'm considering changing the keys, but I would ...
0
votes
1
answer
58
views
Whats the command line for copy and paste in termimal?
So here is what I am trying to do, questions will be at the end.
I'm being very pedantic I know, but its a good learning experience and a good bit of fun.
I am creating a setup script, which includes ...
2
votes
2
answers
908
views
Resetting Default Shortcut Keys in Ubuntu Terminal
I have installed Ubuntu 22.04 LTS on my VirtualBox VM and accidently messed up my terminal's shortcut key binds and now I wanted to reset it to the default settings. I found no visible option to do ...
0
votes
1
answer
1k
views
Keyboard shortcut to launch dmenu
I've got a snippets file in my home directory with two simple commands
ls
whoami
Running the following terminal command utilizes dmenu to allow me to select a line in my snippets file and pipe the ...
21
votes
5
answers
73k
views
Terminal not launching in Ubuntu 22.04
For some reason, I can't open the terminal through the shortcut (terminal icon) in Ubuntu 22.04. It works through Visual Studio Code, though, so that makes me confused. I tried using the F keys, but ...
2
votes
1
answer
471
views
Shortcut to specific profile mate-terminal
As you can see, I have in the upper bar a shortcut to open mate terminal:
Here you can see the shortcut properties:
I have some profiles which I use frequently, and would like to have shortcuts for ...
4
votes
1
answer
954
views
How to configure Ubuntu terminal to jump/select words on Ctrl(+Shift)+Left and Ctrl(+Shift)+Right?
I use Windows 11, but I also have Ubuntu running in WSL or when connecting with SSH.
In Windows PowerShell terminal, Ctrl+Left and Ctrl+Right jumps a word to the left or right. Adding the Shift key ...
1
vote
2
answers
630
views
Redo keyboard shortcut in Ubuntu shell (Bash)?
There is a question about the undo keyboard shortcut in Ubuntu: Ctrl+_ or Ctrl+/ can do this.
Is there a redo keyboard shortcut?
6
votes
2
answers
3k
views
Can't use Ctrl-Alt-Fn with Ubuntu 22.04
After moving on to Ubuntu 22.04, I can't use the Ctrl-Alt-Fn set of keys anymore.
Maybe the reason is the input language switch, which works with both
Ctrl + Alt on both sides
and superkey + space
...
0
votes
1
answer
48
views
Two different types of character " ^ "
I use mathway.com for solving math-problems. So now I have a problem with typing in numbers to power like "5²" just with my keyboard. The website doesn't recognize the key-entry for the ^-...
1
vote
1
answer
65
views
Issue with adding keyboard shortcut to a CLI application in Ubuntu (20.04) gnome
I'm trying to add keybindings so I can launch CLI-based applications easier. Take Ranger for example. When I try to set the keyboard shortcut command field in settings to ranger it just doesn't work. ...
0
votes
2
answers
245
views
Shortcut for a regular command in linux , not using alias
I am a rookie when it comes to Linux.
I have a regular requirement to grep for specific text in a huge list of files on terminal.
I use grep -i "<text>" *.txt
Requirement is cursor to ...
0
votes
1
answer
2k
views
CLI Tab autocomplete does not work for files
The Issue -
The autocomplete feature for the command line interface (the terminal on Ubuntu which I open via the hotkey ctrl + alt + T) does not autocomplete file names
Background -
OS: Ubuntu 20.04
...
0
votes
1
answer
653
views
Map "CTRL+ENTER" to another key inside gnome-terminal
Intro
Is there any way of mapping CTRL+ENTER to an F-key? (Inside the terminal ofcourse only) I've looked everywhere, I've tried so many things that I can't even recall. I had no luck and so I decide ...
0
votes
1
answer
116
views
Ubuntu autocompletion shortcut not worked
Intro
Yesterday I treid to Install Linux manjaro in my laptop, and install it use the same /home partition. And because I get some trouble with interface and accidentally deleted all config file in /...
0
votes
0
answers
27
views
Someone changed my screen mode in the terminal and now I can't scroll up
Very noob question - I'm new to coding/ubuntu/bash. My supervisor ran some commands in my terminal for some data processing, and now my scroll bar is disabled and I cannot move upwards or scroll. I ...
2
votes
0
answers
1k
views
What's the terminal name of the "take a screenshot" app in ubuntu?
I want to make a kb shortcut to open the app like I do on windows 10 and so I need to put the name of the app for it to be opened in the terminal, but I can't seem to find the name of the app.
By ...
1
vote
1
answer
258
views
How do I map 'Ctrl + Alt + T' to bring up all existing terminals, rather than open a new terminal
I'm trying to change the keyboard shortcut 'CTRL + ALT + T'. The behavior I'd like is to open all existing terminals in the current workspace, and open a new one if there aren't any.
I'm using several ...
0
votes
3
answers
1k
views
Tilix shortcuts problem
Tilix has a shortcut "Ctrl+Alt+T" to open the terminal in Nautilius (In the currently opened directory), but ubuntu has the default same shortcut "Ctrl+Alt+T" to open the terminal ...
3
votes
1
answer
2k
views
Unable to execute command in `Alt' + `F2'
I want to set a shortcut for my tor browser. My tor folder is in my $HOME directory. In order to execute it, I should run: start-tor-browser when I'm in ~/tor-browser-linux64-8.5.3_en-US/tor-...
1
vote
1
answer
1k
views
change Ctrl+L shortcut to clear screen
I am using Ubuntu desktop and type clear command each time I want to have a clean sheet. I recently found that there is a shortcut for this which is Ctrl+L. However this doesn't function exactly the ...
-1
votes
1
answer
91
views
Trying to paste a typed command to a terminal
I am very new to robotics and ROS and am looking for some help trying to create some keyboard shortcuts that allow me to paste them into a terminal.
Currently i am using the xdotool to do this. I am ...
0
votes
1
answer
121
views
Ubuntu command works on command line but not keyboard shortcuts command
Recently installed Lubuntu and customising 'meta-shift-s' as shortcut for screen snip windows style.
I'm using ImageMagick to snip image, saving to folder, and CopyQ to copy image from folder.
import ...
0
votes
1
answer
160
views
Opening Ubuntu Terminal with Shortcut
Let's say, I write some stuff on terminal.Then I minimize it and start to work in some other applications.Then if I type (**ctrl + alt + T**) then a new terminal gets opened.But i want my previous ...
2
votes
1
answer
474
views
pulseeffects get current preset in terminal
I wanted to cycle through the pulseeffects presets with a keyboard shortcut instead of going to the app or command prompt. I can create a script(which will be called by a keyboard shortcut) to get all ...
0
votes
0
answers
63
views
is there any shortcut to turn on hotspot?
is there any shortcut to turn on hot-spot. Its to long procedure to turn on hot-spot. Its my daily need procedure. Please suggest me any short cut to turn on/off hot-spot directly.
0
votes
2
answers
2k
views
Problem installing Anydesk on Ubuntu 21.04 installed on Raspberry Pi 4
My problem is continuing since last few days, to start with, I had downloaded the latest arm version of Anydesk from the website which I believe is 6.1.1, I tried to installed the same through ...
6
votes
4
answers
2k
views
Which terminal text editor uses GUI-like keyboard shortcuts?
I seek an editor where Ctrl+C copies, Ctrl+X cuts, Ctrl+V pastes, Ctrl+Z undos, Ctrl+Y redos, F3 searches and F2 renames. When I click the left mouse button, the cursor should go there. All modes ...
1
vote
2
answers
4k
views
launch YouTube from the command line
is there a way to launch YouTube from the command line? I'd like to set a keyboard shortcut.
thanks so much! Origen
0
votes
1
answer
121
views
How to change terminal emulator keyboard shortcuts from cli?
I know how to change terminal shortcuts using GUI as it is explained here
However, how to do so from cli?
I want to use Ctrl+c and Ctrl+v for copy and paste.
0
votes
1
answer
82
views
How to make one shortcut to execute .cpp file
whenever I want to execute a .cpp in terminal I have to write ./ before it .
And I want to change this "./" to something else .
I found this on another thread :
cr(){
if [ "$#" -ne ...
0
votes
1
answer
734
views
Enter key does not execute command in python and bash
My enter key suddenly started triggering a history-search-backward action instead of running the typed command in python and bash shells, although it still behaves correctly on my zsh (default) ...
0
votes
0
answers
2k
views
Copy and Paste options are not working in Gedit text-editor in a Linux terminal
I'm new to Ubunto and Linux. I'm using Ubunto 20.04 Virtual Machine, and I'm trying to install asterisk using the terminal.
There are some codes that I need to write in text files using gedit, but ...
1
vote
2
answers
523
views
Cannot launch terminal text editor from Keyboard Shortcut
I want to edit text in Vim and want to automate the process.
Here's my program:
$ cat /usr/local/bin/example-script
echo "Some Text" > ~/Desktop/filename
nvim ~/Desktop/filename
The ...
1
vote
1
answer
4k
views
Scrolling the terminal without a mouse
I'm sure this has been asked before, but anytime I try scrolling using the arrow, page up/down keys and/or those in combination with ctrl, shift, alt, etc. It just types some odd combination of ...
4
votes
1
answer
4k
views
Albert hotkey (shortcut) didn't work in Gnome Terminal or Gnome Terminator
I'm on Ubuntu 20.10 with Gnome Wayland session.
I have installed Albert (version 0.17.2) and I have setup Ctrl+Alt+Space Albert hotkey.
In Gnome Tweaks, I have enabled « Ctrl position - Swap Left Win ...
2
votes
1
answer
479
views
Pressing "v" in the terminal opens bash-fc.some_random_string in the editor
Recently I've started using the vim keybinding in the terminal. I changed the keybinding of the
terminal by adding the following line in the ~/.bashrc file.
set -o vi
But I've noticed an issue with ...
0
votes
2
answers
50
views
How can I add a comand on my keyboard?
I have ubuntu on my computer because I couldn't afford windows, but I do not know much about programming, I mostly use it for Uni, so, with google docs and OpenOffice I manage to supply my needs; ...
0
votes
0
answers
508
views
Huion h640p configuring button mapping on Ubuntu 18.04
I have just purchased huion h640p and just followed instructions regarding installing both the digimend driver v9 and v10. however, I still can't access the configuration menu on both versions so I ...
4
votes
2
answers
5k
views
How to scroll up/down in the VM console of Ubuntu 20.04 server?
with previous major versions of Ubuntu(e.g. 16.04), I was able to scroll up/down the output with Shift+PageUp or Shift+PageDown. However, ever since Ubuntu 20.04 (maybe 18.04.03, according to How to ...
0
votes
1
answer
59
views
Opening frequently used software using terminal with user assigned short names in Ubuntu 20.04
I recently installed Ubuntu and I want to make the desktop to a minimum. I am planning to remove the dock and use the terminal instead to open up the software I use. Some software I use have long ...
0
votes
2
answers
4k
views
Open Alacritty terminal emulator on keyboard shortcut
Using Ubuntu keyboard shortcuts, I am able to open a terminal emulator like I'm used to do on i3wm, the problem is that it opens up xterminal-emulator by default, is there a way to open Alacritty ...
0
votes
2
answers
729
views
Ubuntu - Open terminal locally through shortcut
I recently bought a new keyboard with macro keys. Unfortunately, the manufacture has proprietary software that only runs on Windows.
I have been doing some workarounds to use the macro-keys by first ...
0
votes
1
answer
244
views
How do I run terminal-based commands on Settings > Keyboard and Shortcuts > Add Custom Shortcuts Ubuntu 20.10
New Update
So after following @FedonKadifeli comment down below, he suggested that I put it on a separate file. So what I actually did is I created a custom command launch_android_studio and put it on ...