View Single Post
Posts: 1,335 | Thanked: 3,931 times | Joined on Jul 2010 @ Brittany, France
#3
Thanks for your reply!

This is actually something I found on Stackoverflow too, but did not get the time to try it out yet. And I admit I have absolutely no basic knowledge in how to write scripts.

Well, so I created two files: Launchapps.desktop, which I moved to /usr/share/applications/, and Launchapps.sh which I moved to /home/nemo/Downloads/.

Launchapps.desktop (the Tethering icon is just for testing purpose):
Code:
[Desktop Entry]
Type=Application
X-Nemo-Application-Type=silica-qt5
Name=Launchapps
Icon=harbour-tethering-gui
Exec=/home/nemo/Downloads/Launchapps.sh
Launchapps.sh (just a set of apps, this is a big load of applications, I'll do some lighter sets when I get it to work ):
Code:
#!/bin/sh

echo "Launching apps..."
jolla-email &
jolla-messages &
fingerterm &
harbour-medard &
battery-monitor &
apkd-launcher /data/app/info.toyonos.hfr4droid-2.apk info.toyonos.hfr4droid/info.toyonos.hfr4droid.common.activity.SplashActivity &
harbour-fbreader &
harbour-communi &
harbour-networkmonitor &
harbour-jolla2gether &
harbour-quicklauncher &
harbour-quickddit &
harbour-tweetian &
harbour-webcat &
jolla-clock &
echo "All apps launched, hopefully."
exit 0
I have run chmod +x /home/nemo/Downloads/Launchapps.sh.

The new icon does appear in the launcher, but when I launch it, the cover will ultimately close (never get it to go fullscreen).

If I run sh /home/nemo/Downloads/Launchapps.sh from SSH, all apps do launch but like if they were launched by another user (all have default settings, messages are empty, emails asks for account registration, and so on). If I run the same command from Fingerterm in the Jolla, then all seems to work correctly, applications run just like they should. For some reason, all jolla-* apps run with cover alpha value of 1.
[Edit: OK, the empty apps symptom was due to the command line being run as root, forgot to return to nemo user prior to running it. Facepalm.]

So it seems my only issues are the Launchapps.desktop file and the alpha value of jolla-* applications' covers. Any ideas on what is wrong? I have tried many things, from Exec=sh /home/nemo/Downloads/Launchapps.sh to Exec=fingerterm "sh /home/nemo/Downloads/Launchapps.sh", with or without the quotes, but no success.

Last edited by Kabouik; 2014-04-06 at 02:52.