Adding to the desktop file this line:
MimeType=video/mpeg;video/x-mpeg;video/msvideo;video/quicktime;video/x-anim;video/x-avi;video/x-ms-asf;video/x-ms-wmv;video/x-msvideo;video/x-nsv;video/x-flc;video/x-fli;video/x-flv;video/vnd.rn-realvideo;video/mp4;video/mp4v-es;video/mp2t;application/ogg;application/x-ogg;video/x-ogm+ogg;audio/x-vorbis+ogg;application/x-matroska;audio/x-matroska;video/x-matroska;video/webm;
would be nice. See https://github.com/mifi/lossless-cut/blob/master/no.mifi.losslesscut.desktop
Pinned Comments
kata55 commented on 2023-07-06 20:07 (UTC) (edited on 2023-07-06 20:09 (UTC) by kata55)
If anyone, like me, uses this on GNOME on Wayland with Fractional Scaling (due to a 14" 2560x1440 screen in their laptop), you may find this Electron trick useful to make the app work in native Wayland mode instead of
xwayland
(so that it does not appear blurry) - run the app with this command:To make the change persist, change the
Exec=...
line in/usr/share/applications/losslesscut-bin.desktop
to:It would be probably great if the
.desktop
file in this AUR would have this automatically included if Wayland is detected as the display server, but I'm not sure how do you go about this; Also this seems to be a recurring theme with all Electron apps, so I'm thinking about some system-wide solution to be brought up on Arch upstream - no point in having every single Electron app packager waste the effort repeating this.dmp1ce commented on 2021-10-29 17:03 (UTC)
I'm following the releases on this page: https://github.com/mifi/lossless-cut/releases
I'm not following all the tagged versions.