@dmp1ce
Tried, no luck. Something is odd. Trying to upgrade Tutanota now and getting this:
... Packages (2) tutanota-desktop-bin-240.240816.0-1 tutanota-desktop-bin-debug-240.240816.0-1
Total Installed Size: 322.72 MiB Net Upgrade Size: 11.15 MiB
:: Proceed with installation? [Y/n] (2/2) checking keys in keyring [##########################################################################] 100% (2/2) checking package integrity [##########################################################################] 100% (2/2) loading package files [##########################################################################] 100% (2/2) checking for file conflicts [##########################################################################] 100% error: failed to commit transaction (conflicting files) tutanota-desktop-bin-debug: /usr/lib/debug/.build-id/01/4cf96203aed6b44b362f930a85553ebe5ba70c exists in filesystem (owned by losslesscut-bin-debug) tutanota-desktop-bin-debug: /usr/lib/debug/.build-id/01/4cf96203aed6b44b362f930a85553ebe5ba70c.debug exists in filesystem (owned by losslesscut-bin-debug) tutanota-desktop-bin-debug: /usr/lib/debug/.build-id/1e/b3c381073b13ceede33b7fc0079262496d526d exists in filesystem (owned by losslesscut-bin-debug) tutanota-desktop-bin-debug: /usr/lib/debug/.build-id/1e/b3c381073b13ceede33b7fc0079262496d526d.debug exists in filesystem (owned by losslesscut-bin-debug) tutanota-desktop-bin-debug: /usr/lib/debug/.build-id/31/18e8c152e4ef215bc843fbb3ab9281877f7ada exists in filesystem (owned by losslesscut-bin-debug) tutanota-desktop-bin-debug: /usr/lib/debug/.build-id/31/18e8c152e4ef215bc843fbb3ab9281877f7ada.debug exists in filesystem (owned by losslesscut-bin-debug) tutanota-desktop-bin-debug: /usr/lib/debug/.build-id/64/cecce815e950bd7e1303f2930efef7b804cdae exists in filesystem (owned by losslesscut-bin-debug) tutanota-desktop-bin-debug: /usr/lib/debug/.build-id/64/cecce815e950bd7e1303f2930efef7b804cdae.debug exists in filesystem (owned by losslesscut-bin-debug) tutanota-desktop-bin-debug: /usr/lib/debug/.build-id/87/003aa4689d6ea1fd547c9c771e443afdb6d9a2 exists in filesystem (owned by losslesscut-bin-debug) tutanota-desktop-bin-debug: /usr/lib/debug/.build-id/87/003aa4689d6ea1fd547c9c771e443afdb6d9a2.debug exists in filesystem (owned by losslesscut-bin-debug) tutanota-desktop-bin-debug: /usr/lib/debug/.build-id/a8/bead032b728141d97788324d6540887ae9caf2 exists in filesystem (owned by losslesscut-bin-debug) tutanota-desktop-bin-debug: /usr/lib/debug/.build-id/a8/bead032b728141d97788324d6540887ae9caf2.debug exists in filesystem (owned by losslesscut-bin-debug) tutanota-desktop-bin-debug: /usr/lib/debug/.build-id/e0/d994ca1d7810114cf0e469ea499412d46e017f exists in filesystem (owned by losslesscut-bin-debug) tutanota-desktop-bin-debug: /usr/lib/debug/.build-id/e0/d994ca1d7810114cf0e469ea499412d46e017f.debug exists in filesystem (owned by losslesscut-bin-debug) tutanota-desktop-bin-debug: /usr/lib/debug/.build-id/f4/f4df1c78477202a87b3207a0488cd9196e3ed7 exists in filesystem (owned by losslesscut-bin-debug) tutanota-desktop-bin-debug: /usr/lib/debug/.build-id/f4/f4df1c78477202a87b3207a0488cd9196e3ed7.debug exists in filesystem (owned by losslesscut-bin-debug) Errors occurred, no packages were upgraded. -> error installing: [/home/nik/.cache/yay/tutanota-desktop-bin/tutanota-desktop-bin-240.240816.0-1-x86_64.pkg.tar.zst /home/nik/.cache/yay/tutanota-desktop-bin/tutanota-desktop-bin-debug-240.240816.0-1-x86_64.pkg.tar.zst] - exit status 1
$ ls -l /usr/lib/debug/.build-id/31/18e8c152e4ef215bc843fbb3ab9281877f7ada.debug 1 ↵ lrwxrwxrwx 1 root root 48 Aug 12 14:36 /usr/lib/debug/.build-id/31/18e8c152e4ef215bc843fbb3ab9281877f7ada.debug -> ../../usr/share/losslesscut/libvulkan.so.1.debug
So, these conflicts are indeed the real files in my filesystem and they overlap between (at least) this package and tutanota-desktop-bin-debug one.
I have disabled "debug" option in /etc/makepkg.conf and the problem went away.
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.