maphew

trilium upgrades

Release v0.95 of trilium is out. The sync version number has changed, which means both client and server must be upgraded – to matching versions. What does this mean in practice?

My server runs on PikaPods.com. It typically upgrades within a week of an official relase (sometimes 2). Typically this means I need to wait to upgrade my desktop.

In this instance my desktop is on v0.93 and PikaPods is at v0.94.

Flatpak#

Use github client to fetch release file and install

gh release download \
  --repo TriliumNext/trilium \
  --pattern "*linux-x64.flatpak" \
  --skip-existing \
  --dir ~/Downloads \
  --output trilium-latest.flatpak
  
 flatpak install -y --user ~/Downloads/trilium-latest.flatpak

Oh! This warning probably explains why the app shortcut has a generic icon.

Warning: Not exporting file com.triliumnext.notes.png of unsupported type.
Installation complete.

What's unsupported about it I wonder?

from 

~/.local/share/flatpak/exports/share/applications/

fix .desktop run by removing --command=… segment (ref). Should look like:

Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --file-forwarding com.triliumnext.notes @@u %U @@ 

On Bluefin linux might need to logout or restart in order to get the app to pick up the change. (todo: figure out why and fix. it's ridiculous to need to do that. in meantime, just launch from terminal.)