Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.ml
linux·LinuxbytdTrX

How to store .appimage (at various directories) and have thier data in a custom direcorty ?

I love .appimages they work on all distros, easy to install, works from any directory, works without installing

If I can achive this setup it will make switching my work from machine to machine easy-fast, resilient, and distro hopping wouldn't be a issue.

View original on lemmy.ml
15

10 replies

Nobodyreply
lemmy.world

That doesn't solve the issue of keeping data in a specified directory.

2
sh.itjust.works

It's weird they don't really really talk about it in the documentation, but yes it sleeps you to change the data path of AppImages

1

I'm looking through Gear Lever and don't see anything. I only see the option to change the path where there actual Appimages are stored, not the data created by the appimages.

4

Retroarch for example comes with a dot-starting folder where data is stored.

2
piefed.social

basically the directories just need to be created. right now im using appman to update and to automatically created directories wit -H and -C. Im hoping for the holy grail which is an appman gui program that would do this. There is kinda one but its repo thing is not done as well as with appman. Given how good appman is it makes the most sense if someone does a gui is to just kinda make a gui wrapper for it.

2
regvereply
piefed.social

Yeah, I agree with appman. It's the best appimage manager there is. It can automatically update all appimages and also manage/install custom apps from github which is great.

1

yeah its really to bad as there is a gui but they do their own app managing rather than integrating appman which would be best. The ideal for me is an appimage that when run gives a gui to appman that assumes the directory it is run from is the directory used and also assume -H -C on all apps.

1

I see two options.

The simpler of which is to have a wrapper script that says HOME=/custom/path/for/appimage. Apps that correctly follow xdg-specs will then put all their data in that path. But not all apps will. Apps that put stuff in /home/$USER will not use the correct location.

The more foolproof way would be using something like bubblewrap, which is used by flatpak. With bubblewrap, the sandboxing can make /home/$USER appear as /custom/path/for/appimage. However, this would take more work to setup, since I presume you want the appimages to feel unsandboxed.

1

You reached the end

How to store .appimage (at various directories) and have thier data in a custom direcorty ? | Spyke