how can I set the width of krunner in plasma 6?
I used this guide
I tried a window rule but nothing happens.
is there a settings config somewhere where I can just edit a file?
how can I set the width of krunner in plasma 6?
I used this guide
I tried a window rule but nothing happens.
is there a settings config somewhere where I can just edit a file?
works on plasma 5.27
what distro are you using? and what version of plasma?
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.7-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8265U CPU @ 1.60GHz
Memory: 7.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: LENOVO
Product Name: 20Q1S7RW00
System Version: ThinkPad X390
The right way to do this would be by implementing it directly in KRunner. I wanted to do that 2 years ago because I always felt it was too small, and my implementation was functional:
But apparently the new, better way to implement this would be to turn the KRunner popup into an org.kde.plasma.core.Dialog (I think PlasmaQuick::Dialog Class | KDE API Reference), and I haven’t tried that since (back then I knew virtually nothing about the Plasma Framework/Libplasma API).
It’d be nice to have a default you can set, like 70% width, and then to drag on the window edges to resize when you need to see longer paths / file names.
because the nature of what I’m searching for is quite variable, given the wide variety of krunner doodads. like sometimes it’s just a list of single words and other times it’s a bunch of paths 200 characters wide.
I went to grab the edges and nothing happened and I was disappoint.
Works on plasma 6.2.5 - but the search bar doesn’t expand to fill a bigger window, it’s big enough already… and you’ll likely fix the height which should be flexible to suit the results.
weirdly it doesn’t seem to “force” the height… it just depends on the number of matches.
Oh, I just gave it a spin and it did - but the search bar didn’t stretch the full width and - well, no point forcing the height anyway if there’s not enough results to fill it.
I think the main aim would be to allow krunner to show longer strings of text without cropping them off… so allowing it to expand full screen width would be a nice option.