cosmic-files icon indicating copy to clipboard operation
cosmic-files copied to clipboard

[Feature Request] ability to add applications to the "Open With" menu, and set default app

Open 9thyear2 opened this issue 9 months ago • 2 comments

such as being able to open m3u, mp3, flac, etc. files with deadbeef

currently for linux deadbeef distributes a tar.bz2 that contains a binary. being able to add the binary to the list would be nice

9thyear2 avatar Mar 05 '25 08:03 9thyear2

Performing these worked for me

Create desktop entry

nano ~/.local/share/applications/deadbeef.desktop

Add the following content with -replacing /path/to/deadbeef with the actual path to the DeaDBeeF binary & -replacing /path/to/deadbeef-icon.png with the actual path to an image

[Desktop Entry]
Name=DeaDBeeF
Exec=/path/to/deadbeef %f
Icon=/path/to/deadbeef-icon.png
Terminal=false
Type=Application
MimeType=audio/mpeg;audio/x-wav;audio/flac;audio/ogg;application/ogg;audio/x-mpegurl;
Categories=Audio;Music;Player;

Update desktop database:

update-desktop-database ~/.local/share/applications

Image

iamkartiknayak avatar Mar 10 '25 07:03 iamkartiknayak

It would be a nice addition if we are able to do the same with Select app binary along with Browse COSMIC Store link where it'll automate this process. Also, being able to update default app from open-with dialog will be great!

iamkartiknayak avatar Mar 10 '25 07:03 iamkartiknayak