[PD] hcs/screensize doesn't work w/ -nogui

Marco Donnarumma devel at thesaddj.com
Tue Mar 12 20:54:46 CET 2013


>

> >any particular reason why it doesn't?
>
> It relies on tcl/tk to measure the screen size.  When you don't load the
> gui, you don't load tcl/tk, and thus you are stripped of the tool you need
> to get the screen size.
>

ok, thanks, now it's clear!



> >
> >you can try to run the help patch, add a [stdout], relaunch the help
> patch with -nogui.
> >
> >I'm making a simple splashscreen with a gem -nogui patch, and it needs to
> render the image in the center of the screen.
> >I know I could use [shell], but I'd rather a cross-platform solution.
> >
> >can I fix the screensize object or is there another object I'm not aware
> of?
>
> Does the tclpd library execute with the -nogui flag?  If so it should be
> pretty
> simple to use that to return the screensize.
>
>
ok. I'm not sure how to check whether tclpd executes w/ -nogui.
How can I check?

I'm following your suggestion and make a small tclpd object.

cheers,
M



> -Jonathan
>
>
> >
> >thanks!
> >
> >
> >
> >
> >--
> >Marco Donnarumma
> >New Media + Sonic Arts Practitioner, Performer, Teacher, Director.
> >Embodied Audio-Visual Interaction Research Team.
> >Department of Computing, Goldsmiths University of London
> >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >Portfolio: http://marcodonnarumma.com
> >Research: http://res.marcodonnarumma.com
> >Director: http://www.liveperformersmeeting.net
> >_______________________________________________
> >Pd-list at iem.at mailing list
> >UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130312/5f9b94ef/attachment.htm>


More information about the Pd-list mailing list