LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   A rather silly question about GNOME MIME-types (http://www.linuxquestions.org/questions/linux-software-2/a-rather-silly-question-about-gnome-mime-types-84884/)

Thetargos 08-23-2003 11:11 AM

A rather silly question about GNOME MIME-types
 
Hi... I feel rather uncomfortable to say this... but recently I had the need to edit a gnome .desktop file, so I asociated it to gedit under the Open with --> menu. After that all of my launcher icons and desktop icons open with gedit of course... so I thought... I want the CD-Rom Icon to be opened with Nautilus, right? So why not associate it with Nautilus rather than gedit? and I did so... I could have been better off with that :D Now if I click any of my desktop icons I cannot open them neither with Nautilus nor gedit... So I figured that there should be a configuration file where these kinds of data are stored as a per user MIME-settings... my question here is WHERE?? I've found that the file ~/.gnome/mim-info/users.mime contains what MIME-settings for a speciffic user, but this file is automatically generated whenever you start a new session, so where are the global settins so I can override (or delete) the default (edited) action and restore the normal behavior?

Thanks in advance.
Thetargos.

_kossak_ 08-23-2003 01:01 PM

Look under .nautilus

Thetargos 08-24-2003 01:31 AM

And what exactly would I be looking for to delete those actions (asociated programs) I previously selected? I don't seem to find any useful file in that directory...

Please I'm desperate... I've even considered deleting my user and then re-create it for the settings to be reset... but I think that would be a little too much, don't you think?

_kossak_ 08-24-2003 01:58 AM

Quote:

I've even considered deleting my user and then re-create it for the settings to be reset... but I think that would be a little too much, don't you think?
No I don't. :)

_kossak_ 08-24-2003 02:02 AM

If I got into that situation I guess I would do:

rm -r .gnome*
rm -r .nautilus*
rm -r .gconf*

It's quite radical but It's better than deluser.

Thetargos 08-24-2003 02:07 AM

I presume my current themes, pannels, icons, desktop image will be lost? Not that I have a lot, but I tend to be lazy and don't quite remember how did I get my current themes :D Anyway... I'll try deleting those.

Thanks for your help.

[edit]
And I promise not to tamper with the .desktop files ever again (or associate them to another app) If I want to edit one... I'll first open the editor, and then load the file :D I've learned my lesson.
[/edit]

mhearn 08-24-2003 08:00 AM

Argh, yes, GNOME mimetyping/file association is utterly screwed right now. Well, this problem affects the whole of Linux, but particularly gnome. I don't know how you'd fix this one, but wiping your gnome settings might work..... you will have to reorganise your desktop but it should be regenerated for you on login.


All times are GMT -5. The time now is 10:53 PM.