> From: Christopher Gregory <[email protected]>
> To: [email protected]
> Date: Wed, 03 Sep 2014 17:03:46 +1200
> Subject: Re: [blfs-dev] LXDM: localization fixed but runlevel two different
>  fixes [Was Re: ... bootscripts: . blfs/init.d]
>
> On Tue, 2014-09-02 at 20:05 -0300, Fernando de Oliveira wrote:
> > Fixed at revision 14177.
> > 
> > Thanks Armin and Bruce.
> > 
> > Armin, I could not use your suggestion (my preferred one), because each
> > time an x-terminal emulator started, several error messages about not
> > finding patappend and pathremove appeared in the newly open terminal..
> > 
> > I recall that they used to be unset, and is not anymore, thought it was
> > /etc/profile that unset it, but was not. If I could find how to avoid
> > this problem, I would replace the fix I put in the book, and don't like,
> > by yours.
> > 
> > -- 
> > []s,
> > Fernando
>
> Hello Fernando,
>
> I have added this to my ~/.bashrc
> source /etc/profile
>


(Hmmm. Depends of course on how are the startup files organised. Some
folks chain:
  { /etc/profile (+) /etc/profile.d/ }
  -- { ~/.profile | ~/.bash_profile | ~/.bash_login}
  -- { ~/.bashrc }
  -- { /etc/bashrc }
; and at most perhaps call some parts of /etc/profile.d/ from the bashrc
stuff. But yes, I know that you're talking about what worked for you here.
)


> I did this so that when I am using a terminal such as in lxde or in
> gnome-terminal that the title and directory gets correctly displayed
> when opening a new terminal in a tab or window.
>


Perhaps just a side-note, but: certainly at least for twm, if the locale
isn't liked by X then titlebars of windows, and strings in wm menus, &c, just
all show 'untitled' (or 'Untitled'). Perhaps you're hitting a similar thing?
(Ref e.g.:
 "Warning: locale not supported by Xlib, locale set to C"
 http://www.linuxfromscratch.org/lfs/view/7.5/chapter07/profile.html
; and innumerable reports down the years of the 'untitled' behaviour.
)



rgds,
akh





--
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to