this post was submitted on 24 Feb 2025
15 points (100.0% liked)

Linux

86 readers
20 users here now

A community for everything relating to the GNU/Linux operating system

Also check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
 

Hi everyone, I have been getting back into photography lately and switched to using linux full time about a year ago.

I ended up deciding to use digikam as my photo library management tool and then edit in darktable. both applications I decided to use the appimage for easier use and to have the necessary dependencies to get things like opencl to work, (I had a hard time getting it to work with the .deb)

now I also use multiple machines and recently learned that you can create .home and .config folders for each appimage to have all their settings etc save there, and it seems that this would make it pretty portable.

would it be a bad idea to for example keep the appimages and their folders in a synchronized folder like with nextcloud to use the same* appimage across machines. I never have the same machine on at a time but it would be nice to have all the settings sync'd but im not sure it would then break something since two machines use nvidia gpus and the other uses an amd gpu

top 27 comments
sorted by: hot top controversial new old
[–] HubertManne@moist.catsweat.com 2 points 6 days ago (3 children)

I was under the impression that appimage saved all configs inside its image and did not need anything exteranl configured??? I hope to use it to make it easier to upgrade and change my machines and distros.

[–] BCsven@lemmy.ca 2 points 6 days ago (1 children)

Appimage is an immutable exe. Like a CD ISO It stores config in a home folder variable location.

[–] HubertManne@moist.catsweat.com 2 points 6 days ago (2 children)

oh to bad. I thought it was more akin to an apple program.

[–] Scoopta@programming.dev 3 points 6 days ago (1 children)

macOS applications are folders and that will never stop being weird to me. They basically use the same setup as windows but instead of making the application the executable in the folder they turn the whole folder into the executable

[–] HubertManne@moist.catsweat.com 1 points 6 days ago (1 children)

thats what makes them so portable. im not sure about nowadays but you could just move the app to another machine and you where all set.

[–] Scoopta@programming.dev 1 points 6 days ago (1 children)

I wonder how that works on multi-user systems. How do they structure that so that settings are per-user?

Im not sure. I do know I have had to go into the image and change files in the tree before but I don't really remember why.

[–] caseyweederman@lemmy.ca 1 points 6 days ago (1 children)

Oh, you're thinking of applmages

[–] HubertManne@moist.catsweat.com 2 points 6 days ago (1 children)

yeah thats what this is about. appimage portability.

[–] caseyweederman@lemmy.ca 1 points 6 days ago

No. App_l_mages.

[–] possiblylinux127@lemmy.zip 1 points 6 days ago

Theoretically yes

In practice no

[–] neatobuilds@lemmy.today 1 points 6 days ago* (last edited 6 days ago) (1 children)

I thought so too but then I noticed after I created the .home and .config folders next to the appimage and launched digikam it was like a first time setup, so i went looking for digikam files in my own .home folder and copied it over to the new digikam.appimage.home folder and launched it it was like it was before with all my settings etc configured so I guess appimages do save things to your user home folder

https://docs.appimage.org/user-guide/portable-mode.html

[–] HubertManne@moist.catsweat.com 2 points 6 days ago (1 children)

I know i have taken a firefox and launched it on another host and it seemed to have kept the settings I changed on the first machine. Im still way early in testing.

[–] neatobuilds@lemmy.today 1 points 6 days ago

it probably depends on the software and what it is set to use, digikam stores stuff it downloads for facial recognition and stuff in a home folder so now that I create the digikam.appimage.home folder it uses that which is nice

[–] possiblylinux127@lemmy.zip 1 points 6 days ago (3 children)

I would strongly recommend that you avoid Appimages. They are very dated and depend on legacy stuff that often was dropped by the distro. They are also terrible for security since there is no way of pushing out updates.

[–] Samueru_sama@programming.dev 1 points 12 hours ago

They are very dated and depend on legacy stuff that often was dropped by the distro

Is it libfuse2? This has no longer been a dependency with the static appimage runtime, which released in 2022!

Although most notable, electron apps still by default use the old runtime, because electron-builder hasn't updated the appimage runtime.

Besides that AppImage do not depend on legacy stuff.

They are also terrible for security since there is no way of pushing out updates.

This was never true lmao.

they seem to be updateable. are you sure about that?

[–] neatobuilds@lemmy.today 1 points 6 days ago (1 children)

Hmm digikams site recommends the appimage

[–] possiblylinux127@lemmy.zip 2 points 6 days ago (2 children)

Don't take this the wrong way I personally would be cautious of trusting developers to package there own software.

I personally would use the flatpak https://flathub.org/apps/org.kde.digikam

Second best would be to use a container with a native package.

[–] neatobuilds@lemmy.today 1 points 4 days ago* (last edited 4 days ago)

I tried the flatpak version but was unable to get it started since it couldnt connect to my database even though I copied over all my config files to the flatpak directory

edit: looks like there is an issue with it missing a driver https://github.com/flathub/org.kde.digikam/issues/17

[–] neatobuilds@lemmy.today 1 points 6 days ago (1 children)

Thank you ill look into flatpaks more, I use the flatpak for firefox as I noticed it looked much newer than the popos shop deb

[–] Samueru_sama@programming.dev 2 points 12 hours ago (2 children)
[–] possiblylinux127@lemmy.zip 1 points 10 hours ago (1 children)

Processes are still isolated through nested seccomp filters.

Would highly recommend against anything that "updates itself." That is just ripe for supply chain attacks and unwanted features. You want someone in the stream to do some sort of validation.

I also don't want every app trying to check for updates. There is a reason we use centralized management.

[–] Samueru_sama@programming.dev 1 points 9 hours ago* (last edited 9 hours ago)

Processes are still isolated through nested seccomp filters.

You don't have namespaces still...

For reference, chromium will not launch without that, you have to pass the --no-sandbox flag and brave iirc disabled that all together.

Not really an issue with chromium because you do have working namespaces sandbox thru zypack, although some disagree that this is safe

Would highly recommend against anything that “updates itself.”

Disable the self updates in that case... before you were saying that AppImages had no way to self update and now are saying that you don't recommend it?

You want someone in the stream to do some sort of validation.

Also what validation are we talking about? the one that flathub does? The most you will get is recognizing that the application comes from upstream, you can even ship pre-compiled binaries thru flathub.

There is a reason we use centralized management.

Such as?

EDIT:

I also don’t want every app trying to check for updates.

With AppImage you have this outside the application thru the zsync delta updates, the info is embedded in the appimage and it is checked by appimageupdatetool, appimagelauncher, and similar and let you know when there is an update available without the application itself doing the check.

[–] neatobuilds@lemmy.today 1 points 12 hours ago (1 children)

Thank you, it seems every way I go i make the wrong choice lol

[–] Samueru_sama@programming.dev 2 points 11 hours ago (1 children)

Thank you, it seems every way I go i make the wrong choice lol

Welcome to linux.

What you were told about appimage depending on legacy stuff is also not true, it is the libfuse2 dependency, which hasn't been a dependency of AppImage for 3 years (though some projects haven't updated yet).

It also isn't a big deal if you run into an appimage that still depends on it, archlinux which is a rolling release distro, some of its packages like mtpfs and ntfs-3g still depend on libfuse2 as well. And you can still run the AppImage by setting the env variable APPIMAGE_EXTRACT_AND_RUN=1 to avoid having to install libfuse2 in those cases.

[–] neatobuilds@lemmy.today 1 points 50 minutes ago

maybe you can help guide me, I borked my video drivers on my desktop trying to get opencl to run on darktable with my 7900xtx gpu on popOS

I guess popOS just has older drivers or something and following guides on how to update led me to getting videos to stutter all the time now so Im planning to do a fresh install, would you recommend another distro that might have its drivers more up to date? I am thinking of trying out fedora as I heard that updates much faster than popOS