[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.
Similar Messages
-
[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
-
Firefox crashes when uploading/downloading files from/to 'desktop folder'
Hello
I'm hoping, that you can help me!
I'm using Firefox 28.0 on MacBook Pro Mavericks 10.9.2
Firefox crashes/freezes when I try to upload/download files from/to my 'desktop folder'.
I't only happens, when I use this folder. Download to 'download folder' or any other folder works fine.
Download to 'desktop folder' when using Safari also works fine.
I't only happens when desktop and firefox tries to communicate.
It's very annoying when I accidentally forget, that the bugs is there, and I have to force quit and start all over again. And sometimes I don't even have a choice, because 'desktop' randomly opens as default folder, when I try to upload things.
Thank you so much in advance!
Kind regards ElizabethHi ESwan,
I am not a Mac user so not the best person to attempt to assist but here goes.
I am presuming that info such as
PID: 1695 Event: cpu usage (microstackshots only)
Relate to the Mac OS X crash & event logging and reporting.
What we need are the ones that Firefox itself generates and submits for processing by Mozilla Firefox
* See [[Firefox crashes - Troubleshoot, prevent and get help fixing crashes#w_get-help-fixing-this-crash]]'''#w_get-help-fixing-this-crash'''
From what you say the crashes occur after a certain action and I am hoping that you will be able to use the easy method as in the article linked above. Navigate to about:crashes by keying ''about:crashes'' into the address bar. You are loolking for the ones starting wth ''bp-'' Paste two or three of those into your next post. Include the bp- part but not any link information before that. After they are pasted into the forum the forum software changed them to be links. -
Brand New Machine
New Harddrive
New Everything
I downloaded Firefox, installed it now this happens.
I have also removed and reinstalled firefox to attempt to fix.
please help.''Saurav [[#answer-702809|said]]''
<blockquote>
What is your operating system ? Windows or LInux?
</blockquote>
Look at the upper right and click '''Question details'''
''Phrosty [[#question-1051668|said]]''
<blockquote>
Everytime i run firefox a "Mozilla" folder appears
</blockquote>
Is it just called Mozilla? What is in the folder?
Also, your System Details shows; Firefox 35. The current is 36.0.1
'''[http://www.mozilla.org/en-US/firefox/all/ Download Firefox Full Installer For All languages And Systems]''' {web link} -
[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! -
Why is firefox opening a folder and disc every time i launch it
why is firefox opening a folder and disc onto my desktop every time i launch it
== This happened ==
Every time Firefox opened
== with the new versionLet's start simple. Are you sure you are not clicking on the firefox dmg file?
See [[Installing Firefox on Mac]] -
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
IanHi 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 -
Hi All,
When I select the Desktop folder to save a file, the Chrome/Firefox stop to work. However, when I save the file from Word (for example) to the desktop folder it works well. I could not find any solutions on internet. I don't know the reason.
Thank you.
Regards.
WagnerRight click on a blank space on the desktop, then choose new, then folder. A new folder will appear called "new folder" While that text is highlighted in blue you can rename it.
-
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: c8455Click here and use the instructions to hide it.
(46869) -
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.
-
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: -
"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. -
When I click on my desktop folder in the sidebar, a screen comes up titled "Deskto-bash-80x24". On the screen it reads: "Last login: Thur Feb 16 17:23:49 on ttys002
(name of my mack): desktop (my name)$
And, the "terminal" icon appears in the dock.If that doesn't do the fix try this fix from Linc. https://discussions.apple.com/message/17853661#17853661
Maybe you are looking for
-
Going on holidays and will not have wifi how to I get all the music I want off the cloud and on to my iphone?
-
Databases for ODBC on linux/unix
will these commands work on both linux and unix or just unix? gunzip < mysql-xxxx.tar.gz | tar xvf - ./configure with-apache=/path/to/apache/dir with-mysql=/usr/local/mysql
-
How to hide New Task button on Task Page(Activity Screen)?
Hi All, All answers and support will be appreciated, We have a requirement to hide new task button on activity screen and i tired using java script on web applet to hide buttons but hiding was successful on other button like send email and delete but
-
Can I customize the date format?
When importing camera raw files, I am able to select mmm/dd/yyyy as an option in the photo downloader. Once the files are in Bridge, if I want to batch rename, the date option does not include mmm(the month spelled out instead of numeric). Is there a
-
How do I reduce photo file size to export to facebook?
I have IPhoto pics that are 2+ MB's in size and am trying to create a photo album on Facebook. The files are too large and take too much time to load. How can I make this happen?