![]() |
Script Launcher
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? |
Re: Script Launcher
Quote:
|
Re: Script Launcher
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/ |
Re: Script Launcher
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 :-) |
Re: Script Launcher
|
Re: Script Launcher
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! |
Re: Script Launcher
Hi
I'm happy this application is useful for You. Thanks for feedback ! David. |
Re: Script Launcher
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 |
Re: Script Launcher
|
All times are GMT. The time now is 15:16. |
vBulletin® Version 3.8.8