-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvbox_windows_app_launcher.conf.sample
More file actions
23 lines (22 loc) · 1.51 KB
/
Copy pathvbox_windows_app_launcher.conf.sample
File metadata and controls
23 lines (22 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Configuration for vbox_windows_app_launcher
# Put this file as $XDG_CONFIG_HOME/vbox_windows_app_launcher.conf (default ~/.config/...)
VM_NAME="Win11" # Name of your VirtualBox VM
VM_USER="USERNAME" # Username in the VM
VM_PASSWORD="PASSWORD" # Password for the VM user
# Path mapping (optional):
# - If you set NO VM_SHARE_PATH / VM_DRIVE_LETTER: the script discovers drive letters from the guest ("net use" in the VM). Add shared folders in VirtualBox (VM → Settings → Shared Folders) and map them to drive letters in Windows (e.g. G:, H:).
# - If you set VM_SHARE_PATH and VM_DRIVE_LETTER (and optional _2, _3, …): only these paths are used; no autodiscovery. Use this when you want fixed drive letters.
# VM_SHARE_PATH="/path/on/host/to/share1"
# VM_DRIVE_LETTER="G:"
# VM_SHARE_PATH_2="/path/on/host/to/share2"
# VM_DRIVE_LETTER_2="H:"
AUTO_FOCUS=false # Set to true to auto-focus the VM window after opening a file
# Notification: SCRIPT_TIMEOUT is legacy (used to derive NOTIFICATION_TIMEOUT if unset). NOTIFICATION_TIMEOUT=display time in ms (0 = server default / until dismissed; script only blocks when AUTO_FOCUS=true).
SCRIPT_TIMEOUT=6
NOTIFICATION_TIMEOUT=$((SCRIPT_TIMEOUT * 1000))
# Optional (defaults shown):
# VM_START_TIMEOUT=300
# VM_START_POLL_INTERVAL=5
# ERROR_NOTIFICATION_TIMEOUT=15000
# NOTIFICATION_FOCUS_DELAY=0 # Seconds to wait before focusing VM when AUTO_FOCUS=true (0 = focus immediately; set 1–2 for a short pause)
# VM_POWERSHELL_EXE="C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"