配置框架应用程序//h1>
可以在应用程序的启动(命令行参数)以及通过配置文件/Windows注册表密钥上配置框架应用程序行为。//p>
Command Line Arguments
Command line arguments or “launch arguments” are parameters that are automatically passed to a program (via command line) to modify its behavior. Some organizations may choose to use these modifiers to better fit their use case. We will start by providing a list of the available command line arguments and then explain how to configure them based on your operating system./p>
要使用某些命令行参数启动帧应用程序,请先在本地计算机上打开命令提示/终端。指定框架应用程序的文件路径(包括可执行文件)。文件路径后附加您的命令行参数。//p>
您可以使用指定参数启动框架应用程序。使用下表了解命令行参数选项及其语法。//p>
- Linux/li>
- macOS/li>
- 视窗//li>
Command Line Arguments/th> | Description and Syntax Example/th> |
---|---|
disable-mouse-lock/code> |
By default, Frame App will ignore mouse forward/back button events. If this argument is used, Frame App will respond to mouse forward/back button events. When a user is in session, these mouse events can cause the user to exit their session accidentally. 例子://em> 。/Frame --disable-mouse-lock/code> |
displays-auto-arrange/code> |
Frame App将使用配置为匹配本地环境的虚拟显示器启动。 例子://em> 。/Frame --displays-auto-arrange/code> |
kiosk/code> |
指示框架应用在全屏上启动,也称为“售货亭模式”。 例子://em> 。/Frame --kiosk/code> |
URL//code> |
就像在Frame应用程序的“首选项”页面上指定启动URL。 例子://em> ./frame -url = console.nutanix.com//code> |
X11窗口//code> |
从GTK(默认)切换到X11 Windows。该参数应与HP ThinPro OS客户端一起使用。 例子://em> ./frame -x11-window//code> |
Command Line Arguments/th> | Description and Syntax Example/th> |
---|---|
disable-mouse-lock/code> |
By default, Frame App will ignore mouse forward/back button events. If this argument is used, Frame App will respond to mouse forward/back button events. When a user is in session, these mouse events can cause the user to exit their session accidentally. 例子://em> open /Applications/Frame.app --args --disable-mouse-lock/code> |
displays-auto-arrange/code> |
Frame App将使用配置为匹配本地环境的虚拟显示器启动。。 例子://em> open /Applications/Frame.app --args --displays-auto-arrange/code> |
kiosk/code> |
指示框架应用在全屏上启动,也称为“售货亭模式”。。 例子://em> open /applications /frame.app -args -kiosk//code> |
URL//code> |
就像在Frame应用程序的“首选项”页面上指定启动URL。。 例子://em> open /Applications/Frame.app --args --url=console.nutanix.com/code> |
Command Line Arguments/th> | Description and Syntax Example/th> |
---|---|
disable-mouse-lock/code> |
By default, Frame App will ignore mouse forward/back button events. If this argument is used, Frame App will respond to mouse forward/back button events. When a user is in session, these mouse events can cause the user to exit their session accidentally. 例子://em> "C:\Program Files\Frame\Frame.exe" -disable-mouse-lock/code> |
displays-auto-arrange/code> |
Frame App将使用配置为匹配本地环境的虚拟显示器启动。。 例子://em> “ C:\ Program Files \ Frame \ Frame.exe” -displays-auto-arrange//code> |
kiosk/code> |
指示框架应用在全屏上启动,也称为“售货亭模式”。。 例子://em> "C:\Program Files\Frame\Frame.exe" -kiosk/code> |
URL//code> |
就像在Frame应用程序的“首选项”页面上指定启动URL。。 例子://em> "C:\Program Files\Frame\Frame.exe" -url=console.nutanix.com/code> |
User Preference Policies
Frame Administrators can enforce user preference policies across all installations of Frame App for Linux, Frame App for macOS, and/or Frame App for Windows through a preferences.conf file (Linux), plist (macOS), and group policy objects (Windows), respectively./p>
- Linux/li>
- macOS/li>
- 视窗//li>
For Frame App for Linux 6.10 and greater, Frame administrators can control user preferences by creating and saving a configuration file at the location The conf file contains name-value pairs in the format For Frame App for macOS 6.10 and greater, Frame administrators can control user preferences by creating and saving a plist file at the location PLIST文件包含格式的名称值对://p>
前表中描述了支持的密钥和关联值的列表。一个示例PLIST文件将是://p>
Windows 6.3(以及更大)的框架应用程序使Windows管理员可以通过组策略对象(GPO)设置用户首选项。这允许Windows管理员使用Windows GPO为所有用户或特定用户更改这些偏好。//p>
Administrators can update Frame App user preferences either in 框架应用程序functions similarly to web browsers. Frame App contains a local cache that saves cookies, session tokens, and specific user preferences (e.g., automatically use all local displays). The cache can be deleted manually when required./p>
根据安装了哪个帧应用程序的操作系统,请按照下面的步骤操作。代替 The removal of the local cache will not remove the Startup URL value as this is stored either in the Preferences database or in the registry (for Windows)./p>
Frame App在以下位置中在SQLite数据库文件中保留其首选项://p>
If Frame App was installed for a single user:/p>
如果为所有用户安装框架应用程序://p>
Frame App将其日志写入以下位置。代替/etc/nutanix-frame/preferences.conf/code>。//p>
KEY/code>=
价值//code>。Spaces will be ignored. The list of supported keys and associated values are described in the following table./p>
关键名称//th>
Description/th>
Value(s)/th>
ADVANCED_USB/code>
框架应用程序will enable Advanced USB support when this argument is set to在//strong>。
Default Value:在//code>
在//code>或者
OFF/code>
check_for_updates_on_startup//code>
框架应用程序will check for updates on startup when this argument is set to在//strong>。If there is an update available, Frame App will ask the user if they wish to download and install the update.
Default Value:在//code>
在//code>或者
OFF/code>
CLEAR_CACHE_ON_STARTUP/code>
框架应用程序will clear the local cache on startup when this argument is set to在//strong>。
Default Value:OFF/code>
在//code>或者
OFF/code>
SEND_ERROR_REPORTS/code>
框架应用程序will not send error reports to Nutanix when this argument is set toOFF/strong>。
Default Value:在//code>
在//code>或者
OFF/code>
STARTUP_URL/code>
Designates the startup Uniform Resource Location (URL).
Default Value:https://console.nutanix.com//code>
URL/td>
STARTUP_URL/span>=/span>https://console.nutanix.com//span>
CLEAR_CACHE_ON_STARTUP/span>=/span>在//span>/USERS/SHARED/NUTANIX-FRAME/PREFERESS.PLIST//code>。//p>
</span>key/span>>/span>VALID_KEY/span>///span>key/span>>/span>
</span>string/span>>/span>VALID_VALUE/span>///span>string/span>>/span>/span>
<!//span>Doctype//span>plist/span>PUBLIC/span>"-//Apple//DTD PLIST 1.0//EN"/span>“ http://www.apple.com/dtds/propertylist-1.0.dtd”//span>>/span>
</span>plist/span>version/span>=/span>"/span>1.0//span>"/span>>/span>
</span>dict//span>>/span>
</span>key/span>>/span>STARTUP_URL/span>///span>key/span>>/span>
</span>string/span>>/span>https://console.nutanix.com//span>///span>string/span>>/span>
</span>key/span>>/span>CLEAR_CACHE_ON_STARTUP/span>///span>key/span>>/span>
</span>string/span>>/span>在//span>///span>string/span>>/span>
///span>dict//span>>/span>
///span>plist/span>>/span>HKEY_LOCAL_MACHINE/code>或者
HKEY_CURRENT_USER/code>。If user preference registry keys are set in
HKEY_LOCAL_MACHINE/code>, those user preferences will take precedence as they will apply to all users. The relative path to the registry keys is
\SOFTWARE\Nutanix\Frame\Preferences/code>。//p>
关键名称//th>
Description/th>
类型//th>
Value(s)/th>
ADVANCED_USB/code>
框架应用程序will enable Advanced USB support when this argument is set to在//strong>。
Default Value:在//code>
reg_sz//td>
在//code>或者
OFF/code>
check_for_updates_on_startup//code>
框架应用程序will check for updates on startup when this argument is set to在//strong>。If there is an update available, Frame App will ask the user if they wish to download and install the update.
Default Value:在//code>
reg_sz//td>
在//code>或者
OFF/code>
CLEAR_CACHE_ON_STARTUP/code>
框架应用程序will clear the local cache on startup when this argument is set to在//strong>。
Default Value:OFF/code>
reg_sz//td>
在//code>或者
OFF/code>
SEND_ERROR_REPORTS/code>
框架应用程序will not send error reports to Nutanix when this argument is set toOFF/strong>。
Default Value:在//code>
reg_sz//td>
在//code>或者
OFF/code>
STARTUP_URL/code>
Designates the startup Uniform Resource Location (URL).
Default Value:https://console.nutanix.com//code>
reg_sz//td>
URL/td>
STARTUP_URL/span>=/span>https://console.nutanix.com//span>
CLEAR_CACHE_ON_STARTUP/span>=/span>在//span>
Local Cache
$用户//code>用用户名称。//p>
/home//span>$用户//span>/.Nutanix/Frame/cache/span>
/用户///span>$用户//span>/Library/Application Support/com.nutanix.frame/cache/span>
C:\用户\//span>$用户//span>\AppData\Nutanix\Frame\cache/span>
Preferences Database
/home//span>$用户//span>/.Nutanix/Frame/preferences.sqlite/span>
/用户///span>$用户//span>/library/应用程序支持/com.nutanix.frame/preverences.sqlite//span>
C:/span>\/span>Users/span>\/span>$用户//span>\/span>AppData/span>\/span>Nutanix/span>\/span>Frame/span>\/span>preferences.sqlite/span>
C:/span>\/span>ProgramData//span>\/span>Nutanix/span>\/span>Frame/span>\/span>
Log Location
username/code>用用户名称。//p>
/home//span>$用户//span>/.Nutanix/Frame//span>
/用户///span>$用户//span>/Library/Application Support/com.nutanix.frame//span>
C:\用户\//span>$用户//span>\AppData\Nutanix\Frame\logs/span>