[126] in athena10

home help back first fref pref prev next nref lref last post

Re: Free Desktop Directores in $HOME

daemon@ATHENA.MIT.EDU (Quentin Smith)
Tue Mar 18 18:30:06 2008

Date: Tue, 18 Mar 2008 18:29:21 -0400 (EDT)
From: Quentin Smith <quentin@MIT.EDU>
To: Timothy G Abbott <tabbott@mit.edu>
cc: athena10@mit.edu
In-Reply-To: <Pine.LNX.4.64L.0803171900170.11676@mega-man.mit.edu>
Message-ID: <Pine.LNX.4.64L.0803181828110.16263@vinegar-pot.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

I went and dug around in the code and documentation. I want to point out 
that these defaults are only written into ~/.config/user-dirs.dirs when 
~/.config/user-dirs.dirs does not exist, and are not updated after that 
first creation. Therefore, this will only affect people who have never 
logged into Debathena (probably a reasonable solution)

--Quentin

On Mon, 17 Mar 2008, Timothy G Abbott wrote:

> Anders and I discussed this for a while, and concluded that a better solution 
> is probably to change /etc/xdg/user-dirs.defaults.
>
> The current draft solution (debathena-desktop-config in the Debathena locker) 
> instead "replaces" that file for users AFS home directories (by checking 
> DEBATHENA_HOME_TYPE in a script in /etc/X11/Xsession.d/).
>
> We set the following defaults:
>
> DESKTOP=Desktop
> DOWNLOAD=Desktop
> TEMPLATES=
> PUBLICSHARE=Public
> DOCUMENTS=
> MUSIC=
> PICTURES=
> VIDEOS=
>
> ($HOME is prepended to each of these before being copied into a file in 
> ~/.config/user-dirs.dirs).
>
> 	-Tim Abbott
>
> On Mon, 17 Mar 2008, Timothy G Abbott wrote:
>
>> People were complaining in the office today about their Athena home 
>> directories being spammed with directories with names:
>>
>>    * Documents
>>    * Music
>>    * Pictures
>>    * Templates
>>    * Videos
>> 
>> created whenever they login to zsr (or any other Debathena Gutsy machine).
>> 
>> This behavior can be disabled by doing
>> 
>> sed -i 's/^enabled=True$/enabled=False/' /etc/xdg/user-dirs.conf
>> 
>> Is this something that we want to configure for debathena-workstation?  I 
>> suspect that our users would appreciate not having these directories 
>> created automatically in their home directory every time they login (it's 
>> pretty obnoxious behavior; though it may be user-configurable by editing 
>> ~/.config/user-dirs.dirs).
>>
>> 	-Tim Abbott
>> 
>

home help back first fref pref prev next nref lref last post