Bug 2252900 - imsettings needs to be updated for cinnamon 6.0
Summary: imsettings needs to be updated for cinnamon 6.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: imsettings
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-05 07:00 UTC by Leif Liddy
Modified: 2023-12-21 13:55 UTC (History)
3 users (show)

Fixed In Version: imsettings-1.8.8-1.fc40
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-12-21 13:54:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Leif Liddy 2023-12-05 07:00:46 UTC
I installed cinnamon 6.0 from the Fedora rawhide repo. So this version of cinnamon has (experimental) support for wayland. So when I log into a cinnamon wayland session, I see the following in ~/.cache/imsettings/log

....
DESKTOP: cinnamon-wayland-wayland (which looks a bit redundant w/ wayland listed twice)
GUESS_DESKTOP: $XDG_SESSION_TYPE
```

So there's two issues here:
1. I think imsettings (which is X11-orientated) should probably be ignoring cinnamon-wayland altogether which means adding this entry to none.conf

ie
/etc/X11/xinit/xinput.d/none.conf
....
IMSETTINGS_IGNORE_SESSION=GNOME,GNOME-wayland,KDE-wayland,cinnamon-wayland-wayland

2. Why is the value of DESKTOP cinnamon-wayland-wayland and not just cinnamon-wayland?

Here are the XDG-related variables and associated values from a cinnamon wayland session.

env | grep XDG
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SEAT=seat0
XDG_SESSION_DESKTOP=cinnamon-wayland
XDG_SESSION_TYPE=wayland
....

My guess is that imsettings is combining XDG_SESSION_DESKTOP with XDG_SESSION_TYPE to form cinnamon-wayland-wayland -- but I'm not sure. 

I'm basically looking for 
1. clarification on whether cinnamon wayland should be ignored by imsettings
2. whether or not the DESKTOP value should resolve to cinnamon-wayland-wayland vs just cinnamon-wayland.

Thanks

Reproducible: Always

Steps to Reproduce:
Install cinnamon 6.0 from the Fedora rawhide repo. 
Login to a cinnamon rawhide session

Comment 1 Neal Gompa 2023-12-05 07:56:48 UTC
> XDG_SESSION_DESKTOP=cinnamon-wayland

Upstream cinnamon should probably not add a suffix for wayland to this variable, since the session-type variable already tells you this information.

Comment 2 Leif Liddy 2023-12-05 15:39:31 UTC
Ok, I submitted an upstream bug report for that.
https://github.com/linuxmint/wayland/issues/6

Comment 3 Fedora Update System 2023-12-21 13:50:35 UTC
FEDORA-2023-9c5ccd93b0 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-9c5ccd93b0

Comment 4 Fedora Update System 2023-12-21 13:54:10 UTC
FEDORA-2023-9c5ccd93b0 has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Akira TAGOH 2023-12-21 13:55:29 UTC
Fixed this in 1.8.8-1. it should works for both with/without the above duplicate "wayland" name.


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