How do I prune "open with"?

21 views
Skip to first unread message

ToddAndMargo

unread,
Oct 2, 2015, 6:01:58 PM10/2/15
to krusader-users
Hi All,

Xfce 4.10

$ rpm -qa krusader
krusader-2.4.0-0.14.beta3.el7.x86_64

I just upgraded from Scientific Linux (SL) 6.7 to 7.1.
When I restored my profile, I got back all the "open with"
entries from SL 6.7.

Problem: about 3/4 of these entries are stale and I do
not intend to reinstall them.

One of the worst offenders is "rdf". It has 16 things assigned to it.
It should only have one. A few are stale; most are just wrong.

/home/tony/.local/share/applications/find . -exec grep -l rdf {} \; 2>&1
| grep -v "Is a dir"

Showed no .desktop had an "rdf" entry.


Looking a ~/.local/share/applications/mimeapps.list, I find
no entry for rdf.

How do I prune or just start over with "open with"?

Many thanks,
-T


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Yuri Chornoivan

unread,
Oct 3, 2015, 2:49:25 AM10/3/15
to krusade...@googlegroups.com
2015-10-03 1:01 GMT+03:00 ToddAndMargo <ToddAn...@zoho.com>:
Hi All,

Xfce 4.10

$ rpm -qa krusader
krusader-2.4.0-0.14.beta3.el7.x86_64

I just upgraded from Scientific Linux (SL) 6.7 to 7.1.
When I restored my profile, I got back all the "open with"
entries from SL 6.7.

Problem: about 3/4 of these entries are stale and I do
not intend to reinstall them.

One of the worst offenders is "rdf".  It has 16 things assigned to it.
It should only have one.  A few are stale; most are just wrong.

/home/tony/.local/share/applications/find . -exec grep -l rdf {} \; 2>&1 | grep -v "Is a dir"

Showed no .desktop had an "rdf" entry.


Looking a ~/.local/share/applications/mimeapps.list, I find
no entry for rdf.

How do I prune or just start over with "open with"?

Many thanks,
-T

Hi,

Can you check if something is in the ~/.config/mimeapps.list ?

Thanks in advance for your answer.

Best regards,
Yuri 

ToddAndMargo

unread,
Oct 3, 2015, 2:34:57 PM10/3/15
to krusade...@googlegroups.com
On 10/02/2015 11:49 PM, Yuri Chornoivan wrote:
> 2015-10-03 1:01 GMT+03:00 ToddAndMargo <ToddAn...@zoho.com
> <mailto:ToddAn...@zoho.com>>:
Hi Yuri,

No joy
$ find ~ -iname mimeapps.list
./.local/share/applications/mimeapps.list

$ grep -i rdf ./.local/share/applications/mimeapps.list
<nothing>

Checked with leafpad too.

Neither one of these showed anything either:

$ find .local -exec grep -il rdf {} \; 2>&1 | grep -v "Is a directory"
$ find .config -exec grep -il rdf {} \; 2>&1 | grep -v "Is a directory"

Nothing showed up here either:
$ find /usr/share -iname mimeapps.list
/usr/share/gdm/greeter/applications/mimeapps.list
/usr/share/kde-settings/kde-profile/default/share/applications/mimeapps.list

$ grep -i rdf /usr/share/gdm/greeter/applications/mimeapps.list
$ grep -i rdf
/usr/share/kde-settings/kde-profile/default/share/applications/mimeapps.list





Yuri Chornoivan

unread,
Oct 3, 2015, 2:52:20 PM10/3/15
to krusade...@googlegroups.com
Ok. Just one more try, is there something in

/usr/share/applications/mimeinfo.cache

?

Thanks for your answer.

Best regards,
Yuri

ToddAndMargo

unread,
Oct 3, 2015, 3:43:23 PM10/3/15
to krusade...@googlegroups.com
On 10/03/2015 11:52 AM, Yuri Chornoivan wrote:
>
>
> 2015-10-03 21:34 GMT+03:00 ToddAndMargo <ToddAn...@zoho.com
> <mailto:ToddAn...@zoho.com>>:
>
> On 10/02/2015 11:49 PM, Yuri Chornoivan wrote:
>
> 2015-10-03 1:01 GMT+03:00 ToddAndMargo <ToddAn...@zoho.com
> <mailto:ToddAn...@zoho.com>
> <mailto:ToddAn...@zoho.com <mailto:ToddAn...@zoho.com>>>:
$ grep -i rdf /usr/share/applications/mimeinfo.cache
<nothing>

$ grep -i rdf ./.local/share/applications/mimeinfo.cache
<nothing>

Does Krusader have its own set of this somewhere?

I ask this because I opened "thunar" (Xfce's awkward file manager).
Found an "*.rdf" file, right clicked on it, selected "open with"
and the menu that came up was correct.

So maybe Krusader has its own list somewhere? Or maybe KDE
has a separate list somewhere?




ToddAndMargo

unread,
Oct 3, 2015, 3:48:48 PM10/3/15
to krusade...@googlegroups.com
I found this:
$ find ./.kde/share/config -exec grep -li rdf {} \; 2>&1 | grep -v "Is a
directory"

./.kde/share/config/katesyntaxhighlightingrc
./.kde/share/config/kmetainformationrc

$ grep -i rdf ./.kde/share/config/katesyntaxhighlightingrc

extension=*.docbook;*.xml;*.rc;*.daml;*.rdf;*.rss;*.xspf;*.xsd;*.svg;*.ui;*.kcfg;*.qrc;*.wsdl
mimetype=text/xml;text/book;text/daml;text/rdf;application/rss+xml;application/xspf+xml;image/svg+xml;application/x-designer;application/xml

$ grep -i rdf ./.kde/share/config/kmetainformationrc
http://www.w3.org/1999/02/22-rdf-syntax-ns#type=false



ToddAndMargo

unread,
Oct 3, 2015, 3:53:22 PM10/3/15
to krusade...@googlegroups.com
I created a new .kde, no symptom change. Then reverted back
to the old one

Reply all
Reply to author
Forward
0 new messages