Customization > Desktop Customization

How to change the color of user@host text line of LXTerminal?

(1/2) > >>

GregO:

--- Quote from: gabanmaven on April 20, 2018, 11:55:19 AM ---
--- Quote from: GregO on April 19, 2018, 06:55:21 PM ---https://www.linuxliteos.com/forums/other/colored-bash-prompt-for-linux-lite/

Close .bashrc and save changes and open a terminal.

--- End quote ---

Thank you, good Sir!
Worked like magic!  :D

--- End quote ---

Glad it worked out for you.

You can also change user@host color in .bashrc where you see the line with PS1 by changing [01;32m\] with one of the others on the list below.

[01;30m\]  Black
[01;31m\]  Red
[01;32m\]  Green
[01;33m\]  Yellow
[01;34m\]  Blue
[01;35m\]  Purple

Replace the 0 with a 4 and it will be underlined.

gabanmaven:

--- Quote from: GregO on April 19, 2018, 06:55:21 PM ---https://www.linuxliteos.com/forums/other/colored-bash-prompt-for-linux-lite/

Close .bashrc and save changes and open a terminal.

--- End quote ---

Thank you, good Sir!
Worked like magic!  :D

GregO:

--- Quote from: GregO on April 19, 2018, 06:55:21 PM ---https://www.linuxliteos.com/forums/other/colored-bash-prompt-for-linux-lite/

Once modified, close .bashrc and save changes and open a terminal.

--- End quote ---

GregO:
https://www.linuxliteos.com/forums/other/colored-bash-prompt-for-linux-lite/

Close .bashrc and save changes and open a terminal.

trinidad:
Try the link below. Make sure the syntax looks like a match to your original before you copy and paste.
http://ezprompt.net/

or read through this link
https://www.howtogeek.com/307701/how-to-customize-and-colorize-your-bash-prompt/

TC

Navigation

[0] Message Index

[#] Next page

Go to full version