LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-29-2007, 04:46 PM   #1
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
looking for a graceful-shutdown timer for gnome


I usually have music or a movie running when I go to sleep. I've always just used the time argument of 'shutdown' to do this... The good thing is it kills everything that moves and powers off the pc reliably. But a lot of times when I boot up again, the maximum resolution is set to 1024x768. It's not all that bad... I can just kill x at the login screen (ctrl-alt-backspace), and it's back to normal. But I was wondering if there is a nicer solution. When I use the shutdown button in gnome I never get that.
 
Old 08-29-2007, 05:18 PM   #2
mmmmtmmmm
LQ Newbie
 
Registered: Aug 2007
Posts: 24

Rep: Reputation: 15
Do you not have a system shutdown script. I don't know about Ubuntu, but in Gentoo, there is a /etc/conf.d/local.stop file which is a list of user defined commands to run upon shutdown. Perhaps your system has something similar?

---mmmmtmmmm
 
Old 08-29-2007, 05:27 PM   #3
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Original Poster
Rep: Reputation: 49
nope... I don't even have a /etc/conf.d directory
 
Old 09-04-2007, 02:04 PM   #4
linuxid
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by oskar View Post
I've always just used the time argument of 'shutdown' to do this.
Hi, I'm brand new to linux & just installed Ubuntu Feisty. Could you explain how to do this? TIA
 
Old 09-05-2007, 09:15 AM   #5
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Original Poster
Rep: Reputation: 49
from the gnome terminal (Applications - Accessoirs - Gnome Terminal)
or alt-f2 'gnome-terminal'

type:

Code:
$ sudo shutdown -h 1:30
or
Code:
$ sudo shutdown -h 90
for 90 minutes
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shutdown timer, any ideas? sir_shunt SUSE / openSUSE 10 06-03-2008 11:20 PM
Graceful startup and shutdown? Shilo Carson Linux - General 25 03-22-2007 09:26 AM
Multimedia timer (SMP friendly timer) bigqueso Linux - Kernel 0 03-15-2007 03:49 PM
FVWM: graceful exit yozhhh Linux - Software 1 01-17-2006 07:56 AM
Graceful shutdown.. howto? rohan208 Linux - General 5 05-16-2004 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration