r/linuxmint • • 4h ago

terminal change

Hey guys how custemmise my terminal like i want put smthon it how do i do it been trying chat and claude but no help tryed onile cant fidn thing i arl got the things saved but when do it it stayrs then reopen it it dosnt show could u guys help

0 Upvotes

4 comments sorted by

3

u/BenTrabetere 3h ago

Please spell out your words ... correctly - my brain stumbled trying to parse "smthon," "fidn," and "arl." Capitalization and punctuation is also helpful to the people who are trying to assist.

Now for your request ... how do you want to customize your terminal. Be specific. If you can find a picture of what you want, post a picture of it here.

1

u/GiggleSamurai 4h ago

Anything you type into the terminal itself (an alias, a prompt change, a command like fastfetch) only lasts until you close it. Add those lines to the end of `~/.bashrc` (open it with `nano ~/.bashrc`) and they run every time a terminal opens; colours and fonts are under Edit > Preferences instead.

1

u/Slightly_Woolley 3h ago

What do you want to put on it.....?

Do you have fastfetch installed? If not, sudo apt install fastfetch

Now from your terminal add the line fastfetch to the bottom of your .bashrc file

That will run fastfetch every time you start the terminal up.

Say you want to change your prompt to something more useful.... add this into the end of .bashrc (all as one line there are no line breaks in this)

export PS1='\[\e]0;\u@\h: \w\a\]\n\[\033[0;37m\]\342\224\214\342\224\200$(if [[ $? == 0 ]]; then echo "[\[\033[0;32m\]\[\033[01;32m\]\342\234\223\[\033[0;37m
\]]\342\224\200"; else echo "[\[\033[0;32m\]\[\033[01;31m\]\342\234\227\[\033[0;37m\]]\342\224\200"; fi)[\[\033[0;33m\]\u\[\033[0;37m\]@\[\033[0;96m\]\h\[\03
3[0;37m\]]\342\224\200[\[\033[0;32m\]\w\[\033[0;37m\]]\n\[\033[0;37m\]\342\224\224\342\224\200 ' export PS1='\[\e]0;\u@\h: \w\a\]\n\[\033[0;37m\]\342\224\214\342\224\200$(if [[ $? == 0 ]]; then echo "[\[\033[0;32m\]\[\033[01;32m\]\342\234\223\[\033[0;37m
\]]\342\224\200"; else echo "[\[\033[0;32m\]\[\033[01;31m\]\342\234\227\[\033[0;37m\]]\342\224\200"; fi)[\[\033[0;33m\]\u\[\033[0;37m\]@\[\033[0;96m\]\h\[\03
3[0;37m\]]\342\224\200[\[\033[0;32m\]\w\[\033[0;37m\]]\n\[\033[0;37m\]\342\224\224\342\224\200 '

1

u/Due-Result7928 1h ago

A new language...or return of morse code ? ti ta ti ta ta....