Re: The logic behind remove "Restart" and hide "Power Off" in User menu

From: "Jasper St. Pierre" <jstpierre mecheye net>
To: "Allan E. Registos" <allan registos smpc steniel com ph>
Cc: gnome-shell-list gnome org
Sent: Monday, February 28, 2011 1:27:02 PM
Subject: Re: gnome-shell-list gnome org

>>>If the kernel doesn't tell us that we support standby, we don't show it.
>>>You can check if your computer supports suspend pretty much the same
>>>way we do (for Linux, not FreeBSD):
>>>  pm-is-supported --suspend && echo "Suspend is supported" || echo
>>>"Suspend is not supported"
>> I tried, it says: " suspend is not supported " and fire up GNOME Shell for
>> testing(this build is less than a week old) even though this build will
>> crash the whole system if I am going to press CTRL-C at the terminal where I
>> started GS,  and lo and behold it still shows the "Suspend" button.

>This is a bug. Can you try one more thing? Give me the exact output of:

 >dbus-send --print-reply --system --dest=org.freedesktop.UPower
>/org/freedesktop/UPower org.freedesktop.DBus.Properties.Get
>string:org.freedesktop.UPower string:CanSuspend

You mean this whole line?
dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.DBus.Properties.Getstring:org.freedesktop.UPower string:CanSuspend

process 12110: arguments to dbus_message_new_method_call() were incorrect, assertion "interface == NULL || _dbus_check_is_valid_interface (interface)" failed in file dbus-message.c line 1204.
This is normally a bug in some application using the D-Bus library.
  D-Bus not built with -rdynamic so unable to print a backtrace
Aborted (core dumped)

>> If the
>> design guys are serious about ripping off the Switch Off button from GNOME
>> Shell then I would suggest that they will do it _right_ the first time. And
>> this whole thing the removing of Power Off function for the sake of "It's by
>> Design" principle, doesn't nullify my argument earlier that every machine(at
>> least most machines invented by man), when it uses "electrical power" must
>> have a switch off functionality (where electrical energy is considered a
>> fire hazard). Even Critical Machines here(we're in a manufacturing business)
>> needs to be turned off properly and slowly but still have an emergency OFF
>> button.

>As I understand it, it will be a "Suspend/Hibernate" hybrid. That is,
>we go into suspend for a bit, and then go to hibernate after more time
>has passed.
Hibernate is fine. Then get the Power off feature available since it is an obvious needed feature and not optional for some(I think most) users. I wonder what is the rationale behind this, where they can just only add the Suspend/Whatever buttons in addition to Power Off and Restart. Simple.

>>>If you're having trouble with suspending for any reason, and that says
>>>suspend is supported, tell us and file a bug.
>> No Power Off function in GNOME Shell(regardless of pm-is-supported), that
>> for sure, is a bug in itself.

>There is an option: hold down Alt.

The simplest thing to do is just to make it visible without any combination-keys. 

>> Kind Regards,
>> Allan

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