mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-31 01:48:04 +03:00
Fixed Linux applet to "show" wallpapers if required
This commit is contained in:
parent
c81f162b90
commit
7887b7f3cc
@ -45,7 +45,13 @@ public class LinuxApplet implements OsApplet {
|
||||
boolean redirectPrinters = params.get("pr").equals("1");
|
||||
boolean redirectAudio = params.get("au").equals("1");
|
||||
boolean compression = params.get("cr").equals("1");
|
||||
boolean wallpaper = false;
|
||||
|
||||
if( params.get("sw") != null )
|
||||
{
|
||||
wallpaper = params.get("sw").equals("1");
|
||||
}
|
||||
|
||||
|
||||
// Notifies to broker the
|
||||
util.notifyHostname(baseUrl, params.get("is"));
|
||||
@ -123,6 +129,9 @@ public class LinuxApplet implements OsApplet {
|
||||
if( redirectSerials )
|
||||
exec.add("-rcomport:COM1=/dev/ttyS0");
|
||||
|
||||
if( wallpaper )
|
||||
exec.add("-xl"); // Adds "Lan" experience
|
||||
|
||||
if( redirectPrinters ) // Will have to look at local cups to find printer
|
||||
{
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user