Bug 7699 - Profile name from xsession file not shown
Summary: Profile name from xsession file not shown
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Misc (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.13.0
Assignee: Pierre Ossman
URL:
Keywords: prosaic, wilsj_tester
Depends on:
Blocks:
 
Reported: 2021-04-30 12:59 CEST by Pierre Ossman
Modified: 2021-05-03 15:59 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2021-04-30 12:59:35 CEST
If you configure a minimal profile such as this:

> [/profiles/foobar]
> xdg_sessions=foobar

Then the details should come from /usr/share/xsessions/foobar.desktop.

This mostly works, except for the displayed name of the profile. Instead we show the folder name ("foobar") in this case.

Can be easily tested by removing the "name" settings from one of our predefined profiles.
Comment 2 Pierre Ossman cendio 2021-05-03 10:08:01 CEST
Fixed and works now. Tested on RHEL 8 with GNOME profiles.
Comment 3 William Sjöblom cendio 2021-05-03 15:24:44 CEST
Tested on Fedora 33 with GNOME profiles and a minimal custom `.desktop' file as seen below. Everything seems to work as intended!

> [Desktop Entry]
> Name=A really good name
> Exec=/usr/bin/gnome-session
Comment 4 William Sjöblom cendio 2021-05-03 15:59:22 CEST
Clarification to comment 3: Tested on Jenkins build #2029.

Note You need to log in before you can comment on or make changes to this bug.