jinliu
January 12, 2025, 2:59pm
1
In the latest Plasma 6.3 Beta, you will find a new executable named kcursorgen
in /usr/bin
. It can convert an SVG cursor theme to the XCursor format, in any sizes you like. Although this tool is intended for internal use in future Plasma versions, there are a few tricks you can play now with it and an SVG cursor theme.
This is a companion discussion topic for the original entry at https://blogs.kde.org/2025/01/12/kcursorgen-and-svg-cursors
6 Likes
Very cool, thanks!
mkdir -p ~/.local/shares/icons
^
Typo? Maybe
mkdir -p ~/.local/share/icons
1 Like
jinliu
January 13, 2025, 4:42am
3
Oh yes. Thanks a lot for spotting it!
1 Like
jinliu:
(Unfortunately, the only theme with the support that I know, besides Breeze, is Catppuccin . I have this little script that might help you convert more cursor themes.)
Oxygen shipped with Plasma is SVG-based in its source form, but this form is only used to generate raster cursors to be used: cursors/src/svg · master · Plasma / Oxygen · GitLab
3 Likes
jinliu:
It might be possible to only package the index.theme
file and cursors_scalable
directory for the Breeze cursor theme (and other SVG cursors themes), then in an postinstall script, use kcursorgen
to generate the cursors
directory on the user’s machine.
This would greatly reduce the package size. And also you can generate more sizes without worrying about blown package size.
@jinliu , I’d love to see this. If you ever formally request this, do link it here.