OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: Nighthawk98TJ on April 25, 2005, 04:23:38 pm

Title: Stop Suspending With Tkcplayer
Post by: Nighthawk98TJ on April 25, 2005, 04:23:38 pm
Hey All,

I run the Sharp 3.10 ROM and I used to use the Sharp Media Player for playing MP3s.  However, I just switched to the tkcPlayer as it has much more functionality, but the Z wants to suspend after 30 minutes of playing with this player.  The Sharp player seems to disable this suspending while it is running.  Unfortunately, I cannot set the Z to suspend at any point longer than 30 minutes.

Does anyone have any suggestions?

Thanks!!
Title: Stop Suspending With Tkcplayer
Post by: dreadlocks on April 25, 2005, 04:53:11 pm
you could try this script I wrote off the top of my head..

tkcPlayer.sh
Code: [Select]
#!/bin/sh
qcop QPE/System 'setScreenSaverIntervals(int,int,int)' 0 0 0
/home/QtPalmtop/bin/tkcPlayer
qcop QPE/System 'setScreenSaverIntervals(int,int,int)' -1 -1 -1
Title: Stop Suspending With Tkcplayer
Post by: Nighthawk98TJ on April 25, 2005, 05:52:51 pm
That appears to have done the trick!  Thank you very much!!
Title: Stop Suspending With Tkcplayer
Post by: ybiC on May 21, 2005, 05:11:58 pm
And if you place dreadlocks' shell script in the /home/QtPalmtop/bin/ directory, you can then add a desktop shortcut using Tab Settings or manually by creating+editing a .desktop file in one of the /home/QtPalmtop/apps/ subdirectories.