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

Re: GUI/Wmaker system shutdown app?



on Thu, Jul 26, 2001 at 09:16:50PM +0200, Philipp Lehman (lehman@gmx.net) wrote:
> On Thu, 26 Jul 2001, Karsten M. Self <kmself@ix.netcom.com> wrote:
> 
> >I've set up a GNU/Linux system for my folks to use and am dissatisfied
> >with one aspect of it:  there's no good, simple way I'm aware of to shut
> >down the system from the window manager of choice (WindowMaker).
> >
> >I've granted access w/o password, via sudo, to 'shutdown -h now'.  It
> >would be possible to create a menu item with this command, but it would
> >not have a confirmation, which IMO should exist.
> 
> Can't help with a pointer to a dedicated app, but you could at least
> built a poor man's confirmation in WMRooutMenu:
> 
> ( "Shutdown", EXEC, sure.sh "%a(Shutdown,Shutdown now [y/n?])"
> 
> ...where sure.sh is something like
> 
> #!/bin/sh
> if [ $1 = "y" ]; then sudo shutdown -h now; fi

Bingo!  That does it.

Where the hell is the '%a' arguments parameter documented within
WindowMaker?  I was never aware that it existed.

> >KDE _would_ be a great desktop, but it isn't currently available in
> >Debian/Stable.  I'm likely headed in this direction though long-term.  I
> >do think that WMaker plus GMC (for desktop icons for storage & a file
> >browser) is a pretty good, simple, desktop.
> 
> I've been running wmaker with kfm (as of KDE 1.1.2) for a long time on
> one machine. It's quite nice. You'd need to built qt1, kdesupport,
> kdelibs and (selected parts of) kdebase. If optimized aggressively
> (-fno-exceptions adn stuff for both QT and KDE), this would give you a
> functional and quite fast file manager.

Mind, my personal preference, as a technical user, is WindowMaker.  It's
cleaner, simpler, saner, stays out of my way.  KDE is the Joe-Luser
desktop IMO.  Not that this is a bad thing, just not my preference.

> It's a pity KDE 2 doesn't play nicely with window managers other than
> kwm.

Wasn't aware of that.  I usually boot/start a KDE session, say "nice eye
candy", then shut it down to do real work.

-- 
Karsten M. Self <kmself@ix.netcom.com>    http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?       There is no K5 cabal
  http://gestalt-system.sourceforge.net/         http://www.kuro5hin.org
   Are these opinions my employer's?  Hah!  I don't believe them myself!

Attachment: pgpryiqotf7x_.pgp
Description: PGP signature


Reply to: