Willie Walker wrote:
> Eeks....I mean SUNWslim-utils package below, not slim_install.
> 

That's the right package since it's intended to be only on the live CD, 
but /lib/svc/method is for SMF service methods, which your script is 
not.  I'd suggest just putting it in jack's home directory or something 
like that.

Dave

> Sorry,
> 
> Will
> 
> Willie Walker wrote:
>> Hi:
>>
>> Last question (I hope :-)).  As part of the accessible install, we want 
>> an assistive technology to automatically launch for the associated GRUB 
>> item that the user selected when booting the live CD.
>>
>> The way I did this earlier was add two files to the distro:
>>
>> 1) ~/jack/.config/autostart/live-at.desktop, which was added to 
>> slim_source/usr/src/cmd/slim-install/user/jack:
>>
>> [Desktop Entry]
>> Name=Autostart Assistive Technology
>> Encoding=UTF-8
>> Version=1.0
>> Exec=/lib/svc/method/live-at
>> X-GNOME-Autostart-enabled=true
>>
>> 2) /lib/svc/method/live-at, which was added to 
>> slim_source/usr/src/cmd/slim-install/svc:
>>
>> assistive_tech=prtconf -v /devices|sed -n '/assistive_tech/{;n;p;}'|cut 
>> -f 2 -d\'
>>
>> if [ "x$assistive_tech" = xreader ]
>> then
>>      /usr/bin/orca -n -e braille-monitor -d main-window
>> fi
>> if [ "x$assistive_tech" = xmagnifier ]
>> then
>>      /usr/bin/orca -n -e magnifier -d main-window -d speech
>> fi
>>
>> This seemed to work rather well, and gave us room for adding support for 
>> more assistive technologie by merely modifying the GRUB menu and 
>> /lib/svc/method/live-at.
>>
>> I'm curious if it would be acceptable to add these as part of the 
>> slim_install package and also if /lib/svc/method/live-at really is the 
>> appropriate spot.
>>
>> Thoughts?
>>
>> Will
>> _______________________________________________
>> caiman-discuss mailing list
>> caiman-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
> 
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss


Reply via email to