AppImg How do you install them to a desktop environment? (query satisfied)

Tolkem

Well-Known Member
Credits
6,389
Thank you that would be appreciated as I had not at this point in time considered that aspect.
You can just delete it and its config files in ~/.config directory. You can also force the app to write to a destination of your choice, this is called "portable mode" https://docs.appimage.org/user-guide/portable-mode.html
First, create a directory in the same path your appimage is located
Code:
mkdir appimage_name.AppImage.config
Run the AppImage
Code:
./appimage_name.AppImage
This way the .appimage_name folder will be created in the same dir the AppImage is, and so will its configuration files, so you won't have to go fiddling around your system trying to find where those are if and when you decide you no longer need/want to use the app, it will be easier for you to remove from your system. Read that link as it is explained better there. :)
 


Nik-Ken-Bah

Well-Known Member
Credits
1,967
@Tolkem
Thank you appreciated.:)
Just have to create a doc from the HTML and convert to a PDF for future reference.One of the habits I picked with my time in the Air Force as an Av Tech was to read the manual before starting on the job you have to carryout to refresh you memory no matter how well you think you know it as it is not an automobile where you can pull over as ye canna not pull up on a cloud and get out and fix the bludger.
 

Tolkem

Well-Known Member
Credits
6,389
Thank you appreciated.
You're welcome! :) By the way, you can create the app_name.AppImage folder using your De's tools too:
1. Open the file manager
2. Navigate to the location of the AppImage.
3. Select the AppImage, hit F2 and copy the full name, extension included.
4. Right-click in a blank space, and from the context menu select new > folder or some similar wording.
5. Name the new folder the same as your AppImage by pasting its name you copied in step 4, and add .config at the end.
6. Click OK/Save
7. Launch the AppImage as I explained above.
Once you integrate the app to your system, every time you use it, it'll write to that folder too.
 

Tolkem

Well-Known Member
Credits
6,389
I want to correct my comment about using appimages' portable mode. Truth is, I'd never used that before as I hadn't had the need for it until recently while helping in troubleshooting an appimage which had some problems when opening a folder or file; it crashed every time. The devp published a "RC" with changes to try and fix this, as I didn't want the app to write to my ~/.config folder, I thought of using the portable mode to run the app, I did it by following the official docs' instructions, however, it still did, so I wondered why it didn't work and whether I was missing something, and yeah I was and as you'll see the procedure is actually easier. Also, it seems the documentation is either a bit outdated, or at the very least those instructions are for appimages that have been built with an older appimage toolkit. That all being said, this is what you need to do to be able to use and run appimages in portable mode:
1. Launch a terminal and run the appimage with the flag --appimage-protable-config which as per the output of --appimage-help "Creates a portable config folder to use as $XDG_CONFIG_HOME"
Code:
./app_name.AppImage --appimage-portable-config
This will create the .app_name folder within the same directory the appimage is in.
2. Launch the appimage
Code:
./app_name.AppImage
Now the appimage will effectively write and save its settings in the folder created in step 1. You can verify that it does by going to that folder and inspecting its contents. Also, this will work once you've integrated the app into your system.
You can also use --appimage-portable-home which "Creates a portable home folder to use as $HOME"
Well, that's it. I apologize for my previous mistake and hope that this helps to clarify things up. :)
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Latest posts

Top