![]() |
Launching multiple websites/programs using terminal?
Is there an equivalent to batch files in Linux? I want to be able to create an executable file which starts MicroB and then launches multiple websites from a single desktop widget. Can this be done on the N900?
Thanks. |
Re: Launching multiple websites/programs using terminal?
You may try to do this in your shell script file, say, myScript...
Code:
/usr/bin/browser --url=http://google.com/ & Now, set your file to be executable... Code:
chmod +x myScript Code:
./myScript |
Re: Launching multiple websites/programs using terminal?
Quote:
Code:
dbus-send --system --type=method_call --dest=com.nokia.osso_browser /com/nokia/osso_browser/request com.nokia.osso_browser.load_url string:"google.com" & |
Re: Launching multiple websites/programs using terminal?
Quote:
Code:
/usr/bin/fennec http://google.com & |
Re: Launching multiple websites/programs using terminal?
Thanks for that, I've tried both MicroB suggestions and will try out FF later.
I'm not very good at this so could someone run by me again how to make this executable so it will work with a Queen BeeCon shortcut on the desktop. Also can anyone tell me the command to start the stock RSS reader too please? Thanks again:D |
Re: Launching multiple websites/programs using terminal?
Quote:
First, you need a shell script. I played around a bit with Firefox, and discovered that if you don't already have it running, you need to give it a few seconds to start up before you start cramming additional websites down its throat. :) So, I added a "sleep" command to create a pause between requests to execute fennec: Code:
/usr/bin/fennec http://www.cnn.com & Code:
#!/usr/bin/sh I don't know if that's enough for Queen BeeCon to make use of it. There is also apparently a "Desktop Command Execution Widget" out there that can run arbitrary shell scripts from the desktop, but I haven't tried it. After digging around a bit, I found that you can also just write your own Hildon "desktop" file fairly easily, and thus make anything you want visible as an icon on the desktop. This seemed more appealing to me, so I gave it a try. (I stole my info from this thread: http://talk.maemo.org/showthread.php?t=58613 ) Here's the desktop file I used: Code:
[Desktop Entry] Hope this helps! |
Re: Launching multiple websites/programs using terminal?
Quote:
|
Re: Launching multiple websites/programs using terminal?
It is so helpful
|
All times are GMT. The time now is 03:14. |
vBulletin® Version 3.8.8