How to make terminal looks cool/better/informative, as in this first post?

New to Puppy and have questions? Start here

Moderator: Forum moderators

Post Reply
User avatar
lizardidi
Posts: 72
Joined: Sat Jul 18, 2020 9:42 am
Has thanked: 20 times
Been thanked: 12 times

How to make terminal looks cool/better/informative, as in this first post?

Post by lizardidi »

Hi, i fell in love with the terminal looks as on the first post on this thread:
http://murga-linux.com/puppy/viewtopic.php?t=112927

But, after few days of google search, i cant figure out how these effects were implemented. Can anyone show me what it is, or which packages to install in order to get those geeky effects in my terminal?
User avatar
bigpup
Moderator
Posts: 6836
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 874 times
Been thanked: 1472 times

Re: How to make terminal looks cool/better/informative, as in this first post?

Post by bigpup »

I you are talking about URXVT terminal that is default terminal in most Puppies.

In the terminal

Code: Select all

urxvtcontrol
Should pop up a window with eye candy options you can set and adjust.

Note:
Be careful using transparency.
Desktop background can affect what you can see in a transparent display.
Best to just keep it turned off.
.
Screenshot.jpg
Screenshot.jpg (54.31 KiB) Viewed 446 times
Last edited by bigpup on Wed Sep 23, 2020 12:34 pm, edited 2 times in total.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
lizardidi
Posts: 72
Joined: Sat Jul 18, 2020 9:42 am
Has thanked: 20 times
Been thanked: 12 times

Re: How to make terminal looks cool/better/informative, as in this first post?

Post by lizardidi »

As in this picture posted by sc0ttman, his terminal displays info such as power, wifi, user info etc on every input.

Image

Not sure thou, whether it is urxvt specific. I personally prefer lxterminal.
User avatar
bigpup
Moderator
Posts: 6836
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 874 times
Been thanked: 1472 times

Re: How to make terminal looks cool/better/informative, as in this first post?

Post by bigpup »

Send scOttsman a PM and ask him.
He probably has made a special start command to run terminal.
ucp.php?i=pm&mode=compose&u=1373

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
rockedge
Site Admin
Posts: 6378
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2579 times
Been thanked: 2534 times
Contact:

Re: How to make terminal looks cool/better/informative, as in this first post?

Post by rockedge »

First there is a GUI as indicated above to change some of the parameters or begin with looking at /root/.bashrc (Bionic64),
this line sets the prompt in the terminals:

Code: Select all

PS1="\[\e]2;\w\a\e[32m\]$USER\\$ \[\e[0m\]"
Bash special character Bash special character explanation Bash special character Bash special character explanation
\\a an ASCII bell character (07) \\d the date in "Weekday Month Date" format (e.g., "Tue May 26")
\\] end a sequence of non-printing characters \\e an ASCII escape character (033)
\\h the hostname up to the first `.' \\H the hostname
\\j the number of jobs currently managed by the shell \\l the basename of the shell's terminal device name
\\n newline \\r carriage return
\\s the name of the shell, the basename of $0 (the portion following the final slash) \\t the current time in 24-hour HH:MM:SS format
\\T the current time in 12-hour HH:MM:SS format \\@ the current time in 12-hour am/pm format
\\A the current time in 24-hour HH:MM format \\u the username of the current user
\\v the version of bash (e.g., 2.00) \\V the release of bash, version + patchelvel (e.g., 2.00.0)
\\w the current working directory \\W the basename of the current working directory
\\! the history number of this command \\# the command number of this command
\\$ if the effective UID is 0, a #, otherwise a $ \\nnn the character corresponding to the octal number nnn
\\\\ a backslash \\[ begin a sequence of non-printing characters, which could be used to embed a terminal control sequence into the prompt
\\D{format} the format is passed to strftime(3) and the result is inserted into the prompt string; an empty format results in a locale-specific time representation. The braces are required
Bash prompt customization

After user logins into the system, user environment variables are initialized from various files:

/etc/profile or /etc/bashrc (system wide)
~/.bash_profile , ~/.bash_login , ~/.profile , ~/.bashrc or ~/.bash_logout (user)

It is important to know that all users environment variable have a life time equal to the terminal session. When the terminal session is closed the user's variables including bash shell variables defined during a terminal session are emptied and a again redefined when new terminal session is created either via logo in shell or interactive shell. Lets define two variables to prove this statement.
Permanent bash variable definition
This example is here : https://linuxconfig.org/bash-prompt-basics
User avatar
Trapster
Posts: 173
Joined: Sat Aug 01, 2020 7:44 pm
Has thanked: 1 time
Been thanked: 44 times

Re: How to make terminal looks cool/better/informative, as in this first post?

Post by Trapster »

That is a nice looking terminal.
I wonder if the info is in the title bar and not the prompt. ?
User avatar
lizardidi
Posts: 72
Joined: Sat Jul 18, 2020 9:42 am
Has thanked: 20 times
Been thanked: 12 times

Re: How to make terminal looks cool/better/informative, as in this first post?

Post by lizardidi »

Trapster wrote: Wed Sep 23, 2020 1:00 pm That is a nice looking terminal.
I wonder if the info is in the title bar and not the prompt. ?
not title bar, click the original post, and you will see. Really good looking.
Post Reply

Return to “Beginners Help”