Ubuntu Forums Archive Viewer

Start script by launcher in USP

Archived thread 246662 from Ubuntu System Panel. Markdown source: Ubuntu_System_Panel/thread_246662_Start_script_by_launcher_in_USP.md

Original URL About this archive
#1

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?

#2

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..

#3

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.

#4

dngpng said: 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?

#5

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)

#6

Ah it was so easy :)

#!/bin/bash

in the beginning made the difference