[127] in athena10
Re: Free Desktop Directores in $HOME
daemon@ATHENA.MIT.EDU (Timothy G Abbott)
Tue Mar 18 18:45:42 2008
Date: Tue, 18 Mar 2008 18:44:57 -0400 (EDT)
From: Timothy G Abbott <tabbott@MIT.EDU>
To: Quentin Smith <quentin@mit.edu>
cc: athena10@mit.edu
In-Reply-To: <Pine.LNX.4.64L.0803181828110.16263@vinegar-pot.mit.edu>
Message-ID: <Pine.LNX.4.64L.0803181830121.30118@vinegar-pot.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Technically, it's people who have never logged into a debathena-login
Ubuntu machine graphically, which is a much larger class of people. But I
agree it would have been better to have fixed this earlier.
I've uploaded debathena-desktop-config with this solution, and it is in
testing on mega-man and zsr. I'll add it to debathena-login's
dependencies since I think it's in the same category as
debathena-gconf-config in a few days, which will cause to to start
showing up on other machines.
-Tim Abbott
On Tue, 18 Mar 2008, Quentin Smith wrote:
> 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
>>>
>>
>