Gnome file associations[solved]

How can I delete them?
When I create an new user everything goes well, but not in my home profil
thx Matthias
Last edited by eg4matze (2007-04-16 15:16:31)

that's an excellent question. I always wanted to know where those file associations are stored per user... system-wide, I guess nautilus takes a peek at /opt/gnome/share/mime* and takes the latest | lexicographically sorted registered handler by default.
this is one thing gnome really lacks: a central place to modify this (like in kde).
you should also make sure shared-mime-info package is installed.
EDIT: found associations at last (not that I really searched before)
look in ~/.local/share/applications/defaults.list
I also found this interesting read: http://www.amitysolutions.com.au/docume … chnote.pdf
it lists that per user mime types are stored in .local/share/mime* folders
EDIT 2: I took some time to read the error message, and it says that the extension and the mime type detected from file contents do not match. out of the blue, try to rename file with .jpg extension with .jpeg extension.
Last edited by lloeki (2007-04-16 14:12:42)

Similar Messages

  • Setting gnome file associations [SOLVED]

    In a nutshell, I'd like to associate .mp3 files with audacious not with totem.  System>Preferences>Preferred Applications doesn't do it me.  How can one set up Gnome so that double-clicking an .mp3 file will load it up in audacious (or any other application for that matter)?
    Last edited by graysky (2009-10-17 21:47:18)

    From: http://wiki.archlinux.org/index.php/Gno … plications
    Install gnome-defaults-list (not needed but makes it easier to make /usr/share/applications/default.list to fit your needs)
    as root run
    cp -p /etc/gnome/defaults.list /usr/share/applications/defaults.list
    nano/vi/vim/whatever /usr/share/applications/defaults.list
    And adjust it to fit your needs

  • GNOME and KDE file associations

    Hi,
    I like to use KDE and GNOME, alternating between them. Sounds crazy, but I like both. Please, let's avoid the "GNOME vs. KDE" discussion, right?
    My problem is: I like to use different file associations when I'm using GNOME or KDE. For example, I'd like to associate text files with gedit in GNOME and with Kate in KDE. But if I associate text files to gedit in GNOME, when I run KDE and open a text file it opens gedit. If I associate them with Kate in KDE, when I'm using GNOME it'll use Kate as its text editor.
    Some time ago I could have both desktop environments without this mess. Can I have this behaviour back?

    Yeah, I got tired of Evolution not knowing about opening *.docs in openoffice.  After several hours of research, the key is the /usr/share/applications/mimeinfo.cache,  /opt/gnome/share/applications/mimeinfo.cache, and the MimeType fields in the *.desktop files.  The mimeinfo.cache in /usr was empty and the /opt one had gthumb and other apps but no OO:
    [MIME Cache]
    application/x-gnome-stones=gnome-stones.desktop
    image/jpeg=gthumb.desktop
    application/postscript=ggv.desktop
    ...snip...
    That's a lot of blather to say that the fix for Evolution/OpenOffice was to add the proper MimeType entry to /usr/share/applications/ooo645writer.desktop:
    MimeType=application/vnd.ms-word;application/msword
    and then run "update-desktop-database".  Problem solved.
    Another problem is that within Evolution it says an attached doc is a "application/msword" and not a "Microsoft Word Document".  Unfortunately this is because freedesktop.org decided to use application/vnd.ms-word instead of application/msword like the rest of the world.  If you check the vnd.ms-word entry in /usr/share/mime/packages/freedesktop.org.xml it defines an alias msword but the new mime system doesn't appear to recognize aliases yet.  The solution I used was to rename the entry to msword.  Another possible solution might be to remove the msword alias from the vnd.ms-word entry and create a new msword entry based on the vnd.ms-word one.  Then run "update-mime-database /usr/share/mime".  Hope that made sense.
    I think the defaults.list is part of the previous GNOME MIME setup cause I don't have one and I'm not experiencing any problems.  For other apps check for the associations in the mimeinfo.cache's and if missing add the MimeType's to the app's *.desktop.

  • File associations trouble in XFCE after removing Gnome

    Hi all,
    I recently decided to switch to XFCE, totally replacing my previous Gnome DE, I removed gnome and all associated dependencies using "sudo pacman -Rscn gnome" then configured my new XFCE desktop to my liking, problem is that now some file associations are messed up, for example, If im on chromium and download a file, clicking "show in folder" opens up firefox instead of thunar, there were other problems, but I got them fixed by removing the contents on the folder ~/.local/share/applications/ that was filled with a lot of wine apps and some weird stuff.
    Now the only thing missing is this firefox thing, no idea how to fix it, please help, also I tried removing firefox but "show in folder" doesnt do anything.
    regards and thanks in advance for the help

    I did read it but that didnt help, in the end what worked was regenerating the database and restarting comp. Also Xfce is a DE as the article states. Sí this behaviour wasn't normal.
    Thanks a lot for the help provided

  • [SOLVED] LXQt: Black Background and File Associations Ingored

    Hi,
    I switched from Razor-qt 0.5 to LXQt 0.7 (both from AUR) recently, and I encountered two problems:
    1. After login, there is only a black background and no right-click context menu works on the desktop (see linked screenshot below).
    2. "Removable media/devices manager" opens mounted filesystems with filesight instead of dolphin.
    http://i62.tinypic.com/abt56s.png
    Both issues worked fine in Razor-qt 0.5. I guess the black background problem relates to the lxqt-session-git package. LXQt 0.7 ships an own file associations dialog. I changed the default application of MIME type "directory" and "mount point" to dolphin, but obviously it is ignored. Usually, I manage MIME types with KDE's setting control panel. There, MIME types "directory" and "mount point" are associated with dolphin.
    Maybe, anybody has a clue how to narrow down the problem.
    Thanks.
    Last edited by Schwefelsaeure (2014-05-11 17:51:43)

    Thanks, Chazza.
    Package pcmanfm-qt-git solved the issue with the black background.
    However, "Device manager" still ignores the MIME type assocations, even when creating a section for removed associations in ~/.local/share/applications/mimeapps.list (like described in the wiki):
    [Removed Associations]
    inode/directory=filelight.desktop
    inode/mount-point=filelight.desktop
    I will investigate this problem further when I have enough time (maybe LXQt uses another MIME type for mounted devices). Nevertheless, I mark this thread as SOLVED.

  • Different program file associations in GNOME Trash folder

    So, for example, I've set up GNOME to run all *.avi files with mplayer. Now if I delete an *.avi file to a Trash folder and run it from there Banshee is used as a default associated program. In fact, mplayer is not in the "Open With..." sub-menu (only in Properties for this file but it is ignored anyway as I just described.)
    I've no idea why GNOME acts this way but I can provide some background information that might help pinpointing the real issue here. I first ran KDE on my Arch Linux setup. Somewhere along the way I decided to try GNOME and so I installed it alongside with KDE. When I first ran GNOME I had many files associated with KDE's programs (torrent files for instance).
    I'm relatively new to GNOME and maybe I should've clicked some magic button that re-creates an index of file association for GNOME but so far I haven't discovered one
    So, what can be done about this issue?

    Anyone having a trouble like that?

  • File associations change when new packages are installed (GNOME)

    Hello!
    Imagine I set Geany to open text files. It works, I just double click the files and they open with Geany. When I install Wine/Gedit/whatever... it overwrites my file association with Geany, opening it by default with notepad.exe/gedit/whatever.
    Can someone help me?
    Thanks, acmps

    I don't know why this happens sometimes after installing or messing around with wine, but I can also confirm multiple, false entries in that associations-list.
    But I know how to get rid of it after it happened (concerning these entries in my gnome-open-dialogue):
    Delete the files which fit in ~/.local/share/applications/* or have a look at mimeapps.list which is also located there

  • Pdf files associations... how can I change them? [SOLVED]

    Basically when I double-click a pdf file from nautilus, gimp opens.  I have the gnome-extra packages installed (document viewer for exmaple reads pdf files, no), but I have no idea how to reset the file association from gimp to document viewer.  Thanks!
    Last edited by graysky (2009-04-16 16:16:47)

    graysky wrote:
    Inxsible wrote:
    and there is no option there to make it the default program to open that type of file with ?
    If not, some current gnome user might be better able to assist you. Sorry.
    GOT IT!
    Right-click the file>properties>Open With Tab
    Thanks!
    Isn't that exactly what I had suggested in my first post in the thread??
    Inxsible wrote:Right click on any pdf file and go into Properties. Then select Open with tab and select the program that you want to open it with.
    Last edited by Inxsible (2009-04-16 16:19:01)

  • Gnome no file associations.

    Ok, I didn't wanted to ask this but, since it is making me wonder here I go.
    I had a well running arch install I reinstalled to have reiserfs as my file system and not ext3 and did the same things (I believe) and setted up gnome again and everything running fine. Now the problem is that with my first install the file associations were all set by themselves but now I click whatever screenshot or mp3 or anything else and it says no default action so I had to go to properties to setup the app i wanted to do the job. Now I want to know what may be causing this? I had it all working and automagically setting the default action what could I missed this time?
    -Thanks

    jaboua wrote:
    Gullible Jones wrote:Hey, I got this exact same problem with Gnome on ReiserFS... Maybe there's something one of the install scripts doesn't like about that filesystem?
    I got gnome working fine on reiserfs - the only thing that gave me issues was alacarte (it couldn't add/modify anything anymore - just hide stuff IIRC)...
    alacarte isn't available in repo yet. and if you compiled it yourself the you need to upgrade to the gnome-menus from testing it is patched to use alacarte.

  • File associations don't update [Partially SOLVED]

    Dear all
    I have just installed Xnview with Crossover office and I planned to use it as default image viewer. I have currently kdemod installed.
    When I try to change the file association in kcontrol the update is not saved. If I choose "open with" in krusader it doesn't show xnview in the menu. If I force the image to open with xnview it does open.
    This lack of updating is only happening with this case as I just changed the directory file association to krusader and it stuck
    The updating for xnview doesn't work even if I run kcontrol as root
    any idea?
    Cippa
    Last edited by Cippa Lippa (2008-05-16 12:16:34)

    the problem is that I am running arch64 and xnview is not compatible :-(
    anyway I think I found at least part of the problem
    in KDE control center under "File Associations" it is not enough soemtimes to just add an applicatioon to the list "Application preference order". The reason is that sometimes, for some reason, that application you want to use is not associated with specific file types in the MIME catalog
    what needs to be done thus is
    1) add the application you want to the list of "Application preference order"
    2) select the entry in the list
    3) click on Edit
    4) check on the third tab called "Application"
    5) see the list below of "Supported File Types"
    6) add all the file types that you want associated with that application
    7) apply
    8) go back to the main file association menu and check all the file types you have associated and verify that your application is listed in the list of preferred application
    9) now if you want you can change the order in the "Application preference order"
    I found this to work in terms of getting your application to remain in the list "Application preference order". The problem still sometimes is that the specific order in which you put your application might not remain saved after you click on Apply
    Cheers
    Cippa

  • File-roller file association problem

    Hi,
    I have a problem with file-roller file associations.
    When I double-click on a file in file-roller it always asks which application to use.
    For instance, If I double-click on a txt file from thunar it opens gvim automatically. But if I try from file-roller, from an archive, it asks which application to open with.
    Same thing for pictures. Thunar starts mirage automatically but file-roller asks which application to start.
    It seems that file-roller does not read .local/share/applications/defaults.list nor .local/share/applications/mimeapps.list. I tried to modify both but nothing changes.
    I am not running gnome but openbox.
    I also tried from cli gnome-open foo.txt and, like should be, it starts gvim.
    Installing gnome-mime-data didn't solved the problem. Maybe I am missing something?
    Still searching on google for a solution. If somebody had similar problem and knows how to solve please let me know.
    Thank you very much and as always sorry for my bad English.
    Last edited by ArchArael (2008-08-27 15:05:56)

    Hi,
    The link is working... it's not a nautilus quirk. Try these examples:
    FIRST EXAMPLE:
    Login as root and edit mimeinfo.cache (In openSUSE, the linux distribution I'm using right now, this file is placed on /usr/share/applications).
    su
    gedit /usr/share/applications/mimeinfo.cache
    Search for audio/mpeg=
    The first application I specify is going to be the program that File-Roller will use to open a compressed mp3 file.
    Example:
    audio/mpeg=totem.desktop;banshee-1.desktop;
    This will open Totem...
    audio/mpeg=banshee-1.desktop;totem.desktop;
    This will open Banshee.
    SECOND EXAMPLE:
    $ su
    $ gedit /usr/share/applications/defaults.list
    Search for:
    text/xml=MozillaFirefox.desktop
    Replace to:
    text/xml=gedit.desktop
    This will open xml files with Gedit, instead of Firefox.
    Good luck.
    Last edited by kuric (2008-11-22 16:49:30)

  • File associations in Bridge CC after updating to CC 2014

    I am facing a problem with the file association settings in Bridge CC after having updated my other creative suite programs to version CC 2014.
    In previous version I had the option when opening eg. PDF file to chose "open with", and then chose Illustrator or Photoshop. This option is no longer available. When using the Preference menu under file association I can only change the default settings to be either Acrobat or for some reason Firefox. When browsing for Illustrator or Photoshop and choosing the program the PDF file will only open in Illustrator or Photoshop as default not Acrobat as it is suppose to. Does anybody have a solution to this problem.

    Thank you for the answer, but is doesn't fix the problem. The explorer settings lets me open pdf files in Acrobat, Illustrator or Photoshop.
    The problem is that Bridge doesn't allow me to open pdf files in Illustrator.
    When trying to solve the problem by altering the file type association settings, browsing and choosing Illustrator CC 2014, the pdf files will then open by default in Illustrator, and this is not what i want. I want the option to chose, open with Illustrator, and still have Acrobat as the default program. 
    Anybody know how to fix this?

  • File Association, Open File, Edit File

    Vibe is told to support > 400 file formats and that the file viewing capabilities are provided by Oracle Outside In viewer technology that supports over 500 unstructured file formats.
    Testing with Firefox 33.1 on Linux desktops and Vibe 3.4 on SLES11SP3, the following basic file management options beyond Download/Save and possibly View, are available for some typical file types:
    PDF
    + Opening in the browser pdf preview
    DWG
    + Open with
    ODT
    + Open with
    + Edit
    DOC
    + Open with
    + Edit
    DOCX
    TXT
    + Edit
    I wonder why "Open with" and "Edit" is not available for DOCX, as long as the document was intially created with LibreOffice on the Linux desktop?
    In my opinion also complete file action options should be brought up in a context menu by right-click (as usual in File managers) on any file in the folder Files list.
    Is there any configuration file on Vibe that can be edited to complement the available file actions for DOCX files etc ?
    The Vibe Admin guide has a chapter about Configuring File Associations for Edit in Place Applications, but I'm not sure how to do this and if this will help here https://www.novell.com/documentation.../b10u30w2.html
    Else, in Firefox Edit>Preferences>Applications it is possible to set Actions for various file types (content), and in Gnome 3,x System settings | Details | Default Applications can be selected.
    Thanks,
    Terje J. Hanssen

    Hi Pawel,
    I tried first as user to change the default editor settings for .docx to libreoffice according to the documentation
    https://www.novell.com/documentation...s.html#bk59mem
    but with no difference as result.
    Click on the .docx file pop up the Opening .docx widget which only offers the file options Cancel and Save.
    There is still no "Open with" option available.
    There is still not 'Edit This File' relevance tab available, nor contains the 'File Actions' any Edit option.
    Any idea why the .docx file type is missing this fundamental file management features in Vibe?
    Terje

  • File Associations: Preview no longer working correctly

    Over the past week or so, Preview has been misbehaving for me.
    If I double-click on a file that's supposed to be opened with Preview by default (.jpg, .pdf files, e.g.) it says "unexpected error occurred." If I then right-click on the file and select Open With and select Preview, it says "You cannot open the application 'Preview' because it is in the
    Trash."
    Which is utter hogwash, because Preview is NOT in the trash, it's right where it's supposed to be in the Applications folder. Launching Preview from there and then opening the target file works fine, but doesn't solve
    the original problem.
    So there's a file association problem, but try as I might, I cannot figure out how to correct this. A reboot did not help.
    Based on the fact that the default for opening files is "Preview (3.0.7)" and then further on down the menu there's also "Preview (3.0.9)", methinks that there's still some part of the OS that thinks the old version should be used but cannot find it. Try as I might, nothing's correcting the problem.
    Another way I tried to fix the problem was this: used the Finder to select one of the document types I am trying to open (pdf, etc.). Right clicked on that document and chose 'Get Info'. Under the 'Open With' section went through the motions of explicitly choosing Applications\Preview again (then hit the 'Change All...' button).
    File permissions have been repaired, the plists for Preview have been deleted - I can't think of anything else to try.
    17" Macbook Pro (2.33 GHz, 2 GB RAM, 160 GB)   Mac OS X (10.4.8)  

    Empty the trash, restart, and reset the LaunchServices database as described in http://www.thexlab.com/faqs/resetlaunchservices.html

  • Default file associations in linux?

    Hi,
    I quit using KDE and among other glitches, most of my programs have lost their knowledge of file associations or have very odd ideas about them. For example, opera thinks that gimp is the default program for pdf files on my machine. Thunderbird has forgotten all the associations except the ones I've set in thunderbird itself, and if I remember it right, some KDE app was always popping up suggesting a file type. (I think it was kmfclient...)
    Anyways, isn't there a way to manage file types on a lower level? I've been reading that the kernel itself supports mime types since 2.2. I'm not using a DE anymore and I'd need some sort of lightweight handler to open programs accordingly.
    So where are file associations handled in linux? Any suggestions on how to solve this problem?

    File associations are a mess right now. Many programs (Opera included) handle them their own way. There's a project underway to handle associations in a standard way (see MIME actions, shared MIME info, desktop entries, all at freedesktop.org), but not all software uses it; KDE is a notable holdout (3 at least, not sure about 4).
    Note that that first spec link, MIME actions, is currently "in the requirements-gathering / early-planning stages." That means there is no spec for that. As I said, a mess.
    Most likely, Opera and Thunderbird detected you were running KDE and special-cased their association-finder to ask KDE instead. Now that you aren't, they're falling back to their normal behavior: use the first .desktop file to claim the MIME type. As I recall, both applications offer ways to specify associations in their preferences; you might just want to stick to that for now. Or use a desktop environment.
    The kernel-level MIME support is designed to allow execution of strange files using interpreters. For example, you could directly execute Windows applications (as in "./notepad.exe") by setting the kernel to "interpret" application/exe files using wine. No applications use it for opening files.

Maybe you are looking for

  • Use of Timestamp field in Syndicator selection.

    Hi Expertes , I have a timestamp field in repository to check the updates for some 2-3 fields & I want to use This timestamp fieldas selection parameter for syndication. ie. basically to syndicate the records only if timestamp = Today or current date

  • Converting A DBA to an Excel Spreadsheet

    Hi Know how to interogate my database and retrieve my data. But my problem is arranging the data on a Excel Spreedsheet. So that all the similer data falls in the correct columns and rows. At this moment it soes sort the data according to the correct

  • Error 6 in CS4

    I tried to load CS4 onto my new imac and I'm getting an error 6 message. Does anyone know what that means and what I can do about it? I can't find my original software discs so have copied the software from my old imac via my external hard drive. Bri

  • Is it possible to bypass the Reports Launch Form

     

  • Any new update on Flash support on iPad

    Hi All, This was a long time question and I am asking this again - Will iPad support Flash > Browser(Safari) I tried using SkyFire and found it was not as comfortable/similar when it was broswed using a web browser. Also knowing it very well about th