[plug] Shutdown on X exit

Jason Bainbridge JaseOne at myrealbox.com
Mon Dec 16 13:57:36 WST 2002


Looking at the man page it looks like you want to change the below part of the .QVWMRC file:

[ExitDialog]
Title		"Exit qvwm"
StaticText	"Can I exit in each next ways?"
RadioButton	"Exit qvwm with saving changes."	QVWM_EXIT
RadioButton	"Exit qvwm without saving changes."	QVWM_EXIT
RadioButton	"Restart qvwm."				QVWM_RESTART
RadioButton	"Start twm."				"EXEC twm"
IconPixmap	"exit2.xpm"
OKButton	"\&Yes"
CancelButton	"\&No"
HelpButton	"\&Help"

That was just taken from the sample file I found, what you'd want to do is either add a new option or replace an existing one with something like:

RadioButton	"Shutdown the computer."				"EXEC poweroff"

I think poweroff is the right command to use someone correct me if I'm wrong...

Regards,
Jason


-----Original Message-----
From: I am the LinuxAlien <linuxalien at optusnet.com.au>
To: plug at plug.linux.org.au
Date: Mon, 16 Dec 2002 09:56:39 +0800
Subject: [plug] Shutdown on X exit

How can I set up a debian box to shutdown when qvwm exits? It is going to 
have auto login. Also how do  I change the default display manager? (KDM, 
GDM, ...)
thanks
Tim

LinuxAlien

Riverton, Perth, WA






More information about the plug mailing list