Image 01
profile-image

Zren

Chris H
Plasma 5 Add-Ons
Kwin Scripts
Plasma 5 Multimedia
Plasma 5 Weather
Plasma Wallpaper Plugins
Kwin Switching Layouts
Plasma 5 Calendars
Plasma 5 Menus
Plasma 5 Monitoring
Plasma Themes
Yakuake Skins
Breeze AlphaBlack

Plasma Themes 41 comments

by Zren
Rating: 8.1
Mar 17 2019
It's not suppose to have a super round corner. https://i.imgur.com/vOLjexl.png
It should look the same as Breeze and Breeze Dark.
The Oxygen theme has rounded corners.
You could edit the SVGs located at ~/.local/share/plasma/desktoptheme/ with Inkscape. You could also copy the SVGs from breeze located at /usr/share/plasma/desktoptheme/ under the "default" folder. - Jun 15 2019
I uploaded v15 which has a fix for the generated popup's with custom opacity, however both the default popup background, and the tooltips will probably still be bugged until the upstream breeze theme is fixed (which is shipped in plasma-frameworks). If they hold back fixing it till the 5.57.0 release next month, I'll upload a v16 that overrides those SVGs, but tbh, I expect Arch to patch in a fix sooner that that. - Mar 17 2019
The Qt 5.12.2 update is actually what broke it and the default breeze dark theme. I'll be uploading a new version soonish.

https://github.com/Zren/breeze-alphablack/issues/13 - Mar 17 2019
I recently noticed that Breeze does not use the round corners either, so I fixed it. If you want to use the old rounded corners svg:

1. Go to ~/.local/share/plasma/desktoptheme/breeze-alphablack/
2. Under the _templates/widgets/ folder is a background.svg which is the rectangular corner background. Delete it.
https://github.com/Zren/breeze-alphablack/blob/master/_templates/widgets/background.svg
3. Download the old rounded corner background.svg
https://github.com/Zren/breeze-alphablack/blob/2616c8c9855f65d6872be619d5d759a0bc4f5cb2%5E/_templates/widgets/background.svg
4. Using the widget or the `python setdialogopacity.py 0.9` script, change the dialog opacity so that it renders the `breeze-alphablack/widgets/background.svg` file and reloads the desktop theme. - Dec 29 2018
Command Output

Plasma 5 Add-Ons 28 comments

by Zren
Rating: 8.2
Feb 20 2019
None really. I misinterpreted Plasma's executeable dataengine and assumed a command couldn't finish faster than 1 second, but I was wrong. I never really had a need to remove the limit before. What use case requires 120 calls per minute?

You're free to edit main.qml and ConfigGeneral.qml to remove the limits on the interval.
~/.local/share/plasma/plasmoids/com.github.zren.commandoutput/contents/ui/

Test with the command "date +%S.%N" and running:
plasmawindowed com.github.zren.commandoutput - May 15 2019
Oops, that won't work. The MouseArea will "eat" the mouse click, so the "Text" won't receive the click event. I tried the "teach a man to fish he eats for a lifetime" philosophy here, but this wasn't the perfect feature for introducing someone to coding widgets.

I'll release v7 in a few hours with these patches:

* https://github.com/Zren/plasma-applet-commandoutput/commit/ecb59ab001f536aad750258cecbf1ed75bc0e895
* https://github.com/Zren/plasma-applet-commandoutput/commit/f9b9385b783567ab2a686a6b49bde680022574bc
- Feb 13 2019
Ah, I didn't consider people using link tags. QML Text will automatically switch to RichText mode, but you need to add 1 line of code to make it open the link in a browser (or do something else).

Open up ~/.local/share/plasma/plasmoids/com.github.zren.commandoutput/contents/ui/
Edit the main.qml to add:

onLinkActivated: Qt.openUrlExternally(link)

To the Text element, like in the LinkText.qml from another widget linked below.

* https://doc.qt.io/qt-5/qml-qtquick-text.html#textFormat-prop
* https://github.com/Zren/plasma-applet-phabricatorrevisions/blob/master/package/contents/ui/lib/LinkText.qml#L7
* https://github.com/Zren/plasma-applet-commandoutput/blob/master/package/contents/ui/main.qml#L97

