Skip to content

Use the first available session config as default#245

Open
wolneykien wants to merge 1 commit intoubuntu:mainfrom
wolneykien:announce/default-session
Open

Use the first available session config as default#245
wolneykien wants to merge 1 commit intoubuntu:mainfrom
wolneykien:announce/default-session

Conversation

@wolneykien
Copy link

If there is no "default.desktop" session then use the first available .desktop file as default.

@robert-ancell
Copy link
Collaborator

The concern about this is:

  • A configuration failure can lead to a session being chosen that was not configured to be allowed. This might break a system which has intentionally limited which sessions are available.
  • This is a behaviour change, which might break an existing install. To avoid this a configuration option is usally used to opt-in to this new behaviour.

If there is no "default.desktop" session then use the first available
.desktop file as default.

Signed-off-by: Paul Wolneykien <manowar@altlinux.org>
@wolneykien wolneykien force-pushed the announce/default-session branch from 2a31808 to cb38386 Compare November 18, 2022 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants