[122] in athena10

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

Re: Free Desktop Directores in $HOME

daemon@ATHENA.MIT.EDU (Timothy G Abbott)
Mon Mar 17 19:03:44 2008

Date: Mon, 17 Mar 2008 19:03:00 -0400 (EDT)
From: Timothy G Abbott <tabbott@MIT.EDU>
To: athena10@mit.edu
In-Reply-To: <Pine.LNX.4.64L.0803171736520.11676@mega-man.mit.edu>
Message-ID: <Pine.LNX.4.64L.0803171900170.11676@mega-man.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

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