.desktop files and mimeinfo.cache... Why?

It just struck me as I read about mailcap that .desktop files and the mime info cache are redundant. And mailcap is much simpler too, and seems to require less mucking around to e.g. open a file in a console app running in an xterm. For instance
audio/mpeg; mplayer %s; needsterminal
Bang, done.
So can someone tell me why the FD.O system with .desktop files is now the standard? Is it just that it makes it easier to create menus, or something like that? Is it a more friendly backend for GUIs? Other than letting you easily launch applications from your file manager, it doesn't seem to offer a whole lot of benefits...
Edit: Other than the fact that the default /etc/mailcap file for some distros kind of sucks. Using VLC's ASCII output by default? Seriously?
Last edited by Gullible Jones (2010-12-13 05:12:25)

It's more automated, you have to make the mailcap file yourself to get specific preferences - people don't like editing config files.
Distros could ship a standard one, but then it's not based on what apps you have installed or what you want to use to open things.
GUIs would have to all implement some way to edit the mailcap file so you could change default apps easily and you would have to have the package manager edit it when you install stuff - I don't think that would be pretty
I guess you could use a bunch of tests and include every application that could open the file, but that's not so pretty either.
Last edited by thestinger (2010-12-13 05:18:09)

Similar Messages

  • Why is it when i shut down my mac i loose information like bookmarks,desktop files and my photos?

    why is it when i shut down my mac i loose information like bookmarks,desktop files and my I photos?

    Hi Beth, sounds like your Username got edited or changed.
    Return to default desktop, apparent "loss" of home directory, (it can happen spontaneously too)...
    http://docs.info.apple.com/article.html?artnum=107854

  • My desktop files and folders no longer appear on the screen. I think this is a result of an iPhoto updating.  It appears (from getting info) that now Desktop is being treated like a normal file for which an application to open it must be supplied.  Help?

    My desktop files and folders no longer appear on the screen.  I think this is a result of an iPhoto updating.  It appears (from getting info) that now Desktop is being treated like a normal file for which an application to open it must be supplied.  Can anything be done?  Incila

    You are not going to be able to run your old system from the backup on this old computer as the hardware is incompatible.
    You need to get a new computer or a refurbished one.

  • My iWeb image names are incompatible with FTP servers and must be renamed but I can't find the images in iWeb. I can upload to a desktop file and change them there but then I would need to download them to a new site in iWeb to publish them.

    my iWeb image names are incompatible with FTP servers and must be renamed but I can't find the images in iWeb. I can upload to a desktop file and change them there but then I would need to download them to a new site in iWeb to publish them. 
    What's the answer?
    Thanks 

    Many thanks to  responded to my question and sorry not to get back sooner.
    Yes, I discovered by this unfortunate experience that the names of photos are a serious issue if the site is to ever go to an FTP server.  Apple should discuss this carefully in their "manual".
    One more question:  I uploaded the website to a folder on my desktop. When I open it, unlike the photos in iWeb, there are folders for each page which have all the photos in them. I went through each folder and changed the names to be FTP compatible. I'm using iWeb SEO Tool which allows one to upload from this local folder to an FTP server but having trouble.
    Is this because there is an imbedment in iWeb that uses the old photo names to link to the actual photos and it can't find them because of the name changes?
    Thanks again for your help ...
    Phil McP

  • An index of my desktop files appears in firefox. why is it there? does this mean my personal files are accessible from the internet? how can i make sure this goes away and stops?

    i am seeing and index of my personal files on firefox. what is this? why is it there? how can i make it go away? does this mean my desktop files are on the internet? can someone explain clearly and simply (i am not tech saavy at all) thank you

    This issue can be caused by an old bitmap version of the Helvetica or Geneva font or (bitmap) fonts that Firefox can't display in that size.
    Firefox can't display some old bitmap fonts in a larger size and displays gibberish instead.
    You can test that by zooming out (View > Zoom > Zoom Out, Ctrl -) to make the text smaller.
    Uninstall (remove) all variants of that not working font to make Firefox use another font or see if you can find a True type version that doesn't show the problem.
    There have also been fonts with a Chinese name reported that identify themselves as Helvetica, so check that as well.
    Use this test to see if the Helvetica font is causing it (Copy & Paste the code in the location bar and press Enter):
    <pre><nowiki>data:text/html,
    Helvetica<br><font face="Helvetica" size="25">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</font><br>
    Helvetica Neue<br><font face="Helvetica Neue" size="25">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</font>
    </nowiki></pre>
    You should reset the network.http prefs that show user set on the about:config page.<br />
    Not all websites support http pipelining and if they do not then you can have issues with images or other problems.
    See also http://kb.mozillazine.org/Images_or_animations_do_not_load#First_steps

  • "Windows Easy Transfer can't transfer your files and settings." Why?

    I saved my files and settings from a previous installation of windows 7 to an external hard drive using windows easy transfer. Now when I try to transfer those files and setting to my new installation I get the following message:
    Windows Easy Transfer can't transfer your files and settings.
    The message pops up only a few seconds after the transfer begins.
    Why is this?! I need those files and windows has screwed me. Everything is basically the same as before I reinstalled. Same computer, same windows 7 installation just recovered to factory settings. Same system language as before. BTW I'm on a Toshiba L505 laptop
    running Windows 7 Home Premium.
    I have tried all the usual suspects such as a clean boot and uninstalling my antivirus to rule out third party interference. I have more than enough space on both my computer and on the external hard drive. I have tried only transferring a user account a
    few MBs large. I have reinstalled the OS twice just in case something went wrong there. I have clicked on the .MIG file directly. All lead to the same error message.The transfer file seems to be intact and not currupt
    Is there another software other than WET that can use the same transfer file that WET created to restore my files? Please help me solve this if you can or at least point me in the right direction because right now I'm clueless. I can't emphasize how important
    those files are to me. I've searched for solutions on several forums and it seems that this is a problem people have been having for years now and windows hasn't provided an answer yet.
    An interesting note, When I reboot the laptop after trying to do the transfer, a new user account appears at startup alongside the one I normally use. This new user account has the same unique name of the user account I am trying to restore but that's where
    the similarity ends. All the settings for this account are default settings and empty folders. What does this mean?

    Hi Vincent, like I said I tried all of that already and it failed. Thanks a lot for trying to help though. Imperfect1, so sorry I took so long to reply. No that's not the case. I was trying to restore from x86 to x86.
    Well, I finally gave up. I've scoured the internet for a solution. You'll probably find duplicates of this post all over. This has been a known software problem with Windows Easy Transfer for years and Microsoft has done nothing to fix it or warn users of
    the risks. Shameful!
    Anyway, I managed to recover my files with this life saver of a program here>
    http://www.visser.com.au/blog/migrecover-for-microsofts-windows-easy-transfer/
    MigRecover Utility for Microsoft's Windows Easy Transfer.
    I can't express how grateful I am to the developer and the host for the download. You guys are the most awesomest people ever. Cheers.
    Here's how you modify the syntax in commmand prompt if you used a password to protect the mig file in WET>
    http://social.technet.microsoft.com/Forums/en-US/w7itproinstall/thread/68910c1a-3c4b-47af-bb22-0e7ec6f2054f/
    Just remember to change the source drive letter in "C:\SaveData.MIG" to the actual drive it's stored on if your MIG file is on an external drive like mine was; whether it's E:, F:, G: or whatever.
    Good luck to anyone with the same issue who stumbles upon this post. I hope it helps you as it did me.
    AsdyAsks

  • Saved Digital ID to desktop, all desktop files and folders immediately vanished from computer

    I was signing a document in Abobe Reader, and instructed to create a new digital ID in order to do so.
    when I did this, I chose to save the digital ID to the desktop, replacing whatever its original destination to be saved to was.
    when I hit finish, every single file and folder on my desktop vanished from my laptop (Macbook air running OSX Yosemite) completely. I have searched everyone and gone through a live chat with an Apple specialist who has had access to my screen and cannot find anything. All files and folders, music and photos that were not on my desktop are still here. I have tried re-starting.
    Does anyone have any idea what has happened and how to fix it? I am a graduate student and part of my dissertation was on my desktop. I am an idiot for not having backed it up properly, and will be buying an external hard drive and using Time Machine immediately.

    Hello Elizabeth,
    Thank you for contacting Adobe via this forum and other correspondence.
    I see that Adobe Support has contacted you directly and is working with you on this issue.
    Regards,
    Charlene

  • How can i modify or delete desktop files and folders in Mac OS 10.6.8 ?

    i have Macbook pro running on Mac OS X, Snow Leopard ver. 10.6.8 . I am not able to delete rename and modify my desktop folder and files. even through the admin account and all previleges i cant move them to Thrash. as i try to delete them it asks for password and then no action takes place. i have even used repair permissions from disk utility, used the terminal window method but nothing happened. the "get info " shows read and write permision but still i cannot even rename them there.. can anyone please help me ?

    Is the Desktop folder inside the Users -> Yourname folder with the same contents of your Desktop?  If it isn't, then you've moved the Desktop folder to a place that can't be accessed by the account called Yourname.

  • After updating Mavericks all my desktop files and folders were deleted

    I just updated to Mavericks and after going through the registration and settings process I have a desktop wiped clean. No personal files, no personal folders, Thunderbird email reset and deleted, etc. All previous settings were reset. All files were deleted that weren't part of Apple's default files or the Mavericks OS. They don't appear in finder, or spotlight, or when I open an app to try and view 'recent documents'.
    How does this happen?

    Did it have you create a new user during your first startup after installing Mavericks?  If so, check your "user" folder to see if you old account is still there.  You can follow these steps the to restore that user account:
    1. If your computer is starting up as if it is a new / clean install, create a dummy user (i.e. User name: test).
    2. Get to the desktop logged in as this dummy user and navigate to the "Users" folder. In addition to the dummy user you created and the "Shared" folder you should see a folder for your old user account. Take note of the exact spelling including cases of that user account.
    3. Go to System Preferences -> Users &amp; Groups
    4. Confirm that the user you are trying to access is not in the greyed out list of users.
    5. Create a new user with the user name (short name) identical the name of the user's folder you are trying to restore.
    6. It will say "a folder with that user already exists, do you want to use the existing folder?" Confirm "Use Existing Folder"
    7. Let it run for a minute and you will see the dummy user's name appear in the menu bar, on the right hand side.
    8. Go to System Preferences -> Sharing and change the computer name to something other than 'dummy user account's' Computer
    9. Congrats, everything should be back to normal. Log out of the dummy account and into your old account, everything should be waiting for you as you left it.

  • Move location of swap file and safari cache file

    Hi,
    I have a SSD and want to move the location of my:
    System's swap (virtual memory) file
    Safrai cache file
    To my sd card, to help reduce the wear on my SSD.
    Is it possible, if so, how do i do it?
    Regards,
    Rowland

    An SD card is very slow compared to a real SSD. Since these caches are used frequently, the speed impact on your Mac would be terrible.
    And besides... From what I read about this issue: the SSD will outlive your MBP by years.

  • I transferred everything from my ssd to an external drive and deleted everything on 'all my files' and Iphoto. Why does it say i have 34.88/ 120.47? Also ordered 128ssd. why out of 120?

    I want to clear the unneccessary files in my hd. How do I do that?

    Did you empty the trash?
    Where  did  my  Disk  Space  go? 
    Slimming your hard drive
    Seven ways to free up drive space
    OmniDiskSweeper is a free utility that checks HD space.
    FreeSpace
    SpaceControl is a free utility that checks HD space.
    Disk Inventory X
    WhatSize
    SpaceControl

  • I unloaded some mp3 songs into desktop file by mistake, now I get a message Item "....." is used by Mac OS X and cannont be opened. How can I fix this

    I am new to this support community. I was givin a stick with a bunch of music on it, I wanted to install it on my music and have never done any installations. The 3000 some songs got into my system 3 times so I have 6000 some in my desktop file and had ( I deleted or lost it somewhere??)  9000 some in my documents file. When I click on a song I get a message... Item "Alan Jackson - My Own Kind Of Hat 2.mp3" is used by Mac OS X and cannot be opened.
    1. What can I do to clean these files out ?
    2. What does this message indicate?
    3. I did manage to trash some of the songs But had another message that sounded like I should not attempt this either.
    Any help would be appreciated.

    I have exactly the same problem. I have tried Applejack and TechTools Pro to correct permissions and the files are still unaccessible.
    The computer is a 2x3 GHz Dual-core Intel Xeon w/16GB Memory, running OS X 10.4.10.
    I too would greatly appreciate a hint on how to access these files.

  • Desktop files disappearing ?

    I have a 2010 white Macbook with OS 10.6, and halfway through this morning 85% of my desktop files and icons disappeared while I was elsewhere. I've looked in Spotlight for them, checked the trash, and they are nowhere to be seen - has anyone any idea what has happened and where they might have gone to ? It is bizarre, and even slightly amusing for a moment, but I've looked high and low for them on the machine and can't find them anywhere. Most of my work is contained in those files, so that is worrying, and 40GB's of iPhoto has also gone missing. I have backups, so not a problem, but I'd like to find out what has happened - or is happening - before I reload my desktop, especially if the same thing is going to happen again.

    clonquehopper wrote:
    SNIP
    [1] MacDropAny has been busy working for me for months. The way I have it set up it simply syncs my desktop to a copy on the Dropbox server. It's never deleted anything, until yesterday, when it synced a nearly empty desktop back to itself, which as I said, and you then agreed, explains the disappearance on Dropbox.
    [2] I'm unsure as to what you mean about Dropbox and copies. If I sync something on my computer to my Desktop, I can still access the file on the laptop with no internet connection, and indeed, often do so. I'm pretty sure you simply have the file on both ends. You can, after syncing, delete the file on either your computer or on your Dropbox without it affecting the other - unless you are using MacDropAny which simply syncs your chosen files instantaneously.
    [3} "Business account" simply refers to the size of my Dropbox. I'm a one man band, no one else accesses it.
    CountDOWN
    [3] gottit Interesting - leads us to suspect #[1] is perpetrator.
    [2] Can you turn MacDropAny off temporarily? If so, run a test. Make a Test.txt file - save to desktop.. Drag/Drop from Mac Desktop to Dropbox icon. What happens to the original test.txt file on your Desktop?
    In my experience with such an act, the original 'DIS'appears from the Desktop and 'A'ppears on Dropbox - i.e., as if you moved it on your Mac from one folder to another folder - NOT copied from one HD to another HD. The latter is actually what is happening is it not?
    Be interesting to know if MacDropAny prevents  the normal Dropbox behavior I just described.
    Dropbox was intended to behave just like another folder on your Mac. No need to SYNC cuz you are working on the file from the Dropbox folder
    [1] I am now trying to figger out why you need this syncing App to be involved? Why not just use Dropbox normally? Doesn't solve the mystery....
    [0] BLAST OFF !! It is clear that the files/folders on Dropbox disappeared first. MacDropAny then synced that fact. We are back to
    Why did they disappear from Dropbox? Not quite square one, but I'll bet that Dropbox support could have some input. Bet they have it all backed up to where they could restore Dropbox to ±the time before the poltergeist struck.
    Advise to contact Dropbox
    CCC

  • How place an LD_PRELOAD bash command into a .desktop file (LXDE)

    To enable video in Skype with my webcam I must launch skype the following way:
    LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
    To get that command done from my LXDE menu I tried to edit the skype.desktop file and place that line after the "Exec" desktop spec. It does not work, in quotes or not, nor with a full pathname to skype.
    How can I force my desktop entry to run the command above?

    bash -c "LD_PRELOAD=... skype" should work too, for example.

  • New Desktop files hidden under Dock

    I recently upgraded to Tiger. Since then, new files on the desktop (copied from elsewhere or downloaded from internet) frequently land underneath the dock (at the bottom of the screen). Every time this happens I have to 1) move the dock, 2) move the file icon, 3) replace the Dock.
    Very annoying!
    The folks at the local Apple Store have no answer except to avoid putting files on the desktop, which is not a very satisfying answer. is this actually how it's supposed to work in Tiger?
    Thanks!
    Ps. tiger was first installed with archiving (something like that). Then reinstalled to clean hard drive after I reported all the problems I was having (including this one). Apple store genius bar did both installs.

    "Are the items forced to go there because all the other space is taken up?"
    Well, yes and no. It seems to like columns, and some columns are full. But there is room for more columns. I've tried various viewing options.
    My dock is too big to see a file over the top of it. I'd like to keep it that size.
    The other suggestion they gave me was to "hide" the dock. I'm trying that now, but I don't like it much. It's too slow to bring it up again. That is, I move my mouse to the bottom and have to wait for it to respond (I'm an impatient kind of guy).
    Yes, I heard about the performance hit. I'll take steps to minimize my file/folder count on the desktop.
    ..... Never mind...
    I just found the answer, although it still seems like the desktop should be smart enough to not put files under the doc:
    I had the desktop view option set to "keep arranged by..." As soon as I turned that off, the files will now go anywhere(?). At least not under the dock.
    Thanks for your help. I just got rid of most of my desktop files and folders, too.

