Image 01
profile-image

Zren

Chris H
Plasma 5 Add-Ons

TodoList

Plasma 5 Add-Ons Dec 03 2018
1
Score 77%
77 Likes
23 Dislikes

GitHub Issues

Plasma 5 Add-Ons Oct 28 2018
Score 57%
57 Likes
43 Dislikes

Command Output

Plasma 5 Add-Ons May 06 2018
1
Score 70%
70 Likes
30 Dislikes

Battery Time

Plasma 5 Add-Ons Aug 30 2017
Score 57%
57 Likes
43 Dislikes
Kwin Scripts

Tile Chrome

Kwin Scripts Dec 13 2016
Score 54%
54 Likes
46 Dislikes
Plasma 5 Multimedia
Plasma Wallpaper Plugins
Kwin Switching Layouts
Plasma 5 Calendars

Event Calendar

Plasma 5 Calendars Sep 13 2018
3
Score 89%
89 Likes
11 Dislikes
Plasma 5 Menus

Tiled Menu

Plasma 5 Menus Jan 05 2019
5
Score 77%
77 Likes
23 Dislikes
Plasma 5 Monitoring
Plasma Themes

Breeze AlphaBlack

Plasma Themes Dec 15 2018
Score 68%
68 Likes
32 Dislikes
Yakuake Skins

Tiled Menu

Plasma 5 Menus Jan 05 2019
5
Score 77%
77 Likes
23 Dislikes

Breeze AlphaBlack

Plasma Themes Dec 15 2018
Score 68%
68 Likes
32 Dislikes

GitHub Issues

Plasma 5 Add-Ons Oct 28 2018
Score 57%
57 Likes
43 Dislikes

Event Calendar

Plasma 5 Calendars Sep 13 2018
3
Score 89%
89 Likes
11 Dislikes
System Monitor Dashboard

Plasma 5 Monitoring 19 comments

by Zren
Score 54%
54 Likes
46 Dislikes
Nov 14 2018
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
Breeze AlphaBlack

Plasma Themes 28 comments

by Zren
Score 68%
68 Likes
32 Dislikes
Dec 15 2018
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
If you're going for a completely transparent panel, I think there's someone who's probably uploaded a modified version like that, but if you want to modify the theme youself to customize it to your liking:

To edit the shadow that outlines the panel, Open up the following SVG in the Inkscape app:
~/.local/share/plasma/desktoptheme/breeze-alphablack/widgets/panel-background.svg

Select the 9 "shadow" tiles in the middle "square".
Then drag the opacity from 100% down to 0%. The shadows should now be invisible.
Save the file, then switch to another Desktop Theme (like Breeze Dark) and back to test the changes.

The "task manager widget" is styled with the "breeze-alphablack/widgets/tasks.svg".

More info about Desktop Themes at:
https://techbase.kde.org/Development/Tutorials/Plasma5/ThemeDetails

If there's any other Breeze SVGs you want to override, copy them from:
/usr/share/plasma/desktoptheme/default/ - Oct 12 2018
Blur is controlled by Desktop Effects. - Oct 11 2018
Event Calendar

Plasma 5 Calendars 408 comments

by Zren
Score 89%
89 Likes
11 Dislikes
Sep 13 2018
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
Glad you got it working. :] - Oct 17 2018
You're still getting the same error? Clicking on the event opens up the /b/1/ url though right? If you edit the same event in the browser, is there any difference in the url? - Oct 17 2018
Hmmm. I'm not certain how to fix this going forward. The widget would have no way of knowing you're logged into 2 users in your web browser. I could maybe make the url configurable I guess... I don't really want to have to write a full event editor GUI which is why it opens in the browser in the first place.

As for fixing your problem right now, see this bit of code?
https://github.com/Zren/plasma-applet-eventcalendar/commit/e17e15622686964d3ffac8cfd2eb73fa0ba94ad7

You could probably edit the url there. Open up:
~/.local/share/plasma/plasmoids/org.kde.plasma.eventcalendar/contents/ui/calendars/GoogleCalendarManager.qml

Modify the url. then restart plasma by either relogging, or running:
killall plasmashell; kstart5 plasmashell - Oct 17 2018
Weird, yours has an extra /b/1/ in the url. I tried adding that and the the url but it loaded normally. So I've no idea why it's not working.

https://i.imgur.com/SEyjE18.png - Oct 17 2018
Open up google calendar in the browser, then try to edit an event. What does the url look like?

