Author Topic: Disabling Screen Saver and Suspend  (Read 2275 times)

qx773

  • Full Member
  • ***
  • Posts: 219
    • View Profile
Disabling Screen Saver and Suspend
« on: August 28, 2004, 11:29:14 pm »
Keywords: disable disabling screen saver screensaver suspend suspending Zaurus

I found the following web page through a google.com search:

http://lists.trolltech.com/qt-embedded-int...3/msg00015.html

It gives a hint as to how to disable both the suspend and screen saver features of the Zaurus.  I am using the Sharp ROM on my Zaurus SL-C760.  Other people have indicated how to disable the suspend feature in a shell script, but I did not find direct information on how to disable the screen saver.  I have created the following script for disabling the suspend and screen saver feature for keypebble in /usr/local/bin/keypebble-ns:

Code: [Select]
qcop QPE/System 'setScreenSaverMode(int)' 2
qcop QPE/System 'setScreenSaverIntervals(int,int,int)' 0 0 0
keypebble
qcop QPE/System 'setScreenSaverMode(int)' 100
qcop QPE/System 'setScreenSaverIntervals(int,int,int)' -1 -1 -1

You have to be the root user in order to place this script in the /usr/local/bin directory.  This directory must also be listed in your PATH environment variable.  You must make the script executable with a sequence of commands like:

su root
cd /usr/local/bin
vi keypebble-ns
chmod 755 keypebble-ns


You also have to be the root user to modify the

/home/QtPalmtop/apps/Application/keypebble.desktop

file so that "keypebble" is replaced with "keypebble-ns" so that the "keypebble-ns" script runs instead of the "keypebble" program when you click on the icon to start keypebble.

The ability to disable both the suspend feature and screen saver of the Zaurus is important if you are going to use the computer to view a GPS navigation display on battery power.  If this method of disabling the screen saver works for a lot of you, then I recommend that this information be added to the Zaurus FAQ document.

ev1l

  • Hero Member
  • *****
  • Posts: 608
    • View Profile
    • http://bbshuffle.blogspot.com/
Disabling Screen Saver and Suspend
« Reply #1 on: August 31, 2004, 08:35:47 am »
I'll try it out tonight on a Sharp-romed C-860 and report back.

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Disabling Screen Saver and Suspend
« Reply #2 on: August 31, 2004, 10:05:16 am »
Excellent. I knew about the suspend disabling command, but hadn't seen the screensaver disabler.

That will be really useful in other apps too, like media players and ebook readers. I don't see the point in a screensaver on a PDA for most people. I'm definitely going to see if I can turn it off permanently.

Thanks
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender