Messed up my terminal

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
zoum26

Messed up my terminal

Post by zoum26 »

Hi. I messed up my terminal...
Every time i open it, this is what it looks like

Code: Select all

declare -x COLORTERM="gnome-terminal"
declare -x DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-1NZyd20Ny1,guid=109e1c3374254bd7011d312b5109df49"
declare -x DEFAULTS_PATH="/usr/share/gconf/default.desktop.default.path"
declare -x DESKTOP_SESSION="default.desktop"
declare -x DISPLAY=":0"
declare -x GJS_DEBUG_OUTPUT="stderr"
declare -x GJS_DEBUG_TOPICS="JS ERROR;JS LOG"
declare -x GNOME_DESKTOP_SESSION_ID="this-is-deprecated"
declare -x GNOME_KEYRING_CONTROL="/run/user/valerie/keyring-MN9YN1"
declare -x GPG_AGENT_INFO="/run/user/valerie/keyring-MN9YN1/gpg:0:1"
declare -x HOME="/home/valerie"
declare -x LANG="en_CA.UTF-8"
declare -x LOGNAME="valerie"
declare -x MANDATORY_PATH="/usr/share/gconf/default.desktop.mandatory.path"
declare -x MDMSESSION="default.desktop"
declare -x MDM_LANG="en_CA.UTF-8"
declare -x MDM_XSERVER_LOCATION="local"
declare -x OLDPWD
declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
declare -x PWD="/home/valerie"
declare -x SESSION_MANAGER="local/valerie-Inspiron-5423:@/tmp/.ICE-unix/1571,unix/valerie-Inspiron-5423:/tmp/.ICE-unix/1571"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SSH_AGENT_PID="1648"
declare -x SSH_AUTH_SOCK="/run/user/valerie/keyring-MN9YN1/ssh"
declare -x TERM="xterm"
declare -x USER="valerie"
declare -x USERNAME="valerie"
declare -x WINDOWID="39845893"
declare -x WINDOWPATH="8"
declare -x XAUTHORITY="/home/valerie/.Xauthority"
declare -x XDG_CONFIG_DIRS="/etc/xdg/xdg-default.desktop:/etc/xdg"
declare -x XDG_CURRENT_DESKTOP="GNOME"
declare -x XDG_DATA_DIRS="/usr/share/default.desktop:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/"
declare -x XDG_RUNTIME_DIR="/run/user/valerie"
declare -x XDG_SESSION_COOKIE="10d2c401469bba7556c6f7f15104fce2-1359601481.465962-629053791"
is there a way to uninstall and reinstall it?

thanks
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
passerby

Re: Messed up my terminal

Post by passerby »

I don't know if it'll fix the issue, but yes, you can reinstall it.
Open the terminal and type in

Code: Select all

sudo apt-get install --reinstall gnome-terminal
You may instead wish to purge it then install, since whatever's causing the issue will likely persist otherwise.
Tartufo

Re: Messed up my terminal

Post by Tartufo »

passerby wrote:I don't know if it'll fix the issue, but yes, you can reinstall it.
Open the terminal and type in

Code: Select all

sudo apt-get install --reinstall gnome-terminal
You may instead wish to purge it then install, since whatever's causing the issue will likely persist otherwise.

Yeah - the way to do that would be to simply type:

Code: Select all

sudo apt remove --purge gnome-terminal
and then do what passerby suggested.
Locked

Return to “Beginner Questions”