Questions tagged as ['gnome-terminal']
Ubuntu 21.10. My gnome-terminal
opens to a standard 80x24 size window. That's fine.
However, if I maximize the window to the size of my display (1920x1080) and then immediately un-maximize the window, it returns to a 80x23 size window. Then I have to manually reset the window size to 80x24 using the "Advanced" menu in gnome-terminal
.
And, in fact, every time that I maximize/un-maximize the gnome-t ...

I upgraded Ubuntu 18.04 to 20.04 and now everything is broken. apt doesn't work.keep getting dpkg errors when trying to use it. cant install anything. nautilus and terminal doesn't work. lots of icons are not appearing.broken icons broken icons2 broken icons3
some python errors occurring and so on. what to do now? even backup program doesn't work. How to make it work again? I couldn't understand how ...
I've configured my terminal in a such a way that it runs neofetch
when opened.
However, there is now, a 200ms (approx.) delay before i can start typing.
Are there any faster alternatives to neofetch
or is it possible to cache neofetch's output periodically?
Err:17 http://packages.microsoft.com/repos/code stable/main amd64 Packages
File has unexpected size (40367 != 55406). Mirror sync in progress? [IP: 40.65.182.21 80]
Hashes of expected file:
- Filesize:55406 [weak]
- SHA512:375df5cd3f502bd79e283f335e82aaa100345ebc687f4d080f18ebd4fb5d61a1cd09468031365bf054a5ab37dd9899bc9fbdcd589d998e198086a68e1ca1251a
- SHA256:e05badc92e0971793e10fed74f79accb6b ...
I've tried to install an IPkernel
to run R
scripts in my jupyter notebook, but in the steps I followed I accidentally re-installed jupyter from this command
sudo apt-get install libzmq3-dev libcurl4-openssl-dev libssl-dev jupyter-core jupyter-client
,
which made my already existing jupyter notebook not want to launch. After that, I tried to remove the jupyter snap with
sudo snap remove jupyter
but it too ...

gnome-terminal can open many windows, and in one window may have several tabs.
I want to active one gnome-terminal window which has a bash run in one of its tabs, for the CWD of that bash preventing my portable disk from ejecting properly.
I found the bash pid is 25938 by lsof.
In my example, I found there's 5 windows, 8 tabs. The issue is how to figure out 25938 in which window, by cmd of course.
...Currently I'm working on a script which changes my gnome terminal theme depending on daytime. I do this with the command:
gsettings set org.gnome.Terminal.ProfilesList default "$terminal_profile_id"
It is working well, but the new color theme is only visible when I start new terminal sessions. I'm looking for a way to also change the profile of all already running gnome terminals. It is possible via t ...
I want to run a source code that needs four terminal A, B, C and D. There are some commands for source code running in Ubuntu.
These commands must be run in order in terminals A, B, C, D, A, B and C
. Indeed these commands are interconnected and must be executed in this specific order.
I want to automatically run the source code with shell scripting. I already have wrote a shell script that opens multipl ...