You'll need to restart plasmashell to reload the widget in your desktop/panel though. Easiest way is to relog, but you can also run:

killall plasmashell; kstart5 plasmashell
- Feb 13 2019
Added to v6 - Feb 09 2019
TodoList

Plasma 5 Add-Ons 47 comments

by Zren
Rating: 8.3
Mar 31 2019
As in, making a list wider? The popup window should already grow taller as you add more items. - May 14 2019
Are you using the widget in the panel or on the desktop? If it's in the panel, the "FullRepresentation" has a `Layout.preferredHeight` that controls the height of the popup. For a desktop widget, the height starts at "Layout.minimumHeight", but the user can resize a desktop widget to be larger.

Open up: `~/.local/share/plasma/plasmoids/com.github.zren.todolist/contents/ui/FullRepresentation.qml`

https://github.com/Zren/plasma-applet-todolist/blob/master/package/contents/ui/FullRepresentation.qml

As you can see, I sorta tried making the popup grow in size, but it seems that's not working for you. Try a simple:
Layout.preferredHeight: units.gridUnit * 40

to double the height of the popup.

To test your changes, run `killall plasmashell; kstart5 plasmashell` to reload the panel (or relog). - Apr 07 2019
v11 has a strikethrough + fade option for completed items. You'll still need to disable "delete on complete" to see those effects though. - Mar 31 2019
Strikethrough is relatively easy: https://github.com/Zren/plasma-applet-todolist/issues/9

There's already an option to not "delete on complete" that'll add a "hidden" delete button that appears when you hover the delete button or focus on a specific task. - Mar 13 2019
This was the first desktop widget I gave the transparent background, I added the ability to toggle the "background" in later widgets but it seems I never added the config option to this widget.

Is your issue that the "List Title" is hard to read? Or is it that the list item textboxes are hard to read?

In any case, I'll be adding 3 new toggles to v9. List title boldness, list title outline, and a toggle for the background.

https://i.imgur.com/O2vVP9E.png

- Dec 03 2018
Simple Weather

Plasma 5 Weather 10 comments

by Zren
Rating: 7.2
May 25 2019
The wetter.com data source does not have the "current temp" data. It only has the current day's "forecast" data which includes the weather type, icon, and min + max temp. I already display the min/max temp, so I used today's "forecast icon".

The solution is to use another data source if one is available. - May 13 2019
Plasma's wetter.com data source either does not parse the current temperature from the API, or the API does not provide it. That is why this widget will instead show the current weather icon instead of the current temp.

https://github.com/KDE/plasma-workspace/blob/master/dataengines/weather/ions/wetter.com/ion_wettercom.cpp
- Feb 03 2019
Tiled Menu

Plasma 5 Menus 157 comments

by Zren
Rating: 8.0
Apr 04 2019
You can drag an app from the app list to the desktop (or the panel) to create a shortcut there. You can't currently drag a tile to the desktop though.

I purposely filtered out "Add to Desktop" to simplify the context menu, but you can edit:

~/.local/share/plasma/plasmoids/com.github.zren.tiledmenu/contents/ui/AppContextMenu.qml

To remove this line:

https://github.com/Zren/plasma-applet-tiledmenu/blob/master/package/contents/ui/AppContextMenu.qml#L112

To test your change, run:
plasmawindowed com.github.zren.tiledmenu

Then relog to reload the panel. - May 11 2019
What do you mean exactly? Send "what" to desktop? Do you have a screenshot or youtube video to demonstrate what you want?

https://www.opendesktop.org/p/1160672 - May 11 2019
There's no examples of using a KDE widget in other desktop environments, so no. You'd need to rewrite it in GTK3/Vala for Gnome/Mate/Cinnamon/Elementary, or C++ for XFCE. - Apr 03 2019
Debian Stretch has Plasma 5.8 still. https://packages.debian.org/stretch/plasma-desktop

I try to code with the last Plasma LTS (Plasma 5.12 and Plasma 5.15). I've dropped support for Plasma 5.8 mostly because it depends on and old version of Qt and because Plasma's "App List API" changed in Plasma 5.9.

tiledmenu-v11-plasma5.6.plasmoid was the last version that supported Plasma 5.8, and it's probably missing a lot as I released that version 3 years ago.

