Re: A couple of questions
- From: Jeff Vian <jvian10@xxxxxxxxxxx>
- Date: Sun, 05 Mar 2006 12:02:23 -0600
On Sun, 2006-03-05 at 18:07 +0100, Stelian Iancu wrote:
Hello all,The PS1 variable within your shell defines the prompt.
A couple of questions:
1. I had Ubuntu installed on my laptop and I have installed FC5t3
instead (I kept only my /home partition). Now, in every terminal I
start, the prompt is bash-3.1$. However, this happens only for a normal
user, for root, the prompt is root@hostname. What file do I have to
modify in order to get a normal prompt also for the regular user?
Mine for a regular user is
[jeff@eagle ~]$ echo $PS1
[\u@\h \W]\$
and for root is the same.
This is set by default for all users in /etc/bashrc
If you have it also defined in ~/.bashrc or ~/.bash_profile those will
take precedence over the /etc/bashrc definition and are often used to
customize the prompt per user.
2. I've installed gksu for easy access to nautilus. When I want to
execute it, I get this (after entering the root password):
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
(nautilus:2571): Gtk-WARNING **: cannot open display:
What do I have to do to make it work?
Many thanks!
S.
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- References:
- A couple of questions
- From: Stelian Iancu
- A couple of questions
- Prev by Date: Re: Maillog empty
- Next by Date: RE: FC5 - T3
- Previous by thread: Re: A couple of questions
- Index(es):
Relevant Pages
|