Skip to main content

All Questions

Filter by
Sorted by
Tagged with
8 votes
2 answers
4k views

VS Code not launching after incorrect command execution on Ubuntu 22.04

I'm experiencing an issue with Visual Studio Code on my Ubuntu 22.04 system. I accidentally executed an incorrect command in the terminal, and since then, VS Code hasn't been working properly. Here ...
Somar kn's user avatar
0 votes
1 answer
65 views

Listing Folders and Files with the same name

I have a folder with extracted ZIP files in it. (Extracted ZIP folders are the same name as the ZIP file without ZIP in the folder name Example: File1.zip extracts to the file1 folder I need to show ...
Brian Jester's user avatar
1 vote
0 answers
103 views

Extremely slow terminal input is back on Ubuntut 22.04

I ran into this problem before and posted about it, apparently others were having the issue too. I ran the suggested fix and everything was fine, now it's starting again and I don't know what to do.
FourierFlux's user avatar
5 votes
1 answer
886 views

Addressing Another Terminal Input Lag with Ubuntu 22.04

Ubuntu 22.04.4 LTS Kernel : Linux 6.5.0-28-generic Gnome version: 42.9 Windowing system: X11 I am experiencing another terminal lag with Ubuntu 22.04. Typing is always 1 character late and I am ...
raisa_'s user avatar
  • 351
0 votes
1 answer
79 views

Unable to open certain programs such as Pensela on Ubuntu 22.04 LTS

I am having trouble opening certain applications such as pensela. They appear on my app list as well as go on my dashboard when I add to favorites but whenever I try to open them (whether by clicking ...
216ann's user avatar
  • 43
3 votes
1 answer
153 views

color variable does not work with PS1 assignment in bashrc file

below is my current PS string in .bashrc PS1='${debian_chroot:+($debian_chroot)}\[\033[00;37m\]\u@\h\[\033[01;32m\]:\[\033[01;34m\]\w\[\033[01;31m\] $(parse_git_branch)\[\033[00m\]\$ which works fine ...
xkeshav's user avatar
  • 645
0 votes
0 answers
69 views

No terminals launch on Ubuntu 22.04

I got an unmanaged VPS from Hostinger a week ago and accessed it via mRemoteNG RDP. I find a few terminals installed including gnome, but none of them work. Every attempt to start a terminal ends with ...
mgl's user avatar
  • 1
-1 votes
1 answer
58 views

My terminal prompt is "PC%" - How can I fix this? [duplicate]

My terminal prompt looks like this: PC% How can I fix this? Here is picture of my terminal.
Hayk Ghazaryan's user avatar
1 vote
1 answer
1k views

Bash terminal has become extremely slow. 22.04 [duplicate]

My bash terminal has become extremely slow, I until 22.04. I don't have any extensions installed but I think it might be related to some form of auto complete/search. Additionally gnome-shell has high ...
FourierFlux's user avatar
112 votes
7 answers
36k views

input delay on Terminal Ubuntu 22.04.4

I have been using Ubuntu since Christmas, and just recently I have been receiving delayed input while using the Ubuntu terminal. It especially takes affect when using vim or man commands, which is ...
Oeshen Playz1036's user avatar
0 votes
1 answer
42 views

Invoke a program as a command on any working directory on ubuntu's terminal [duplicate]

I have written a program in C and produced an executable from it. I want to use this program from any pwd. One method is to make its pathname a environment variable using export. But in this method, ...
Cinverse's user avatar
6 votes
2 answers
2k views

Keyboard shortcut for opening the terminal in the current directory?

I would like to have a keyboard shortcut that opens a terminal in the current directory. Here is what I already did: open_terminal_here.sh: #!/bin/zsh gnome-terminal --working-directory="$PWD&...
soroush's user avatar
  • 61
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?
Umang Jais's user avatar
-1 votes
1 answer
111 views

What type of user interface does GNOME Terminal have?

I read here that a terminal emulator is just a wrapper program that runs a (command-line) shell. So we can type different commands into this shell (which runs inside a terminal application). In ...
Rodvi's user avatar
  • 101
1 vote
1 answer
150 views

Scrolling gnome-terminal output programmatically?

Is there some way to automatically scroll to the beginning of the terminal output from sh script? I have custom build routine in my development process: sh script is using inotifywait to detect source ...
Yuri Gor's user avatar
  • 173
0 votes
0 answers
92 views

INFO command in linux ubuntu is installed and is giving the following error in the terminal: aborted (core image saved)

I try to use the command, but it always shows this error. I have already reinstalled and installed it and it persists. Info gnome-shell[2571]: [2565:2594:1222/143805.051407:ERROR:...
Rammon Resende's user avatar
2 votes
1 answer
1k views

Terminal: I can't type anything

I am on Ubuntu 22.04 and I was trying to download updates but my machine glitched, I couldn't do anything, waited for a few minutes, and then had to force off the machine by holding down the power ...
Zoms's user avatar
  • 31
2 votes
2 answers
1k views

Can't I scroll in the terminal up? Terminal shows only 24 rows? The scrollbar on the right fills the entire vertical height of the window?

Based on: Terminal output scrolling is gone (Headless 11.10 Server, Upgraded from 10.10) and https://superuser.com/questions/1331658/why-cant-i-scroll-in-the-terminal and my own dire situation right ...
michal roesler's user avatar
4 votes
1 answer
637 views

How to change gnome-terminal scrollback lines from command line

Using Ubuntu 22.04. I want to change gnome-terminal scrollback lines from the command line. I know it's possible to do it from Terminal -> Settings (the hamburger button) -> Preference -> ...
sotirov's user avatar
  • 3,663
0 votes
2 answers
133 views

How can I differentiate my terminals

I am using multiple terminals for different task. But it's hard to remember which terminal I use for a specific task. I guess I could set the title, but how and is there something else I can do to ...
kbenoit's user avatar
  • 2,350
0 votes
0 answers
49 views

Colours in terminal [duplicate]

I have recently started using Ubuntu and the terminal by default very helpfully had different colours for the directory I was in and other things. I don't know what I did and now the colour of ...
NIkos's user avatar
  • 1
0 votes
0 answers
479 views

Can't scroll up in terminal version of Ubuntu

I am using Ubuntu 22.04, command line version. I am unable to use the standard commands to see prior terminal output(cntrl, scroll up/down) or have the ability to enter into highlight mode. No idea ...
FourierFlux's user avatar
0 votes
0 answers
70 views

I installed Ubuntu 20.04 and it comes without apps

Recently, I installed Ubuntu 20.04 on my Raspberry Pi. I had some trouble accessing the desktop and had to install a screen manager, and when I finally managed to turn it on, there weren’t any apps! ...
Flamethrower's user avatar
0 votes
0 answers
126 views

When I open Ubuntu terminal "~~~~" and "^[[2~^[[2~^[[2~" characters are coming nonstop . How can I get ride of this?

While using the Terminal exclusively, I frequently encounter the occurrence of ~~~~~~~~~~ and ^[[2~^[[2~^[[2~ characters appearing randomly. This happens even when I am not actively pressing any keys ...
user avatar
1 vote
0 answers
339 views

Shell color theme vs Terminal theme

Could someone explain how terminal and shell work in terms of theming? Shell frameworks, like oh my zsh, allow you to change color theme. However, terminal emulators, like Blackbox, also allow you to ...
mnj's user avatar
  • 203
0 votes
0 answers
75 views

Skip a download in terminal

I am downloading four files (8gb each), I already have 2nd files and i don't want to download it again. How can i just skip it. I don't want to cancel the download as it will cancel the 3rd and 4th ...
Sumit's user avatar
  • 1
1 vote
1 answer
164 views

gnome terminal - How to replace a text selection in currently typed command?

Default behavior is to append text in the currently typed command: In this case I would like to see mkdir music. Is there an extension that would allow such behavior? Is there another terminal ...
goulashsoup's user avatar
1 vote
0 answers
110 views

Terminal (any one) losing lines after scrolling back on Ubuntu 22.04

I am having some troubles with Ubuntu 22.04 on an Acer Nitro 5 core i7, specially one annoying is that I cannot have a reliable scroll back listing because the terminal simply loses some lines, ...
user avatar
1 vote
1 answer
800 views

How to launch gnome-terminal and activate a python virtual environment?

I am launching a new terminal on Ubuntu and want to activate a Python virtual environment once it opens. The virtual environment is normally activated by running: source ./environment/bin/activate ...
Edy Bourne's user avatar
3 votes
1 answer
1k views

How can I launch a script in a terminal window from a service

I have two scripts which together allow me to receive and answer phone calls over serial. The first is what I want to run as a service in the background it checks if there is a RING signal and if ...
Nareik Seivad's user avatar
1 vote
0 answers
94 views

Enable close window warning for gnome-terminal

When I run a command in gnome-terminal to install a critical software using sudo priviliges, for example sudo apt install blender and I accidentally close the window by pressing the close button, I ...
baalkikhaal's user avatar
0 votes
2 answers
267 views

What is the safest and most efficient way to remove multiple applications installed by 'sudo apt install gnome-*'?

I Accidentally ran sudo apt install gnome-* in terminal and a lot of applications were installed in my system. I would like to know if there is a way to get rid of all those apps that were installed ...
Piero Teran's user avatar
0 votes
2 answers
325 views

Why does the tree command print NBSP on Ubuntu 22.04

I installed tree v 2.0.2 and in the terminal it displays the output properly but when I send to output to a .txt file it includes a bunch of NBSP ruining the display. It also happens when copying the ...
Dean Schulze's user avatar
0 votes
1 answer
1k views

i can not type in terminal

When I open the terminal, the window appears without the ability to write. I cannot type, and I also do not see the directory. you can see the screenshot from this link: terminal I have already tried ...
abdelbasset_sadok's user avatar
2 votes
0 answers
103 views

Gnome terminal won't open except from file explorer

When I try to open the terminal from the favorites bar it shows that it's loading but never opens. The good news is that it opens from the file explorer "Open in Terminal". I recently ...
mohammed elsheyab's user avatar
0 votes
1 answer
156 views

gnome terminal crash and silent exit - running python3/nvidia RAPIDS 22.04

I'm running a python program (machine learning training) under conda on 22.04 that uses RAPIDS GPU - in the middle of a large run it sometimes completely silently exists and kills the tmux and gnome ...
nxtrad00r's user avatar
2 votes
1 answer
535 views

Gnome Terminal staircase pattern

I just upgraded from Ubuntu 20.04 to 22.04.2 (Linux 5.15.0-67), using XFCE desktop environment, with Gnome Terminal version 3.44.0. I have a script program to do backups which I have run essentially ...
Randyman99's user avatar
0 votes
2 answers
382 views

Opening gnome-terminal and running a command that uses environmental variables from .bashrc

I am making a .sh file that would be run by Right click -> Run as program by non-power-users. It should open a terminal window and run a docker run command, that uses some environmental variables. ...
Rolf's user avatar
  • 103
0 votes
0 answers
888 views

Backspace not working as expected on Alacritty

I just installed Alacritty through the app store on top of zsh and oh-my-zsh, I had it before on a previous installation of Ubuntu without any zsh related stuff where everything was fine. The ...
StackMatch's user avatar
0 votes
1 answer
2k views

After updating my terminal it's showing bash 5.2. what should i do?

After updating my terminal it's showing bash 5.2 on my terminal. new user like me going to confuse. bash 5.2 "cd downlode there is no such file like this"
User12's user avatar
  • 1
0 votes
1 answer
224 views

how to regain control, my ubuntu 22.04 terminal no longer gives me control

My ubuntu version is 22.04. ²for some time I no longer have my hand in my ubuntu terminal. The terminal cursor blinks as if it's a process that's running endlessly. Can you help me to solve this ...
Sodiki's user avatar
  • 13
1 vote
0 answers
162 views

shift+Arrow keys print ABCD in terminal rather than doing text selection by moving the cursor

I have a fresh install of ubuntu 22.04, I had mistakenly pressed ctrl+A in terminal after that pressing shift+Arrow keys print ABCD based on the direction of arraw keys. How can I get the default ...
Soumalya Bhattacharya's user avatar
1 vote
2 answers
99 views

Terminal not displaying directory, commands executing instantly when pasted; arrow up ==> ^[[A [duplicate]

I'm using Ubuntu 22.04.1 LTS. I created the user "dom" when I first set up Ubuntu. From then, I created another user, named "schule" that also had sudo rights. Here is how I ...
User1986's user avatar
  • 341
1 vote
0 answers
43 views

Why does executing this shell script shut down my system?

Ubuntu 22.04.1 LTS Was trying to install Pycharm without using snap. I navigated to the bin folder and then: chmod u+x pycharm.sh followed by: sh pycharm.sh My system instantly shut down within ...
Exquisite Mong's user avatar
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 ...
Aryan Soni's user avatar
2 votes
2 answers
7k views

Terminal and other apps suddenly won't open

Ubuntu 22.04.01 LTS Gnome Version 42.5 Terminal won't open either via the GUI or by the keyboard shortcut. When I click the GUI icon a circle merely spins. Keyboard shortcuts tried: ctrl + alt + del ...
Exquisite Mong's user avatar
0 votes
1 answer
528 views

how to running script bash with time and date time?

i want to run script.sh with detail time. for example i want to run script.sh at 15:20 with date 05-01-2023 , how is the command ? please help, I am confused with this problem
Joe Cola's user avatar
  • 353
3 votes
0 answers
368 views

Can't open terminal in ubuntu

I have installed ubuntu on the virtual box, and I can't open the terminal in my virtual box. I have tried enabling the terminal using the prompt that is opened by ctrl+alt+f4 keys, but I couldn't do ...
NoName123576's user avatar
-1 votes
1 answer
104 views

Restore old terminal

I have modified my terminal via wget -O https://teejeetech.com/scripts/jammy/install_nala | bash. Now, I want to restore my terminal. Can you help me change it?
Towsif Ahammed Sohan's user avatar
0 votes
0 answers
104 views

When im trying to open terminal the terminal is totally blank there is nit even a durectory or $ appearing while opening the terminal?

When im trying to open terminal the terminal is totally blank there is nit even a durectory or $ appearing while opening the terminal? What should i do now? Please guide me step by step
Manohar Reddy's user avatar

1
2 3 4 5
18