https://github.com/Zren/plasma-applet-tiledmenu/blob/master/Changelog.md#v11---january-13-2016
https://github.com/Zren/plasma-applet-tiledmenu/tree/v11/tiledmenu
- Mar 02 2019
What version of Plasma? What distro? Is there anything else it says? I assume you downloaded v29? - Mar 02 2019
Thanks for being a long time user! :]

I wrote up how to modify the widget to edit the `JumpToSectionView.qml` here:
https://github.com/Zren/plasma-applet-tiledmenu/issues/38 - Feb 09 2019
Using https://www.opendesktop.org/p/1255186/

* https://i.imgur.com/eSebAG7.png

I agree that with macbreeze it is a bit hard to read.

There is "System Settings > Desktop Effects > Blur" but it will not affect the "Logout / Shutdown" popup in the sidebar. The "Logout" sidebar popup is not technically a window.

- Feb 04 2019
What Desktop Theme?
What Icon Theme?
Can you take a Screenshot? "Print Screen" => https://imgur.com/upload

* https://i.imgur.com/tEh8SVL.png
* https://i.imgur.com/4eAIp8f.png
- Feb 04 2019
https://www.youtube.com/watch?v=SKJG3UUITv4

Add Widgets > Get New Widgets > Download
Search for "Tiled Menu" > Install
Right click App Launcher > Alternatives > Tiled Menu
Make sure the widget's keyboard shortcut is set to "Alt+F1" to make sure pressing the Meta/Windows key still works. - Nov 22 2018
Sorry to do this to ya, but I just released v25. Ya might want to backup your changes as Discover might overwrite your modifications if it updates the widget. - Nov 16 2018
In KickerSectionHeader.qml there's a Label, add `color: config.menuItemTextColor2` to it.

* https://github.com/Zren/plasma-applet-tiledmenu/blob/master/package/contents/ui/KickerSectionHeader.qml#L15-L30
* https://github.com/Zren/plasma-applet-tiledmenu/blob/master/package/contents/ui/MenuListItem.qml#L131
* https://github.com/Zren/plasma-applet-tiledmenu/blob/master/package/contents/ui/AppletConfig.qml#L79

Basically the app description is the text color at 60% transparency.

- Nov 15 2018
Actually if you wait a little bit, the next version of Tiled Menu will have a hardcoded override for the oxygen theme. I'll be using a 12.5% transparent white.

https://i.imgur.com/2YO6Q9N.png - Nov 15 2018
> the sidebar focus is a plain white square!
This is because in /usr/share/plasma/desktoptheme/oxygen/colors
the [Colors:Button] BackgroundNormal=218,221,215
is basically white.

Rather than editing the Oxygen theme in the root directory that will get overwriten with updates, you could edit my widgets code.

