You are not logged in.

#1 2009-04-03 10:01:00

orphius
Member
Registered: 2009-01-24
Posts: 9

Setting Global Prompt Color

I have setup my bashrc prompt colors exactly the way I want them. My issue is that some scripts and apps change the color back to the default gray. I would like to change this behaviour and have no idea where to procede.
EDIT: What i need to change is the default system prompt color. Any ideas on how to do so?

Last edited by orphius (2009-04-03 11:07:53)

Offline

#2 2009-04-03 12:05:21

timetrap
Member
From: Here and There
Registered: 2008-06-05
Posts: 342
Website

Re: Setting Global Prompt Color

I think this is on an application-by-application basis. The reason why the applications are changing the background color is because they aren't using the X defaults. You seem to have successfully changed the system X defaults. Now you need to change the applications to use those defaults.

What applications are changing the terminal background?

Offline

#3 2009-04-03 12:32:37

orphius
Member
Registered: 2009-01-24
Posts: 9

Re: Setting Global Prompt Color

pacman is one and rkhunter is another. Also here is my PS1 entry in case it might help

PS1='\[\033[1;36m\]\d\[\033[0m\]\[\033[1;36m\] \@ \[\033[0m\]\n\[\033[1;32m\]\u\[\033[0m\]\[\033[1;37m\] @ \[\033[0m\]\[\033[1;32m\]$PWD\[\033[0m\]\[\e[1;36m\] \$ '

I know there is a way to change the system default font color in runlevel3 I think thats what I need to change. Its the font color not the background i want to change

Last edited by orphius (2009-04-03 14:59:03)

Offline

Board footer

Powered by FluxBB