Kiosk: --kiosk-hybrid keeps the desktop and locks only leaving the session
CI / test (push) Successful in 3m49s
CI / test (push) Successful in 3m49s
Panel, launcher, dock, desktop module and shortcuts stay; Log out and power actions are refused while locked. Admin escape and chandra-ctl kiosk work as in the strict kiosk. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hgvjzw8hHirxRsXSsE
This commit is contained in:
7 files changed
+115
-15
No files matched your search
@@ -260,7 +260,7 @@ pub fn ChandraCompositor::control_command(self : ChandraCompositor, line : Strin
|
||||
match (self.kiosk, arg) {
|
||||
(None, _) => (["error not in kiosk mode (start with --kiosk)"], false)
|
||||
(Some(k), "status") =>
|
||||
(["ok " + (if k.locked { "locked" } else { "unlocked" }) + " starts=" + k.starts.to_string() + " cmd=" + k.cmd], true)
|
||||
(["ok " + (if k.locked { "locked" } else { "unlocked" }) + (if k.hybrid { " hybrid" } else { "" }) + " starts=" + k.starts.to_string() + " cmd=" + k.cmd], true)
|
||||
(Some(_), "lock") => {
|
||||
ignore(self.set_kiosk_locked(true))
|
||||
(["ok locked"], true)
|
||||
|
||||
Reference in new issue
Block a user