← Back to team overview

dx-packages team mailing list archive

[Bug 1256703] Re: Shutdown dialog doesn't shutdown automatically after given time

 

** Changed in: unity
    Milestone: 7.3.1 => 7.3.2

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1256703

Title:
  Shutdown dialog doesn't shutdown automatically after given time

Status in Unity:
  Confirmed
Status in unity package in Ubuntu:
  Confirmed

Bug description:
  New shutdown/reboot/logout dialog (transparent UI introduced in 13.04)
  doesn't proceed after a given time. So after running 'gnome-session-
  quit --power-off' in a script the user will have to press a button or
  the system will never shutdown.

  In old dialog (<= 12.10) there was a countdown starting at 60sec which
  shutdown the system after ran out. This made it possible to shutdown a
  system automatically from command line without extra user interaction.

  The dbus method which triggers the dialog indicate that there is such a function:
  ~$ qdbus org.gnome.Shell /org/gnome/SessionManager/EndSessionDialog
  [...]
  method void org.gnome.SessionManager.EndSessionDialog.Open(uint type, uint arg_1, uint max_wait, QList<QDBusObjectPath> inhibitors)

  I'd expect 'max_wait' is seconds until proceed shutdown. But it
  doesn't work.

  ---------------------
  I know there is an alternative with 'sudo shutdown -h now' and I also know how to make that sudo command password-less. But that would only work on my own system. I need this functionality for a OSS project where I don't want to mess around in users '/etc/sudoers' file. All other Desktop Environs I know have such a feature except Unity >= 13.04

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: unity 7.0.0daily13.06.19~13.04-0ubuntu1
  ProcVersionSignature: Ubuntu 3.8.0-29.42-generic 3.8.13.5
  Uname: Linux 3.8.0-29-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8.5
  Architecture: amd64
  CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
  Date: Sun Dec  1 21:52:54 2013
  InstallationDate: Installed on 2013-08-20 (103 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  MarkForUpload: True
  SourcePackage: unity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1256703/+subscriptions


References