You are not logged in.
I don't use GNOME, and I don't want a Desktop directory. Though it seems that GTK programs keep creating one for me. Is there a way to disable this?
EDIT:
Solution: make a file called user-dirs.dirs and put it in ~/.config. Paste the following in:
XDG_DESKTOP_DIR="/home/egan/"
XDG_DOWNLOAD_DIR="/home/egan/"
XDG_TEMPLATES_DIR="/home/egan/"
XDG_PUBLICSHARE_DIR="/home/egan/"
XDG_DOCUMENTS_DIR="/home/egan/docs"
XDG_MUSIC_DIR="/home/egan/music"
XDG_PICTURES_DIR="/home/egan/pics"
XDG_VIDEOS_DIR="/home/egan/vids"
Replacing 'egan' with your user name of course, and editing the directories as needed (if you don't need gtk-fileselector to see these, just set them to your home directory).
Last edited by egan (2009-08-24 01:40:48)
Offline
There are already a few threads on this topic. First thing you'll need to work out is which of the GTK programs are creating the folder.
Offline
Maybe you will have to live with it (or start filling bug reports ) .... but if you keep getting garbage inside maybe you can chmod 000 and/or change the owner to root, it's a bit of an overkill but should should stop anything from getting stored inside
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
If you look through the settings for nautilus (I think) with gconf-editor, you should be able to find it.
Edit: It's under /apps/nautilus/preferences/desktop_is_home_dir .
Last edited by SamC (2009-08-23 23:29:27)
Offline
I have no Nautilus and no gconf editor. The programs I suspect of doing this (the only GTK programs I have) are Firefox, GIMP, and OpenOffice. Shouldn't there be a way to get rid of this!?
Last edited by egan (2009-08-23 23:34:54)
Offline
Have you tried installing gconf-editor and seeing if that key is set?
Offline
Firefox does it for sure. GIMP doesn't for sure. I don't have OpenOffice installed, so I don't know there.
I think Firefox may do it after every update. I can delete the folder and it goes away for a while. Then it magically reappears after some time.
Offline
I suggest figuring out which applications do this and then filing bugs reports in person using this:
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Change your Firefox preferences for Downloads to "Always ask". And if you ever again toggle the "Save files to" radio button, the Desktop directory will be recreated.
Offline
Found it. Delete the folder, go to Firefox's Preferences menu, click some of the tabs, and the folder appears. Now that's stupid.
Offline
I changed the "Save files to" to ~/downloads, then enabled "Always ask" and finally deleted the Desktop directory. Now I can go in and out of Preferences tabs without the Desktop directory being again created.
[Edit].. I spoke too soon. This zombie directory is back!
Last edited by thisoldman (2009-08-24 02:00:12)
Offline
Found it. Delete the folder, go to Firefox's Preferences menu, click some of the tabs, and the folder appears. Now that's stupid.
Really? That is really annoying. Maybe I should file a bug report...
Anyway I think I got this one solved. I switched from Ubuntu yesterday, and there I had to edit ~/.config/user-dirs.dirs to get the "Desktop" directory to be called "desktop" (I use the shell a lot and don't like non-unixy filenames). Placing this file (tweaked of course) in the appropriate directory seems to fixed this nuisance. Its impositions like these that caused me to switch to Arch in the first place but I guess I can never escape the GNOME.
Offline
Offline