Last modified by Ulrich Mertz on 2026/02/05 14:52

Hide last authors
Tobias Wintrich 4.1 1 === RangeeOS - Automatically Playing a Presentation in a Continuous Loop ===
Tobias Wintrich 1.1 2
Tobias Wintrich 4.1 3 You can easily use RangeeOS to play a presentation in a continuous loop. To do this, you need the software modules "libreoffice" and "scripts". If you do not yet have access to the required software modules, please contact our support team:
Tobias Wintrich 1.1 4
Tobias Wintrich 4.1 5 * Email: [[support@rangee.com>>mailto:support@rangee.com]]
6 * Support Form: https://rangee.com/support/[[url:https://rangee.com/support/]]
Tobias Wintrich 1.1 7
8 {{info}}
Tobias Wintrich 4.1 9 This procedure described here was last tested with the following setup:
Tobias Wintrich 1.1 10
11 * Firmware x64 12.00 Build 223
12 * LibreOffice 7.3 x64 12.00 Build 002
13 * Scripts x64 12.00 Build 005
14 {{/info}}
15
Tobias Wintrich 4.1 16 = Deploying the Presentation =
Tobias Wintrich 1.1 17
Tobias Wintrich 4.1 18 You can provide the presentation using different methods via the CommBox under {{status title="Peripherals"/}} -> {{status title="Drive Mapping Configuration"/}}:
Tobias Wintrich 1.1 19
Tobias Wintrich 4.1 20 [[Screenshot: Configuration view for drive mapping with local drive, network drive, and local directory setup>>image:laufwerke.png||alt="Screenshot: Configuration view for drive mapping" height="273" id="Ilaufwerke.png" width="800"]]
Tobias Wintrich 1.1 21
Tobias Wintrich 4.1 22 1. Using a storage device connected to the Thin Client (USB stick/SD card):
Tobias Wintrich 1.1 23
Tobias Wintrich 4.1 24 * If the option "Auto-mount local drives" is enabled under {{status title="Global Settings"/}}, no further steps are required. If this option is disabled, you can set up a local drive directly using the available option {{status title="New Local Drive"/}}.
25
26 2. Using a network drive:
27 * Select either {{status title="New Network Drive"/}} or {{status title="SMB Network Drive Wizard"/}} and enter the corresponding information for your network drive.
28 * After applying the settings, press the {{status title="Start"/}} button next to the newly created entry.
Tobias Wintrich 1.1 29
Tobias Wintrich 4.1 30 3. Using a local directory directly on the Thin Client:
Tobias Wintrich 1.1 31
Tobias Wintrich 4.1 32 * Create a folder via {{status title="New Local Directory"/}}. For this folder, you can optionally enable an FTP or SMB share to upload the video later. To use the FTP share, ensure the option "Enable FTP Server" is set under {{status title="Global Settings"/}}. For SMB shares, enable "Activate Samba (Windows Shares)".
33 * {{warning}} The FTP server on RangeeOS only supports the "Unencrypted" connection method. Depending on the FTP client, this must be configured in the connection settings.{{/warning}}
Tobias Wintrich 1.1 34
Tobias Wintrich 4.1 35 = Starting LibreOffice with Command Line Options =
Tobias Wintrich 3.1 36
Tobias Wintrich 4.1 37 Navigate to {{status title="Connections & Applications"/}} -> {{status title="Script Configuration"/}} and create a {{status title="New Connection"/}}.
Tobias Wintrich 3.1 38
Tobias Wintrich 4.1 39 Enter the suitable example script according to your environment and file format in the "Script" section.
Tobias Wintrich 3.1 40
Tobias Wintrich 4.1 41 Replace:
Tobias Wintrich 3.1 42
Tobias Wintrich 4.1 43 * #ShareName# with the name of the drive displayed in {{status title="Drive Mapping Configuration"/}}.
44 * #PresentationName# with the name/path of the video file on the medium.
45 * "sliderTimeout" to define how many seconds before the next slide is shown.
Tobias Wintrich 3.1 46
Tobias Wintrich 4.1 47 Other options can be freely configured. In most cases, it’s recommended to enable "Enable Autostart" or "Reconnect after connection ends".
Tobias Wintrich 3.1 48
Tobias Wintrich 4.1 49 **PPS File:**
50 A PPS file automatically starts as a presentation and contains information about individual slide timings. This requires only a simple call to the presentation:
Tobias Wintrich 3.1 51
Tobias Wintrich 4.1 52 {{{presentation="/mnt/shares/all/#ShareName#/#PresentationName#"
53 libreoffice --norestore --show "$presentation"
54 }}}
Tobias Wintrich 3.1 55
Tobias Wintrich 4.1 56 **PPTX File:**
57 A PPTX file must be opened using this script. In this example, a keyboard press on the "right arrow" key is simulated every 5 seconds to proceed to the next slide.
Tobias Wintrich 1.1 58
Tobias Wintrich 4.1 59 {{info}}
60 At this point, the ~-~-show command is not used because it causes unexplained long loading times in LibreOffice. Instead, the presentation is started by simulating a press on F5.
61 {{/info}}
Tobias Wintrich 1.1 62
Tobias Wintrich 4.1 63 {{{sliderTimeout=5
64 presentation="/mnt/shares/all/#ShareName#/#PresentationName#"
Tobias Wintrich 1.1 65
Tobias Wintrich 4.1 66 # Start the presentation
67 libreoffice --norestore "$presentation" &
68 sleep 10
Tobias Wintrich 1.1 69
Tobias Wintrich 4.1 70 # Confirm the tip of the day (if it appears)
71 xdotool key "Return"
72 sleep 2
73 xdotool key "F5"
74 }}}