WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: The Desktop directory  (Read 3458 times)

Offline hal9king

  • Newbie
  • *
  • Posts: 49
The Desktop directory
« on: April 07, 2015, 04:37:57 PM »
I'm running fluxbox on TinyCore Plus (6.1).  A newbie question:

I see a Desktop directory  under /home/tc .. it serves no purpose under the way I'm running fluxbox.
Question is how do I get rid of it?  Deleting doesn't work, after awhile it comes back. So some process is creating it.
So the basic question is what process is doing this and how can it be disabled?
In science, we know ... what we don't know.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: The Desktop directory
« Reply #1 on: April 08, 2015, 12:28:55 AM »
Could be the startup script of something (grep Desktop /usr/local/tce.installed/*) or maybe you're running something that can make use of the directory (pcmanfm or similar).
The only barriers that can stop you are the ones you create yourself.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: The Desktop directory
« Reply #2 on: April 08, 2015, 10:40:18 AM »
I've got ~/Desktop too without using it.
In my case I have WINE in suspect.

Also, Firefox creates ~/Downloads, I think.

You could add those to  /opt/.xfiletool.lst ?
« Last Edit: April 08, 2015, 10:44:23 AM by Misalf »
Download a copy and keep it handy: Core book ;)

Offline hal9king

  • Newbie
  • *
  • Posts: 49
Re: The Desktop directory
« Reply #3 on: April 08, 2015, 08:05:18 PM »
Been looking for likely suspects .. haven't found anything yet.
Tried grep Desktop /usr/local/tce.installed/* -- nothing
Currently I have a process checking for the directory and deleting it -- rather harsh solution.

It is my understanding that opt/.xfiletool.lst  is only effective at BackUp so that doesn't stop it from reappearing -- correct?
In science, we know ... what we don't know.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: The Desktop directory
« Reply #4 on: April 08, 2015, 09:09:30 PM »
Yes.
Download a copy and keep it handy: Core book ;)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: The Desktop directory
« Reply #5 on: April 08, 2015, 09:12:34 PM »
Hi hal9king
Quote
It is my understanding that opt/.xfiletool.lst  is only effective at BackUp so that doesn't stop it from reappearing -- correct?
Yes. That will only keep it out of your backup so you don't restore it next time you boot.
Quote
Currently I have a process checking for the directory and deleting it -- rather harsh solution.
That's a good start. Now have your process execute the following line when it detects the Desktop directory:
Code: [Select]
popup DesktopThat should pop up a small dialog box and based on what you were doing at the time give a clue as to which app is causing it.

Offline hal9king

  • Newbie
  • *
  • Posts: 49
Re: The Desktop directory
« Reply #6 on: April 08, 2015, 09:16:51 PM »
Thanks, I'll give it a try!
In science, we know ... what we don't know.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: The Desktop directory
« Reply #7 on: April 08, 2015, 09:23:04 PM »
Hi hal9king
If that doesn't work, here's a plan B. Delete the Desktop directory and create a file called Desktop. Make sure you have syslogd
running. When the app tries to access the directory, it might leave an error message in  /var/log/messages.

Offline hal9king

  • Newbie
  • *
  • Posts: 49
Re: The Desktop directory
« Reply #8 on: April 08, 2015, 09:28:54 PM »
Now that is a good thought! Thanks!
In science, we know ... what we don't know.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: The Desktop directory
« Reply #9 on: April 08, 2015, 09:38:50 PM »
Hi hal9king
Let us know what you find.

Offline hal9king

  • Newbie
  • *
  • Posts: 49
Re: The Desktop directory
« Reply #10 on: April 08, 2015, 09:41:43 PM »
I have both in place -- may be awhile took nearly an hour last time I saw it.
In science, we know ... what we don't know.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: The Desktop directory
« Reply #11 on: April 08, 2015, 10:41:49 PM »
I think you'll find that Firefox or one of it's dependencies creates a desktop directory on first run after a reboot, why? I have no idea but obviously the directory is expected..

Offline hal9king

  • Newbie
  • *
  • Posts: 49
Re: The Desktop directory
« Reply #12 on: April 08, 2015, 11:17:52 PM »
That could make sense.  Last time I saw it, it was after a reboot -- and likely didn't occur until I started firefox -- sounds like a Windows feature -- i.e. annoying.  It looks to be in the morning before I might have a chance to reboot.
In science, we know ... what we don't know.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: The Desktop directory
« Reply #13 on: April 08, 2015, 11:38:35 PM »

Offline hal9king

  • Newbie
  • *
  • Posts: 49
Re: The Desktop directory
« Reply #14 on: April 09, 2015, 12:24:19 AM »
Yes, I found the same ... but its typical of the 'thought' process where the providers assumes he knows better than the user.

I've implemented the fix -- not fully tested as yet.  Nearly makes me want to dump firefox.
In science, we know ... what we don't know.