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

Re: when an xterm starts, it always starts in ~/Documents





On Tue, Feb 28, 2012 at 00:20, Camaleón <noelamac@gmail.com> wrote:
On Mon, 27 Feb 2012 18:01:31 +0000, Sian Mountbatten wrote:

> On 27/02/12 17:50, Tom H wrote:
>> On Mon, Feb 27, 2012 at 12:09 PM, Alberto Fuentes
>> <alberto.fuentes@qindel.com>  wrote:
>>> On 25/02/12 02:59, Sian Mountbatten wrote:
>>>>
>>>> Whenever I start an xterm, I notice that it starts in ~/Documents
>>>> rather than in the home directory. Why is that? Where is it set?
>>>>
>>>> And can it be set to the HOME directory?
>>>
>>> well, its something of kde. Im using testing and it happens the same
>>> to me. i did not found where is set in kde. I asked in #debian-kde and
>>> i was told to just 'cd' at the end of my .bashrc and, you know what?
>>> it works :D
>>
>> But that doesn't explain why it's happening.
>>
>>
> Agreed. But I put the command in .bashrc, .bash_profile and .profile
> and, indeed, it does work. I don't mind having a Documents
> sub-directory. I just object to being put there without my permission.
> Who's in control here? Is it the KDE team or me? Well!

It seems to be a known KDE bug:

https://bugs.kde.org/show_bug.cgi?id=201072

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] jigj96$288$18@dough.gmane.org" target="_blank">http://lists.debian.org/[🔎] jigj96$288$18@dough.gmane.org



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


--
http://saurorja.org
Twitter: @anand_sivaram



Reply to: