Wallpaper

As of Relution 5.33, the Wallpaper configuration is available for Android Enterprise and Android Classic/Legacy. This allows setting an image for the home screen that appears on devices after applying the policy. The policy also enables adding text (including placeholders) to display dynamic text on the wallpaper – from Relution 26.5.5 to 27.0.1 only if text output is enabled on the server (see below).

Android Enterprise requires Relution Companion version 1.18.

Android Classic requires Relution Companion version 5.37.

The Wallpaper configuration sets the image but does not prevent users from changing it on the device.

From Relution 26.5.5 to 27.0.1, text output on wallpapers is disabled by default: devices receive the image without text, even though the portal still shows the Text on wallpaper field. On self-hosted servers running these versions, it is enabled via relution.wallpaper.text-rendering-enabled: true in application.yml or the environment variable RELUTION_WALLPAPER_TEXTRENDERINGENABLED=true and applies to all platforms after a server restart. As of Relution 27.0.2, text output is enabled by default again and the setting has been removed. Devices that previously received the image without text may only show the text after the policy has been applied again.

Configuration

One Wallpaper configuration is possible per policy. When it is created, the form is titled Add wallpaper; when it is edited, Edit wallpaper. The General section contains the following fields:

FieldDescriptionDefault
Text on wallpaperOptional text placed on the image, which may span several lines. Placeholders are resolved per device. The text appears in the center of the image; the font size depends on the image size and the length of the text. Without text, the device receives the uploaded image unchanged. The server cannot add text to images in formats such as WebP or HEIC; the device then receives them without text.empty
Text colorHex color code, e.g. #000000 for black, optionally via the color picker next to the field. A value in any other format is marked as an error, and the configuration cannot be saved.#ffffff
WallpaperThe image itself (mandatory), uploaded via Select or by drag and drop onto the area below the button. The maximum file size is 3 MB by default; on self-hosted servers, it can be adjusted via the parameter relution.wallpaper.max-file-size.android. The portal shows the applicable limit in brackets after the field label. A larger file is not uploaded; the portal then displays an error message. After the upload, the portal shows a preview and the file name; the icon next to the file name removes the image again.–

If an image that has already been saved is larger than the permitted file size, for example after the limit has been reduced, a notice above the form points this out. The configuration can then only be saved after a smaller image has been uploaded.

The collapsible Available placeholders area below the form lists all placeholders that can be used in the Text on wallpaper field: user placeholders such as ${user.email} and device placeholders such as ${device.name} or ${device.serialnumber}. Clicking an entry copies it to the clipboard. Functions such as substrings or default values are described in Advanced placeholders →, background information on text output in Text on wallpapers →.

Example: device name on the wallpaper

Warehouse tablets are to show their device name on the home screen so that they can be clearly identified during stocktaking and support:

  • Text on wallpaper: ${device.name}
  • Text color: #000000
  • Wallpaper: warehouse-light.png (light PNG image, smaller than 3 MB)

After the policy has been applied, each device shows the image with its own device name in black.

How helpful was this article?