Xfce Forum

Sub domains
 

You are not logged in.

#1 2016-04-19 15:17:37

Nilak
Member
Registered: 2011-10-19
Posts: 11

Display zenity window from panel laucher

Hello,

I try to run an application from my panel. It works fine if I want to execute a simple command but I have a problem when my command contains zenity call...

When i execute my command with zenity in terminal it works. But when I execute same command from panel the zenity window is not displayed.


Is there a way to work around?


Thank you in advance

Offline

#2 2016-04-19 16:06:54

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: Display zenity window from panel laucher

if your command requires a shell you need to launch a shell fist eg:


/bin/sh -c "$COMMAND"

Offline

#3 2016-04-20 14:51:40

Nilak
Member
Registered: 2011-10-19
Posts: 11

Re: Display zenity window from panel laucher

I have a shortcut (running xfreerdp) in my panel but i don't want to write my password in the command so I use zenity when I execute the command in terminal it works but not from my panel.

Still not working despite /bin/sh -c sad

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.008 seconds, 8 queries executed - Memory usage: 522.67 KiB (Peak: 523.52 KiB) ]