Back to Noctalia

Shell

v5-ipc-shell.md

latest2.9 KB
Original Source

Shell

These commands control shell state, logging, settings windows, the window switcher, and session actions.

General

Section titled “General”

ActionCommandDescription
Print statusstatusPrint basic shell state as JSON.
Show log levellog-level-statusPrint the current console log level.
Set log levellog-level-set debugSet the console log level for the running session. Use debug, info, warn, or error.
Reload configconfig-reloadReload the merged Noctalia config stack immediately.
Open settingssettings-open [context]Open or focus the graphical settings window, optionally at a specific section (e.g. bar).
Close settingssettings-closeClose the graphical settings window.
Toggle settingssettings-toggle [context]Open or close the graphical settings window, optionally at a specific section.

Set NOCTALIA_LOG_LEVEL to debug, info, warn, or error before startup to choose the initial console log level. The default is info; the file log remains unfiltered.

Window Switcher

Section titled “Window Switcher”

Alt+Tab-style overlay: a dimmed fullscreen layer with a centered grid of open windows (application icon, title, optional app name). There is no [shell.window_switcher] configuration block yet - wire your compositor shortcut to the IPC commands below.

ActionCommandDescription
Openwindow-switcherShow the switcher on the preferred monitor (pointer, keyboard focus, or first output).
Closewindow-switcher closeHide the overlay without changing focus. hide is an alias.

Example Hyprland bind:

bind = ALT, Tab, exec, noctalia msg window-switcher

While the overlay is open it takes exclusive keyboard focus on its layer surface:

  • Tab / Shift+Tab - cycle selection
  • Arrow keys - move within the grid (up to five columns)
  • Enter - focus the selected window and close
  • Escape - close without switching
  • Pointer - click a tile to switch; click the close control on a tile to close that window

The window list refreshes while the overlay stays open (new windows, closed windows, and title changes such as Discord channel switches). Selection stays on the same window when its title updates.

Session

Section titled “Session”

ActionCommandDescription
Lock sessionsession lockLock the current session. loginctl lock-session uses the same path when Noctalia is running.
Suspend systemsession suspendSuspend without locking first.
Lock and suspendsession lock-and-suspendLock the session, then suspend once the lock is active.
Log outsession logoutEnd the graphical session (compositor-native when available).
Rebootsession rebootReboot the system.
Shut downsession shutdownShut down the system.