Active Topics

 


Reply
Thread Tools
Posts: 437 | Thanked: 90 times | Joined on Nov 2006
#1
I have a bunch of different shell scripts and since I hail from a mostly Windows environment, I am used to launching batch files by clicking on their icon. Is there any way of adding an "icon" to the app launcher thing on Maemo such that clicking the icon launches a shell script? (Say, one icon per script.)
It would be useful to have USB-Mount and USB-Unmount scripts accessible from the "desktop" (using the "Idea" application Seri@lDie mentioned somewhere else).

Any thoughts?
 
ArnimS's Avatar
Posts: 1,107 | Thanked: 720 times | Joined on Mar 2007 @ Germany
#2
Originally Posted by convulted View Post
I have a bunch of different shell scripts ... (using the "Idea" application Seri@lDie mentioned somewhere else).

Any thoughts?
Yeah. Try idea and let us know how it works for you.
 
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#3
Simplest way I know of to do just that is to use John Costigan's "CPU/Mem/Screenshot applet with run command", from here :

http://gnuite.com:8080/nokia770/
 
Posts: 437 | Thanked: 90 times | Joined on Nov 2006
#4
Hacking ~/.idea/idea.xml to run my scripts causes an immediate reboot on execution of the respective shortcuts. Weird.
And I can't get any CPU applet working on 2007 hacker edition (...and Marbles doesn't want to work either!!!). Using Idea would be sleeker though :-)
 
Tahitibob's Avatar
Posts: 118 | Thanked: 97 times | Joined on Jun 2007 @ France
#5
 
adammelancon's Avatar
Posts: 136 | Thanked: 14 times | Joined on Jul 2007 @ Lafayette, LA
#6
David! What a great app!
I'm using it as a VNC launcher... so that i can directly connect to my machines without having to type in a hostname/password

Example:
Name:VNC Home
Command: vncviewer --hostname=homeIP:0 --password=homevncpassword homeIP

It works like a charm!

Thanks for a great app!
 
Tahitibob's Avatar
Posts: 118 | Thanked: 97 times | Joined on Jun 2007 @ France
#7
Hi
I'm happy this application is useful for You.

Thanks for feedback !

David.
__________________
Apps : Roadrunner - Libellule - Caelia
http://david.hautbois.free.fr
 
Posts: 225 | Thanked: 59 times | Joined on Jul 2007
#8
I must be missing something....
I want to launch Kismet (shell based wireless tool) from the cpu-mem-screenshot applet.
You have to be root to run Kismet. So, I have that all set up.
I have a very simple shell script that says:
#!/bin/sh
/usr/bin/sudo /usr/bin/kismet

When I launch an xterm and type ./ksmt or /home/user/ksmt, it runs great.

So, I put an entry in the launcher that launches /home/user/ksmt
And, it sort of works.

Apparently it runs it, but I can't see it. I can't interact with my screen and I have to restart if I don't have an xterm already running.

I decided to run an xterm first and then do it. When I do that, I can't get to my screen, except the xterm (menu, load applet, etc don't respond), BUT I can type in my xterm. And when I do a ps, I see kismet running!!
I just can't see it. Apparently it is spawning it, but I can't see the shell it's in. Not sure why the menus stop working.

But, when I kill the ksmt process, I can use the menus again.

Is there an easy way to spawn the script and have that shell be in the foreground?
Is there a way to spawn osso-xterm and then run the script??

Thanx,
desiv
 
Tahitibob's Avatar
Posts: 118 | Thanked: 97 times | Joined on Jun 2007 @ France
#9
Hi

Kerez 0.0.3 is available.

Documentation
Download

David.
__________________
Apps : Roadrunner - Libellule - Caelia
http://david.hautbois.free.fr
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:10.