Present Windows Button

Plasma 5 Add-Ons

Source (required if based on other people's work): https://github.com/Zren/plasma-applet-presentwindows

2
Score 65%
Description:

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.
Last changelog:

v6 - April 14 2018 3 months ago

Force Latte Dock v0.7.5+ to not hide this widget.

Ennai

1 month ago

Good but the icon does not have auto-antialias applied.

Report

C

Zren

1 month ago

I'm not sure what you mean? Is the "windows like icon" it blurry or the "Unity 7" style?
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

Ennai

1 month ago

The standard icon you put does not need antialias coz it's only squares, but if ye try to change icon (something that's not only squares), you'll notice there is no smoothness.

Report

Warmuser

10 months ago

Great Job! It works great on Fedora 26 + KDE Plasma 10.
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

1 year ago

I have Linux Mint KDE 18.2. It happens that the program works correctly but always when I log in I must activate it manually from the options: Present Windows Efect, and, Show Desktop Grid Effect. Is there any way to fix it? Thanks. Sorry my poor english.

Report

C

Zren

1 year ago

Hmmm. Is it persistent if you enable the effect via System Settings > Desktop Behaviour > Desktop Effects? Maybe my checkboxes are doing something incorrect.

Report

C

Zren

1 year ago

If its already checked in the system settings > uncheck it > hit apply > check it > hit apply before rebooting.

Report

DeskDesign

1 year ago

[SOLVED] I just had to activate the services from the KDE setting: Present Windows, and, Show Desktop Grid. And then activate from the setting of your widget and is active every time when restarting the system. Thanks.

Report

lctrgk

1 year ago

Thanks, a lot!. Would it be possible to add an option to change the icon?

Report

C

Zren

1 year ago

You can now change the icon in v4. Sorry it took so long.

Report

lctrgk

1 year ago

Thanks a lot again!

Report

austin6598

1 year ago

Could you add an option for Desktop Grid with the command "qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut ShowDesktopGrid"

Report

C

Zren

1 year ago

Ah, good idea. Added that to v3.

Report

v6 - April 14 2018 3 months ago

Force Latte Dock v0.7.5+ to not hide this widget.

v5 - April 11 2018 3 months 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 1 year ago

* Add ability to change the panel icon.

v3 - June 22 2017 1 year ago

* Add option to toggle the Desktop Grid Effect.

v2 - June 15 2017 1 year ago

* Provide checkbox in the config to quickly enabled the "Present Windows" desktop effect.

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling
Details
license
GPLv2 or later
version
6
updated Apr 15 2018
added Jun 15 2017
downloads today
0
page views today 8