great! can you explain how kiosk mode is invoked? is there a flag at start up, or can I change to kiosk mode during runtime? or is it a totally different version than the normal pd and I can only run either/or? can you send a screenshot how it looks? is it already included in one of the sources or do I have to patch the source code to get the kiosk version? marius.
SourceForge.net wrote:
Patches item #1529010, was opened at 2006-07-26 16:01 Message generated for change (Comment added) made by zmoelnig You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1529010...
Please note that this message will contain a full copy of the comment
thread,
including the initial issue submission, for this request, not just the latest update. Category: puredata Group: wishlist Status: Closed Resolution: Later Priority: 5 Private: No Submitted By: IOhannes m zm?lnig (zmoelnig) Assigned to: Miller Puckette (millerpuckette) Summary: kiosk-mode
Initial Comment: attached is a patch that adds a "-kiosk" flag to pd.
if the flag is present, pd's functionality is somewhat limited: the main window is invisible, the patches have no menus and the shortkeys are disabled.
this is nice, if you don't want people to fuddle with your patch or scare them off (e.g. public installations, where people see (and probably can modify parameters of) the patch; or applications for people who have no idea what pd is and what the main-window is for and thus might want to close it)
Comment By: IOhannes m zm?lnig (zmoelnig)
Date: 2007-09-10 11:04
Message: Logged In: YES user_id=564396 Originator: YES
one can always use [tot] (toxy) to do this one a per-window basis. obviously this requires an external dependency (tot) and some
knowledge of
tcl/tk (or just read the tot-documentation).
so the only remaining reason to do it like this is compatibility with future (and alternative) versions of Pd that do not rely on tcl/tk....
Comment By: IOhannes m zm?lnig (zmoelnig) Date: 2006-08-14 09:21
Message: Logged In: YES user_id=564396
right: [declare] might be even better....
Comment By: Miller Puckette (millerpuckette) Date: 2006-08-14 06:40
Message: Logged In: YES user_id=313747
There should be separate run-time messages to create and delete the PD window, enable/disable key accelerators, etc., and a patch-specific message (using the new declare object) to suppress menus for specific windows. On the dolist...
Comment By: João Miguel Pais (jmmmp) Date: 2006-07-27 20:40
Message: Logged In: YES user_id=1523458
that's great. how about a super-secret (or definable) key combination to go back to normal mode, in case you need some sudden maintenance or something?
Comment By: IOhannes m zm?lnig (zmoelnig) Date: 2006-07-26 16:20
Message: Logged In: YES user_id=564396
this new patch also displays the "-kiosk" option in "pd -help"
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1529010...
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
marius schebella wrote:
great! can you explain how kiosk mode is invoked? is there a flag at start up, or can I change to kiosk mode during runtime? or is it a totally different version than the normal pd and I can only run either/or? can you send a screenshot how it looks? is it already included in one of the sources or do I have to patch the source code to get the kiosk version? marius.
well, look at the tot-example "tot-nomenu.pd" the only thing you need is tot installed and then make clever use of it.
attached is an example: "nomenu-test.pd" which get's rid of menu-bar and keyboard shortcuts by just adding the [nomenu] abstraction.
mfg.asdr IOhannes
#N canvas 128 254 589 317 12; #X msg 54 142 debug; #X msg 10 57 tot destroy .^.m , tot bind .^.c <Control-Key> ""; #X msg 41 92 tot global sz .: set sz [wm maxsize .^] .: wm geometry .^ [expr [lindex $sz 0] - 20]x[expr [lindex $sz 1] - 20]+20+20; #X obj 10 178 tot .parent; #X connect 0 0 3 0; #X connect 1 0 3 0; #X connect 2 0 3 0; #X connect 3 3 1 0;
#N canvas 0 0 450 300 10; #X obj 194 194 nomenu;
On Sep 10, 2007, at 9:47 AM, IOhannes m zmoelnig wrote:
marius schebella wrote:
great! can you explain how kiosk mode is invoked? is there a flag at start up, or can I change to kiosk mode during runtime? or is it a totally different version than the normal pd and I can only run either/or? can you send a screenshot how it looks? is it already included in one of the sources or do I have to patch the source code to get the kiosk version? marius.
well, look at the tot-example "tot-nomenu.pd" the only thing you need is tot installed and then make clever use of it.
attached is an example: "nomenu-test.pd" which get's rid of menu- bar and keyboard shortcuts by just adding the [nomenu] abstraction.
That sounds quite handy. It should definitely be in some lib somewhere. Unfortunately, it seems to have no effect on Mac OS X, which uses Cmd instead of Control, and the windows don't have menubars anyway.
.hc
mfg.asdr IOhannes #N canvas 128 254 589 317 12; #X msg 54 142 debug; #X msg 10 57 tot destroy .^.m , tot bind .^.c <Control-Key> ""; #X msg 41 92 tot global sz .: set sz [wm maxsize .^] .: wm geometry .^ [expr [lindex $sz 0] - 20]x[expr [lindex $sz 1] - 20]+20+20; #X obj 10 178 tot .parent; #X connect 0 0 3 0; #X connect 1 0 3 0; #X connect 2 0 3 0; #X connect 3 3 1 0; #N canvas 0 0 450 300 10; #X obj 194 194 nomenu;
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
------------------------------------------------------------------------ ----
If you are not part of the solution, you are part of the problem.
Hans-Christoph Steiner wrote:
On Sep 10, 2007, at 9:47 AM, IOhannes m zmoelnig wrote:
That sounds quite handy. It should definitely be in some lib somewhere.
well, it already is in "some lib": toxy (my patch is really just one of the example-patches slightly modified)
Unfortunately, it seems to have no effect on Mac OS X, which uses Cmd instead of Control, and the windows don't have menubars anyway.
well, i guess it is trivial to remove the Cmd-bindings too (just in case). and i don't know how to remove the menubars of windows that do not have any :-)
fmga.sdr IOhannes
On Sep 11, 2007, at 9:55 AM, IOhannes m zmoelnig wrote:
Hans-Christoph Steiner wrote:
On Sep 10, 2007, at 9:47 AM, IOhannes m zmoelnig wrote: That sounds quite handy. It should definitely be in some lib somewhere.
well, it already is in "some lib": toxy (my patch is really just one of the example-patches slightly modified)
an example patch is quite a different thing than a debugged, functional object sitting in a library ready for use.
Unfortunately, it seems to have no effect on Mac OS X, which uses Cmd instead of Control, and the windows don't have menubars anyway.
well, i guess it is trivial to remove the Cmd-bindings too (just in case). and i don't know how to remove the menubars of windows that do not have any :-)
You can hide the Apple menubar, but there is just one. Gem can do it.
.hc
fmga.sdr IOhannes
------------------------------------------------------------------------ ----
"It is convenient to imagine a power beyond us because that means we don't have to examine our own lives.", from "The Idols of Environmentalism", by Curtis White