Μετάβαση στο περιεχόμενο

OmarOS CLI

Το OmarOS συνήθως ελέγχεται μέσω των συντομεύσεων και του μενού OmarOS (Super + Space). Αλλά μπορείς επίσης να το ελέγξεις μέσω του omaros CLI. Αυτό είναι ιδιαίτερα βοηθητικό όταν έχεις έναν πράκτορα AI να δουλεύει μαζί σου στην προσαρμογή ή διαμόρφωση.

Το CLI έχει πρόσβαση σε όλα τα εσωτερικά εργαλεία που χρησιμοποιούνται τόσο μέσω του μενού όσο και διαφορετικά. Μπορείς να δεις όλα όσα είναι διαθέσιμα τρέχοντας το omaros στο τερματικό.

Μοιάζει κάπως έτσι:

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

Και μπορείς να βουτήξεις βαθύτερα σε κάθε ομάδα:

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

Κάθε εντολή δέχεται επίσης το --help, είτε ρωτήσεις μια ολόκληρη ομάδα (omaros capture --help) είτε μια μοναδική εντολή (omaros capture screenshot --help).

Άνοιγμα του μενού από το τερματικό

Το μενού OmarOS είναι επίσης scriptable, πράγμα βολικό για δικές σου αντιστοιχίσεις πλήκτρων. Το omaros menu το ανοίγει στη ρίζα, και μπορείς να πηδήξεις κατευθείαν σε οποιοδήποτε σημείο στο δέντρο ονομάζοντάς το: το omaros menu summon style.theme πηγαίνει κατευθείαν στον επιλογέα θέματος, το omaros menu toggle system ανοίγει το μενού συστήματος και το κλείνει ξανά αν είναι ήδη επάνω, και το omaros menu close το απομακρύνει.