profile-image

Zren

Chris H

Tiled Menu

Plasma 5 Menus 2 days ago
5
Score 77%
77 Likes
23 Dislikes

GitHub Issues

Plasma 5 Add-Ons Oct 28 2018
Score 54%
54 Likes
46 Dislikes

Breeze AlphaBlack

Plasma Themes Oct 12 2018
Score 65%
65 Likes
35 Dislikes

Event Calendar

Plasma 5 Calendars Sep 13 2018
3
Score 88%
88 Likes
12 Dislikes

TodoList

Plasma 5 Add-Ons Aug 30 2018
1
Score 75%
75 Likes
25 Dislikes

Command Output

Plasma 5 Add-Ons May 06 2018
1
Score 68%
68 Likes
32 Dislikes

Battery Time

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

Tile Chrome

Kwin Scripts Dec 13 2016
Score 54%
54 Likes
46 Dislikes

Tiled Menu

Plasma 5 Menus 2 days ago
5
Score 77%
77 Likes
23 Dislikes

GitHub Issues

Plasma 5 Add-Ons Oct 28 2018
Score 54%
54 Likes
46 Dislikes

Breeze AlphaBlack

Plasma Themes Oct 12 2018
Score 65%
65 Likes
35 Dislikes

Event Calendar

Plasma 5 Calendars Sep 13 2018
3
Score 88%
88 Likes
12 Dislikes
Tiled Menu

Plasma 5 Menus 123 comments

by Zren
Score 77%
77 Likes
23 Dislikes
2 days ago
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. - 2 days ago
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
System Monitor Dashboard

Plasma 5 Monitoring 9 comments

by Zren
Score 50%
50 Likes
50 Dislikes
Nov 14 2018
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
Event Calendar

Plasma 5 Calendars 396 comments

by Zren
Score 88%
88 Likes
12 Dislikes
Sep 13 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
GitHub Issues

Plasma 5 Add-Ons 3 comments

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

Plasma Themes 23 comments

by Zren
Score 65%
65 Likes
35 Dislikes
Oct 12 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
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 73%
73 Likes
27 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 22 comments

by Zren
Score 65%
65 Likes
35 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
Alt+Tab down, release just Tab, then click a window, then release Alt.
Eg: https://www.youtube.com/watch?v=m0YWDpbj71o

And yeah, you're right that it doesn't highlight the "hovered" window via an outline or... anything. Hmmm. The "Breeze" skin doesn't either. - Aug 24 2018
You can hold Alt, click a window to select it, then release Alt.
It don't preview on hover though, not sure if I'll add that as you need to ignore where the mouse is when the window appears, and only "select" when the mouse has moved a minimum distance. - Aug 24 2018
AlphaBlack Control

Plasma 5 Add-Ons 18 comments

by Zren
Score 63%
63 Likes
37 Dislikes
Oct 13 2018
You can't edit the "appletrc" with plasmashell running, as plasmashell will overwrite your changes when the process is killed.

So first open up the terminal in one window, and "appletrc" in another window. Run "killall plasmashell" in the terminal. Edit the "appletrc" file. Then run "kstart5 plasmashell" in the Terminal to bring back Plasma/panels/wallpaper. - Aug 25 2018
It's possible that while it's "uninstalled", the system tray widget "remembers" that you want it disabled in case it is ever installed again.

I know the System Tray keeps a list in ~/.config/plasma-org.kde.plasma.desktop-appletsrc
Ctrl+F for "hiddenItems=", it's probably in there under "com.github.zren.alphablackcontrol". - Aug 24 2018
Soda Dark (Thin Titlebar)

Yakuake Skins 10 comments

by Zren
Score 54%
54 Likes
46 Dislikes
Aug 24 2018
Not really, you'll need to download it via the installer in yakuake. I think the Discover app is going to attempt to update widgets some day in the distant future though. Same day I'll learn how to setup an ubuntu PPA. - Aug 24 2018
Wow, I've been using "thin titlebar" themes so long I complete forgot there was text in the TITLEbar. Welp.

Here's how the default is defined:
* https://github.com/KDE/yakuake/blob/master/data/skins/default/title.skin#L13-L19

And here's what I've been using:
* https://github.com/Zren/yakuake-sodadark-thintitlebar/blob/master/title.skin#L13-L19

I'll need to look into if there's a way to draw the titlebar completely "offscreen", or if I can set the font size to 0, or if I can draw the text as a "transparent color".

Looking at the code that loads the skin, I don't see any "disable the title" options.
https://github.com/KDE/yakuake/blob/02dd8ab51d6dd1dd1c8b3dcc78fc596cd2ed96f5/app/skin.cpp#L107-L118

I fixed it by using [Text] y=-100, I'll upload a v2 in a sec. - Aug 24 2018
I've randomly noticed a single white pixel before. It drove me mad trying to figure out why it was happening. You've given me a much needed clue. It looks like it's drawing the text that overflows the "tab area" onto the "titlebar". Hmmm. - Aug 24 2018
Sticky Window Snapping

Kwin Scripts

by Flupp
Score 73%
73 Likes
27 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 71%
71 Likes
29 Dislikes
Jan 13 2017