GIMP: MimeType overkill (the journey continues)

Oops, I missed that one. :sweat_smile: But it has no entry for a gif image, thoguh.

:frog:
What was your process?

RMB ā†’ Open with ā†’ Other applicationā€¦ ā†’ Choose GIMP ā†’ :ballot_box_with_check: Remember application associationā€¦blablabla ā†’ OK
?

No, there was no process. I never changed that.

The mimeapps.list file just contains a couple of entries for webm and mp4. There is no mention of GIMP or gif.

And Gwenview opens gif files on my computer.

1 Like

I have no such file.

~/.config $ ls
total 232
drwxr-xr-x 1 elloquin users    34 2021-02-13 13:51 KDE
drwxr-xr-x 1 elloquin users    98 2021-02-13 12:59 Kvantum
-rw-r--r-- 1 elloquin users   128 2021-02-14 15:55 QtProject.conf
-rw-r--r-- 1 elloquin users  1064 2021-02-17 15:54 Trolltech.conf
-rw------- 1 elloquin users    66 2021-02-13 11:54 akregatorrc
drwxr-xr-x 1 elloquin users     0 2021-02-13 11:54 autostart-scripts
-rw------- 1 elloquin users   780 2021-02-13 11:54 baloofilerc
drwx------ 1 elloquin users    24 2021-02-13 14:26 cef_user_data
drwx------ 1 elloquin users     8 2021-02-14 15:53 dconf
-rw------- 1 elloquin users   831 2021-02-17 16:04 dolphinrc
drwxr-xr-x 1 elloquin users    20 2021-02-13 13:09 fontconfig
drwxr-xr-x 1 elloquin users    70 2021-02-17 15:54 gtk-3.0
drwxr-xr-x 1 elloquin users    24 2021-02-17 15:54 gtk-4.0
-rw-r--r-- 1 elloquin users    52 2021-02-17 15:54 gtkrc
-rw-r--r-- 1 elloquin users    87 2021-02-17 15:54 gtkrc-2.0
-rw------- 1 elloquin users   154 2021-02-13 11:54 gwenviewrc
-rw------- 1 elloquin users  6537 2021-02-17 15:56 kactivitymanagerd-statsrc
-rw------- 1 elloquin users   119 2021-02-13 11:54 kactivitymanagerdrc
-rw------- 1 elloquin users  2697 2021-02-14 12:57 katerc
-rw------- 1 elloquin users    56 2021-02-13 11:54 kateschemarc
-rw------- 1 elloquin users   419 2021-02-13 13:46 katevirc
-rw------- 1 elloquin users   172 2021-02-17 15:53 kcminputrc
-rw------- 1 elloquin users  2600 2021-02-17 15:53 kconf_updaterc
drwxr-xr-x 1 elloquin users   270 2021-02-17 16:03 kde.org
-rw------- 1 elloquin users   136 2021-02-13 12:32 kded5rc
-rw------- 1 elloquin users  3827 2021-02-14 15:55 kdeglobals
-rw------- 1 elloquin users 15363 2021-02-17 15:59 kglobalshortcutsrc
-rw------- 1 elloquin users 30162 2021-02-17 15:54 khotkeysrc
-rw------- 1 elloquin users    74 2021-02-13 11:54 kmixrc
-rw------- 1 elloquin users   408 2021-02-17 16:04 konsolerc
-rw------- 1 elloquin users   278 2021-02-15 14:14 kprivacyrc
-rw------- 1 elloquin users    36 2021-02-17 15:53 krunnerrc
-rw------- 1 elloquin users    78 2021-02-13 12:55 kscreenlockerrc
-rw------- 1 elloquin users   543 2021-02-14 17:02 ksmserverrc
-rw------- 1 elloquin users    41 2021-02-13 12:55 ksplashrc
-rw------- 1 elloquin users   102 2021-02-13 11:54 ktimezonedrc
-rw------- 1 elloquin users   900 2021-02-17 15:54 kwinrc
-rw------- 1 elloquin users    70 2021-02-13 11:54 kwinrulesrc
-rw------- 1 elloquin users   257 2021-02-17 15:54 kxkbrc
drwxr-xr-x 1 elloquin users    82 2021-02-13 11:54 libaccounts-glib
drwxr-xr-x 1 elloquin users    22 2021-02-13 13:06 neofetch
-rw------- 1 elloquin users    84 2021-02-13 11:54 okularpartrc
-rw------- 1 elloquin users    27 2021-02-13 11:54 plasma-localerc
-rw------- 1 elloquin users    36 2021-02-13 11:54 plasma-nm
-rw------- 1 elloquin users  4662 2021-02-17 15:56 plasma-org.kde.plasma.desktop-appletsrc
-rw------- 1 elloquin users    34 2021-02-13 12:35 plasmanotifyrc
-rw------- 1 elloquin users   172 2021-02-13 12:55 plasmarc
-rw------- 1 elloquin users  1264 2021-02-17 15:56 plasmashellrc
-rw------- 1 elloquin users    44 2021-02-13 11:54 powerdevilrc
-rw------- 1 elloquin users   908 2021-02-14 12:25 powermanagementprofilesrc
drwx------ 1 elloquin users   500 2021-02-13 11:54 pulse
drwxr-xr-x 1 elloquin users    38 2021-02-13 12:33 qt5ct
-rw------- 1 elloquin users   307 2021-02-13 12:55 sddmthemeinstallerrc
drwxr-xr-x 1 elloquin users   106 2021-02-17 16:04 session
-rw------- 1 elloquin users   741 2021-02-14 15:55 spectaclerc
-rw------- 1 elloquin users   226 2021-02-15 14:14 sweeperrc
-rw------- 1 elloquin users   552 2021-02-16 19:04 systemsettingsrc
-rw------- 1 elloquin users    21 2021-02-13 14:31 trashrc
-rw------- 1 elloquin users   633 2021-02-13 11:54 user-dirs.dirs
-rw-r--r-- 1 elloquin users     5 2021-02-13 11:54 user-dirs.locale
drwxr-xr-x 1 elloquin users    30 2021-02-17 15:54 xsettingsd

@Kresimir @BONK
But thatā€™s the point - you shouldnā€™t have file (entry for .gif in case of @Kresimir) unless youā€™ve manually overridden something :wink:

1 Like

Well, neither did the OP, yet on his machine, itā€™s GIMP that opens gifs.

We donā€™t know if he have ~/.config/mimeapps.list, if i havenā€™t missed that

P.S. Dammit, i missed that :joy:
P.P.S. mimetypes are bloat.

1 Like

Who knows at this point this thread has spoken of gnome, kde, and a frankensteined lxqt with kde apps.

5 Likes

Any kde-mimeapps.list files? Perhaps Iā€™m missing something. I still suspect that what I wrote is in the right ballpark, since OP said that update-desktop-database appeared to fix it, and that should only generate the cache files. But maybe thereā€™s some other detail involved as well, e.g. maybe KDE records preferred applications somewhere else, or maybe OP was using a different file manager from you. :confused:

1 Like

Iā€™m not really understanding all this talk. It sounds like just a matter of associating a file type to the program you want to open it with. Right click on the file and open with other prgm and set as default.

2 Likes

The problem reappeared for me after a while, and update-desktop-database didnā€™t undo it anymore.

However, I tried deleting ~/.config/mimeapps.list and then running update-desktop-database, and that helped.

So far, reinstalling gimp doesnā€™t override Gwenview as default app anymore.

I hadnā€™t tried this because last time I checked the file, I couldnā€™t find gimp set as default for anything in there. But this time it was.

2 Likes