
Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/Zren/plasma-applet-presentwindows
Trigger the Present Windows desktop effect's shortcut with a click.
It essentially runs the following command on click.
qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "ExposeAll"
You can also configure it to toggle the desktop grid.
v5 has a Unity 7 style so that it looks better with the Unity Ambiance desktop theme.
v9 has support for the Parachute KWin Script (https://store.kde.org/p/1370195/) which can be install via:
System Settings > Window Management > KWin Scripts > Get New Scripts > Search for "Parachute" > Install
v9 - April 24 2020 11 months ago
* Add Parachute (KWin Script) support (Issue #9)
* Added Dutch translations by @Vistaus (Pull Request #3)
v9 - April 24 2020 11 months ago
* Add Parachute (KWin Script) support (Issue #9)
* Added Dutch translations by @Vistaus (Pull Request #3)
v8 - September 16 2018 2 years ago
* Show preset values for the 22px and 16px icon in the config icon dropdown menu.
* Fix the Desktop Effect toggle buttons not persisting accross reboots (Issue #1).
v7 - August 4 2018 2 years ago
* Add a 22px icon, with pathing done by @andreyorst.
* Make sure the bundled icon is always smooth, even on older versions of plasma.
v6 - April 14 2018 3 years ago
Force Latte Dock v0.7.5+ to not hide this widget.
v5 - April 11 2018 3 years ago
* Add Unity 7 virtual desktop indicator style for use with the Unity Ambiance desktop theme (used in the United Look and Feel).
v4 - July 8 2017 3 years ago
* Add ability to change the panel icon.
v3 - June 22 2017 3 years ago
* Add option to toggle the Desktop Grid Effect.
v2 - June 15 2017 3 years ago
* Provide checkbox in the config to quickly enabled the "Present Windows" desktop effect.
mirkogennari
3 months ago
Report
jcmljunior
11 months ago
Report
shawnsterp
1 year ago
Report
shawnsterp
1 year ago
Report
Zren
1 year ago
All this widget does is call one of these terminal commands to trigger the keyboard shortcut.
https://github.com/Zren/plasma-applet-presentwindows/blob/master/package/contents/ui/Main.qml#L87
The only other thing I can think of, is that you only have 0-1 windows open, as the effect does nothing when there's only 1 window.
Report
shawnsterp
1 year ago
Report
Zren
1 year ago
Also, run the following commands to make sure compositor is active?
qdbus org.kde.KWin /Compositor active
qdbus org.kde.KWin /Compositor compositingPossible
qdbus org.kde.KWin /Compositor compositingNotPossibleReason
Report
shawnsterp
1 year ago
Report
Zren
1 year ago
Report
shawnsterp
1 year ago
Report
Zren
1 year ago
~/.local/share/plasma/plasmoids/com.github.zren.presentwindows/contents/ui/Main.qml
So that the qdbus commands are qdbus-qt5. Then relog to restart the panel. The widget should work then.
No idea why you only have qdbus-qt5 on that machine. I'll look into using that command by default in the next version.
Report
shawnsterp
1 year ago
Report
shawnsterp
1 year ago
Report
RustyRaptor
1 year ago
Report
p4prik4
2 years ago
Report
Mirko-Gennari
2 years ago
Report
azarilh
2 years ago
Report
Zren
2 years ago
Are you using a large panel? Or are you using a HiDPI screen?
Maybe I need to use SvgItem.smooth? I don't think normal icons use smooth though.
Or wait, IconItem DOES use smooth by default, while SvgItem does NOT use it by default. Interesting.
* https://github.com/KDE/plasma-framework/blob/master/src/declarativeimports/core/iconitem.cpp#L42
* https://github.com/KDE/plasma-framework/blob/master/src/declarativeimports/core/svgitem.cpp#L39
Report
azarilh
2 years ago
Report
Zren
2 years ago
Report
azarilh
2 years ago
Report
Warmuser
3 years ago
But sometimes If I try to click the button with the opened windows it does do nothing. It happened only a few times.
Report
DeskDesign
3 years ago
Report
Zren
3 years ago
Report
DeskDesign
3 years ago
Report