Messed up my terminal

All Gurus once were Newbies
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. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
zoum26
Level 1
Level 1
Posts: 4
Joined: Wed Jan 30, 2013 11:03 pm

Messed up my terminal

Postby zoum26 » Wed Jan 30, 2013 11:06 pm

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

User avatar
passerby
Level 6
Level 6
Posts: 1369
Joined: Sun Dec 16, 2012 7:29 pm

Re: Messed up my terminal

Postby passerby » Thu Jan 31, 2013 1:28 am

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.
Home PC: Xubuntu 14.04 x64, Nvidia GTX650, i7 3770K, 16GB RAM, Asus Xonar DX
Work PC: Mint 13 x64 XFCE, Nvidia GT620, i5 3470, 8GB RAM
Laptop: System76 Kudu Pro, Xubuntu 14.04 x64

My HTML5 login themes + screenshots

Tartufo
Level 1
Level 1
Posts: 13
Joined: Tue Feb 05, 2013 5:50 am

Re: Messed up my terminal

Postby Tartufo » Wed Feb 06, 2013 1:33 pm

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.


Return to “Newbie Questions”

Who is online

Users browsing this forum: MajorMuff, Schemel and 13 guests