Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove text/plain in .desktop; add text/x-scheme #50

Closed
wants to merge 1 commit into from
Closed

Remove text/plain in .desktop; add text/x-scheme #50

wants to merge 1 commit into from

Conversation

shenlebantongying
Copy link

@shenlebantongying shenlebantongying commented Mar 6, 2021

Hi,

My email to texmacs-devel got ignored [0], and GNU Savannah is hard to use.

This is a small fix to prevent TeXmacs from becoming the default editor for all text files. It's really ANNOYING.

Since someday, the text/plain MimeType got seriously respected (at least for KDE on Fedora/openSUSE), thus it will replace the default text editor for all text files including .py .java .cpp .html and more, as mentioned in my email [0].

The reason is that text/x-python, text/x-c++src, text/html are all subtype of text/plain.[2]

TeXmacs is not a generic text editor like gedit, kate, vim .......


I also added text/x-scheme for .scm and .ss for scheme files, as defined at xdg-shared-mine-info database [1].

[0] https://lists.gnu.org/archive/html/texmacs-dev/2021-02/msg00003.html

[1] https://github.com/freedesktop/xdg-shared-mime-info/blob/103b3058353ee7ca2b154b2e3d26d12cd1de958d/data/freedesktop.org.xml.in#L6462-L6467

[2] https://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec/

@shenlebantongying
Copy link
Author

It is a confirmed KDE bug.
https://bugs.kde.org/show_bug.cgi?id=442721

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant