OmarOS CLI¶
Az OmarOSt általában a billentyűparancsokkal és az OmarOS menüvel (Super + Space) vezérlik. De az omaros CLI-n keresztül is vezérelheted. Ez különösen hasznos, amikor egy AI-agenttel dolgozol együtt testreszabási vagy konfigurációs feladatokon.
A CLI hozzáfér az összes belső eszközhöz, amelyet mind a menün keresztül, mind máshol használnak. Mindent láthatsz, ami rendelkezésre áll, ha terminálban futtatod az omaros parancsot.
Valahogy így néz ki:
~ ❯ omaros
OmarOS command center
Usage:
omaros <command> [args...]
omaros commands [--all] [--json] [--check]
omaros <group> --help
omaros <group> <command> --help
Common commands:
omaros update Update OmarOS and system packages
omaros theme list List available themes
omaros theme set <name> Apply a theme
omaros font list List available fonts
omaros screenshot Take a screenshot
omaros debug Print debugging information
Groups:
audio Audio input and output controls
bar OmarOS shell bar layout and settings
battery Battery status helpers
bluetooth Bluetooth device controls
branch OmarOS git branch management
branding About and screensaver branding
brightness Display and keyboard brightness
capture Screenshots and screen recording
channel OmarOS release channel management
clipboard Clipboard helpers
cmd Command and shortcut helpers
config System configuration helpers
debug Diagnostics and support logs
...
És minden csoportban mélyebbre merülhetsz:
~ ❯ omaros capture
Capture commands — Screenshots and screen recording:
omaros capture qr Decode a QR code from a screenshot region
omaros capture screenrecording [--fullscreen] [--with-desktop-audio] [--with-microphone-audio] [--with-webcam] [--webcam-device=<device>] [--webcam-size=<small|medium|large>] [--resolution=<size>] [--stop-recording] Start or stop screen recording
omaros capture screenrecording with webcam Pick a webcam and start a screen recording with it
omaros capture screenshot [smart|region|windows|fullscreen|scroll] [copy|save] Take a screenshot
omaros capture text Extract text from a screenshot region with OCR
omaros capture webcam resize <smaller|larger|reset|small|medium|large> Resize the active webcam recording overlay
Minden parancs elfogadja a --help kapcsolót is, akár egy egész csoporttól kérdezed (omaros capture --help), akár egyetlen parancstól (omaros capture screenshot --help).
A menü megnyitása a terminálból¶
Az OmarOS menü szkriptelhető is, ami jól jön a saját billentyűhozzárendeléseidhez. Az omaros menu a gyökérnél nyitja meg, és a fában egyenesen bármely pontra ugorhatsz, ha megnevezed: az omaros menu summon style.theme egyenesen a témaválasztóhoz megy, az omaros menu toggle system megnyitja a rendszermenüt, és ismét bezárja, ha már nyitva van, az omaros menu close pedig elteszi.