Hmmm. I cleaned up this directory, removing all wine references. I do not want/need them. I then ran: update-mime-database $HOME/.local/share/mime/ Much better. This is, I guess, one disadvantage of keeping your $HOME as long as I do. But mainly it has not been a problem. On Wed, Sep 27, 2017 at 3:24 PM, Roger Oberholtzer <roger.oberholtzer@gmail.com> wrote:
On Wed, Sep 27, 2017 at 2:26 PM, Carl Hartung <opensuse@cehartung.com> wrote:
On Wed, 27 Sep 2017 13:40:02 +0200 Roger Oberholtzer wrote:
On my system, all files that do not have an explicit MIME type are listed in Dolphin as Type "Python File (no console)". This includes files with names like:
cis.txt xx.repo noExtension
The mime type it shows in the Properties->General->FileTypeOptions is text/plain. So that part is okay. But when listing a name for this, "Python File (no console)" is used.
Anyone else see this?
Does a particular text editor or IDE appear as the default under 'Open with' when you right-click on any of these (plain text) files? I would suspect that program of modifying Dolphin's / KDE's file type associations during installation.
Kate is first in the list.
But on closer inspection, I see that this association is coming form $HOME/.local/share
This directory has grown over the years. I never actively place things there. It has lived there for almost 10 years. (My $HOME is long lived.)
I see that the text for the Type is in a file called
$HOME/.local/share/mime/packages/x-wine-extension-pyw.xml
That's the only place I see this.
I am guessing that back in the mists of time I added a python package via wine.
Cleaning up this directory looks fun. It is a mix of mime settings, file associations, and program state (recent files an app has had opened and such). Just putting it out of the way is probably not the best way. Maybe I will look for newish files and see if it is enough to keep just those....
-- Roger Oberholtzer
-- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org