[OneDev #22] feat(workflow): auto-switch DisplayFusion layout based on local vs remote session #22
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?
Imported from OneDev issue #22 (id 35428)
Original project: internal-joseph
Original state: Open
Original submitterId: 5
Original submitDate: 2026-04-20T14:17:05.895+00:00
Original lastActivity: {'date': '2026-04-20T14:17:05.895+00:00', 'description': 'opened', 'userId': 5}
Original fields:
Idea
Detect whether the current Windows session is local (physical desk login) or remote (RustDesk, Sunshine, or RDP active) and automatically apply the matching DisplayFusion monitor profile/layout. Default layout triggers at morning login; remote layout switches in when a remote session is detected.
Why
Eliminates manual layout switching every time you go remote or return to desk — wrong layout wastes screen real estate and requires a manual correction every time.
Open questions
qwinstasession type check, or Windows SessionId API?