Ask user to confirm

Chris Brault groundhog3000 at
Mon Jan 19 11:18:37 CET 2004

You can put any command in that box.
You could write a script and run it in xterm. Or
pop-up a dialog box and parce the response in a
script. I don't think Xfce has anything built in for
that except the log out dialog box.
Personally, I would put together a pyGTK dialog in an
hour or so for something like that.

> if i write my own menu.xml, whould it be possible
> the display a box,
> on which the user can confirm or decline something,
> e.g.
> <menu name="Shutdown" cmd="sudo halt">
> If the user click on Shutdown, he will be asked if
> he is sure.

Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes

More information about the Xfce mailing list