Skip to content

CLI ya OmarOS

OmarOS kwa kawaida hudhibitiwa kupitia mikato ya vitufe na menyu ya OmarOS (Super + Space). Lakini unaweza pia kuidhibiti kupitia CLI ya omaros. Hii inasaidia hasa unapokuwa na ajenti wa AI anayefanya kazi nawe katika kubinafsisha au kusanidi.

CLI ina ufikiaji wa zana zote za ndani zinazotumiwa kupitia menyu na vinginevyo. Unaweza kuona kila kinachopatikana kwa kuendesha omaros katika terminali.

Inaonekana kama hivi:

~ ❯ 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
  ...

Na unaweza kuchimba zaidi katika kila kundi:

~ ❯ 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

Kila amri huchukua --help pia, iwe unauliza kundi zima (omaros capture --help) au amri moja (omaros capture screenshot --help).

Kufungua menyu kutoka terminali

Menyu ya OmarOS inaweza pia kuandikwa kwa hati, ambayo ni muhimu kwa mikato yako mwenyewe ya vitufe. omaros menu huifungua kwenye mzizi, na unaweza kuruka moja kwa moja hadi hatua yoyote katika mti kwa kuitaja: omaros menu summon style.theme huenda moja kwa moja hadi kichaguzi cha mandhari, omaros menu toggle system hufungua menyu ya mfumo na kuifunga tena ikiwa tayari iko wazi, na omaros menu close huiweka mbali.