I'm using theme.buttonBackgroundColor which no other widget seems to use to draw flat rectangular buttons. Unfortunately, the plasma desktop theme doesn't have a "rectangular button" svg. So I had to use that (it's easier to animate anyways).

In: ~/.local/share/plasma/plasmoids/com.github.zren.tiledmenu/contents/ui/FlatButton.qml
There's a bunch of references to theme.buttonBackgroundColor. Change it to something like this:

https://i.imgur.com/ABblrv5.png

Then restart plasmashell with by either relogging, or run:
killall plasmashell; kstart5 plasmashell - Nov 15 2018
FR1: Ah, well now that the default is a transparent area instead of a solid color, I guess we could add some spacing between the sidebar and the app list. How does a 4px spacing look?

https://i.imgur.com/65OJ6X7.png

FR2:
* Markdown: Oh, sort of like a "notes widget". Maybe I could cheat and use the desktop icon thumbnail previews.
* Hmm, so an HTML "Plugin" API essentially. I guess I'd have to check if the URL is a locale HTML file. It's an interesting concept, though my first thought is that a mini "HTML browser window" would be either slow or use tons of RAM. I've considered an RSS feed view before if the tile URL ends in ".rss".
- Nov 15 2018
FR1: Are you using a HiDPI display or something? For me on a 1080p it doesn't overlap.

https://i.imgur.com/kk6IQ3N.png

FR2:
* GIFs might be possible.
* MP4s are not, since QML's Video doesn't loop perfectly (which is why the Video Wallpaper Plugin isn't super great).
* Markdown, HTML? Are you asking for "preview thumbnail" icons like the desktop icons? Or are you talking about the tile's "background image"?

Anyways, glad you like the widget. :] - Nov 15 2018
Event Calendar

Plasma 5 Calendars 433 comments

by Zren
Rating: 8.8
May 17 2019
It's on purpose, not a bug.

It's stuff I was considering making optional, but never got around to implementing. It currently serves it purpose in informing the user that the next 14 days will always be visible. If I hide the completed days/events, then the user won't be able to create events starting in the past. - May 02 2019
Hangouts was fairly simple since it was just a single `event.hangoutsLink` property.

I don't use either of those services, so I wouldn't be able to test the buttons with live data. If you'd like to provide a patch that implements those buttons, take a look at this GitHub issue where I outline how to parse `event.conferenceData`.

https://github.com/Zren/plasma-applet-eventcalendar/issues/63
- Feb 12 2019
It's installed to ~/.local/share/plasma/plasmoids/org.kde.plasma.eventcalendar/
The metadata.desktop should have a Version in it that'll confirm what version you have installed.

To update the widget, you'll need to restart plasma for the update to take effect. Either relog, or run `killall plasmashell; kstart5 plasmashell`.
- Feb 12 2019
The clock will not show up when used as a desktop widget. It shows up in the "compact view" when used as a panel widget. There isn't really a good size to switch from "compact icon view" to "full view" like the other desktop widgets so I just disabled the compact view altogether when used as a desktop widget.

If you want a clock on the desktop, there's a number of other widgets focused on that functionality.

With Plasma 5.15, you'll even be able to use the default Digital Clock widget with a "Custom Date" format. - Jan 28 2019
When updating from an older version, you need to restart Plasma (logout + login) for the widget to "reload". - Dec 19 2018
Honestly, I've no idea. Did a restart fix it?
São Paulo, State of São Paulo, Brazil (GMT-2) ? - Nov 10 2018
Thumbnail Grid

Kwin Switching Layouts 29 comments

by Zren
Rating: 7.6
Apr 18 2019
Oh right. Thanks for reminding me. Uploaded v5 with the patch the gives it focus when fixes the arrow keys in Plasma 5.15+ - Apr 18 2019
Inactive Blur

Plasma Wallpaper Plugins 11 comments

by Zren
Rating: 7.9
Mar 19 2019
That's the main feature added in v2. - Mar 20 2019
Media Controller Compact

Plasma 5 Add-Ons 14 comments

Rating: 7.5
Mar 19 2019
Opening this widget's config in Plasma 5.15 caused plasma to freeze. To fix it, change the config page's implicitWidth using these instructions:

https://github.com/Zren/plasma-applet-commandoutput/issues/12#issuecomment-473489225 - Mar 15 2019
System Monitor Dashboard

Plasma 5 Monitoring 26 comments

by Zren
Rating: 6.3
Jan 28 2019
You could also send me a PM via the OpenDesktop forum which you're already registered for.

https://forum.opendesktop.org/u/Zren/summary - Mar 03 2019
My email can be found at the top of any git patch.

https://github.com/Zren/plasma-applet-sysmonitordash/commit/e9064ab3d76c6152a6fd77cdd1a90cec06d8afba.patch - Mar 02 2019
If you're willing to create a GitHub account, you can report each suggestion as a new issue.

https://github.com/Zren/plasma-applet-sysmonitordash
https://github.com/Zren/plasma-applet-sysmonitordash/issues/new

If not, just make the long comment here, and I'll create the individual issues on GitHub for you like I did for the peerwal's bug report.

https://github.com/Zren/plasma-applet-sysmonitordash/issues/1
- Mar 01 2019
You definitely are. I forgot about "Kicker.DashboardWindow.backgroundColor". That used to be a hardcoded black color before it was added to the API. Just delete that backgroundColor line from the top of DashView.qml (that should be the only DashboardWindow).
- Jan 02 2019
Okay, now we're getting somewhere. Now we just need to make the widget compatible with an older version of Plasma.

It seems that Debian Stable uses Plasma Frameworks 5.28, which is apparently before Plasma added the "IconItem.overlays" feature to the API so that you could draw another icon in the bottom right corner of the icon. I'll need you to modify the widget's code to remove all the lines of code where we assign the "overlays" or "iconOverlays".

First open the location of the widget's code:
~/.local/share/plasma/plasmoids/com.github.zren.sysmonitordash/contents/ui

Then search for all instances of "overlays" in that folder.
grep -inr overlays ~/.local/share/plasma/plasmoids/com.github.zren.sysmonitordash/contents/ui/*

Now that you know which text files it sets that property, so find and delete each line with "overlays" in it.

Run the command to test. If you see another error besides "overlays" appear, mention it here.
plasmawindowed com.github.zren.sysmonitordash

If this is a little too much for you, I could see about downloading a Debian Stable ISO... but that'd only work if it's a LiveCD. - Jan 02 2019
I'm using QtQuickControls2 in order to draw the tooltips. The other "text field" etc controls use the **QtQuickControls1** which is probably what you looked at.

https://doc.qt.io/qt-5.11/qml-qtquick-controls2-tooltip.html

Debian Stable does have Qt 5.7.1, so I assume it should work with the package installed. Search for "quickcontrols2" (not sure what the package name is).

After you install, either test with:
plasmawindowed com.github.zren.sysmonitordash

If it worked, then restart plasmashell by restarting or running:
killall plasmashell; kstart5 plasmashell

Interestingly enough, I just installed Qt 5.12 in Manjaro and notice a bug. Oops. I'll look into uploading a new version tomorrowish for people with Qt 5.12. - Jan 01 2019
All that stuff is "standard". I get it too. https://i.imgur.com/NfypQXV.png

I'm stumped. To go forward, I'd have to upload a new version with a ton of log statements to try and debug what goes wrong. That'd involve a lot of back and forth though for all users though.

My last attempt here before I sorta give up is:
Open ~/.local/share/plasma/plasmoids/com.github.zren.sysmonitordash/contents/ui/SensorGraph.qml

Search for change the onSensorsChanged and add a few console.log() statements like in this gist.
https://gist.github.com/Zren/35ab84b6e12bd5421a1bc8376246761c

Should look like: https://i.imgur.com/bepi3UO.png
- Nov 16 2018
So I tried the Kubuntu 18.10 LiveCD in VirtualBox, and the CPU/RAM graphs draw fine (the others aren't active so that's fine). https://i.imgur.com/QzlWVUt.png

Do you see any errors when running:
QT_LOGGING_RULES="qml.debug=true" plasmawindowed com.github.zren.sysmonitordash - Nov 16 2018
Weird. Does the standard KDE CPU Monitor widgets show graphs?
It's possible that the way I generate PlotData instances may be the reason why it's not working. I'll try downloading kubuntu 18.10 live cd and testing it. - Nov 16 2018
Not even the CPU/RAM graphs? Does the fullscreen overlay appear? Do icons appear? Does it draw the black rectangles where the graphs should appear?

Can you show a screenshot?

* Launch Spectacle
* Set delay to 5 seconds
* Expand the widget
* Wait for screenshot to capture the screen
* Close the widget
* Expore > Share > Imgur
* Paste the link here - Nov 15 2018
GitHub Issues

Plasma 5 Add-Ons 8 comments

by Zren
Rating: 7.7
Mar 20 2019
The GitLab API is a little different than the GitHub API. I'd need to fetch 2 requests (issues + merge requests), then merge them sorted by most recent. I'd also have to add a new configuration field for the domain of the gitlab instance.

* https://docs.gitlab.com/ee/api/issues.html
* https://docs.gitlab.com/ee/api/merge_requests.html
* https://gitlab.com/api/v4/projects/gitlab-org%2Frelease%2Ftasks/issues
* https://gitlab.com/api/v4/projects/gitlab-org%2Frelease%2Ftasks/merge_requests
* https://www.opencode.net/api/v4/projects/OCS%2Focs-store/issues - Oct 28 2018
Rating: 8.6
9   May 01 2017
KShell

Look-and-Feel Themes
by llucas

Rating: 6.3
9   Jan 13 2017
United

Look-and-Feel Themes
by llucas

Rating: 7.6
9   Jan 13 2017