Maybe you are looking for

  • How to create reporting with Semikolon-separated results

    Hello, how cani change the default report-format in Teststand 4.2.1 in that way that i creates for each measurement a new line with: testname;measurement;high;low dummya;3,22323;2;4 dummyb;2,22323;1;4 dummyc;2,52323;1;4 dummyv;2,82323;1;4 Thanks f

  • ACS Local databse authentication as a failover to Active Directory

    Hi all Router- 10.10.10.1 ACS-10.10.10.2 AD-10.10.10.3 in AD - created  a group called "telnet users" - added user with name of - john I have added cisco router as clients in Cisco ACS 5.1 and integrated with Active directory. when i telnet to 10.10.

  • Default Tax Code in BP

    Dear Experts, I have got a situation in which suppose I have a vendor 'A' providing both exciseable & non-Exciseable Goods. I set an exciseable Tax code in Tax Code Determination for vendor 'A'. Right now I am using MRP. I run MRP and got requirement

  • .au audio files in e-mail attachments play too fast

    How can I get .au audio file attachments in e-mails to play at normal speed? For some reason they play so fast that I can't understand what the person speaking is saying. It's very frustrating.

  • Error 97 when running built application and printing report.

    I get the following message: Error 97 occurred at Unknown System Error in Print Report.vi->PM Workorder.vi->NEW PM main.vi Null Refnum was passed in as input when I try to run my built application, but it will run fine as a vi. I am using the Report