Re: Shutdown Timeout



Hello

try a script that first calls xdialog to get the time and then calls shutdown -h -t with that time

Shahar


----- Original Message -----
From: Francisco Diaz Trepat - gmail
To: Ubuntu user technical support,not for general discussions
Sent: Tuesday, December 15, 2009 4:05 PM
Subject: Re: Shutdown Timeout


Thanks, it was more about configuring the TIME it will take to shutdown, lets say 2 hours, than the shutdown itself.
Nevertheless If i were to change it from system settings it will remain the same, until I change it again.
I was looking for a more dynamic app. Kind of like a shutdown button, with a popup and a field to specify the time, or the timeout period.


(best seen in courrier new) :-)



[ShutdownButton]
||
|| click
__________________
| Time or Timeout |
| _____________ |
| | 120m | | <== Type 120m, 2h, 1.5h, 30000ms, etc.
| ------------- |
| _______ |
| | OK | |
| ------- |
|__________________|




It will be awesome to program it and start doing something on ubuntu.


:-)


f(t)

On Mon, Dec 14, 2009 at 7:08 PM, Andrew Farris <flyindragon1@xxxxxxx> wrote:
>
> On Mon, 2009-12-14 at 12:30 -0300, Francisco Diaz Trepat - gmail wrote:
> > Hi all, I usually get a sleep while watching some movie or something,
> > leaving my computer on.
> [snip]
> > Is there a more friendly way? like a button?
>
> By default the user switcher lets you do that... alternatively, it
> should be available under "System > Shut Down" is you removed the user
> switcher from your panel.
>
> Alternatively, you can just add a shutdown button (Right click on panel
> > Add to panel | Search for "shut down")
>
> Hope that helps
>
> --
> Andrew
> _____________________________
> Registered Linux User: 473690
> Registered Ubuntu User: 22747
>
>
> --
> ubuntu-users mailing list
> ubuntu-users@xxxxxxxxxxxxxxxx
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




------------------------------------------------------------------------------


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: PC power button - Slightly off-topic
    ... The HangAppTimeout setting controls how long the process has to ... either the process responds positively or the timeout expires. ... Shutdowns are either initiated by a user, who can then close the uncooperative process, or they are initiated automatically by something like an UPS shutdown, in which case it's better to kill an uncooperative process and lose its data than to wait for power failure to kill everything. ... There's still a bit of a risk, and "small" errors do creep in. ...
    (comp.arch.embedded)
  • Re: Application crashes when closed
    ... There are massive number of things wrong here, any one of which could lead to a crash. ... SHORT TimeOut = 0; ... completley asynchronous shutdown mechanism. ... the shutdown, but not call the superclass OnClose handler; ...
    (microsoft.public.vc.mfc)
  • Re: Tcl Expect ssh to shutdown Linux box
    ... I tried adding the space as you mentioned so that my expect pattern is ... with "y" and hanging and then timeout on the subsequent expect. ... expanding the pattern to include the prior shutdown question. ...
    (comp.lang.tcl)
  • Re: Debugging service shutdown
    ... I'm trying to debug the shutdown of my ATL service, ... I have no problem in debugging for a short period of time, ... but after a minute or two the service process just terminates, ... timeout after which the process is killed. ...
    (microsoft.public.vc.atl)
  • Re: Service shutdown problems
    ... As windows has a timeout when logging out, ... WM_QUERYENDSESSION you don't really know if the computer is being shutdown ... so I wouldn't know what to do with ExitWindowsEx. ... I must save some information in the database, but the sql server service ...
    (microsoft.public.win32.programmer.kernel)