Bitcoin Forum
June 16, 2024, 05:31:04 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum wallet input parameters  (Read 177 times)
bitschoel (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 1


View Profile
June 23, 2019, 07:21:45 PM
 #1

I always want to start Electrum Wallet like this:

"open /Applications/Electrum.app/ --args --oneserver --server 192.xxx.x.xx:50002:s"

Is there a config or startup file where I can store the parameters so as to not have to start it from the command line each time?
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
June 23, 2019, 07:33:12 PM
 #2

You could put a link to it on your desktop or a script.

For example, you could make an openElectrum.sh file in your terminal (a script).

Step 1:
Run: vi openElectrum.sh
Step 2:
press "i"
Step 3:
Add the line: "open /Applications/Electrum.app/ --args --oneserver --server 192.xxx.x.xx:50002:s"
Step 4:
Hit escape, and then type ":wq"
Step 5:
on the command line, type
Code:
sudo chmod 755 "openElectrum.sh"

(depending on the distro you might not need sudo)


Whenever you want to run electrum from this point type ./openElectrum.sh in the home directory.
Abdussamad
Legendary
*
Offline Offline

Activity: 3626
Merit: 1568



View Profile
June 24, 2019, 08:24:27 PM
 #3

(depending on the distro you might not need sudo)

open is not a linux command and linux apps are not stored under /applications so i'm guessing the op is using macos.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!