WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: The Desktop directory  (Read 4190 times)

Offline hal9king

  • Newbie
  • *
  • Posts: 49
The Desktop directory
« on: April 07, 2015, 07: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: 11049
Re: The Desktop directory
« Reply #1 on: April 08, 2015, 03: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, 01:40:18 PM »
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, 01:44:23 PM 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, 11: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 09, 2015, 12:09:30 AM »
Yes.
Download a copy and keep it handy: Core book ;)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11695
Re: The Desktop directory
« Reply #5 on: April 09, 2015, 12:12:34 AM »
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 09, 2015, 12:16:51 AM »
Thanks, I'll give it a try!
In science, we know ... what we don't know.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11695
Re: The Desktop directory
« Reply #7 on: April 09, 2015, 12:23:04 AM »
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 09, 2015, 12:28:54 AM »
Now that is a good thought! Thanks!
In science, we know ... what we don't know.

Offline Rich

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

Offline hal9king

  • Newbie
  • *
  • Posts: 49
Re: The Desktop directory
« Reply #10 on: April 09, 2015, 12:41:43 AM »
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 09, 2015, 01:41:49 AM »
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 09, 2015, 02:17:52 AM »
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: 14849
Re: The Desktop directory
« Reply #13 on: April 09, 2015, 02:38:35 AM »

Offline hal9king

  • Newbie
  • *
  • Posts: 49
Re: The Desktop directory
« Reply #14 on: April 09, 2015, 03: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.