r/kde • u/WishboneFar • 10h ago
KDE Apps and Projects How I closed one third of all Plasma bugs - Niccolò Venerandi
r/kde • u/AutoModerator • 13d ago
Please use this thread to post screenshots of your Plasma Desktop and discuss further customization.
You can find some Plasma documentation here:
Check out the KDE store for more widgets and themes for your customization needs, and if you're a theme creator and are interested in improving Breeze, consider getting involved with the Visual Design Team and contributing upstream!
r/kde • u/WishboneFar • 10h ago
r/kde • u/Jaxad0127 • 16h ago
r/kde • u/negativePositrons • 7h ago
I recently experienced several serious issues with KDE Plasma after updating CachyOS. After some extensive troubleshooting with ChatGPT, I managed to identify the cause and resolve all of them. I'm sharing this in case anyone else encounters similar issues.
I initially suspected the global theme, NVIDIA drivers, QML, or an incompatible Plasma widget.
However, forcing the Breeze application style, disabling the QML cache, and even forcing software rendering did not resolve the crashes.
Using:
coredumpctl list --since todayI discovered multiple crashes involving:
After inspecting the individual coredumps using:
coredumpctl info PID --no-pagerI noticed that both System Settings and plasmashell crashed at exactly the same location in the same library:
Signal: 11 (SEGV)
si_code: SEGV_MAPERR
QSvgHandler::startElement
libQt6Svg.so.6 + 0x4c175The relevant stack trace was:
QSvgHandler::startElement
QSvgHandler::parse
QSvgDocument::load
libqsvg.so
QImageReader::size
KIconLoader::loadScaledIcon
KIconEngine::createPixmap
KIconEngine::scaledPixmap
QIcon::pixmap
libKirigamiPrimitives.so.6This indicated that Qt was crashing while parsing an SVG icon.
I changed only the icon theme to Breeze Dark:
kwriteconfig6 --file kdeglobals --group Icons --key Theme breeze-darkThen restarted Plasma:
systemctl --user restart plasma-plasmashell.serviceAll three problems disappeared immediately.
There was no need to change the global theme, reinstall KDE, downgrade Qt, modify NVIDIA drivers, or reset my Plasma configuration.
Since I wanted to keep my custom icon theme, I used a Python script with the system-installed PyQt6 package to test every SVG icon individually.
Each SVG was loaded in a separate subprocess using Qt's QImageReader, so a segmentation fault would not interrupt the entire scan.
Install the required package on Arch-based distributions if necessary:
sudo pacman -S python-pyqt6The following script can be pasted directly into a terminal. Replace the theme name with your own icon theme:
python -c '
import os, subprocess, resource
from pathlib import Path
resource.setrlimit(resource.RLIMIT_CORE, (0, 0))
theme = "Daemon-Icons"
roots = [
Path.home() / ".local/share/icons",
Path.home() / ".icons",
Path("/usr/share/icons")
]
icons = sorted(set(
p.resolve() for root in roots
for p in (root / theme).rglob("*")
if p.is_file() and p.suffix.lower() in (".svg", ".svgz")
))
print(f"Theme: {theme}")
print(f"Found {len(icons)} icons", flush=True)
code = """
import sys
from PyQt6.QtGui import QGuiApplication, QImageReader
app = QGuiApplication([])
reader = QImageReader(sys.argv[1])
reader.size()
"""
bad = []
for i, p in enumerate(icons, 1):
try:
r = subprocess.run(
["/usr/bin/python", "-c", code, str(p)],
env=dict(os.environ, QT_QPA_PLATFORM="offscreen"),
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL,
timeout=10
)
if r.returncode != 0:
bad.append(str(p))
print(f"ERROR ({r.returncode}): {p}", flush=True)
except subprocess.TimeoutExpired:
bad.append(str(p))
print(f"TIMEOUT: {p}", flush=True)
if i % 100 == 0:
print(f"Checked {i}/{len(icons)}", flush=True)
report = Path.home() / "svg-crashes.txt"
report.write_text("\n".join(bad))
print(f"Problematic icons: {len(bad)}")
print(f"Report: {report}")
'The affected icons existed in both my local and system-wide copies of the theme.
Every affected icon was located in the scalable/apps/ directory.
Some examples:
Every one of these returned exit code -11, indicating SIGSEGV.
I compared the source code of a working SVG icon (Amarok) with a crashing one (Krita).
The crashing Krita icon contained the following CSS declaration:
<style
id="current-color-scheme"
type="Highlight/css">
.ColorScheme-Highlight {
color:#5DF4FE;
}
</style>Notice the unusual MIME type:
type="Highlight/css"Instead of the standard:
type="text/css"The working Amarok icon did not contain this CSS block.
I created a modified version of the Krita icon with the unnecessary CSS block and its associated class removed, preserving the original geometry and explicitly defined fill color.
I then tested it using:
env QT_QPA_PLATFORM=offscreen python -c '
from PyQt6.QtGui import QGuiApplication, QImageReader
app = QGuiApplication([])
import sys
print(QImageReader(sys.argv[1]).size())
' ~/Downloads/krita-no-css.svgThe modified icon successfully returned:
PyQt6.QtCore.QSize(48, 48)No segmentation fault.
This strongly suggests a problem involving SVG CSS parsing. However, I have not yet confirmed whether changing the MIME type alone fixes the crash or whether all 23 affected icons share exactly the same underlying issue.
For now, I:
To restore the icon theme and restart Plasma:
kwriteconfig6 --file kdeglobals --group Icons --key Theme Daemon-Icons
rm -f ~/.cache/icon-cache.kcache
systemctl --user restart plasma-plasmashell.serviceEverything now works perfectly again, and more than 99% of my original icon files remain untouched.
If Plasma or System Settings suddenly starts crashing after a Qt/KDE update and you are using a custom icon theme, try switching to Breeze before reinstalling packages or resetting your desktop configuration.
Even ONE problematic SVG icon can cause major parts of KDE Plasma to crash.
Regardless of whether the original SVG is malformed, I would argue that an SVG parser should reject an unsupported declaration rather than cause the entire application to segfault.
This looks like a potential Qt6Svg regression triggered by older custom SVG icons.
Hopefully this saves someone else few hours of troubleshooting.
r/kde • u/pnedyalkov • 10h ago
Hello everyone 🙂
I've been working on a new KDE Plasma widget called Advanced Digital Wellbeing, and I'd like to share it with the KDE community.
The idea behind it is pretty simple: I wanted a way to keep track of how much time I spend at my computer and which applications I use the most. I also wanted something that would help me become a little more aware of my daily computer habits. So, I started building my own widget.
What does it do?
If you need more information, you can check the README file: https://github.com/pnedyalkov91/advanced-digital-wellbeing/blob/main/README.md
Privacy:
All statistics are stored locally on your computer. There are no accounts, analytics, telemetry, or data uploads. The widget doesn't monitor window titles, websites, documents, or keystrokes.
It supports both X11 and Wayland, but I personally use Wayland only. In theory, it should work on X11, if not - please raise a bug report
A quick note about AI-assisted development:
I want to be transparent that I used an AI assistant during development to improve productivity. I see it as a development tool, just like other tools that help me work more efficiently. I'm not trying to hide that or pass the project off as something it isn't.
I also understand that some people prefer not to use software developed with AI assistance. That's completely fine and I respect that. If that's a deal-breaker for you, you're of course free not to install it, but please don't share your hate against the widget.
I'm sharing the project because I think it could be useful to other KDE Plasma users as well. I'd really appreciate any feedback, suggestions, or bug reports. There's still room for improvement, and I'd be happy to hear what you think!
Links:
Thank you 🙂
r/kde • u/soleful_smak • 7h ago
The image source is from u/neil187 and I'm looking for two menus that are labeled "Places" and "System". I also suspected adding multiple app launchers to name these are unnecessary.
https://www.reddit.com/r/unixporn/comments/1y7t9o8/kdeplasma_ubuntu_904_look_on_plasma_68/
Qrca is fine with the same camera, so are all other camera tools. The bug has been reported for years, can this please be fixed? Or at least, maybe there is a workaround?
Thanks in advance!
r/kde • u/Far_Type2329 • 11h ago
Me cansé de subir archivos a iLovePDF o de instalar una herramienta distinta para cada conversión, así que creé un submenú «Convertir a» para Dolphin que se encarga de todo. Pensé que a algunos de ustedes también podría resultarles útil.
Haz clic derecho → Convertir a → elige un formato. Está pensado sobre todo para documentos (PDF → Word editable, Word/Excel/PowerPoint ↔ PDF y formatos de LibreOffice), pero también convierte imágenes, video y audio. Solo muestra las opciones que tienen sentido y nunca sobrescribe nada.
Si necesitas comprimir archivos o usar más formatos multimedia, échale un vistazo a Konvert (lo publicaron aquí la semana pasada); es genial para eso.
Instálalo desde Dolphin (Descargar nuevos servicios → «Convertir a») o desde:
- KDE Store: https://store.kde.org/p/2383523
- GitHub: https://github.com/alan-pv/dolphin-convert-to
Es la primera vez que publico algo así, ¡así que cualquier comentario es más que bienvenido!
r/kde • u/Narrow_Pea6341 • 1d ago
Hi all, first time poster on this sub.
I am an enjoyer of tiling window managers, but I also like using my mouse from time to time. As many others seem to have also found, I really like the way that COSMIC integrates its tiling window management...but I really didn't like the rest of COSMIC compared to KDE.
So I came back to KDE but with an itch to have something better. Obviously I wanted to use something that existed rather than reinvent the wheel, meaning I settled on stock Krohnkite for a while, then I made my own fork that added n-array layouts and window stacks. This worked ok and was the best option I had found, but Krohnkite has its own issues and my changes (mostly because I didn't have a clear goal in mind at the time) added more on top so I never submitted a PR because it wasn't something I was happy for other people to use.
After many months working on that implementation, I had a solid idea for what I wanted and ways it could be improved.
So I would like to introduce Tessellate.
https://github.com/AndyEveritt/tessellate
It is a completely new tiling window manager that runs in KDE as a **KWin script** taking everything I had learned but removing the technical debt I had accumulated in the previous attempts. It uses Plasma's tile editor behind the scenes so it feels a lot more native than other existing options I am aware of.
Some key features:
Meta+Y turns Tessellate's tiling off and on for the current desktop on the current screen.Meta+S turns a window, or a selected group, into a stack of tabs, and dropping a window on the middle of another stacks them. Windows can move in and out of stacks. Each stack has a tab bar in your colour scheme: click a tab to show it, middle-click to close it, scroll to switch, drag to reorder or drag it out to put it elsewhere. New windows join the active stack (a setting).Meta+M shows one window at a time, filling the screen; Meta+/ and Meta+Shift+/ go through the others. The layout is restored when monocle is turned off.Meta+U selects the group around the active window, again for the next group up; Meta+Shift+U selects less. Moves, swaps, stacking, floating and resizing then act on the whole selection, and rotating turns the group around it.Meta+F floats a tiled window and tiles it again. Dialogs, utility windows, splash screens and fixed-size windows always float. Apps you list in the settings open floating by default. Floating windows stay above the tiled ones, and can be focused, moved, and resized with mouse and keyboard.I would love to get people feedback on this, it has been a passion project for a long while now and this iteration I feel like I have got something that I am happy to share.
As with most software development these days I did use LLM's to assist, but I know some people like that disclosed.
It is available on the:
Fedora COPR
More documentation and examples on github https://github.com/AndyEveritt/tessellate/blob/master/README.md
r/kde • u/West-468 • 2h ago
Yesterday i updated to Debian 13, along with KDE Plasma. Now i have this "Feature", whenever i hover over a programicon in the taskbar, these flags showing up: https://i.imgur.com/HMIuYNl.png
Is there a way, to disable this?
SOLVED: https://old.reddit.com/r/kde/comments/1ydmg21/disable_this_hoveroverfeature/19tobql5bedxd/ /cheer
I've built a desktop effect that allows you to use CRT shaders on a per window / virtual desktop / monitor basis.
I mostly just wanted a way to make quake always launch with a CRT shader, but I went ahead and expanded it to work with windows, complete with proper HDR support and compatibilty with things like blur effects.
It's all running now, I was mostly looking for some feedback on the config dialog - is it clear?
Some of the complexity is due to what all it can do - like you can shade an entire desktop with a black and white "noir" filter, but have one specific window on that be amber.
r/kde • u/ObeyTime • 12h ago
Hello, I'm new to linux and is currently using CachyOS as my distro and KDE as my DE.
I've been trying to get Balatro's menu shaders to work as my wallpaper and i found this KDE plugin that can play shaders as wallpapers. I have installed it, and the default shader it comes with works. However, all of the other included shaders does not seem to work at all. If anyone knows how to fix it, it will be much appreciated. I apologize if this is the wrong place to ask.
Plugin: https://store.kde.org/p/2143912
I installed the plugin through the wallpapers section in the KDE system settings.
I have tried: nuking the config folder so it generates a new one when I reinstall the plugin. It did not work.
r/kde • u/gamamoder • 22h ago
i want to get my mic as loud as possible, and it keeps turning its self down, this is extremely annoying.
r/kde • u/Puzzled_Minute_7387 • 1d ago
I typed "power" expecting to open Power Management, pressed Enter, and accidentally shut down my PC. Why is a disruptive system action prioritized by default over a settings page that directly matches the search query? This seems like a genuine design flaw.
r/kde • u/themakarovfromserbia • 20h ago
Im trying to setup Seven glass on Debian 13, KDE 6.x i think, not sure, but if any of yall can help (because AI dont work) i would be very thankful.
r/kde • u/svobodov- • 1d ago
Why? I haven't found a emoji and kaomoji picker for KDE that could autopaste without closing itself, most of these usually felt clunky with some not having dragable windows
It's a layer-shell popup that doesn't take away your keyboard's focus and pastes the text using a virtual keyboard, emojis are rendered as svgs (I do like the twitter emojis (◍•ᴗ•◍)♡)using resvg, kaomoji fonts are memory mapped. The datasets and the (compressed) svgs, are all compiled into the rust binary
The picks do go through the clipboard, they are just marked as x-kde-passwordManagerHint: secret so that they won't show up in the history and then replaced by the previous entry, it only works on text tho so anything else like copied files will leave a clean entry (。•́︿•̀。)
I can set any keybind to open and close it and I personally use super + z
For now, It's purely a personal tool and thought that I'd share it
r/kde • u/thebibi09 • 1d ago
I really want to make Kate my daily driver. I like how fast and clean it is without Electron bloat.
The one thing keeping me tied to VS Code is my workflow on my university's HPC cluster. In VS Code, Remote-SSH spins up .vscode-server on the node, so browsing and editing files, and especially watching log files update live as jobs write to them feels completely instantaneous.
I tried replicating this in Kate by mounting my remote directory over sshfs, but on a cluster filesystem it feels noticeably sluggish, and watching actively written log files doesn't update smoothly.
For any Kate power users:
Would love to hear how other people have set this up. Thanks!
r/kde • u/Naive_Complex_8389 • 2d ago
I can't tell if my funtion lock is on or off until I try the F keys. Is there a program I can get for the notification to display like this?