Closed emailforos closed 5 years ago
Please post the output of the following commands: cat ~/.config/autostart/mega_instances.desktop ls -l ~/.config/autostart/mega_instances.desktop
result: [Desktop Entry] Type=Application Exec=/home/javier/MEGA/mega_instances.sh Name=megasync_instances Comment=Open all your MEGA instances
result: -rwxrwxr-x 1 javier javier 135 nov 1 13:09 /home/javier/.config/autostart/mega_instances.desktop
Hope this help.
Thank you.
Hi.
I finally found out what it was happening.
It works.
The script in the current version (1c77dfe) should automatically copy itself to /home/user/MEGA/ and set the execution permission. Do you confirm it didn't do it?
Yes. I confirm it.
I followed your instructions in the readme (today), I opened a terminal I wrote: wget https://raw.githubusercontent.com/NicoVarg99/MEGA-Instances/master/mega_instances.sh && bash mega_instances.sh
And it started the installation.
So when I restarted the system I found out that it doesn't auto execute the script.
Maybe it was because my other problem (https://github.com/NicoVarg99/MEGA-Instances/issues/6) that I was not able to finish my two instances set up. So maybe it hasn't reached the end of the script file.
I'm not a programmer so... But maybe if you copy the file from the current directory to the MEGA directory at the first beginning of the script some other user (newbie like me), won't have this problem.
Thank you for your help and work.
Please try the new version (note: new installation instructions) and see if it is still not working. The program gets now installed globally in /usr/bin. Don't mind the old autostart/config files. They will get overwritten by the new version.
Great job!
It worked like a charm.
Thank you very much.
Hi.
I tried your useful script but it only works when executed manually. It doesn't run when login in my PC.
I'm not an experienced user/programmer so I don't know how to solve it. Maybe you can guide me to the solution.
Thank you for your help and work