Bug 952288

Summary: Find a way to set Adwaita as systemwide cursor theme when installing GNOME DE
Product: [openSUSE] openSUSE Tumbleweed Reporter: Bjørn Lie <zaitor>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Enhancement    
Priority: P5 - None CC: badshah400, bjorn.lie, dimstar, suseROCKS
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Bjørn Lie 2015-10-27 20:35:59 UTC
As of today, any user installing GNOME as DE will still end up with 

DMZ set as system cursor instead of Adwaita.

(do a grep X_MOUSE_CURSOR /etc/sysconfig/windowmanager on your boxes).

Now this is only noticed when users open up yast (and possibly odd 3'rd party apps)

It's rather visually unpleasing, and something we should look into fixing.

The easiest thing to do would probably be to add it to one of our branding packages, or even create a new one if needed.

Ideally we should offer a "system option" in tweak tool, but that will probably be a lot of work.

Patches/fixes welcome everyone.
Comment 1 Atri Bhattacharya 2015-10-28 08:09:34 UTC
Hi Bjorn!
Love the suggestion. I think we might want to make this a part of the Adwaita theme (adwaita-icon-theme) itself. If this sounds okay, or if you suggest some other way, I will take it up.
Comment 2 Dominique Leuenberger 2015-10-28 09:57:00 UTC
Somebody best carefully check what implication this has when running yast inside a KDE session, andd XFCE session, LXDE, Englightenment, IceWM...

Yast basically uses the DMZ icon theme as it runs as root, not as user...

Considering that starting other tasks as root actually does not make them use DMZ, makes me believe that YaST is messing with the cursor on its own.

Is yast the ONLY app that uses DMZ?
Comment 3 Bjørn Lie 2015-10-28 10:27:14 UTC
Yeah we can not use the adwaita package itself, as that can/may be used
by a lot of others.
It has to be a package only we "use".
I never said this was an easy problem to solve. :-)

As for other apps, I have no clue, as I always set the default to
"Adwaita" pretty quickly.

What would be interesting to check is - does yast have "wrong" icon
also in KDE?
Comment 4 Bjørn Lie 2015-11-06 22:24:12 UTC
*** Bug 752314 has been marked as a duplicate of this bug. ***
Comment 5 Atri Bhattacharya 2015-11-07 01:12:22 UTC
(In reply to Dominique Leuenberger from comment #2)
> Somebody best carefully check what implication this has when running yast
> inside a KDE session, andd XFCE session, LXDE, Englightenment, IceWM...
> 
> Yast basically uses the DMZ icon theme as it runs as root, not as user...
> 
> Considering that starting other tasks as root actually does not make them
> use DMZ, makes me believe that YaST is messing with the cursor on its own.
> 
> Is yast the ONLY app that uses DMZ?

Pretty much all Qt apps also use the DMZ theme: tested with VLC, veusz, qt-settings and a few others. Don't worry, these others were promptly uninstalled ;)
Comment 6 Atri Bhattacharya 2015-11-07 01:15:45 UTC
(In reply to Atri Bhattacharya from comment #5)
> (In reply to Dominique Leuenberger from comment #2)
> > Is yast the ONLY app that uses DMZ?
> 
> Pretty much all Qt apps also use the DMZ theme: tested with VLC, veusz,
> qt-settings and a few others. Don't worry, these others were promptly
> uninstalled ;)

To clarify, this was when testing Qt apps from inside a GNOME session [on openSUSE Tumbleweed (20151030) (x86_64)].
Comment 7 Dominique Leuenberger 2021-02-19 20:06:34 UTC
Is that actually still valid on TW/GNOME/Wayland?

i have the feeling this vanished
Comment 8 Bjørn Lie 2021-09-28 18:48:32 UTC
(In reply to Dominique Leuenberger from comment #7)
> Is that actually still valid on TW/GNOME/Wayland?
> 
> i have the feeling this vanished

Indeed this seems to be fixed.
On a new install, x_mouse_cursor is unset - could it have been this easy?

bjolie@localhost:~> grep X_MOUSE_CURSOR /etc/sysconfig/windowmanager
X_MOUSE_CURSOR=""
bjolie@localhost:~>

I guess we can close this as fixed :D