D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] a barrier to uptake of linux on the desktop? nah.



On Sunday 20 January 2002 12:07 pm, you wrote:
A colleague made the point that Linux is harder to switch off at the end of
the day than are a couple of other competing operating systems and their
intrinsic or associated desktops.

Harder or slower? Only older motherboards leave the power on once a halt is 
complete. There isn't a need for a 'power-off now' screen if you've got a 
modern motherboard. Generally, if the machine powers-off under Windoze it'll 
power off at a Linux halt too.

So a well-known way to set up a single click shutdown (to a notice saying
turn off the power now) would be worth publicising, as perhaps would a
script that sets up a system to do that.

I expect it has been done.

It has, but for root. Only certain systems would 'benefit' from such a 
process being available to all users, but I suppose you could use:
#!/bin/bash
shutdown -h now

Normally requires root access, but you could give it a SUID if you want.
Not exactly good for the security of your system though. 

Is it REALLY necessary? After all, you have got Halt and Reboot as options on 
the Logout menu in KDE and Gnome. Is a script going to be any easier? (I mean 
Wow, it'll save you one click (on the confirm box). )

Bearing in mind the longer boot process with Linux, you really don't want to 
leave users with a single click halt action - when it's clicked in error it 
is beneficial to have a confirm box.

-- 

Neil Williams
=============
http://www.codehelp.co.uk
neil@xxxxxxxxxxxxxx
linux@xxxxxxxxxxxxxx
neil@xxxxxxxxxxxx


--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly