this post was submitted on 24 Feb 2025
16 points (94.4% liked)

Linux

6141 readers
238 users here now

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

Also check out:

Original icon base courtesy of [email protected] 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 21 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 21 hours ago (1 children)

You wouldn't be able to reliably map the XDG config folders you're mentioning to a network share. You won't have any issues running the appimage from a network share though. Just take a finalized config and drop it in the same location as the appimage and copy it where you need it.

An alternative would be to have a network mount with a portable user config for your entire profile, but it'll be quite a bit of work and require some pam finagling.

[–] [email protected] 2 points 21 hours ago (1 children)

ok so a network share wouldnt be a good idea but what about a sync tool like nextcloud where it will just make a new copy to any machine I sync the nextcloud folder too?

[–] [email protected] 2 points 20 hours ago

I wasn't aware Nextcloud had a feature like that, but if it can sync the single flat file to where it needs to be, go for it.

If you want to get more detailed about it, have a look here: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/6/html/deployment_guide/sssd-ldap-autofs

[–] [email protected] 2 points 21 hours 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.

[–] [email protected] 3 points 18 hours ago (1 children)

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

[–] [email protected] 3 points 18 hours ago (2 children)

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

[–] Scoopta 3 points 17 hours 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

[–] [email protected] 1 points 17 hours 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 2 points 17 hours ago (1 children)

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

[–] [email protected] 1 points 17 hours ago

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.

[–] [email protected] 2 points 17 hours ago (1 children)

Oh, you're thinking of applmages

[–] [email protected] 2 points 17 hours ago (1 children)

yeah thats what this is about. appimage portability.

[–] [email protected] 2 points 16 hours ago

No. App_l_mages.

[–] [email protected] 1 points 15 hours ago

Theoretically yes

In practice no

[–] [email protected] 2 points 21 hours ago* (last edited 21 hours 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

[–] [email protected] 3 points 21 hours 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.

[–] [email protected] 2 points 20 hours 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

[–] [email protected] 0 points 15 hours ago (2 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.

[–] [email protected] 2 points 12 hours ago (1 children)

Hmm digikams site recommends the appimage

[–] [email protected] 1 points 1 hour ago

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.

[–] [email protected] 3 points 15 hours ago

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