pop-os / cosmic-files

WIP COSMIC file manager
GNU General Public License v3.0
95 stars 71 forks source link

Support opening files in terminal apps #305

Open heroin-moose opened 1 month ago

heroin-moose commented 1 month ago

Some apps (like neovim) should be started in terminal, indicated by Terminal=true in the corresponding desktop file. Would be nice to have that in cosmic-files.

James-Randall-14 commented 1 month ago

I would also like to see this

heroin-moose commented 1 month ago

It would be nice to actually support it via a separate crate that properly parses the *.desktop files and mimeapps.list. xdg-open is a mess. I still LMAO over the fact that XDG does not support wildcards, e.g. you can't say video/*=mpv.desktop. With mailcap from 80s you can.