You are not logged in.

#1 2007-04-16 10:39:06

eg4matze
Member
Registered: 2005-01-27
Posts: 52

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)

Offline

#2 2007-04-16 11:05:51

beza1e1
Member
From: Karlsruhe, Germany
Registered: 2007-04-15
Posts: 30
Website

Re: Gnome file associations[solved]

Right click on a file -> options (or preferences or whatever in english) -> Open with tab

These things are managed with .desktop files, but i don't know how this works behind the scenes.

Was this helpful or did i misunderstand your question?

Offline

#3 2007-04-16 11:13:15

eg4matze
Member
Registered: 2005-01-27
Posts: 52

Re: Gnome file associations[solved]

No I wanna delete them, because of this errors

fehler.jpg

Offline

#4 2007-04-16 13:55:18

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: Gnome file associations[solved]

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)


To know recursion, you must first know recursion.

Offline

#5 2007-04-16 14:20:32

beza1e1
Member
From: Karlsruhe, Germany
Registered: 2007-04-15
Posts: 30
Website

Re: Gnome file associations[solved]

Looks like ~/.gnome is the place.

~/.gnome/mime-info/user.keys specifies defaults and application can create their own .keys file there for example

http://developer.gnome.org/doc/API/libg … -info.html
http://developers.sun.com/solaris/artic … gnome.html

(.desktop files are for panel and menu entries, not for file associations, i learned)

Edit: Listen to lloeki not me! ~/.local is a Freedesktop spec and probably newer.

Last edited by beza1e1 (2007-04-16 14:28:14)

Offline

#6 2007-04-16 15:15:51

eg4matze
Member
Registered: 2005-01-27
Posts: 52

Re: Gnome file associations[solved]

lloeki wrote:

EDIT: found associations at last (not that I really searched before)
look in ~/.local/share/applications/defaults.list

thats the solution, thank you smile

Offline

Board footer

Powered by FluxBB