Title: portable and trackless version of the electrum AppImage Post by: CryptD38 on May 10, 2023, 12:16:40 PM Hi
I just downloaded electrum-4.4.2-x86_64.AppImage I would like to create a folder in the same directory to avoid storing traces in my computer. I see several ways to create a portable version from other AppImage of other applications. I would like to know what is the most recent and standard 1/ ending with .home or .config the folder name? electrum-4.4.2-x86_64.AppImage.home or electrum-4.4.2-x86_64.AppImage.config 2/ can we remove the version number to always keep the same version electrum.AppImage.home or electrum.AppImage.config Title: Re: portable and trackless version of the electrum AppImage Post by: BitMaxz on May 10, 2023, 01:45:03 PM If you just want to run the Electrum appimage without installing it then the guide is already on electrum.org under Linux.
Here's what I mean Code: Run without installing: So you don't need to extract them just install the Python dependencies so that the command above will work. Check the Linux guide here https://electrum.org/#download Title: Re: portable and trackless version of the electrum AppImage Post by: CryptD38 on May 10, 2023, 04:17:12 PM HI
Ok thanks I find this method interesting and original, but I have an error message Code: python3 Electrum-4.4.2/run_electrum As I am not a specialist, could you or someone else answer my previous questions?* Title: Re: portable and trackless version of the electrum AppImage Post by: BitMaxz on May 10, 2023, 05:31:19 PM HI Ok thanks I find this method interesting and original, but I have an error message Code: python3 Electrum-4.4.2/run_electrum Have you installed the dependencies first as it's a first step from Electrum? Code: sudo apt-get install python3-pyqt5 libsecp256k1-dev python3-cryptography If you did but this error still comes up then try to install libsecp256k1 manually with this alternative here below - https://github.com/spesmilo/electrum-docs/blob/master/libsecp256k1-linux.rst About your 2nd question, no one has done it yet here because you can run Electrum without extracting it or making a portable one. But if you still insist why not bring your question to their GitHub page here below they might be able to help you. - https://github.com/spesmilo/electrum-docs/issues Title: Re: portable and trackless version of the electrum AppImage Post by: ghost43 on May 10, 2023, 11:43:31 PM Can't you just use the -P flag (https://github.com/spesmilo/electrum/blob/f40d603e6404c3df8d8daef2f15d77286d5c842b/electrum/commands.py#L1561)? That's how the portable windows exe works internally.
Code: $ ./electrum-4.4.2-x86_64.AppImage -P Title: Re: portable and trackless version of the electrum AppImage Post by: nc50lc on May 11, 2023, 06:44:14 AM Ok thanks I find this method interesting and original, but I have an error message libsecp256k1 isn't pre-compiled nor included in the source.-snip- You'll need to compile it using the provided "make_libsecp256k1.sh" tool in "contrib" folder. But since you originally intended to use the appimage, launching that should be enough since it already has all dependencies. BTW, the flag in the reply above should work. Title: Re: portable and trackless version of the electrum AppImage Post by: CryptD38 on May 11, 2023, 07:21:15 AM Hi
Thank you for your contributions Code: electrum-4.4.2-x86_64.AppImage -p I am in the right directory. I remember the possibility by installing the dependencies on my computer. More generally, I have used appImage with a local .home or .config folder (hence my questions). I'm still looking for this solution, as I may not have admin rights on another computer. Title: Re: portable and trackless version of the electrum AppImage Post by: nc50lc on May 11, 2023, 08:00:11 AM Code: electrum-4.4.2-x86_64.AppImage -p Since you're running an appimage instead of a command, you'll need the "./" at the start. If it didn't worked, enter this command first before launching it: Code: chmod +x electrum-4.4.2-x86_64.AppImage And most importantly, the portable flag should in uppercase -P; the lowercase -p is for --proxy. Title: Re: portable and trackless version of the electrum AppImage Post by: CryptD38 on May 11, 2023, 09:07:44 AM Hi
Code: $ ./electrum-4.4.2-x86_64.AppImage -P Thanks Title: Re: portable and trackless version of the electrum AppImage Post by: NotATether on May 16, 2023, 06:50:12 AM Code: electrum-4.4.2-x86_64.AppImage -p Since you're running an appimage instead of a command, you'll need the "./" at the start. If it didn't worked, enter this command first before launching it: Code: chmod +x electrum-4.4.2-x86_64.AppImage And most importantly, the portable flag should in uppercase -P; the lowercase -p is for --proxy. I never knew this was possible for any AppImage, to be honest. But it's not like I'm going to run --help on the binary to see a list of options, because I know they're all bundled in the same way. If you ask me, the Linux desktop environments do allow you to click and run an AppImage, but they should also allow you to customize options like these in their Properties panels. Currently I don't know of any DE that implements this. |