> Just depends when/where you run utaction.  The screen saver locking is a
> "global" utaction that is ran for each session.
>
> I think BobD sent out a sample (unsupported) script that works pretty
> nicely.  Just remember that you can only go down or back to the starting
> res.  So a good trick to do would be to define the min resolution to be
> that of your largest possible combination.
>
> [email protected] wrote:
>> Hi all
>>
>> i think im interpreting the utaction man page correctly but is there a
>> place where i can set connect and disconnection actions for all my
>> sunray
>> terminals/cards not just the one you run utaction on?
>>
>> I'm specifically thinking of an on the fly xrandr script for correctly
>> switching to the correct resolution of what ever sunray you plug your
>> card
>> into.
>>
>> And help appreciated,
>>
>> Thanks.
>>
>> _______________________________________________
>> 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
>


Wow this was easy, bit of a hack but here it goes.


first set the default res to 1920x1200

/opt/SUNWut/bin/utxconfig -a -r 1920x1200




next download the utresize script from
http://blogs.sun.com/sunraybruce/entry/resizing_windows_sessions


but importantly delete the utxconfig -r auto line

I've named this script /opt/SunRayAddons/utresize , chmod 755.

now edit /usr/dt/config/Xsession.d/0100.SUNWut and put 
/opt/SunRayAddons/utresize at the very bottom.


This will ensure that the screen is the correct size for the DTU when a
user logs in.

We're still stuck with a dtlogin screen that is humongous. so this is my
work around.

At the end of /usr/dt/config/Xsetup put
/usr/X11/bin/xrandr -s 1024x768



This will make the dtlogin screen a more sensible/universal 1024x768.




So now we can put pretty much and resolution on any sunray no matter where
we started the session.



Thoughts?






_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to