https://www.google.com/calendar/event?eid=
https://calendar.google.com/calendar/r/eventedit/ - Oct 17 2018
Open up ~/.local/share/plasma/plasmoids/org.kde.plasma.eventcalendar/contents/ui/PopupView.qml

Then change the width/height values to whatever you desire. The default with all 4 widgets in a two column view are:

Layout.preferredWidth: 810 * units.devicePixelRatio
Layout.preferredHeight: 510 * units.devicePixelRatio

After you've made your changes, restart plasmashell to test it. You can restart plasmashell by either running the commands below or logging out and back in.

killall plasmashell; kstart5 plasmashell

Due to how complicated the width/height code already is, I'm unlikely to add a simple configurable size, sorry. - Oct 09 2018
On the desktop? Press and hold until the widget control bar appear on the right of the widget.

In the panel? There isn't a persistent way to resize it atm. You can temporarily resize it with Alt+RightClick+Drag but that will reset when you logout. - Oct 01 2018
Uploaded v61 with the feature. - Sep 13 2018
Hmmm, is the hangouts link an "official" link? Or is it a copy pasted URL into the event's description?

Looking at Google Calendar's Documentation, there's an "event.hangoutsLink" and also a "conferenceData".

I've added a button for the hangoutLink.
https://i.imgur.com/OxnECxw.png

Not sure about "Zoom" (whatever that is). - Sep 13 2018
I was leaning towards the colored regular text too. What about adding 4px of spacing? Yes/No?
https://i.imgur.com/y4Yxjw4.png

