Thanks for this, I was going to use fluxbox to do this but metacity seems good too.

If you need a launcher, wbar ( http://code.google.com/p/wbar ) is easy to install and customize

Also, as it relates to firefox, you can do a lot with firefox/thunderbird loadcustom.js

firefox install dir/defaults/pref/loadcustom.js
    // tell firefox to load customized config file
    pref("general.config.obscure_value", 0);
    pref("general.config.filename", "custom.cfg");

firefox install dir/custom.cfg
    // Lock specific preferences in Firefox so that users cannot edit them
    lockPref("app.update.enabled", false);
    lockPref("browser.startup.homepage", "http://intranet";);
    pref("network.proxy.autoconfig_url", "http://intranet/proxy.pac";);
    pref("network.proxy.type", 2);

I'm not sure if you can set screen size/position though.

Karl

On 07/26/2011 10:06 AM, Craig Bender wrote:
Ever publish a kiosk app like firefox or a terminal for troubleshooting? Hate that you don't have windowing manager due to pop-unders or modal mozilla messages?

Did you know you can just start metacity and not have to resort to using something like the locked down JDS app? Just start metacity before what ever your kiosk app calls and then kill it after.

Once you do the above, you might find cases where a minimized app seems to have disappeared. It hasn't but on some clients (like iPad) it's a bit tricky to do an alt-tab. Best to just remove the minimize button all together from the running instance of metacity.

Example of both tips together:

#!/bin/sh
# Get rid of the minimize button on the windowing manager
/usr/bin/gconftool-2 \
--type string \
--set /apps/metacity/general/button_layout menu:maximize,close

# Start a window manager so firefox doesn't get stuck with modal windows under the browser
/usr/bin/metacity &

# Start Firefox
/opt/firefox/firefox

# Cleanup the window manager so Kiosk exits after firefox closes
pkill -9 $USER metacity
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users



CONFIDENTIALITY NOTICE:  This communication (including all attachments) is
confidential and is intended for the use of the named addressee(s) only and
may contain information that is private, confidential, privileged, and
exempt from disclosure under law.  All rights to privilege are expressly
claimed and reserved and are not waived.  Any use, dissemination,
distribution, copying or disclosure of this message and any attachments, in
whole or in part, by anyone other than the intended recipient(s) is strictly
prohibited.  If you have received this communication in error, please notify
the sender immediately, delete this communication from all data storage
devices and destroy all hard copies.
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to