mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 15:35:56 +03:00
[PR #533] [CLOSED] Kiosk mode #587
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#587
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jpochyla/psst/pull/533
Author: @SO9010
Created: 9/25/2024
Status: ❌ Closed
Base:
main← Head:kiosk-mode📝 Commits (10+)
2ba48fbInitial commitf40c12cadd extra -1084426Fix so macOS can run kioskb7bab6aThis should make preferences large5f408f6Change line of where resizeable is3c437b3Make preferences and log in small, force preference to stay always on topf57ecf8testd6da48eSmall fixes0fc4377Linting68d02f5Fixup linting issue📊 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.