Bug with panel launcher / exo-open

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Fri Sep 15 15:02:18 CEST 2006


Landry wrote:
> Hi list,
> 
> I've just probably found a little bug on current svn, using panel
> launchers.
> I can't make the launcher running a command with arguments in a
> terminal. Example: i put "ncmpc -c" and check 'run in terminal', and
> when i click on it, my .xsession-errors shows "exo-open: Unknown option
> -c"
> Even by adding quotes or double-quotes around the command in the
> launcher, i get the same error.
> The strange thing is that using exo-open in a command-line, it works.
> [16:30:51] lbreuil at begbie:~/ $exo-open --launch TerminalEmulator ncmpc
> -c exo-open: Unknown option -c.
> [16:43:12] lbreuil at begbie:~/ $exo-open --launch TerminalEmulator "ncmpc
> -c"
> [launches a terminal with ncmpc -c as command]
> 
> Where does this come from ? launcher code ? exo-open code ? Am i
> missing something ?

Ah, meh, GOption. The panel should probably use

 exo-open --launch TerminalEmulator 'ncmpc -c'

instead.

> Thanks, 
> Landry

Benedikt



More information about the Xfce4-dev mailing list