VOGONS


First post, by Maarten256

User metadata
Rank Newbie
Rank
Newbie

Please let me know if the following question is posted in the right place - if not tell me where it ought to be!!

I'm running dosbox 0.74 under Ubuntu 11.04; everything seems to be working fine (I can run my old DOS games without issue!).

However, it would appear that while dosbox is running the Ubuntu screensaver is disabled, as is the power off displays option in power management.

While browsing through the forum I found the following existing question that matches the "problem" I'm having:

Enabled screensaver?

However, the solution proposed by gulikoza in this question doesn't seem to be feasible anymore...

From that question, as suggested by gulikoza:

"It's SDL that will disable screen saver when a program is running (except that it didn't work in my case )...you could probably edit the source and compile a version that will not disable it (search for SC_SCREENSAVE). The other problem is that dosbox *might* crash if screensaver is activated (depends on the output mode selected though)..."

I downloaded the source and went looking for "SC_SCREENSAVE", which doesn't appear in the source (or at least I can't find it). Perhaps was removed in a version of dosbox in the intervening 4 years.

Therefore my question is whether somebody can point me to a good way to allow the screensaver to kick in as normal with dosbox running... Pretty sure I can compile a local version of the code, but I'm stumped to try and figure out what (if anything) to change!!

Obviously, if there is another way around this I'd be happy to hear it... 😀

Thanks,

Reply 1 of 2, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

it is not a change required in DOSBox, but in libsdl

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 2, by Maarten256

User metadata
Rank Newbie
Rank
Newbie

I guess that makes sense - I'll now direct my question to the SDL people then.