Gentoo Archives: gentoo-user

From: Franz Fellner <alpine.art.de@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Something's messed up my mimetypes
Date: Mon, 23 Jul 2018 16:22:04
Message-Id: CADtyuE4LHfHO6ASf_bg46Bmt3zwnxN+yEY2FxvPB3CO7J6baSA@mail.gmail.com
In Reply to: [gentoo-user] Something's messed up my mimetypes by Wols Lists
1 2018-07-23 18:58 GMT+03:00 Wols Lists <antlists@××××××××××××.uk>:
2
3 > How do I find out what mimetypes are associated with an application?
4 >
5 > I would just inspect the .desktop files
6 We use Gentoo here so you know which package installed your application.
7 for kate it's... kate ;)
8
9 $ qlist kate | grep desktop
10 /usr/share/plasma/plasmoids/org.kde.plasma.katesessions/metadata.desktop
11 /usr/share/kservices5/plasma-dataengine-katesessions.desktop
12 /usr/share/kservices5/plasma-applet-org.kde.plasma.katesessions.desktop
13 /usr/share/applications/org.kde.kate.desktop
14
15 $ grep Mime /usr/share/applications/org.kde.kate.desktop
16 MimeType=text/plain;
17 Not a big help...
18
19 But... kate uses ktexteditor to show text. Do the same there (katepart) and
20 you should get the mimetypes associated with it.
21 Which is too long to post here ;)