XBMCbuntu - Disable sleep and hibernate (RESOLVED)
#1
Hello,

I am new to XBMC and Linux, however, I have done a fair amount of research before making this post. I am to the point of absolute frustration, because I have read every resource I can find on this forum and the internet that relates to my issue.

Currently I am running XBMCbuntu 11.00 Eden. My main use of this is as a "rom station" for older games (nes, snes). My problem is that when playing games with a sub controller or just leaving the game idle for about 10 minutes, the pc going into "sleep" mode. I have checked my XBMC settings and this is disable. I have tried using gnome-power-manager to disable suspend entirely, but even though I have it installed I can't launch it (very frustrating because I am following guides to the letter)

Can someone please assist me with disable sleep/suspend in XBMCbuntu, it's driving me crazy and I just cannot figure it out.

Thank you.
Reply
#2
http://forum.xbmc.org/showthread.php?tid=118483

http://forum.xbmc.org/showthread.php?tid=106349&page=2 post 15 onwards
Reply
#3
Thank you for the reply. I've actually already read through and tried the suggestions from those threads with no success. However, the 2nd thread, in post 15/16 they mention the xorg.conf. My system does not have an xorg.conf which confused me. I checked /etc/X11/ and it's not there as they stated. Any ideas?
Reply
#4
It's quite normal not to have an xorg.conf. This thread will show you how to make one http://forum.xbmc.org/showthread.php?tid...light=xorg
Reply
#5
Thank you sir. I will give that a try.
I notice that the command given is "sudo nvidia-xconfig"

I am not using an nvidia card, does this matter?
Reply
#6
Oh sorry that command is nvidia specific, I didn't read the thread fully just that I knew it was handy for creating xorg.conf. Do a seach for xorg.conf as there are many discussions regarding this. Usually a simple copy and paste of a very basic xorg.conf and then inserting the required paramaters afterwards does the job.
Reply
#7
After some research I was able to generate the xorg.conf and edit it as needed. Seems to be working fine now! Thank you so very much for your assistance with this.


For the purpose of future searches and documentation, below is the exact process that I followed.


Generated new xorg.conf with the following command

sudo Xorg :1 -configure

This generated placed a new config file in the follow directory

/home/user/xorg.conf.new

I then copied xorg.conf.new to /etc/X11 as xorg.conf

After that it was as simple as editing xorg.conf and placing the following commands at the bottom of the file using a text editor.

Section "ServerFlags"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection
Reply
#8
That's great to hear Smile
Reply

Logout Mark Read Team Forum Stats Members Help
XBMCbuntu - Disable sleep and hibernate (RESOLVED)1