Create a script to run a command line

jonatec

New Member
Joined
Jul 23, 2019
Messages
12
Reaction score
8
Credits
20
I am using Hotspot Shield VPN, which is now installed on my Linux Mint 19 laptop.
I tried to include an entry in the Startup Application app:

hotspotshield connect UK

However, it doesn't work. I can only connect manually via the terminal window, which I don't want to do every bootup.

Q. How can I create a script to include the above command and double-click this from the desktop? And will it work?

Thanks.
 


I've never used your VPN, but I would check the docs for the VPN and make sure that you're attempting to use the startup mechanism properly. For instance, do you need to 'sudo' the command, are there permissions involved, etc. When you say that it doesn't work, what happens??

keith
 
Thanks Keith.
It fails to connect after boot-up.
I think I've found a work-round - the command to connect can be placed in the .Profile file. This seems to work ok.
 

Members online


Latest posts

Top