[PR #533] [CLOSED] Kiosk mode #587

Closed
opened 2026-02-28 14:33:32 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jpochyla/psst/pull/533
Author: @SO9010
Created: 9/25/2024
Status: Closed

Base: mainHead: kiosk-mode


📝 Commits (10+)

📊 Changes

6 files changed (+141 additions, -26 deletions)

View changed files

📝 psst-gui/src/data/config.rs (+2 -0)
📝 psst-gui/src/main.rs (+21 -11)
📝 psst-gui/src/ui/menu.rs (+2 -2)
📝 psst-gui/src/ui/mod.rs (+50 -8)
📝 psst-gui/src/ui/preferences.rs (+57 -3)
📝 psst-gui/src/ui/user.rs (+9 -2)

📄 Description

This is a PR for issue #528. It is essentially done and can be run by adding the system command psst-gui -- --k or psst-gui -- --kiosk to run in kiosk mode.

What I have implemented is that it opens everything in full screen without window decorations. Additionally, the settings are shown directly after logging in with a button to close it, so the settings are set but cannot be changed as I removed the button to access settings.

I have it so that when this kiosk mode is enabled, the keyboard shortcuts don't work (even though they also only work on Mac), and it cannot be exited in this way.

I think that the keyboard shortcuts to access the desktop need to be done on the system level because I can't interrupt things like clicking the super key. Correct me if I'm wrong. If I'm not, this should be ready to be merged with the MR with @jacksongoode's approval.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jpochyla/psst/pull/533 **Author:** [@SO9010](https://github.com/SO9010) **Created:** 9/25/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `kiosk-mode` --- ### 📝 Commits (10+) - [`2ba48fb`](https://github.com/jpochyla/psst/commit/2ba48fbc14fa5f276ec7e012b8e7d1ce768a22be) Initial commit - [`f40c12c`](https://github.com/jpochyla/psst/commit/f40c12cd8abf823516c940138a676ca279875c5e) add extra - - [`1084426`](https://github.com/jpochyla/psst/commit/1084426b17a86b19afec89e4dceeb414b07d815a) Fix so macOS can run kiosk - [`b7bab6a`](https://github.com/jpochyla/psst/commit/b7bab6ae3d12890e8d06cea29bb95c39b06dbbaa) This should make preferences large - [`5f408f6`](https://github.com/jpochyla/psst/commit/5f408f6caf0c7863caaa5e4bd5feeee884209307) Change line of where resizeable is - [`3c437b3`](https://github.com/jpochyla/psst/commit/3c437b3d3309994c478f13dcbf80045497c21c9d) Make preferences and log in small, force preference to stay always on top - [`f57ecf8`](https://github.com/jpochyla/psst/commit/f57ecf8f2b3b4873ab4ddda20fe508e6bb9c9018) test - [`d6da48e`](https://github.com/jpochyla/psst/commit/d6da48ef5a830aedec1df0d19b3e35ea82e61a89) Small fixes - [`0fc4377`](https://github.com/jpochyla/psst/commit/0fc437754c845dfb80252827f140249a73b35226) Linting - [`68d02f5`](https://github.com/jpochyla/psst/commit/68d02f55a50f45ad0e05eee883cab0ccd3401ecb) Fixup linting issue ### 📊 Changes **6 files changed** (+141 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `psst-gui/src/data/config.rs` (+2 -0) 📝 `psst-gui/src/main.rs` (+21 -11) 📝 `psst-gui/src/ui/menu.rs` (+2 -2) 📝 `psst-gui/src/ui/mod.rs` (+50 -8) 📝 `psst-gui/src/ui/preferences.rs` (+57 -3) 📝 `psst-gui/src/ui/user.rs` (+9 -2) </details> ### 📄 Description This is a PR for issue #528. It is essentially done and can be run by adding the system command psst-gui -- --k or psst-gui -- --kiosk to run in kiosk mode. What I have implemented is that it opens everything in full screen without window decorations. Additionally, the settings are shown directly after logging in with a button to close it, so the settings are set but cannot be changed as I removed the button to access settings. I have it so that when this kiosk mode is enabled, the keyboard shortcuts don't work (even though they also only work on Mac), and it cannot be exited in this way. I think that the keyboard shortcuts to access the desktop need to be done on the system level because I can't interrupt things like clicking the super key. Correct me if I'm wrong. If I'm not, this should be ready to be merged with the MR with @jacksongoode's approval. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:33:32 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/psst#587
No description provided.