SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-19-2009, 11:38 PM
aaron aardvark aaron aardvark is offline
Sage User
 
Join Date: Feb 2007
Posts: 12
How to disable the GNOME screensaver?

I'm running the SageTV Linux client on a Dell Mini 9 with Ubuntu 8.04. It makes a nice very portable media player. My biggest problem is that the SageTV client doesn't disable the screensaver, so I have to move the mouse every 15 min to keep the screen from going blank. Very anoying. I've seen this issue discussed about MythTV and other video applications, but haven't found a good solution. Even a simple panel applet to temporarily disable the screensaver would help, but I haven't found one.

Any suggestions?

Thanks.
Reply With Quote
  #2  
Old 01-20-2009, 06:19 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Turn off the Ubuntu screensaver and use the one built into Sage. I don't know for sure if the Linux client for Sage has this feature. I'm on Windows.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #3  
Old 01-20-2009, 06:29 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
System -> Preferences -> Screensaver
Then uncheck "Activate when computer is idle"
Reply With Quote
  #4  
Old 01-20-2009, 08:42 PM
aaron aardvark aaron aardvark is offline
Sage User
 
Join Date: Feb 2007
Posts: 12
Quote:
Originally Posted by gplasky View Post
Turn off the Ubuntu screensaver and use the one built into Sage. I don't know for sure if the Linux client for Sage has this feature. I'm on Windows.

Gerry
Yes, the Linux version of SageTV has a screensaver. It's just that I'm annoyed by the need to bring up the GNOME screensaver window, uncheck the "Activate when computer is idle" box, and close the window. Then when I'm finished running SageTV I have to do the same thing again to turn the GNOME screensaver back on. I't just kind of stupid. Either SageTV should automatically disable the screensave as it does under windows, or there should be a simple one-click method for temporarily disabling the screensaver.
Reply With Quote
  #5  
Old 01-20-2009, 08:44 PM
aaron aardvark aaron aardvark is offline
Sage User
 
Join Date: Feb 2007
Posts: 12
Quote:
Originally Posted by stuckless View Post
System -> Preferences -> Screensaver
Then uncheck "Activate when computer is idle"
Yea, I know. It's just kind of annoying to have to go through this process every time I run SageTV (or Miro or VLC player).
Reply With Quote
  #6  
Old 01-21-2009, 05:02 PM
agitate's Avatar
agitate agitate is offline
Sage User
 
Join Date: Jan 2007
Location: Liverpool, England
Posts: 21
You can use the gnome-screensaver-command to inhibit the screensaver with the --inhibit switch. Modify your sageclient.sh script so that it includes this (around the java command):

Code:
# Inhibit the screensaver
gnome-screensaver-command --inhibit \
--application-name="sageclient.sh" \
--reason="Using Sage" &
# Record the PID of the blocking inhibit command
gssid=$!
java -cp MiniClient.jar:jogl.jar:gluegen-rt.jar:. sage.miniclient.MiniClient $1 $2 > miniclient.log 2>&1
# Kill the gnome-screensaver-command which is inhibiting
kill $gssid
Note that if you ^C out of the script or something terminates it before it reaches the final kill command then the inhibit will keep running, so be careful. You could add a trap command to make sure the kill gets called, but I'll leave that addition to you, if required.
Reply With Quote
  #7  
Old 01-22-2009, 12:26 AM
aaron aardvark aaron aardvark is offline
Sage User
 
Join Date: Feb 2007
Posts: 12
[QUOTE=agitate;332052]You can use the gnome-screensaver-command to inhibit the screensaver with the --inhibit switch. Modify your sageclient.sh script so that it includes this (around the java command) ...

Thanks, agitate, your're a hero! That's just what I was looking for.
Reply With Quote
  #8  
Old 02-25-2009, 09:11 PM
schmots schmots is offline
Sage User
 
Join Date: Sep 2007
Posts: 21
I tried the sagetv deb on my mini 9 and it loads but never shows any video... did you do anything special?
Reply With Quote
  #9  
Old 02-25-2009, 10:49 PM
aaron aardvark aaron aardvark is offline
Sage User
 
Join Date: Feb 2007
Posts: 12
No, it just worked. Note that I'm running the SageTV client on the Mini 9. The server is on a different machine on the LAN.

Do you have the SageTV server enabled under the Setup > Detailed Setup > Server menu? If not the client won't get anything from the server.
Reply With Quote
  #10  
Old 02-26-2009, 03:11 PM
agitate's Avatar
agitate agitate is offline
Sage User
 
Join Date: Jan 2007
Location: Liverpool, England
Posts: 21
You might want to check out this thread:

http://forums.sagetv.com/forums/showthread.php?t=38077
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows screensaver not starting, believe Sage is to blame archcommus SageTV Software 1 08-14-2009 06:03 PM
Disable scroll wrap in program guide?? rswoods SageTV Customizations 2 12-01-2008 09:08 PM
Screensaver on Sleep karnal SageTV Software 1 11-02-2008 05:02 AM
How do I disable HDTV on Client? thenewguy1979 SageTV Software 7 10-20-2008 03:22 PM
Disable screensaver bobrap SageTV Software 5 05-17-2006 05:31 PM


All times are GMT -6. The time now is 09:18 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.