[solved] Openbox - remove Desktop-folder?

Hi there.
I use Openbox as DE/window manager without desktop icons or the ability to create folders on the desktop - which is what I want. But whenever I upload an item with Firefox (other browsers untested) a folder 'Desktop' is created. How can I stop this behaviour?
I know there is a config file which is not related to Firefox but I forgot which one it is. So any hint is appreciated.
Thanks in advance
Last edited by ichi-no-eda (2013-02-17 14:41:08)

https://wiki.archlinux.org/index.php/Xd … irectories

Similar Messages

  • [SOLVED] Firefox recreating Desktop folder

    I run Xfce with no desktop icons, so I have no use for the ~/Desktop folder, which I've removed.  I've noticed that occasionally the Desktop folder will reappear in my home folder.  I saw a thread where a user claimed they saw this behavior after clicking "the upload button" in Firefox.  It does seem that clicking "Browse" on an <input type='file'> element will default to your Desktop folder if there's no "last viewed" folder available, and recreate the Desktop folder otherwise.
    Source for Firefox/xulrunner:
    mozilla-2.0/content/html/content/src/nsHTMLInputElement.cpp:
    // Attempt to retrieve the last used directory from the content pref service
    nsCOMPtr<nsILocalFile> localFile;
    nsHTMLInputElement::gUploadLastDir->FetchLastUsedDirectory(doc->GetDocumentURI(),
    getter_AddRefs(localFile));
    if (!localFile) {
    // Default to "desktop" directory for each platform
    nsCOMPtr<nsIFile> homeDir;
    NS_GetSpecialDirectory(NS_OS_DESKTOP_DIR, getter_AddRefs(homeDir));
    localFile = do_QueryInterface(homeDir);
    filePicker->SetDisplayDirectory(localFile);
    Last edited by gavinhungry (2011-04-30 06:20:46)

    The creation of a ~/Desktop directory by Firefox is a feature; Mozilla is following freedesktop.org implied guidelines.  You can stop the creation of the ~/Desktop directory by editing or creating a file, ~/.config/user-dirs.dirs
    In that file you specify which directories are defaults for the common directories (common as specified by freedesktop.org).  After the user-dirs.dirs file is written, Firefox won't create a Desktop directory again.  Here's my user's user-dirs.dirs:
    XDG_DESKTOP_DIR="/home/casey/"
    XDG_DOWNLOAD_DIR="/home/casey/downloads"
    XDG_TEMPLATES_DIR="/home/casey/"
    XDG_PUBLICSHARE_DIR="/home/casey/shared/"
    XDG_DOCUMENTS_DIR="/home/casey/working"
    XDG_MUSIC_DIR="/home/casey/music"
    XDG_PICTURES_DIR="/home/casey/pictures"
    XDG_VIDEOS_DIR="/home/casey/pictures/videos"
    I believe the package xdg-utils must be installed for this to work.  See http://www.freedesktop.org/wiki/Software/xdg-user-dirs.

  • [Solved] OpenBox - Changing Desktop

    Hey guys, i would like to know how to change active desktop via command line!
    Last edited by Guilherme David (2012-07-05 22:28:35)

    As far as I know you'll need something like wmctrl.

  • [SOLVED] Rsnapshot - Backup Windows Desktop folder

    Hi,
    I want to backup with rsnapshot the windows folder "C:\Documents and Settings\user\Desktop" and the folder c:\Miky using rsnapshot
    I can backup the folder c:\Miky but not the desktop one, getting this error when I manually launch this command /usr/bin/rsnapshot daily as root
    @ERROR: chdir failed
    rsync error: error starting client-server protocol (code 5) at main.c(1516) [Receiver=3.0.9]
    rsnapshot encountered an error! The program was invoked with these options:
    /usr/bin/rsnapshot daily
    ERROR: /usr/bin/rsync returned 5 while processing 10.40.50.93::desktop/
    my system is so configured:
    On Windows machine
    I've installed cygwin and I've changed the rsyncd.conf file as below:
    use chroot = false
    strict modes = false
    [mikydir]
    path = /cygdrive/c/Miky
    comment = rsync folder: Miky
    read only = false
    [desktop]
    path= "/cygdrive/c/Documents and Settings/user/Desktop"
    comment = rsync Desktop
    read only = false
    On Linux machine
    I've the rsnapshot installed and I've modified the rsnapshot.conf file as below
    Rsnapshot.conf
    # RSYNC.SAMBA.ORG
    backup  10.40.50.93::desktop/   desktop/
    backup  10.40.50.93::mikydir/    Miky/
    As i said the first line doesn't work, the second does.
    I thought it may be a permisison problem, so I gave to it full controll to everyone, but it didn't work
    so I thought can be a problem of spaces in the path, so I've changed in cygwin conf file, the path adding double quote or replaces the spaces with ? or \ as suggested browsing internet, but everything is still not working.
    can you give me a hint?
    Last edited by miky76 (2011-11-11 13:43:23)

    Thanks Awebb,
    your suggestion helped me, infact, I've did rsync from linux to the desktop folder in window and tried to copy one file, so I've realized that maybe the issue will be somewhere else.
    I've changed permissions on the windows folder, and changed a misspelling in cygwin conf file, and now it's working fine
    thanks

  • I can't find my Desktop folder on any of my TM backups

    Hi everyone,
    This is my first forum post, and I'm downright desperate.
    I have migrated from my old MBP to a brand new one this weekend, and used Time Machine in an external HD to move my data. I had TM set up since February, with no options/exceptions.
    As far as I can tell, everything migrated to the new computer perfectly (applications, preferences, documents, music, cookies, etc) except there is nothing on my Desktop after migration. It just so happens that I have (had?) a folder in my Desktop with all my graduate school work.
    I have already looked in TM in all the backups since February, and there is no Desktop folder in my user account folder in any of them. Does this mean that TM has never backed up my Desktop from the beginning???
    (BTW, I'm also having trouble to simply search for specific files when I look into the TM backup folder in my external HD. Whenever I use Spotlight, it only finds stuff on other folders in that external HD, but it doesn't return any hits from the TM backup folder, even when I look for files that I can see there just by browsing. How can I solve this?)
    If it's true that TM never backed up my Desktop, my problem is then getting to my Desktop in the old computer. Trouble is, I had Leopard reinstalled at the Apple Store when I bought the new computer, since the system was supposedly backed up. As far as I know, the old computer was wiped clean and Leopard reinstalled in about 20 minutes by a Genius.
    I have been told by them after the fact to use Data Rescue II to try and scour the old computer's internal drive by booting it up in target mode, but I haven't attempted it yet. I was told that if the Leopard reinstall was done in a specific way, I would be able to get to the old files with Data Rescue II still with their names and folder structures if they haven't been overwritten. However, if it was done 'another way', I would have lost the folders and any recovered files would be restored to a new location under a generic name like 'recover000001'. I'm afraid that in this case I will be overwhelmed by all the files in my old system (even if DRII supposedly recognizes file types), and I won't be able to sort through all of them to get at my important work.
    Does anyone know what is the best way to get my data back???? It will be two years of work down the drain if I can't access the contents of that folder on my old Desktop.
    Thanks so much for any advice!

    V.K. wrote:
    Chico Almendra wrote:
    Hi everyone,
    This is my first forum post, and I'm downright desperate.
    I have migrated from my old MBP to a brand new one this weekend, and used Time Machine in an external HD to move my data. I had TM set up since February, with no options/exceptions.
    As far as I can tell, everything migrated to the new computer perfectly (applications, preferences, documents, music, cookies, etc) except there is nothing on my Desktop after migration. It just so happens that I have (had?) a folder in my Desktop with all my graduate school work.
    I have already looked in TM in all the backups since February, and there is no Desktop folder in my user account folder in any of them. Does this mean that TM has never backed up my Desktop from the beginning???
    yes, that's what it means.
    I don't understand. Why would it be that TM did not backup my Desktop? The Geniuses were not able to answer this question. I'm completely sure I didn't mark any exceptions when I set it up in February, and I've read other people also had similar problems with some of their folders and/or files (there's another thread where another user lost his Downloads folder; I accidentally replied to it instead of creating this new topic -- my apologies).
    (BTW, I'm also having trouble to simply search for specific files when I look into the TM backup folder in my external HD. Whenever I use Spotlight, it only finds stuff on other folders in that external HD, but it doesn't return any hits from the TM backup folder, even when I look for files that I can see there just by browsing. How can I solve this?)
    you have to use spotlight from TM interface, not directly from finder. start TM, scroll to a backup and use the search field to start a search.
    That worked great; thanks. Is there a way to search across different backup dates in one go, or do I have to keep clicking back through time with the same search string?
    If it's true that TM never backed up my Desktop, my problem is then getting to my Desktop in the old computer. Trouble is, I had Leopard reinstalled at the Apple Store when I bought the new computer
    I don't understand why
    you did that. did you have some problems with your old computer?
    I didn't have any problems with the old computer. I was actually giving it to my mother for Mothers Day as her first Mac, and I wanted to make sure she would have as 'brand new' Mac experience as I could provide her.
    , since the system was supposedly backed up. As far as I know, the old computer was wiped clean and Leopard reinstalled in about 20 minutes by a Genius.
    I have been told by them after the fact to use Data Rescue II to try and scour the old computer's internal drive by booting it up in target mode, but I haven't attempted it yet.
    this is your one and only hope of getting anything back if you did an erase and install. if you did an archive and install then old your old data will be in the "previous systems" folder at the top level of the hard drive.
    Message was edited by: V.K.
    Thanks. You reckon professional data recovery services would come up with more stuff (especially filenames and folder structures) than I would be able to, if I tried using DR myself? I'm terrified of going through my whole HD and sorting out the hundreds of thousands of files that weren't in the desktop in the first place.
    I appreciate your help, V.K.; I still cannot get over the fact that TM can be so unreliable. What could have caused this catastrophe on my computer and in other users? They were lucky that they still had their data when they noticed TM wasn't backing it up, and the solutions were bone-chillingly similar to Windows voodoo tricks (e.g. delete the old TM plist, hard reboot, pray, and see if it works now). If this is the case, I can't see any options other than doing full manual backups periodically, but that defeats the TM purpose in the first place. Any thoughts or ideas?
    Thanks!

  • Indesign cs6 freezes/crashes on Windows 7 64 bit selecting desktop folder

    Dear All,
    I'm experiencing a very strange behaviour of Indesign CS6 who freezes/closes in specific situations connected with desktop folder.
    I try to explain the issue:
    I got a brand new PC with Xeon CPU E3-1246 3.5 GHZ, 8 GB RAM, Windows 7 64bit and Clean installation of Indesign CS6.
    Indesign works great and fast, but everytime I try to open a file (from file ---> open) and select the desktop folder the program stop thinking for 1 second than closes down without crashing, without errors without anything.
    Same thing happens when I try to insert a picture in a frame selecting it from the desktop folder (only this folder, all the others work perfectly).
    I couldn't find anything useful on the internet to solve this kind of problem.
    Does anybody had the same problem? How did you solve that?
    Thanks in advance for help.

    The following is the error code:
    Firma problema:
      Nome evento problema:                    BEX
      Nome applicazione:                           InDesign.exe
      Versione applicazione:                       8.1.0.420
      Timestamp applicazione:                   54aaae3e
      Nome modulo con errori:                  StackHash_a7aa
      Versione modulo con errori:             0.0.0.0
      Timestamp modulo con errori:         00000000
      Offset eccezione:                                f0104c61
      Codice eccezione:                               c0000005
      Dati eccezione:                                    00000008
      Versione SO:                                        6.1.7601.2.1.0.256.48
      ID impostazioni locali:                        1040
      Informazioni aggiuntive 1:                a7aa
      Ulteriori informazioni 2:                     a7aa91f17ea749d42a4de3b390fa5b3d
      Ulteriori informazioni 3:                     a7aa
      Ulteriori informazioni 4:                     a7aa91f17ea749d42a4de3b390fa5b3d

  • Desktop Folder Redirection slow access

    Ok, I've scoured the network for weeks now trying to resolve this.
    Using Windows 7 fully patched, and file servers are 2012 R2
    We have folder redirection in place for Documents and Desktop.
    The folders are redirected to one of their mapped drives.  When accessing the mapped drive, the drive hangs whilst the green progress bar occurs when trying to display the desktop folder.  Once accessed, this can be ok for further accesses but
    then may recur again later.  It is only the desktop folder.  Documents is fine.  I've tried customising the folder for item type, removed the icon cache, indexed the server, recreated local profiles, moved information off and deleted the folder
    on server to allow to recreate etc etc.  The issues as I say is intermittent but extremely frustrating.
    The group policies originally redirected to a mapped drive when the home directory was set up in AD.  However, we've moved away from that, and now the group policies use unc for the redirected folders.  All permissions on the server are set up
    correctly according to the MS kbs.  Some people don't appear to have the issue.
    The desktop in favorites in Windows Explorer appears to respond fine even when the mapped drive doesn't.  Occasionally the mapped drive is fine, and in this case the Desktop in Favorites isn't.
    I've checked the registry, all values in Shell Folders and User Shell Folders are set up correctly.
    I've reached the end of what could be wrong, and have no idea what is causing this issue.  Any help greatly appreciated.
    Regards
    Ian

    Hi lan cope,
    Please take a try to uncheck the "Automatically detect settings"
    under
    Internet Options -> Connections -> LAN Settings -> Automatic Configurations.
    Check if this could help here.
    Besides, disable TCP autotuning with the following command and check again:
    netsh interface tcp set global autotuninglevel=disabled
    Reference: (Description of the Receive Window Auto-Tuning feature for HTTP traffic on Windows Vista-based computers )
    Best regards
    Michael Shao
    TechNet Community Support

  • Old Pre-Leopard Desktop Folder Lurking and Causing problems

    I'm confused, is this supposed to happen? After wondering where all my downloads had gone, I realized the old desktop was still lurking on my computer. I only realized this because I had changed icons. Under "devices/macintosh hd" there is a desktop folder, the pre-leopard one, the current one doesn't exist there, just the pre-leopard one and the os9 folder. Is that normal? It causes problems sometimes when saving things from the internet or email applications. I have to be careful when choosing the location because saving to desktop will sometimes send it to the old one and the files then don't show up on my actual desktop. They also don't seem to appear in spotlight when this happens. Is there a fix for this? Thanks.
    Message was edited by: texasstar7

    If there's anything in the Desktop folder at the root level (Devices >> Machintosh HD) that you need, save it. Then, drag that folder to the trash. You can also drag the OS 9 folder to the trash. Do not empty the trash yet.
    Restart and launch Safari. From Safari menu choose Preferences >> General and re-choose "Desktop" in "Save downloaded files to". If all is well with your downloads you can empty the trash.
    On the OS 9 when you try to trash it, if the System Folder squawks and tells you it is "owned by the system" just drag the system folder out of the trash, open it, remove "system" file, After a restart the "system" file will delete.
    -mj

  • Desktop folder has become a Package

    I know about the 'freezing' desktop issue but i don't think my issue fits into that category..
    When i click the Desktop folder from Finder i get "There is no default application specified to open the document 'Desktop'".
    If i drag and drop a file to the Desktop my icon switches to the prohibited icon. If i do a screen grab, in order to see the output i need to "Show Package Contents" on the Desktop package.
    I can't find any occurrance of this elsewhere on the net, any other sufferers?
    Thanks..

    That is odd. Try starting in "Safe Mode" If that works go to System Preferences >> Accounts >> Login Items and remove them. Boot normally and test. If not go to ~(yourHome)/Library/Contextual Menu Items and move whatever is there to the desktop. (EDIT: if you have no desktop to drag them to drag them to another location temporally.) Then do the same with /Library/Contextual Menu Items. Lastly, try moving ~/Library/Fonts to your desktop and restarting.
    It will take a bit more time to startup because it runs a directory check.
    If that's not it, while still in safe mode trash your desktop folder then, then create a new one in your Home directory with exactly the same name. If there's anything you need from your old Desktop, save it off.
    Log out/in or restart, if that sorts it start putting items back one at a time until you find the culprit.
    -mj
    Message was edited by: macjack

  • How to delete the Desktop Folder in the User folder

    I don't use my desktop as a folder
    and I changed this folder to .Desktop to have it hidden
    but there is another folder Desktop non-hidden + my .Desktop folder always ready when I restart...
    How should I keep it hidden or out of my system ?
    Message was edited by: c8455

    Click here and use the instructions to hide it.
    (46869)

  • How do you remove a folder from an itunes library once it's been added?

    How do you remove a folder from an itunes library once it's been added?

    When you delete the song, a menu will come up and ask you if you want to trash or keep the file. Select "keep file."   It will no longer be in your song list but it will remain on your harddrive. To add it back in use the --"add to library"--  command in the  drop down "File" Menu (you have to navigagte to where the song is stored on your hard drive and select it-- to add it back in.
    Re: it ended up in the wrong album
    If your songs are going in the wrong place go to the "Get Info" command and check the information under all the tabs (look at a song that's in the right album to see how it's listed) -- one or more of the boxes is incorrect or empty.  Just put  in the right information and close the info window. That should put it back in the right spot for you.

  • I am having problems backing up my photos in iPhoto and dragging them to desktop folder to burn out of iPhoto!

    I have been having issues with backing up photos in iPhoto for  awhile. I used to burn them right out of iPhoto by selecting the folder, going to Share and then Burn. I have been getting an error message that says "Burn failed because there was an error producing data for the burn". So I started to drag the photos from iPhoto to a folder on the desktop, then burn the folder to a disc. This worked for awhile. Recently iPhoto will not allow me to drag photos to a desktop folder. I can select them in iPhoto, click on them and it shows the plus sign and number of photos, but when I drop them it does nothing. I can do it one at a time for about 4 photos, then it stops again. I also tried to export the photos into a folder on the desktop and it says Unable to create /Users/... I do back up photos to a TimeCapsule as well, but like to have a DVD in a fireproof safe too. I also ran disk utility repair disk permissions. I have an account for my wife as well and both iphotos share the same iphoto library but ths has never been a problem until recently. She also uses aperature, but pulls the photos from iphoto to edit them. Any help would be much appreciated.

    I have been having issues with backing up photos in iPhoto for  awhile. I used to burn them right out of iPhoto by selecting the folder, going to Share and then Burn. I have been getting an error message that says "Burn failed because there was an error producing data for the burn". So I started to drag the photos from iPhoto to a folder on the desktop, then burn the folder to a disc. This worked for awhile. Recently iPhoto will not allow me to drag photos to a desktop folder. I can select them in iPhoto, click on them and it shows the plus sign and number of photos, but when I drop them it does nothing. I can do it one at a time for about 4 photos, then it stops again. I also tried to export the photos into a folder on the desktop and it says Unable to create /Users/... I do back up photos to a TimeCapsule as well, but like to have a DVD in a fireproof safe too. I also ran disk utility repair disk permissions. I have an account for my wife as well and both iphotos share the same iphoto library but ths has never been a problem until recently. She also uses aperature, but pulls the photos from iphoto to edit them. Any help would be much appreciated.

  • Updated to Maverick, had a desktop folder for pictures I had transferred from my PC. That folder is gone, no icons in Pictures in Finder but the photos are still in images in All My Files! How do I get the organized folder back?

    I had transferred all my photo files from my PC when I got my Mac Air. They were in a desktop folder all nicely organized in files (event, dates, etc.) That desktop folder is now gone after the Maverick update. When I click on Pictures in finder it comes up empty (not even a link to Iphoto)  I had not put these pictures in iphoto yet. Before Mavericks when I clicked on Pictures the Iphoto icon and my folder showed up. My Iphoto itself is working fine and and those pictures are still intact. I know the pictures are on my Mac because they are all in Images, but they are no longer organized and are no longer in sequence. I would like to know if I my "intact" folder may still be somewhere on my computer. If not what is the best and most efficient way to get those photos from the images only file to Iphoto?

    I actually just noticed the "media" option is no longer listed along the left side of Finder. I think that is where I accessed iphoto and my other picture folder.
    There is no media option in the Finder. That only turns up in Open... Dialogues like this:

  • Can not update -'Error -36' I REMOVED Music folder FROM IPod!!!!!!

    Hello!
    I accidentely removed whole folder (directory for music) from iPod several days ago.
    As a result my ipod is just empty- no music inside and I can not update that- because iTunes can't find the way.
    It says : ' unknown error -36 '
    Please tell me how I can resolve the issue?
      Windows XP  
    pc   Windows XP  

    Hi zen-an
    Welcome to Apple Discussions
    Does this link help?
    -36 or "Disk cannot be read from or written to" error syncing iPod in iTunes
    Regards,
    Colin R.

  • "Desktop" folder on external hard drives

    Hi all,
    I have regularly seen a folder called "Desktop" appear on my external firewire and usb drives. I usually delete it and think nothing more but today I attached a new external drive and there it was again......
    Why is it there? What use is it?
    Does anyone know???? 

    It is probably a relic of Apple's old OS, which lives on partly in the Carbon library. Used to, you could have two paths:
    Macintosh HD:Desktop Folder:latest_updates.doc
    Macintosh HD:Desktop Folder:latest_updates.doc
    and they would refer to two distinct files. In some respects, the good 'ole days weren't all that good.

Maybe you are looking for

  • How to read the data file and write into the same file without a temp table

    Hi, I have a requirement as below: We are running lockbox process for several business, but for a few businesses we have requirement where in we receive a flat file in different format other than how the transmission format is defined. This is a 10.7

  • A few random questions- email, internet, etc.

    Hello. I'm a new Mac owner...and a little frustrated. I've been reading forums and help pages for the last two months. I have several questions. What's the most effective way to receive answers? Post all, hope for the best? or one question at a time?

  • Substitution call up point 3 - add fields

    HI Experts I have a requirement that SAP should propose BKPF-XBLNR filed automatically when user clicks on save. I am planning to use substitution call u point 3 to get this requirement done. I have done the configuration but then I came to that for

  • JTA/JTS for non-EJB & non-J2EE server used

    I have a standalone java program which calls methods on 2 java classes (c1, c2) These are Non-EJB/non-RMI/non-CORBA plain java classes. the method in c1 updates table t1 in database db1 the method in c2 updates table t2 in database db2 I would like t

  • How to repair corrupt MS Excel 2003 (XLS) File?

    I have important MS Excel file data and unfortunately got corrupt due to virus attacks, so my crucial Excel sheet got lost, how to repair corrupt MS Excel 2003 (XLS) File? If have any solution please assist me.