Vai al contenuto

OmarOS CLI

OmarOS di solito si controlla tramite le scorciatoie e il menu OmarOS (Super + Space). Ma puoi anche controllarlo tramite la CLI omaros. Questo è particolarmente utile quando hai un agente AI che lavora con te su personalizzazione o configurazione.

La CLI ha accesso a tutti gli strumenti interni usati sia tramite il menu che altrimenti. Puoi vedere tutto ciò che è disponibile eseguendo omaros nel terminale.

Ha un aspetto simile a questo:

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

E puoi approfondire ogni gruppo:

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

Ogni comando accetta anche --help, che tu chieda un intero gruppo (omaros capture --help) o un singolo comando (omaros capture screenshot --help).

Aprire il menu da terminale

Anche il menu OmarOS è scriptabile, il che è comodo per le tue combinazioni. omaros menu lo apre alla radice, e puoi saltare dritto a qualsiasi punto dell'albero nominandolo: omaros menu summon style.theme va dritto al selettore del tema, omaros menu toggle system apre il menu di sistema e lo chiude di nuovo se è già aperto, e omaros menu close lo mette via.