LEANBACK_11/bginfo/bginfo.md
2025-05-09 11:59:07 -07:00

58 lines
No EOL
2 KiB
Markdown

# BGInfo Command-Line Arguments
BGInfo uses command-line switches to control its behavior. Here's a list of all available arguments:
* **`[configuration_file]`**:
* Specifies the path to the BGInfo configuration file (`.bgi`).
* If omitted, BGInfo uses the default configuration.
* Example: `bginfo.exe "C:\MyBGInfo\myconfig.bgi"`
* **`/timer:x`**:
* Sets the update interval in seconds.
* `x` represents the number of seconds.
* Example: `/timer:60` (updates every 60 seconds).
* **`/silent`**:
* Runs BGInfo in silent mode, without displaying the configuration dialog.
* **`/taskbar`**:
* Displays the BGInfo icon in the system tray (taskbar notification area).
* **`/popup`**:
* Displays the bginfo information in a popup window.
* **`/all`**:
* Applies the BGInfo configuration to all connected monitors.
* **`/display:n`**:
* Applies the BGInfo configuration to a specific display.
* `n` is the display number (starting from 1).
* Example: `/display:2` (applies to the second display).
* **`/position:x,y`**:
* Sets the position of the BGInfo text on the desktop.
* `x` and `y` are the coordinates in pixels.
* Example: `/position:100,200`.
* **`/fontsize:n`**:
* Sets the font size of the BGInfo text.
* `n` is the font size.
* Example: `/fontsize:12`.
* **`/fontname:"fontname"`**:
* Sets the font name of the BGInfo text.
* `"fontname"` is the name of the font, enclosed in double quotes.
* Example: `/fontname:"Arial"`.
* **`/color:rrggbb`**:
* Sets the font color of the BGInfo text.
* `rrggbb` is the hexadecimal RGB color code.
* Example: `/color:0000FF` (blue).
* **`/background:filename`**:
* Sets the background image for the BGInfo text.
* `filename` is the full path to the image, enclosed in double quotes if it contains spaces.
* Example: `/background:"C:\path\to\image.jpg"`.
* **`/config`**:
* Opens the configuration dialog, even if the `/silent` switch is used.