Screensaver video in different browser

New features which should be implemented in Porteus Kiosk Edition and the kiosk wizard.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
landmaj
Ronin
Ronin
Posts: 3
Joined: 28 Jan 2017, 20:08
Distribution: Debian
Location: Warszawa

Screensaver video in different browser

Post#1 by landmaj » 03 Feb 2017, 20:20

Since Porteus Kiosk uses browser to display screensaver video, the video is affected by browser settings. This is a problem for me since I want to increase interface size in Firefox (default size is too small for Dell Vostro 360 touch screen). There is no way to increase just navigation buttons (nor there are any working addons for that) and so the only option is to use layout.css.devPixelsPerPx which increases size of everything. This is a problem since it also increases size of screensaver video and so part of it is off-screen and scroll bar appears at the bottom. Is there any way to install both Firefox and Chrome, use Firefox as default browser and Chrome to display screensaver video? This seems like the easiest solution.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Screensaver video in different browser

Post#2 by fanthom » 04 Feb 2017, 10:32

Hello landmaj,

Please customize the ISO and edit 003-settings.xzm/opt/scripts/files/videoshow file in this line:

Code: Select all

echo '#content browser { margin-right:-16px !important; overflow-y: scroll; overflow-x: hidden; }' >> $profile/chrome/userChrome.css
Perhaps you could even use 'run_command=' parameter to edit this file with sed during every kiosk boot. No need for ISO customization.

Thanks
Please add [Solved] to your thread title if the solution was found.

Locked