HP ThinPro - Login Screen Customization
10
• %%boot_time%%—Date and time the thin client was last rebooted
• %%df%%—Amount of free disk space on the main USB drive partition
• %%network_speed%%—Speed of the network interface
• %%eth0_mac%%—MAC address of the wired network interface
• %%wlan0_mac%%—MAC address of the wireless network interface
• %%hw_model%%—Thin client model; for example, t620
• %%thinpro_version%%—Thin client software release; for example, 6.0.0
• %%time%%—Date and time the system information was last updated
Custom dynamic tokens
If you to enter dynamic text that does not have a predefined dynamic text element, you can create a new one. Do one of the
following:
• Modify the script /etc/bginfo/bginfo.aux.sh.
• Add a new executable script or program to the directory /etc/bginfo/commands, with the name matching the
string inside the percentage signs.
For instance, you create a new script named /etc/bginfo/commands/timezone. Whenever %%timezone%% is
added to the text elements, the system’s time zone abbreviation (“date+%Z”) is displayed.
Verify that the file is marked executable. If not, it is ignored.
Login dialog box customization
For the Smart Zero configuration, the login dialog box is central to user interaction. For the ThinPro configuration, it is
launched only when a connection is launched and the authentication parameters are not already supplied for the
connection. In both the ThinPro and Smart Zero configurations, it is possible to customize the login dialog box.
Appearance customization
The file desktop.qss in the theme directory contains the customization details about the graphics of the login dialog box.
The format of the file is a Qt stylesheet. This document does not try to enumerate all the Qt stylesheet options and
possibilities. For more information on the Qt stylesheet customization options, see the Qt documentation.
The QDialog and individual items within it can be customized. Some of the more useful or interesting options are as follows:
• background-color: rgb(255,0,0);—Specifies that the dialog box background is bright red
• min-width: 450px;—Secifies the minimum width of the dialog box
• border-color: black;—Specifies that the dialog box has a black border
• border-width: 3px;—Specifies that the dialog box border is three pixels wide
• font-size: 12pt;—Specifies that the font size is 12 point
• font-color: blue;—Specifies that the font color is blue
• qproperty-text: “Login Here”;—Specifies that Login Here is displayed as the dialog box header
Individual items within the dialog can be customized. For example, the following element adds width to the Log In button
and specifies that it has a bright blue background with black text:
QPushButton#connectButton {
background-color: rgb(102, 147, 190);
color: black;
padding-left: 160px;
padding-right: 160px;
}
Other individual customizable items that might be of interest are listed as follows. (Items shown with an asterisk might be
available only with HP ThinPro 6.0 or later.)
• QLabel#loginIcon*
• QLabel#loginHeader* (previously QLabel#title)










