Re: when an xterm starts, it always starts in ~/Documents
On Tue, 28 Feb 2012 13:19:43 +0530, Anand Sivaram wrote:
> On Tue, Feb 28, 2012 at 00:20, Camaleón <noelamac@gmail.com> wrote:
>> It seems to be a known KDE bug:
>>
>> https://bugs.kde.org/show_bug.cgi?id=201072
> xterm normally starts in the PWD of the calling process. KDE parent
> process may be using ~/Documents.
> I overcome this by specifically using an override in .bashrc
>
> if [ "$PWD" == $HOME/Documents ]
> then
> cd $HOME
> fi
And what if you're on "~/Documents" because you want to start there and
open an xterm? You need extra typing again ;-)
There can be workarounds to the problem but the proper one should be
fixing it upstream.
Greetings,
--
Camaleón
Reply to: