Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #176952

Re: An Embarrassing Progblem

From Kent West <westk@acu.edu>
Newsgroups linux.debian.user
Subject Re: An Embarrassing Progblem
Date 2017-01-23 21:20 +0100
Message-ID <t2TfP-2xn-1@gated-at.bofh.it> (permalink)
References <t2RH5-1v8-27@gated-at.bofh.it> <t2RQJ-1wu-5@gated-at.bofh.it> <t2SMO-26Q-15@gated-at.bofh.it> <t2SWu-2b0-17@gated-at.bofh.it> <t2TfP-2xn-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, Jan 23, 2017 at 2:09 PM, <tomas@tuxteam.de> wrote:

> -----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.
>
>
>
>
XFCE has a menu shell option:

Menu -> Edit -> Preferences -> General Tab -> “Run command as login shell”

that as I understand it, if clicked, causes XFCE shells to bypass .bashrc
in favor of .bash_profile.

But my understanding is not to be trusted; I found this info at
http://www.rebrik.info/blog/?p=74

-- 
Kent


-- 
Kent West                    <")))><
Westing Peacefully - http://kentwest.blogspot.com

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

An Embarrassing Progblem "S. P. Molnar" <s.molnar@sbcglobal.net> - 2017-01-23 19:40 +0100
  Re: An Embarrassing Progblem "der.hans" <deb-user@LuftHans.com> - 2017-01-23 19:50 +0100
    Re: An Embarrassing Progblem "S. P. Molnar" <s.molnar@sbcglobal.net> - 2017-01-23 20:50 +0100
      Re: An Embarrassing Progblem Greg Wooledge <wooledg@eeg.ccf.org> - 2017-01-23 21:00 +0100
      Re: An Embarrassing Progblem "der.hans" <deb-user@LuftHans.com> - 2017-01-23 21:00 +0100
        Re: An Embarrassing Progblem Kent West <westk@acu.edu> - 2017-01-23 21:20 +0100
        Re: An Embarrassing Progblem <tomas@tuxteam.de> - 2017-01-23 21:20 +0100
          Re: An Embarrassing Progblem Ben Caradoc-Davies <ben@transient.nz> - 2017-01-23 22:30 +0100
            Re: An Embarrassing Progblem "S. P. Molnar" <s.molnar@sbcglobal.net> - 2017-01-24 13:00 +0100

csiph-web