LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   What program creates the directory Desktop and how do I stop it. (https://www.linuxquestions.org/questions/slackware-14/what-program-creates-the-directory-desktop-and-how-do-i-stop-it-4175533095/)

nyloc 02-04-2015 06:30 PM

What program creates the directory Desktop and how do I stop it.
 
I'm using Slackware 14.1 64 bit with KDE and every time I reboot after doing something in another op sys the directory Desktop gets created within a couple of hours (but not straight after the reboot).
I do not want a directory called Desktop on my system and I hate the fact that some program creates it without my permission and I am getting bored with having to remove the directory just because I wanted to use another op sys.
Does anyone know what program creates the directory and more important how to stop it?
Is the problem with Slackware itself or is KDE doing it?

dugan 02-04-2015 06:37 PM

KDE

55020 02-04-2015 06:43 PM

  1. There is a file /etc/xdg/user-dirs.conf
  2. Edit it, change enabled=True to enabled=False
  3. Smite the crap
  4. Be happy

metaschima 02-04-2015 06:45 PM

I suspect Firefox:
https://support.mozilla.org/en-US/questions/969161

rogan 02-04-2015 07:07 PM

Seamonkey is a notorious offender

moisespedro 02-04-2015 07:21 PM

Firefox always creates one

nyloc 02-04-2015 07:44 PM

For anyone else with the same issue this happened after running slkpkg upgrade not after the initial install.

55020 that looks to have cured it (were you sitting there waiting for me to ask the question) also seems to have cured a small problem with Ktorrent. That was not restarting after a reboot but did this time.

Metaschima I use Opera so I can't suspect Firefox.

Well I am about to hit the road and goto the Bathurst 12 hour so no more from me until next week when I will close the thread.

hba 02-06-2015 06:08 AM

You can create the file
Code:

$HOME/.config/user-dirs.dirs
with the next content:

Code:

XDG_DESKTOP_DIR="$HOME/"
XDG_DOWNLOAD_DIR="$HOME/"
XDG_TEMPLATES_DIR="$HOME/"
XDG_PUBLICSHARE_DIR="$HOME/"
XDG_DOCUMENTS_DIR="$HOME/"
XDG_MUSIC_DIR="$HOME/"
XDG_PICTURES_DIR="$HOME/"
XDG_VIDEOS_DIR="$HOME/"

For more information: https://wiki.archlinux.org/index.php...er_directories

rogan 02-07-2015 08:48 PM

That actally worked :)

dederon 02-08-2015 01:54 AM

the offender is indeed the package "xdg-user-dirs", i hate it with passion. thanks 55020 for this solution, usually i would just remove this package.

nyloc 02-09-2015 09:51 PM

It was my first time at Mount Panorama having watched on TV for about 50 years and the track is even more awesome in real life.

Ya gotta love TV commentators.
The Nissan hit the wall late in qualifying (not hard enough to cause severe damage) and according to the commentary

"The Nissan is going back into the pits for reparations"


All times are GMT -5. The time now is 06:26 PM.