Yast cursor too small with KDE desktop and HDPI (4K) mopnitor

After update yast text and cursor were too small. I could increase text size on root kde fonts config (kdesu systemsettings, etc.) but not the cursor size. qt5ct has no cursor settings.

Both desktops (root and user) are set to 48 px cursor size and auto DPI (not forced), and 100% screen scale. root is using Breeze cursor set and the user is set to use Oxygen Silver Grey, curiously no available to root.s

I vaguely remember using qtconfig (or a similar name) to set this in older oS versions, but there’s no such app anymore.

I googled the site for “yast cursor size” but no hits.

Any ideas?

TIA

kdesu systemsettings-appearance-cursors
can change the cursor in tumbleweed.
This one is using Breeze Light.
Some cursor theme I noticed that there is no option
to change the size.

That’s why I’m using Breeze, where I can select 22 or 48 px size. Most other cursors have no selectable sizes.

I just set both user and root cursors Adwaita, scaled to 96 px, which is the the largest cursor set installed.

Even after a reboot, yast cursor remained unchanged. If I hover the mouse over a Yast window it changes to 24 px, moving away from the windows change the cursor back to 96 px.

I also noticed that the cursor theme in Yast remains fixed at Adwaita 24 px, regardless of the theme/size I choose.

I don’t know if it’s relevant, but I started Gimp both as user and root (with kdesu), and the cursor is the same selected by the user, as it should be.

So, I decided to risk limb, life and happiness by logging to the root desktop. As expected, the cursor theme does not show this size change, it remains as selected in systemsettings.

You have to change the X_MOUSE_CURSOR .
In xfce I don’t have a constant cursor in yast2
The yast2 gui shows the DMZ_Black tiny icon but the yast2 title bar uses my prefer cursor.
If I click any thing in yast2, the next window that will open is using the cursor I set.
What I did is to change the X_MOUSE_CURSOR.
This is the place to do it

yast2-/etc/sysconfig editor-desktop-X_MOUSE_CURSOR

Just put the cursor theme eg: Breeze_Snow.
logout and login or maybe a reboot.

Hi Conram.

In KDE I have this file:

/etc/sysconfig/yast2

It starts like this:

# Tweakable settings for the 'yast2' script.
# to over-ride these settins per-user create a
# ~/.yast2/yast2 file.

## Path: System/Yast2/GUI
## Description: Default UI for YaST
## Type: list(auto,qt,gtk)
## Default: "auto"
# Default control center for YaST
# selects the control-center implementation to be used
# to render yast widgets
# auto: will attempt to detect both desktop & plugin
#       presence and adapt accordingly
WANTED_SHELL="auto"
...

There’s no reference to a cursor setting, however. Could you post the full file path/name and the part where your setting appears? Perhaps it is for xfce only.

Thanks

You need to open Yast -> Sysconfig Editor -> Desktop -> X_MOUSE_CURSOR

Ah, now it is clear, thanks.

Wow, got a scare now!

I changed X_MOUSE_CURSOR value to “breeze” (without quotes), as listed in /usr/share/icons:

/usr/share/icons> tree -L 1
.
├── Adwaita
├── breeze
├── breeze_cursors
├── breeze-dark
├── Breeze_Snow
├── gnome
├── hicolor
├── locolor
├── ocd
├── ocd-black
├── ocd-black-big
├── ocd-blue
├── ocd-blue-big
├── ocd-white
├── ocd-white-big
├── ocd-yellow
├── ocd-yellow-big
├── ocd-zion
├── ocd-zion-big
└── oxygen

No change in Yast’s cursor size. So, logged out and in, again no change. So, well, maybe the windowze way? Rebooted and got dumped to a terminal, no X! So, after a failed startx as root (probably a mistake) I tried to reboot, and the system apparently froze… A hard reset got me to the normal desktop, where I cleared out the change in sysconfig, and after a test reboot all seems normal now.

Perhaps I should let sleeping dogs lie, after all it is no big deal. :wink:

Thank you for your help, Conram, I appreciate it.

Hi,
I can confirm breeze or breeze_cursor doesn’t work here also.
It falls back to the DMZ cursor theme.

What works here is Breeze_Snow and the Oxygen_White mouse cursor themes and have the size options.
The largest cursor size option for Oxygen is 72 pixels which a bit closer to the Adwaita’s 96 pixels. You have to adjust the cursor size in systemsettings5 using kdesu.
See my image
https://paste.opensuse.org/images/96009426.jpg

This are my icon themes:

├── Adwaita
├── adwaita-xfce
├── breeze
├── breeze_cursors
├── breeze-dark
├── Breeze_Snow
├── crystalblue
├── crystalblue_nonanim
├── crystalgray
├── crystalgray_nonanim
├── crystalgreen
├── crystalgreen_nonanim
├── crystalwhite
├── crystalwhite_nonanim
├── default
├── DMZ-Black
├── DMZ-White
├── Faba
├── gnome
├── handhelds
├── hicolor
├── HighContrast
├── KDE_Classic
├── Moka
├── openSUSE-Xfce
├── oxygen
├── Oxygen_Black
├── Oxygen_Blue
├── Oxygen_White
├── Oxygen_Yellow
├── Oxygen_Zion
├── redglass
├── Suru++-Dark
└── whiteglass

I did not try the breeze_dark but that could be the default kde and SDDM cursor theme
because I changed my SDDM cursor also from dark to white with the Breeze_Snow cursor theme.