I don't think you have to put icon file extension for Icon
field in .desktop, some applications launcher won't render it as well.
- Icon=losslesscut.svg
+ Icon=losslesscut
Git Clone URL: | https://aur.archlinux.org/losslesscut-bin.git (read-only, click to copy) |
---|---|
Package Base: | losslesscut-bin |
Description: | Crossplatform GUI tool for lossless trimming/cutting of video/audio files |
Upstream URL: | https://github.com/mifi/lossless-cut |
Licenses: | MIT |
Conflicts: | losslesscut |
Provides: | losslesscut |
Submitter: | dmp1ce |
Maintainer: | dmp1ce (Lulzagna) |
Last Packager: | Lulzagna |
Votes: | 63 |
Popularity: | 2.99 |
First Submitted: | 2020-11-10 13:10 (UTC) |
Last Updated: | 2025-03-24 19:02 (UTC) |
I don't think you have to put icon file extension for Icon
field in .desktop, some applications launcher won't render it as well.
- Icon=losslesscut.svg
+ Icon=losslesscut
@Lulzagna thanks for addressing my issue so quickly
@eniac should be fixed now.
Sorry about that - I slapped the repo's .desktop file in without giving it a good look. I merged the old and new so the MimeType is set as well.
The .desktop doesn't appear in gnome on my pc, maybe because it references /app/bin/run.sh which doesn't exist
seems like not following ~/.config/electron-flags.conf
?
@kata55 you can actually avoid the need to add these flags on a per-app basis,
Create $HOME/.config/electron-flags.conf
with contents
--enable-features=WaylandWindowDecorations
--ozone-platform-hint=auto
No need to provide a .desktop file in the aur. Use the file from the repo (which also contains the correct mimetype associations) patched with the correct path
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
Yes, same here, for me removing tutanota-desktop-bin-debug was enough to unblock the installation of losslesscut-bin. But then I saw that the latter package has created these /usr/lib/debug/.build-id conflicting files. This "debug" option of makepkg results in the implicit installation of *-bin-debug packages, apparently. And I never enabled this option myself, so it is the default value.
I have removed a bunch of *-debug packages from my system lately.
Regarding the debug files "exists in filesystem" issue - I've had this happen with many other packages. I figured I did something to have the "-debug" packages be installed. When this happens I just remove the conflicting debug packages.
I don't recall ever seeing -debug packages until this year, so something might have changed with makepkg.conf or yay perhaps.
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.