Thanks all for comments on this issue. I'm sorry if I wasn't clear about things I tested to make this happen, so just for the record I did insert the wrapper on both, utstartkiosk and in the CAM script and made it available as a default application which should restart (which it does) on CAM start.
The true problem is timing! God, why didn't I think of that. A 'sleep 1' on top of the script proves to be sufficient to get the xset executed on the proper time. Best regards, Patrick > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Bob Doolittle > Sent: Wednesday, March 08, 2006 5:56 PM > To: SunRay-Users mailing list > Subject: Re: [SunRay-Users] xset in CAMmodes > > Patrick, > > I think I was not clear. Try adding your wrapper to the > kiosk session directly, through the admin browser tool (or > utkiosk if you are brave :-)), like any other application in > the custom kiosk desktop. If that's insufficient perhaps > there's a race case in dtsession starting up and the xset > executing. If so, put a small sleep at the beginning of your > wrapper (blech). Perhaps dtsession itself has a startup hook > you can use? > I strongly suspect that your problem is timing, relative to > dtsession startup. > > -Bob > > Patrick Blaas wrote: > > >Hi Bob, > > > >Yes, I did create a wrapper for the xset and I was supprised > to see it > >not having any effect on the screensaver settings when I > verified with > >a 'xset q'. > > > >I even tried to give it it's own utaction!, which worked nicely, but > >not the first time. So something is exectuted after the > utstartkiosk, > >but not restarted once a CAM GUI is started. Problem is I > seem unable > >to find the spot marked x. > > > > > >Patrick > > > > > > > > > >>-----Original Message----- > >>From: [EMAIL PROTECTED] > >>[mailto:[EMAIL PROTECTED] On Behalf Of Bob > Doolittle > >>Sent: Wednesday, March 08, 2006 4:39 PM > >>To: SunRay-Users mailing list > >>Subject: Re: [SunRay-Users] xset in CAMmodes > >> > >>There's a lot of stuff that gets executed along the way. > >> > >>If utstartkiosk gets executed *before* dtsession (I'm > pretty sure it > >>does) I could easily believe that xset has no effect there, or gets > >>reset when dtsession starts up. > >> > >>Did you try making a wrapper for the xset command and > adding it to the > >>actual kiosk session? That happens late enough that it ought to > >>work... Obviously you don't want to make it "critical" :-) > >> > >>-Bob > >> > >>Patrick Blaas wrote: > >> > >> > >> > >>>Hi list, > >>> > >>>Anyone ever tried adjusting the screensaver settings for an > >>> > >>> > >>anonymous > >> > >> > >>>cam user? > >>>I went through some configuration files: > >>> > >>>/var/opt/SUNWut/kiosk/kiosk.conf > >>>/etc/opt/SUNWut/kiosk.start > >>> > >>>I did found something interesting: screenBlank=900 which seem to > >>>correspond with a 'xset q|grep timeout' > >>>setting screenBlank=0 didn't seem to change behaviour though. So I > >>>tried scripting it, hacking a /usr/openwin/bin/xset s 0 in > >>> > >>> > >>the utstartkiosk. > >> > >> > >>>Unfortunaly no succes, after opening a terminal in the CAM > modes and > >>>entering a 'xset q|grep timeout' value was still showing > 900, thus > >>>blanking after 15 minutes. > >>> > >>>It seems my values get overwritten by something executed > >>> > >>> > >>after I set it. > >> > >> > >>>So what's the last task executed in CAM modes before it shows gui? > >>> > >>> > >>>Best regards, > >>> > >>>Patrick Blaas > >>> > >>> > >>> > >>>------------------------------------------------------------- > >>> > >>> > >>---------- > >> > >> > >>>- > >>> > >>>_______________________________________________ > >>>SunRay-Users mailing list > >>>[email protected] > >>>http://www.filibeto.org/mailman/listinfo/sunray-users > >>> > >>> > >>> > >>> > >>_______________________________________________ > >>SunRay-Users mailing list > >>[email protected] > >>http://www.filibeto.org/mailman/listinfo/sunray-users > >> > >> > >> > >_______________________________________________ > >SunRay-Users mailing list > >[email protected] > >http://www.filibeto.org/mailman/listinfo/sunray-users > > > > > > _______________________________________________ > SunRay-Users mailing list > [email protected] > http://www.filibeto.org/mailman/listinfo/sunray-users > _______________________________________________ SunRay-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/sunray-users
