PDA

View Full Version : Start script by launcher in USP


mucha
August 29th, 2006, 03:51 PM
I have made a bashscript like this (to make gimp run in english):
~$ cat /usr/local/bin/startgimp
LC_ALL=C gimp

If I launch startgimp in a launcher on a gnome-panel it works just fine. But if I launch it in USP nothing happens. Is there a way to fix this?

chanders
August 29th, 2006, 04:16 PM
I dont think I have tried running any scripts from USP but I dont see why it shouldnt..

Try running

usp run-in-window

and clicking on the script and post your output..

dngpng
August 30th, 2006, 05:52 PM
I also have this problem cause I'm running a launcher to start my DC++ client with Alltray. I have run usp in window but there is nothing more in the output when I click on the item.

mucha
September 7th, 2006, 05:17 AM
I also have this problem cause I'm running a launcher to start my DC++ client with Alltray. I have run usp in window but there is nothing more in the output when I click on the item.

Same here, is there no solution for this yet?

chanders
September 7th, 2006, 09:17 AM
Try adding the script header in your script file. I think it is used to let gnome know that it is a bash script.

Also make sure your script is executable (right click and set execute in permissions)

mucha
September 9th, 2006, 09:35 AM
Ah it was so easy :)

#!/bin/bash
in the beginning made the difference