And yes, hyperlinks do work. They look better now too (using the color scheme's highlight color). - Sep 13 2018
That was easy. I just have to show a text field for the property.
There;s a minor glitch with the mouse hovering atm, but I should be able to fix that eventually.

https://www.youtube.com/watch?v=XqDPyr02Vkg

Thoughts on how to make it look better? Maybe a little extra spacing between the "time" and the "description"?

I'm thinking that I shouldn't bolden the description when it's an active event.
https://i.imgur.com/ORouMaM.png OR https://i.imgur.com/2T4vCr1.png

Maybe I should keep it the normal color too?
https://i.imgur.com/oRdI1Dm.png - Sep 12 2018
Huh, looks like the default widget DigitalClock shows the description, and google calendar too. Should be easy to add. - Sep 12 2018
So the duplicates were showing up in Kontact? - Sep 06 2018
> . The only appointments that are not affected are the ones where the duration is set for the whole day.

Hmmm. And if you refresh again, does it show 3 duplicate events? Or does it only show 2 duplicates? - Sep 05 2018
> shown as a D

I noticed that yesterday. I missed that when I merged someone's patch. I'll be releasing an update with that fix (and jst8's polish translations) later today.

> I also notice that after a refresh of events there suddenly are a lot of duplicates of the same event.

Like the holidays? Or your personal events from KDE PIM? - Sep 05 2018
It should be updating the events every 20 minutes. You can set a 5 min interval in the settings under the Events tab.
It should also be fetching the events when it first loads. The "Holidays" plugin events show up correctly right?
I'm guessing the "KDE PIM" events need an internet connection, and your WiFi hasn't finished connecting by the time the Plasma desktop + widgets has loaded? - Sep 05 2018
Hmmm, I added a new polish translation file. I added the few date formats you mentioned (above the calendar and the dates in the agenda).

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

If you've got the time and are willing to translate anything else, fill it out, copy and paste it into https://hastebin.com/, then click the save icon, and copy the generated website url in a comment here.

https://github.com/Zren/plasma-applet-eventcalendar/blob/master/package/translate/pl.po#L682-L695 - Aug 31 2018
As in, it's different from what Digital Clock uses? What Locale? What does Digital Clock show? What does format does Event Calendar use? You can change Event Calendar's date format in the settings if you wish too, but I'd like to fix this bug so the info is helpful. - Aug 31 2018
TodoList

Plasma 5 Add-Ons 36 comments

by Zren
Score 77%
77 Likes
23 Dislikes
Dec 03 2018
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
Tiled Menu

Plasma 5 Menus 126 comments

by Zren
Score 77%
77 Likes
23 Dislikes
Jan 05 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
Next version will have a Jump To Letter/Category view. I still need to add the ability to start in that view when the menu opens though. Would that suffice?
https://www.youtube.com/watch?v=opYFhTrsRrc - Sep 06 2018
GitHub Issues

Plasma 5 Add-Ons 4 comments

by Zren
Score 57%
57 Likes
43 Dislikes
Oct 28 2018
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://git.opendesktop.org/api/v4/projects/OCS%2Focs-store/issues - Oct 28 2018
NoBorder Firefox When Maximized

Kwin Scripts 12 comments

by Zren
Score 54%
54 Likes
46 Dislikes
Nov 13 2017
Fair enough. Glade this script helped then. :] - Sep 18 2018
The "titlebar area" next to where the tabs are should be draggable.
You can also use the KWin shortcuts: Hold Alt+Left Click anywhere + Drag to move any window. Hold Alt+Right Click + Drag to resize any window. - Sep 18 2018
Oh right, forgot about this. Newer versions of Firefox have the option to use client side decorations, which lets Firefox draw tabs in the "titlebar". You might find that more useful than this script.

* Visit `about:config` in the address bar
* Set `browser.tabs.drawInTitlebar` to `true`
* Restart firefox - Sep 18 2018
YearProgress

Plasma 5 Calendars 11 comments

Score 54%
54 Likes
46 Dislikes
Sep 13 2018
Notice how fuzzyclock has a property named currentDateTime? Every property you define has a on_____Changed signal you can bind to. Since currentDateTime has a binding to dataSource.data.Local.DateTime, every time the dataengine updates, it will update currentDateTime too.

Here's an example you can use to test the differences between AlignToHour, AlignToMinute and AlignToSecond.
https://gist.github.com/Zren/01d81eb74037fd038358b0fa426243c4
- Sep 11 2018
Every 2 seconds seems excessive. The "time" dataengine, which the Digital Clock, Fuzzy Clock, etc uses, has a property to show the current time. It also has the ability to AlignToHour, which means it only updates when the hour changes.

You ought to look into the fuzzyclock widget for a simple example.
https://github.com/KDE/kdeplasma-addons/blob/master/applets/fuzzy-clock/package/contents/ui/main.qml

Here's where AlignToSecond, AlignToMinute, and AlignToHour is defined if you're interested in that enum.
https://github.com/KDE/plasma-framework/blob/38431eebfa1286c11d5bb716f7d65c1a660b535d/src/plasma/plasma.h#L207

You could bind to:
onCurrentDateTimeChanged: {
updateYearProgressSlider()
} - Sep 11 2018
Win7 Volume Mixer

Plasma 5 Multimedia 27 comments

by Zren
Score 74%
74 Likes
26 Dislikes
Jun 05 2018
> For reference, I have two mics (headphones and webcam) and they both just show up as generic "mic."

Can you see anything distinctive between the two? Run the command "pacmd list-sources" to compare them.

I currently override the long name with "Mic" if the name contains the keyword "alsa_input." which might be too generic.
https://github.com/Zren/plasma-applet-volumewin7mixer/blob/master/package/contents/ui/MixerItem.qml#L185

If you're confortable with sharing the entire "pacmd list-sources" output, paste it into https://hastebin.com/ then click the save icon, and copy the url. - Sep 06 2018
I think deleting ~/.cache/icon-cache.kcache and restarting might work. I have tried that in an attempt to fix something similar but it didn't work. - Sep 06 2018
> There's a menu bug where the device and mute icons flicker when hovering over them.

The "hover effect" is intentional, but I'm not getting any "glitchy flickering". Perhaps clearing the KDE icon cache would fix it?
https://streamable.com/jrs6h

> What would really get me to use it would be the ability to set custom keyboard shortcuts.

Hmmm. Interesting Idea, not sure how to do it though. - Sep 05 2018
Thumbnail Grid

Kwin Switching Layouts 23 comments

by Zren
Score 67%
67 Likes
33 Dislikes
Jul 23 2017
Most KDE config files are in ~/.config/ and the "app data" stuff in stored in ~/.local/share/ - Aug 26 2018
> This does not work for me

Which Distro? What version of Plasma, KDE Frameworks? Check the "Info Center" app. - Aug 25 2018
Sticky Window Snapping

Kwin Scripts

by Flupp
Score 75%
75 Likes
25 Dislikes
May 01 2017
KShell

Plasma Look-and-Feel Meta Themes

Score 56%
56 Likes
44 Dislikes
Jan 13 2017
United

Plasma Look-and-Feel Meta Themes

Score 72%
72 Likes
28 Dislikes
Jan 13 2017