On Tue, 19 Jul 2011 21:29:50 +0200, Stanisław Findeisen wrote:

> On 2011-07-19 16:54, Camaleón wrote:
>> On Tue, 19 Jul 2011 07:52:17 +0000, Liam O'Toole wrote:
>> 
>>> On 2011-07-19, Stanisław Findeisen <s...@eisenbits.com> wrote:
>>>
>>> (...)
>>>
>>>> Hm, I just deleted all those funny dirs in my $HOME: Music,
>>>> Pictures... and Desktop. When I rebooted (or so) I found all my $HOME
>>>> subdirs (well, at least many) on the desktop.
>>>>
>>>> How to disable that?
>>>>
>>>> I disabled /apps/nautilus/preferences/desktop_is_home_dir and I
>>>> recreated $HOME/Desktop, and even rebooted, but it didn't help.
>>>>
>>>> ??
>>>>
>>>> This is Debian Squeeze (and GNOME).
>>>
>>> Sounds like the work of xdg-user-dirs:
>>>
>>>     http://freedesktop.org/wiki/Software/xdg-user-dirs
>> 
>> There is a package available with that name ("xdg-user-dirs"), may be
>> it is required to tweak and set that settings :-?
> 
> In $HOME/.config/user-dirs.dirs I changed the line:
> 
> XDG_DESKTOP_DIR="$HOME"
> 
> to:
> 
> XDG_DESKTOP_DIR="$HOME/Desktop"
> 
> and commented out the rest.
> 
> This removed the icons from the desktop, but also recreated those
> Pictures ... etc. dirs.

I also wonder what all that pre-set folders are for. It should be nice to 
have a simple "switch" to turn them off/on.

> Then I tried this:
> 
> # This file is written by xdg-user-dirs-update 
> # If you want to change or add directories, just edit the line you're 
> # interested in. All local changes will be retained on the next run 
> # Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped 
> # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an 
> # absolute path. No other format is supported. 
> #
> XDG_DESKTOP_DIR="$HOME/Desktop"
> XDG_DOWNLOAD_DIR="$HOME/tmp"
> XDG_TEMPLATES_DIR="$HOME/tmp"
> XDG_PUBLICSHARE_DIR="$HOME/tmp"
> XDG_DOCUMENTS_DIR="$HOME/tmp"
> XDG_MUSIC_DIR="$HOME/tmp"
> XDG_PICTURES_DIR="$HOME/tmp"
> XDG_VIDEOS_DIR="$HOME/tmp"
> 
> and it seems to work (no icons, no dirs) however I don't know if it has
> any side effect or not.

I hope not. It is intended for user customization. But does your user 
have a "/tmp" folder? :-?

> Uninstalling xdg-user-dirs is not possible since Gnome depends on it. In
> fact, Gnome depends even on packages such as evolution-plugins or
> totem-mozilla. 8-|

Mmm, I can't tell for that. At least in lenny that package (xdg-user-
dirs) is not required by others, just a couple of them:

sm01@stt008:~$ apt-cache rdepends xdg-user-dirs
xdg-user-dirs
Reverse Depends:
  xdg-user-dirs-gtk
  elisa-plugins-good

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.07.20.15.12...@gmail.com

Reply via email to