Preskoči na sadržaj

OmarOS CLI

OmarOS se obično kontrolira prečacima i OmarOS izbornikom (Super + Space). Ali možete ga kontrolirati i putem CLI-ja omaros. To je osobito korisno kada vam AI agent pomaže u prilagodbi ili konfiguraciji.

CLI ima pristup svim internim alatima koji se koriste i putem izbornika i na drugi način. Sve što je dostupno možete vidjeti pokretanjem omaros u terminalu.

Izgleda otprilike ovako:

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

I možete kopati dublje po svakoj grupi:

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

Svaka naredba također prima --help, bilo da pitate cijelu grupu (omaros capture --help) ili jednu naredbu (omaros capture screenshot --help).

Otvaranje izbornika iz terminala

OmarOS izbornik također se može skriptirati, što je zgodno za vaše vlastite poveznice tipki. omaros menu otvara ga u korijenu, a izravno možete skočiti na bilo koju točku u stablu imenovanjem: omaros menu summon style.theme ide ravno na birač tema, omaros menu toggle system otvara izbornik sustava i ponovno ga zatvara ako je već otvoren, a omaros menu close ga sprema.