Copyright © 2018 Linutop SAS
The Linutop Kiosk is a secured web browser and a digital signage player manager.
The Linutop Kiosk offers two modes:
This mode allows to restrict various elements to make the browsing session very secure.
This mode allows to easily configure slideshows (playlist) of web pages, streames, images, PDF, sound, and videos locally or remotly.
Both modes can be used at the same time, allowing to use the digital signage mode as a screen saver when the kiosk is not used.
The Linutop Kiosk is divided in two software:
1) is the main application (player).
In themenu, entry.
2) is the configuration manager.
In themenu, entry. This application is executed with the administrator rights. It defines how the main application will behave.
Linutop Kiosk is included into linutop OS Operating system.
Linutop Kiosk is accessible from theMenu
Starting the configuration tool will display the following screen:
The top section of the Kiosk mode) lets you choose the mode:tab (
This choice will enable thetab. The application displays the choice of playlist sources and the content of a playlist in a loop.
This choice will enable thetab. The main application will behave like a standard web browser, with the restrictions you'll setup (whitelist or blacklist of URLs, maximum session duration...).
This choice will simply enable all the features of the main application. At the end of browsing session, the digital signage feature will start to act like a screen saver.
The next section (Configuration) allows to setup a few things:
If selected, the Kiosk will start in fullscreen mode.
If selected, the default system screen saver will never start.
If selected, the Kiosk will automatically start when the system boots. It also restart this application in case of a crash.
If selected, a password will be prompted. This password will be asked to the user when he tries to exit the application.(ESC or CTRL+q or Double click on mouse weel in "Digital signage player" mode)
Thetab of the configuration tool lets you define how the web browser should behave. It is split in 3 parts:
These parameters define how the Kiosk will behave, and what will be shown to the user.
Do not display the navigation toolbar. This setting can be activated if you allow navigation on only one website (a catalog of your shop articles for instance).
If checked, the user can acess the file system, and acess a usb key for example for downloading purpose.
If checked, abutton will let the user explicitely clear his session. This will clear all cookies, all site authentications and clear the browsing history.
If checked, the user can print a webpage
If unchecked, the application will wait for an external event to decide to start a web session.
URL to display when a session starts.
URL to display when a new tab is opened.
Defines how long (in seconds) the application should wait before cleaning the current session if the user is inactive. Setting this parameter to 0 will forbid the application to clean the session.
Zoom Factor allows enlarge the web pages. A 1.0 Zoom is 100% and 2.0 is 200%.
Allows to select the default font used when displaying web pages (in kiosk mode and in digital signage mode).
If the external browser option is checked, the application browser will be replaced by an external one to maximize navigation compatibility (by default, it is firefox on PC or epiphany on XS (raspberry Pi)). This option will launch the external browser with the selected url.
To improve security in this configuration, you will have to secure the external browser first. to do so you can use plugins like R-Kiosk or mKiosk for firefox
To use another web browser you need to edit this line in the main configuration file (/etc/xdg/webkiosk/preferences)
--kiosk enable the chromium built-in kiosk option (fullscreen)
This feature allows to start an application in secure kiosk mode you just need the launch command configured in the main configuration file (/etc/xdg/webkiosk/preferences)
The Kiosk can be configured to forbid access to some Internet resources. You can define a list of URLs that will be used either as a blacklist (list of forbidden URLs, everything else is allowed) or as a whitelist (only the listed URLs are allowed). You can obviously choose to not restrict the URLs.
The list uses a set of URL patterns. The * has a special meaning. It symbolises any letter, as many as you want. For instance, to allow anything hosted by Google, you can use:
http*://*.google.*This will allow to use both http and https protocols (http*://), on any subdomain (*.google) of any country (google.*).
The patterns can be defined as regular expressions. If you don't know what that is, you just don't need this! If you are familiar with regex's, have fun!
By default the file:// protocol, allowing the browser to act as a file browser, is forbiden. To enable this feature, check thecheckbox.
If you use the Linutop Kiosk for a public access point, you probably want to check a few things to secure the browser and the system.
The browser offers standard features for such an application:
Thetab of the configuration tool defines how the display part of the application should behave.
The most important section is theframe. It allows to setup how the data to be displayed should be retrieved. Two distinct methods can be used:
Linutop Kiosk playlist can be managed via different ways :
Linutop kiosk in Linutop TV mode supports the following formats:
Linutop kiosk in Playlist Local mode supports the following formats:
Linutop Kiosk can accomodate any screen resolution and orientation (landscape, portrait) for Image, PDF, web page, some limitations might appear for video depending on hardware limitation. Video HD (720p, 1080p), Video 4K, resolution, screen orientation and other settings can be configured in the linutop configuration pannel.
By selectingbutton, If you are connected to the Internet, the public demo channels will appear in the window, you can display their content with a double click.
The Linutop TV service makes it easy to generate such playlists. If you have a Linutop TV account, the tab of the Linutop Configuration Panel offers a simple way to configure the Linutop Kiosk.
Connected on the internet, Linutop TV service can be automaticaly updated. For a demo, you can just double click on a channel.
Private playlist server
A playlist can be downloaded from a web or ftp site. To do so, check thebutton, and set the URL to access the file. This remote playlist uses an XML format, offering advanced features. See the Scheduler section for details.
With local playlist, you can direclty create a playlist.
To add items to this list, simply press thebutton and select the file from the file manager. The type of the file (video or image) will be detected automatically using the file name extension or protocol. URLs must be prefixed with the access protocol (usually http://, rtsp://, smb:// or files:///).
Local or network Directories (folders) can be added to a local playlist and all it's playable content will be shown with the same duration (except videos).
Items can be ordered in the tree using the arrow keys. You can define how long each item will be displayed (in seconds) in thecolumn. Videos don't use this parameter, they will be entirely displayed.
Theand buttons allow to manipulate the list as well.
If you display web pages, you might need to perform logins on the websites. Two possibilities can be used, depending on how the website authenticates you.
If the site uses HTTP authentication (usually a popup window asking for a login and password), the login and password have to be included in the URL:
Adding a nework folder can be done with Thunar file manager on the network by copying the files location's network adress.
Or by entering manually the folder path :
A local broacast folder can be synchonised with an online cloud storage service (Dropbox, Google Drive, Apple iCloud, Microsoft One Drive, ...) allowing display content management via a cloud shared folder.
Thebutton allows to program the screen sleep mode automatically.
Screen OFF - From: 20:00 TO: 08:00 0
If this option is selected, the data can be automatically updated when a USB key is inserted on the Linutop machine.
The data on the USB stick must follow some simple rules (). The files to display / play must be present at the root of the USB key (or in a folder with the name of the password of the remote control). The update is done automatically. Once the update is done the player will restart the display, then you can remove the key. Fixed elements can be added in addition to the local playlist.
If checked, the mouse pointer will disappear during slideshows.
If checked, the videos will not output sound.
This option run an external video player using full hardware acceleration. On OS XS (Raspberry Pi) this allows maximun video resolution of 1080p (video can't be stopped during playing),(Some HD videos might require more GPU memory to work properly and prevent a black screen). On PC, this option launche by default MPlayer and require adding acceleration software package. Other command line base hardware accelerators can be configured to accomodate other graphic cards.
Use an external web browser in order to have the maximum compatibility possible. The external web browser has to be configured in full screen.
timming between two playlist update on Linutop TV
Plays items in random order.
Delay (in seconds) to use as default time for added items the static playlist.
This feature allows the user to directly interact with the playlist. It can also be used to display a message with the direct display feature.
To enable the remote, remote activation has to be checkedm then to start the remote, the Linutop Launcher must be running.
Once started, the remote is a web page accesssible from any devices, such as smartphone, tablet, PC's web browser connected on the same network.
The remote web address can be seen in blue below the remote activation checkbox. Just copy the URL web dress in any browser to display it.
Note: The remote is available only when the linutop-kiosk software is running
It can also be directly displayed on the same screen as the player by clicking on the right mouse button.
You can directly select a channel in order to display it, the player may need some time to upload all the data before displaying it depending of your network speed.
The playlist view allows to select directly one playlist item.
Direct display allows to send a text message on the screen, it also returns a copy of the screen.
You can also directly display an item usig the drag and drop menu below
The direct display template can be customized using the buttonin the Linutop kiosk settings menu.
By default, the template will be displayed.
The "Direct template" allows you to have an editable graphic template with insertion of a live text. text.html
You also have the possibility to change templates. By clicking on the "change template" button, you can select your template, then you must validate your selection.
This template can display a graphic logo, the time, the date of the day and a direct message for a lobby.
The template can be downloaded by clicking on the link and then by right-clicking download the item: template_horloge.html
Template: for a bus station, a pier and a small airfield. It can display a message via a web browser from a phone or tablet on the local network.
Note: The background image of these templates is available by clicking on the icons. It is composed of an image of 1920x1080 able to accomodate any images and include the modifiable text.
You can also create your own template to suit your preferences. This is a simple HTML file, it is very easy to edit.
For this, you just need to edit this template by keeping this lines, to be able to display the direct text.
<span id="text" style="font-size:5.7em"></span></span>
Linutop TV is an online digital signage service. It will automatically send to the Linutop Kiosk a playlist and its associated documents remotely.
Configuration of your display system is done in 3 steps:
Upload your files on Linutop TV. With the Linutop TV library interface you can upload your files (videos, images or URLs).
Create your display playlist. Organize your files and set up their display parameters.
Display your playlist. Connect your display screens to your Linutop TV account.
Linutop.tv can be accessed from any PC or web browser.
Linutop.tv is also available as a Private server, for more informations: www.linutop.tv
Thetab of the setup interface lets you define which proxy to use.
As shown on the screenshot, URI, user name and password can be defined.
User name and password entries can be left blank if your proxy doesn't require authentication.
The URI can take two forms:
Can display on several screens on the same network from linutop.TV broacast management server. on a local network or via Internet.
Can Linutop Kiosk play HD video?
- Yes Linutop Kiosk plays HD video depending on you hardware.
My screen is black nothing to display?
- Linutop Kiosk has nothing to display, your playlist is empty or the document cannot be reached.
My screen is in sleep mode?
- Linutop Kiosk is in sceen off mode to quit press 'ESC' key or CTRL+Q or Double click on mouse wheel.
How do I quit the linutop Kiosk in full screen ?
-To quit Linutop Kiosk press 'ESC'key or CTRL+Q or Double click on mouse wheel.
Can we use Linutop Kiosk as an Audio player ?
- Yes Linutop Kiosk play any audio files.
Storage of parameters according to the operating mode of the Kiosk:
This script is used to automatically broadcast the contents of a directory on a local network in order to synchronized the media on all players. It is a light broadcast server for players. Each player is configured to display the contents of the synchronized directory.
1. Get the IP address of your other machines
The "About" tab of the control panel allows you to have more info
In the Network section, you can retrieve the IP address of the current machine.
2. Create the main directory containing the items to be copied
In this part, you just have to create the directory containing the files to broadcast.
3. Open and edit the script according to your preferences (all information is in comment), here is the download link of the script: auto-synchro.sh.
4. Save the script, go to the "Start Application" section of the Linutop Control Panel.
In the command to enter just type: "bash /path/to/script.sh"
You must commit the changes and restart the system for the script to start at startup
5. Configuring the player to display the contents of the synchronized directory
Just add the directory to your local playlist
You can distribute as many documents on as many machines as you want.
The set of applications displaying specific files can be configured in the main configuration file (/etc/xdg/webkiosk/preferences). The association between files and applications is done using mime types, in a [mimetypes] section.
Simple exemple of file associations:
[mimetypes] application/pdf = evince
When using the local playlist to define the slideshow (no XML), the application will guess the type of each item to display using the protocol and file extension. If not correctly detected, the default behaviour is to display the item as a web page. To override this behaviour, you can associate filename extensions with display types.
The known types are:
The association is done in the main configuration file (/etc/xdg/webkiosk/preferences), in a [slideshow-types] section. For exemple:
[slideshow-types] iso = video flv = video gif = image
Scripts can be executed when some event happen on the kiosk. For each hook a different script must be used. The scripts just need to be named like the event, and to be executable. The scripts must be saved in the hook dir (/etc/xdg/webkiosk/hooks/).
The current events are:
In Kiosk mode, a prestart script can be used to define whether a web session should be triggered when the kiosk application starts. It can obviously also setup a few things before the application startup.
The prestart script is /etc/xdg/webkiosk/prestart. It will be used if it exists and is executable.
If the script returns 0, a web session will be triggered at startup. Any other return code will start the kiosk in display mode.
The browser offers a DBus interface, allowing to control a few things.
The DBus interface listens signals sent on the system bus on the object /com/linutop/WebKiosk. The messages are:
dbus-send can be used to send the signals:
# stop the current session dbus-send --system /com/linutop/WebKiosk com.linutop.WebKiosk.Signal.StopSession # add 2 minutes to the timer dbus-send --system /com/linutop/WebKiosk com.linutop.WebKiosk.Signal.AddTime uint32:120
The Linutop Kiosk can use an XML file to define multiple playlists, managed by a scheduler. It is possible to manually create these files.
The scheduler uses
loop blocks to define the various
playlists. Each loop must have an
(0 being reserved for the default playlist). A single loop
will contain the list of the items to displays:
<schedule> <loop id="0"> <item uri="http://www.google.com" time="10" /> <item uri="http://my_server/display/an_image.png" type="image" time="5" /> <item uri="http://my_server/display/a_video.avi" type="video" /> <item uri="http://my_server/display/an_image_as_web_page" time="5" /> <item uri="http://my_server/display/a_video_as_web_page" /> </loop> </schedule>
The previous example shows the definition of a basic playlist. The <schedule> and <loop> nodes are mandatory. The "id" attribute is also mandatory.
Each item must define an
uri" attribute which indicates where
the item can be found. It can use several schemes, depending on the type attribute:
will show a web page (the
must be omitted)
typeattribute is present, the webkiosk will download the file, and display it as a local file (the file is cached, and redownloaded only if needed).
typeattribute is missing, the uri will be used as if it were a web page (no cache).
The two supported types are image and video.
for URLs and images a
time attribute must be defined. It
stores the number of seconds that the item should be displayed. For videos,
the next item will be displayed when the video has ended.
http://for HTTP access (web server)
ftp://for FTP access
file://for file access
Authentication is supported. For example, using a FTP authentication in a URI would give:
Several loops can be defined. Each loop must have a uniq ID, and must define a time period. The loop ID'ed 0 will be the default loop, used if other loops don't match the current date/time.
Here are some examples of loops describing the schedule options:
<schedule> <loop id="0"> <!-- default playlist defined here --> </loop> <loop id="1" start="14:00" end="18:15"> <!-- this playlist will be read every day between 14:00 and 18:15 --> </loop> <loop id="2" start="14:00" end="18:15" weekdays="0246"> <!-- this playlist will be read every monday, wednesday, friday and sunday between 14:00 and 18:15 --> </loop> <loop id="3" start="2011/03/25 00:00"> <!-- this playlist will be used starting on march the 25th of 2011 --> </loop> <loop id="4" start="20:00" end="06:00" idle="1"> <!-- this playlist is marked as idle. This will shut down the screen of the client --> </loop> </schedule>
Combinations of these examples can be used.
Additionnal fonts can be necessary to display some web pages or documents.
It is possible to add new fonts to the system using a font file (fontname.ttf), to do so you need to create a folder with the name of the font in lower case in /usr/share/font then copy the fontname.ttf file into the folder. There is two way to do so, using thunar as root :
$ sudo thunarOr doing it with in command line (open the terminal in the folder containing the .ttf file):
$ sudo mkdir /usr/share/font/fontname $ sudo cp fontfile.ttf /usr/share/font/fontname/fontname.ttf
By default thunar can access your network. to secure/prevent this network access, use the command below.
$ sudo chmod 000 /usr/share/gvfs/mounts/network.mountAnd if you want to put it back:
$ sudo chmod 644 /usr/share/gvfs/mounts/network.mountYou need to restart your computer in order to apply the change.
This section explain how to setup a secure kiosk.
First you need to select Web Kiosk in the main pannel and to check fullscreen and use a password (don't forget to set the password).
Then in the Web Kiosk tab you can choose which website will be displayed as home and in each new tab. Also you can blacklist or whitelist website using the restriction panel. Once done hit the OK button to validate the configuration.
Once secured to quit the kiosk application hit Ctrl+q and enter your password.
This section explain how to display a web page. It can be a local, Internet or intranet web page such as a dashboard, a clock or a template.
First you need to select Digital Signage Player in the main pannel and if you want it to start automaticaly check the associated parameter.
Then in the Media Player tab, you need to use the add button to open a dialog that allows you to choose the web page to display and the time it nees to be displayed, a time of 0 means that it will be displayed forever.
This section explain how to display a local network share drive content.
First you need to go to your share drive with Thunar File Manager and copy the path.
Then in the Media Player tab, you need to use the add button to open a dialog that allows you to paste the share drive file path.
Once in the playlist, all the displayable files will automatically be displayed by the player.
This section explain how to use the Linutop TV service.
First you need to select Media Player in the main pannel and if you want it to start automaticaly check the associated parameter.
If you use a public server you need to selectand to log with your invoice number and you password. Then choose the playlist you want to diplay and hit the button.
To quit the kiosk application hit Esc. If a password is set, use Ctrl+q and enter your password instead.
If you use a private server you need to selectand to check then enter the url or ip address of your server. once done you need to use your login and password to access the playlist (by default admin/linutop). Then choose the playlist you want to diplay and hit the button.
To quit the kiosk application hit Esc. If a password is set, use Ctrl+q and enter your password instead.