Ask user to confirm

Joost Kremers joostkremers at fastmail.fm
Tue Jan 20 02:29:58 CET 2004


On Mon, Jan 19, 2004 at 04:27:29PM -0800, Ken Moffat wrote:
> Jack Coates wrote:
> 
> >#!/bin/sh
> >
> >export DISPLAY=":0.0"
> >RESULTS=`Xdialog --screen-center --default-no --yesno "The system is
[snip most of script] 
> root at noisy:/home/ken# sh halt-dialog.sh
> haltdialog.sh: line 1: Xdialog: command not found

it would seem Xdialog is not installed on your system. google is your
friend:

<http://thgodef.nerim.net/xdialog/>

HTH

-- 
Joost Kremers
Life has its moments




More information about the Xfce mailing list