Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

"gnome-screensaver-command -p" is gone in 12.10 so mame can't poke to keep the screen alive. Is there a command I can add before "mame" to deactivate the screensaver and one to reactivate it after I exit "mame"?

Thank you.

share|improve this question
add comment

2 Answers

If you have installed Caffeine as fleamour suggested, it will do it automatically once you have configured it. This is done by opening Gnome Shell Extension Preferences ([Alt+F2]gnome-shell-extension-prefs[Enter]) and selecting Caffeine in the drop-down menu.

You'll see a switch where you can choose not to display an icon in the top panel, and below that is an empty list. Press "Add Application" and add MAME to that list. It will then activate when you start MAME, and de-activate when you exit the program.

PS: You can also go to extensions.gnome.org in a browser, and get Caffeine and many other extensions there. (Direct to Caffeine: https://extensions.gnome.org/extension/517/caffeine/)

share|improve this answer
    
Great thanks I will try it. –  Kruykaze Jan 11 '13 at 0:01
add comment

Install Caffeine from Launchpad PPA? Or maybe the official repositories? When activated it will inhibit your screen saver/blanking.

share|improve this answer
2  
Explain at least a bit what Caffeine is and why updating from this PPA should resolve the issue from the question. –  gertvdijk Dec 22 '12 at 23:48
    
I was looking for a command so I can just automate this process. –  Kruykaze Dec 23 '12 at 0:32
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.