Re: passing variables to the gnome panel

On Fri, Mar 14, 2003 at 02:18:49AM +0000, J Sigbrandt wrote:
> Used to have this in gnome-panel -> properties -> command: 
>      "gdict -a $(xpaste.console)"
> xpaste.console is a terminal program that grabs stuff in the clipboard and
> can pass it to a bash script, for example. So, using it in the panel means
> that anything in the clipboard is passed to gdict when the panel icon is
> pressed. 
> This doesn't work anymore - now gdict tries to lookup the word
> "$(xpaste.console)" and is not very successful!
> How do I re-enable this functionality?

gnome-panel doesn't run the command through a shell anymore for
security reasons. So you have to run it through a shell; you can 
use "bash -c" or just create a shell script.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]