[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: An Embarrassing Progblem



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Jan 23, 2017 at 07:58:01PM +0000, der.hans wrote:
> Am 23. Jan, 2017 schwätzte S. P. Molnar so:
> 
> moin moin Stephen,
> 
> >
> >On 01/23/2017 01:38 PM, der.hans wrote:
> >>grep PS1 ~/.bashrc ~/.bash_profile ~/.profile
> >
> >Thanks for the answers.
> >
> >I thought that i had the solution.  Grep showed me that ps1 was
> >only in .bashrc.  After making a copy of .bashrc I removed the
> >entire if ... fi section that contained PS1.
> >
> >I added PS1="\u@\h >" to the end of .bashrc and sourced the file -
> >it worked, in that terminal.  However, if I open a new terminal
> >(I'm using xfce4-terminal) the prompt is back to the corrupted
> >one!
> 
> Ah, xfce might have a(n annoying) default setting. KDE had a similar
> problem for a while. If so searching your home dir for the change won't
> help as the default was either in a system config file or baked into the
> binaries.

There should be a session file somewhere in ~/.config (sorry I have no
more details). Perhaps XFCE honors ~/.xinitrc, ~/.xsessionrc or some
of their siblings.

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAliGYwQACgkQBcgs9XrR2kZisQCfZIPhoC6R9bsEGk6LUfmDQ3aE
y/0AnjeKHrkLeAF2MN0Bwb7mQtv8xk4u
=cLav
-----END PGP SIGNATURE-----


Reply to: