well, it will say that there is another shutdown running... But it all works ok 
if I cancel a scheduled shutdown (by using "sudo shutdown -c").
Btw, would you tell me how to make the shutdown button point to a custom 
script? It could use the following script:

#!/bin/bash

shutdown -c
shutdown -h now "GDM Shutdown"

(for restart we use: shutdown -r now "GDM Restart")

Kthx

** Description changed:

- Sorry for the lack of specification of the package... :( I don't how it
- calls...
+ Sorry for the lack of specification of the package... :( I don't know
+ how it calls...
  
  I use my PC at night to leave my apache server running. To shutdown the
  computer at 08:55, I use 'sudo shutdown -h 08:55' in the shell. This
  way, I avoid the use of another packages, saving precious disk space.
  
  But when the shutdown is scheduled with this command, and for some reason I 
want to turn it off before its due time, my instinct is to go to the System 
Menu -> Quit, and then Shut Down.
  But when I do this, the computer falls back to the GDM. But if I want to 
shutdown the computer via System Menu -> Quit, I have to issue in the shell 
'sudo shutdown -c', to cancel the scheduled shutdown, so I can shut it down via 
GDM...
  
  My "solution" for this problem is to cancel the scheduled shutdowns,
  before the system shutdown routines begin, when the System Menu -> Quit
  -> Shut Down is done...
  
  Thank's  for the reading, and I hope I could explain myself well :-)

-- 
GDM shutdown falls back to GDM, if the 'sudo shutdown -h HH:MM' is used in the 
shell
https://bugs.launchpad.net/bugs/250659
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm in ubuntu.

-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to