I have KDE5 Plasma with one virtual desktop. I tried to show a desktop pager in panel for one virtual desktop, but without success — by default, the pager will only display when there is more than one virtual desktop.
In KDE4, I could change the script at /usr/share/kde4/apps/plasma/packages/org.kde.pager/contents/ui/main.qml to always show the widget by commenting this line:
visible: repeater.count > 1
But in KDE5, the script is different and I don't know how to change it to show the widget when there is only one virtual desktop. The new location of the script is /usr/share/plasma/plasmoids/org.kde.plasma.pager/contents/ui/main.qml.
Does anyone know how to implement this?