Add a gconf key to disable timed shutdown/restart/logout confirmation

Bug #345480 reported by Christoph Korn
38
This bug affects 2 people
Affects Status Importance Assigned to Milestone
fast-user-switch-applet (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: fast-user-switch-applet

Can there be an option to disable the confirmation to restart/shutdown/logout.

I think it is annoying.

Description: Ubuntu jaunty (development branch)
Release: 9.04

fast-user-switch-applet:
  Installed: 2.24.0-0ubuntu9
  Candidate: 2.24.0-0ubuntu9
  Version table:
 *** 2.24.0-0ubuntu9 0
        500 http://de.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
Christoph Korn (c-korn) wrote :
Revision history for this message
Christoph Korn (c-korn) wrote :

I have not found an option to disable it in gconf-editor.

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Agreed, doing name ▸ shutdown ▸ shutdown makes zero sense when I have already saved all my documents and did not hit the "power" button by accident. This is approaching windows-like amusement of start ▸ shutdown.

Revision history for this message
Christoph Korn (c-korn) wrote :

As I see this "feature" was requested in bug 283095.

So to keep this feature I propose to add an option in gconf-editor.

Revision history for this message
Christoph Korn (c-korn) wrote :

... or even better: To add an option in the Settins dialog.

So the users don't have to search for an option in the editor.
Also because gconf-editor is not shown in the gnome menus.

Revision history for this message
Christoph Korn (c-korn) wrote :

Unfortunately have to know-how about programming it.
Otherwise I would just attach a patch to fix it.

description: updated
Revision history for this message
Christoph Korn (c-korn) wrote : Re: Add an option to disable shutdown/restart/logout confirmation

Finally I have written a patch to add an option for it.
This option is by default enabled. So the feature required in bug 283095
will be there by default. The user has to disable it manually in the options.

I have tested it and it works as expected.

It has been built in this PPA:
https://launchpad.net/~getdeb.packages/+archive/ppa

Is there a chance to get this in to jaunty?

Revision history for this message
Christoph Korn (c-korn) wrote :

Subscribing ubuntu-main-sponsors to review it.

Revision history for this message
Christoph Korn (c-korn) wrote :

This is an update for the german language file.
It also updates the strings I introduced in my patch above.

Changed in fast-user-switch-applet (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Mark Shuttleworth (sabdfl) wrote :

While we will not create a GUI option for this, I have no objection to a GConf key which can be set by experts. If that is added, I would expect it to be part of the test suite, otherwise we are adding complexity without adding QA (the gconf-driven codepath would be lightly tested by the community).

Changed in fast-user-switch-applet (Ubuntu):
status: New → Triaged
summary: - Add an option to disable shutdown/restart/logout confirmation
+ Add a gconf key to disable timed shutdown/restart/logout confirmation
Revision history for this message
Vadim Peretokin (vperetokin) wrote : Re: [Bug 345480] Re: Add an option to disable shutdown/restart/logout confirmation

I don't understand why the "Lock the screen after switching users" and
"Create new logins in nested windows" are so important yet "Don't ask me to
press the "Shutdown" button twice and move the mouse across half of the
screen" not.

Showing a confirmation dialog upon pressing the shutdown button on the
computer is reasonable, it can be pressed by accident. There is however a
minimal chance that one will go to fusa -> shutdown *by accident*, and most
people will simply have to press "Shutdown" again - making them feel stupid
at having to tell the computer to do the same action twice.

Revision history for this message
Tiefflieger (tiefflieger) wrote :

I agree with Vadim at both points. Like I said before, the Confirmation Dialogue is driving me nuts, too, and as obviously there are many, many others feeling this way, I expected an GUI option to remove it to be released soon.
So it's quite disappointing what Mark's said, and I disagree with him when he says "otherwise we are adding complexity": In my eyes, complexity has already been added (ie. the confirmation dialogue), one would just provide an option to revert that.

(Again, I do not mean to offend anybody, but these Shutdown dialogues always have annoyed me when I used WinXP, and I was so glad that Ubuntu just did what I asked it for :-) )

Revision history for this message
Christoph Korn (c-korn) wrote :

@Tiefflieger:
As Mark said there only will be a gconf-key to disable the confirmation dialogs.
Nevertheless, we are free to build our own fast-user-switch-applet.
I already compiled one here:
https://launchpad.net/~getdeb.packages/+archive/ppa

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fast-user-switch-applet - 2.24.0-0ubuntu10

---------------
fast-user-switch-applet (2.24.0-0ubuntu10) jaunty; urgency=low

  * 84_session_management.patch:
    * Patch from Christoph Korn to fix the translations for the titles
      of the dialogs and the plural strings. (LP: #345587 and LP: #345344)
    * Patch from Christoph Korn to add a configuration option for whether
      the confirmation dialogs are shown. (LP: #345480)
    * Clean up the confirmation configuration patch to make the labels
      change dynamically as the GConf key is changed.
    * Switch key on the configuration patch to make it so that it defaults
      to false, which is the same as no key. This makes it so that the
      default upgrade case is to have the confirmation dialogs.
    * Change the logout dialogs to be standard dialogs instead of special
      ones and shorten the text in them. Also make them appear on all desktops
      and in the window switcher list incase they get lost.
  * 90_status_management.patch: Update to add invisible entry and icons
    for that entry. Patch from Walter Somerville. (LP: #294731) Fixed
    patch to make the invisible item above the logout item.
  * 88_status_icons.patch: Add icons for invisible status (above). Contributed
    by Ken Wimer.
  * 92_autotools.patch: Update for changes above.
  * Closes meta-bug for upload request: (LP: #347697)

 -- Ted Gould <email address hidden> Mon, 23 Mar 2009 21:37:32 -0500

Changed in fast-user-switch-applet:
status: Triaged → Fix Released
Revision history for this message
kira (kyrandesa) wrote :

@#10 and how do I change that gconf switch (in Jaunty)? I have never had a need to edit my gconf, but I have found that "wait 60s for shutdown" terribly annoying since it showed up. Being able to change that in a GUI would be great.

Revision history for this message
kira (kyrandesa) wrote :

discovered gconf-editor and its search function.

Revision history for this message
Tiefflieger (tiefflieger) wrote :

Will there be no longer an option to revert that in Karmic?
In Jaunty that would be: Right-Click on that fus-applet -> Preferences -> Uncheck "Confirmation window upon logout, reboot and shutdown"

Revision history for this message
Christoph Korn (c-korn) wrote :

In karmic there is a gconf key.

Revision history for this message
Tiefflieger (tiefflieger) wrote :

Great :-)
(What does that mean? That there will still be this option I described 2 posts earlier?)

Revision history for this message
Christoph Korn (c-korn) wrote :

There is this gconf key:
/apps/indicator-session/suppress_logout_restart_shutdown

It has the same behavior as the setting in fusa.

Revision history for this message
Tiefflieger (tiefflieger) wrote :

In english: I can't get rid of this annoying thing by adjusting the preferences in Karmic, like I do at Jaunty, right? I need to go the gconf-way...
Too bad :-(

Revision history for this message
Vadim Peretokin (vperetokin) wrote : Re: [Bug 345480] Re: Add a gconf key to disable timed shutdown/restart/logout confirmation

Unfortunately yes.

On Sep 21, 2009 8:55 PM, "Tiefflieger" <email address hidden> wrote:

In english: I can't get rid of this annoying thing by adjusting the
preferences in Karmic, like I do at Jaunty, right? I need to go the
gconf-way...
Too bad :-(

-- Add a gconf key to disable timed shutdown/restart/logout confirmation
https://bugs.launchpad.n...

Revision history for this message
daryl_haataja (daryl-haataja) wrote :

Ask Not ..... What?, your 'computer', can do for YOU ..... but what 'you' can DO, for your COMPUTER. Nonsense, I'm not suppose to make my computer's "life" easier. Why faster, more powerful, to accomplish less, I ask?

Revision history for this message
Tiefflieger (tiefflieger) wrote :

Honestly I can't see Your point regarding this discussion here...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.