https://bugs.kde.org/show_bug.cgi?id=399174

Marcel Partap <mpar...@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOT A BUG
             Status|REPORTED                    |RESOLVED

--- Comment #3 from Marcel Partap <mpar...@gmx.net> ---
Hey thanks for the swift reaction! Even without .txt extension, mime type seems
to be correctly identified, but it might be a good idea nevertheless.
by ways of looking at `sh -xv /usr/bin/xdg-open sample.txt` I figured out it
invokes exo-open on xfce, which does have a `exo-preferred-applications`
settings dialog but that can only configure WebBrowser, MailReader, FileManager
& TerminalEmulator.
So I found
https://wiki.archlinux.org/index.php/XDG_MIME_Applications#mimeapps.list and
from that, solved my issue by creating a `/etc/xdg/mimeapps.list` with

[Removed Associations]
text/plain=vim.desktop;diffuse.desktop;gvim.desktop;libreoffice-writer.desktop;okularApplication_txt.desktop

Text sent to kdeconnect now indeed does open with the appropriate mousepad xfce
text editor.. which actually makes me `apt install kate` ; )

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to