I'm not sure this kind of question is acceptable here.
I'm thinking of trying terminator.(https://www.tecmint.com/terminator-a-linux-terminal-emulator-to-manage-multiple-terminal-windows/)
The hot key to split the window horizontally is ctrl+shift+O
and vertically is ctrl+shift+E
. Where do the key E
and O
come from? Is it from German eben
and oben
? (I've learned some German and in German eben
sounds ...
i usually use terminal ctrl+alt+t
to power off my pc. but sometimes when i accidentally press ctrl+alt
for a while, ubuntu gets stuck on a black/dark purple screen with text
ubuntu [version]
xxx login:
and a cursor (blinking underscore (_))
when i enter both passwords (for the only 2 users present), it shows incorrect login. when i press the on/off button for 2 seconds, it powers off and then i can ...
I must be missing something here. I have worked with terminal before. I am trying to change "true" to false and the arrow keys are not moving the cursor to do this. Please help me . Thanks.terminal picture
Thanks to all for your help. Is there somewhere to mark this as solved?
I'm sorry but how do I "accept" an answer? I don't mean to seem dumb here.......
I use ubuntu 20.04 and can't open terminal, settings, software updater, and ... I had to use my vscode terminal instead.
before installing Django and python3.9, I hadn't this issue. I think something is wrong with python on my computer.
Here are the errors I get:
error1: when I run sudo apt do-release-upgrade
in my vscode terminal:
Traceback (most recent call last):
File "/usr/bin/do-release-upgrade", ...
I have my Terminal color scheme set to White on Black. However, whenever I use console programs such as aptitude or minicom, the black background takes on a solarized appearance. I abhor the solarized look. The aptitude program has no color options. The minicom program has limited options, but the background color option clearly says BLACK. Yet, I still get a solarized background.

How can I change the terminal beep from the default "drip" to "glass"?
I know I can open Settings, select Sound, and then, in the Alert Sound section, select "Glass".
How can this change be achieved using the command line?

I'm using Gnome Terminal (under KDE, but I'm not sure if that's important), and when I hover my mouse over the scrollbar, the scrollbar gets wider and causes the text to wrap. Here's a GIF:
It's like the terminal is not leaving enough space for the expanded scrollbar, so the text area gets narrower when you hover over the scrollbar.
I had a problem that gave me an error message in the terminal whenever I tried executing a command. I checked a forum, and the most helpful solution instructed me to run this command:
sudo apt-get --reinstall install python3-minimal
So did I reinstall a file named 'Python3-minimal', or did I reinstall a 'minimal' version of python3? I am new to all this, so please forgive me for such a dumb question.

Icons have changed, terminal is now white. I cannot recall doing something that might have done this and I don't know how to bring my old setup back. This one looks horrible
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
Any suggestions?
I have 12 folders
one
two
three
four
...
I wish to make something like this
one.iso
two.iso
...
but I don't know what command can I use. Any suggestion?
with Mkisofs you can use
mkisofs –o backup.iso /home/tin/Documents/backup
but this command is only for 1 folder: 1 iso file but I want 12 folders:12 iso files
The program takes a picture and saves it to a directory named images.
#!/usr/bin/env/python
import cv2
import datetime
filename = datetime.datetime.now()
cam = cv2.VideoCapture(0)
s, img = cam.read()
if s:
cv2.imwrite("images/" + str(filename) + ".jpg",img)
Running it from pycharm works like a charm (pun not intended) , but running it from terminal fails. The light for the camera flashes, but ...
How can I configure the default ubuntu terminal to identify file locations in the logs (for example: stack-traces) and be able to open them in my current opened VSCode instance?
In MacOS, I configured Iterm2 to do that. I'm not sure how to do it on Ubuntu.
If it's not possible, is there other terminal that can do that on Ubuntu?
I am a new user of Linux. I have written a Python program with a loop that runs 10 times and prints one line each time. I saved it as printing.py Now I want to use the terminal to ensure that the printout is saved in a new file.
The code I use is:
counter = 1
while counter <= 10:
print("This is line", counter)
counter = counter +1
However, I don't know how to get from the program that I saved as p ...

The "uptime" command on my laptop which is running on Ubuntu 20.04 is showing there is 4 users on my laptop:
I did search on the internet on how this uptime command works.
According to them, it counts all the active session on terminal.
If I create more window on the terminal the user number will increase.
I created more tabs on my terminal, ran various commands and the number of users remain unchan ...

In the recent version of gnome terminal, when text is pasted into the terminal, it is initially highlighted in white.
I would like to change this paste-highlight color to something else (preferably light gray).
How can I achieve this?
I assume this can be configured in ~/.bashrc
, but I may be wrong.
(Please note, I am not talking about the terminal highlight color that can be set in gnome terminal's ...
I was trying to install certain software and edited bashrc file, due to various errors I replaced it with default basrc file, but now 'exit' command is not exiting the terminal, its simply displaying 'exit'. can i get back the exit command?
For input into gnome-terminal --geometry. I would like to customize the gnome-terminal position upon opening it.
I can not find Ubuntu terminal. I found xterm terminal which is not easy at all. how can i install terminal. However, I tried to install it via xterm but it told me that no installation candidate. how to reinstall?
I want to make the Terminal of Ubuntu look like Linux Lite?
Because in Linux Lite I can see the branch in git and it looks cool.