Kiosk screen script doesn't maximize Chrom(e|ium)

Bug #1422150 reported by Austin de Coup-Crank
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LTSP5
Fix Released
Low
Unassigned

Bug Description

The screen script at /usr/share/ltsp/kioskSession is written to automatically fullscreen both Firefox and Iceweasel.

I propose a change that will add support for Chrome, while also changing the functionality from fullscreen to maximize.

Lines 13 & 14 would look like this:

case $KIOSK_EXE in
    *firefox|*iceweasel|*chrom*)

Without this patch, the Chrom(e|ium) window appears small when launched.

To maximize instead of fullscreen, the devilspie line would look like this:

echo "(if (matches (window_name) \"$(basename ${KIOSK_EXE})\") (undecorate) (maximize))" > ${HOME}/.devilspie/default.ds

I like maximizing better than fullscreen since it removes a small margin of window decoration. It also makes it harder to accidentally move the browser window. Since a web kiosk is meant to only run a single program, maximizing makes sense.

I have tested these changes successfully on Ubuntu 14.04 using both Chromium and official Google Chrome binary.

Tags: kiosk
Revision history for this message
Vagrant Cascadian (vagrantc) wrote :
Changed in ltsp:
status: New → Fix Committed
Changed in ltsp:
importance: Undecided → Low
Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

Fix released in LTSP 5.5.5.

Changed in ltsp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.