Author

Topic: Change the path to the ~/.electrum folder on linux (Read 126 times)

member
Activity: 100
Merit: 12
Thank you very much: vv181,  Edwardard and   nc50lc. For your help/advice.

Everything worked perfectly.

Best regards...
member
Activity: 100
Merit: 12
Thank you very much!

I'll try... and I'll comment later...
legendary
Activity: 2338
Merit: 5297
Self-proclaimed Genius
Another question: Should I open electrum first and from the menu open some terminal to execute these commands? or do I have to open the regular Linux terminal?
Electrum should be opened with those command line options.
In the terminal, open electrum with the "-D ELECTRUM_PATH" global command line option (command depends on how you installed Electrum);
e.g.: $ ./run_electrum -D ELECTRUM_PATH

And also do I need to copy the content of /.electrum to the new directory? or is it created automatically?
A fresh data directory will be created; if you want to keep your old settings and wallet, copy it.
member
Activity: 100
Merit: 12
Ok, thanks to both of you... I will try it.

Another question: Should I open electrum first and from the menu open some terminal to execute these commands? or do I have to open the regular Linux terminal?

And also do I need to copy the content of /.electrum to the new directory? or is it created automatically?
legendary
Activity: 1932
Merit: 1273
to clarify: ELECTRUM_PATH should be something like this: /home/user/.New folder/whatever?
should it be in quotes?
I think first one is correct and you dont need it to be in quotes

Either option is a valid choice. But if you don't use quotes, you need to escape any space within the file path with a backslash.

Code:
"/home/user/.New folder/whatever"
#or
/home/user/.New\ folder/whatever
hero member
Activity: 1050
Merit: 681
to clarify: ELECTRUM_PATH should be something like this: /home/user/.New folder/whatever?
should it be in quotes?

or ELECTRUM_PATH is an environment variable that must be specified inside some configuration file?
I think first one is correct and you dont need it to be in quotes, try and let us know.

Currently Electrum defaults to: user/home/.electrum/wallets/default_wallet on linux OS
member
Activity: 100
Merit: 12
You can use -D to change the Electrum datadir and -w to use a custom wallet file path.

Code:
-D ELECTRUM_PATH, --dir ELECTRUM_PATH
-w WALLET_PATH, --wallet WALLET_PATH


Thank you for your response! Smiley

to clarify: ELECTRUM_PATH should be something like this: /home/user/.New folder/whatever?
should it be in quotes?

or ELECTRUM_PATH is an environment variable that must be specified inside some configuration file?
legendary
Activity: 1932
Merit: 1273
You can use -D to change the Electrum datadir and -w to use a custom wallet file path.

Code:
-D ELECTRUM_PATH, --dir ELECTRUM_PATH
-w WALLET_PATH, --wallet WALLET_PATH
member
Activity: 100
Merit: 12
Hello everyone!

is there any way to change the path to the ~/.electrum folder on linux?

or move the wallet file out of /.electrum?

my idea is to move datadir to a more hidden location.
Jump to: