GitHub Issues

Plasma 5 Applets by Zren 19 comments

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
Event Calendar

Plasma 5 Calendars by Zren 707 comments

Glad you got it working. :] - Oct 17 2018
Event Calendar

Plasma 5 Calendars by Zren 707 comments

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
Event Calendar

Plasma 5 Calendars by Zren 707 comments

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
Event Calendar

Plasma 5 Calendars by Zren 707 comments

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
Event Calendar

Plasma 5 Calendars by Zren 707 comments

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
Breeze AlphaBlack

Plasma Themes by Zren 62 comments

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
Breeze AlphaBlack

Plasma Themes by Zren 62 comments

Blur is controlled by Desktop Effects. - Oct 11 2018
Event Calendar

Plasma 5 Calendars by Zren 707 comments

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
Event Calendar

Plasma 5 Calendars by Zren 707 comments

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
NoBorder Firefox When Maximized

Kwin Scripts by Zren 14 comments

Fair enough. Glade this script helped then. :] - Sep 18 2018
NoBorder Firefox When Maximized

Kwin Scripts by Zren 14 comments

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
NoBorder Firefox When Maximized

Kwin Scripts by Zren 14 comments

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
Event Calendar

Plasma 5 Calendars by Zren 707 comments

Uploaded v61 with the feature. - Sep 13 2018
Event Calendar

Plasma 5 Calendars by Zren 707 comments

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
Event Calendar

Plasma 5 Calendars by Zren 707 comments

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
Event Calendar

Plasma 5 Calendars by Zren 707 comments

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
Event Calendar

Plasma 5 Calendars by Zren 707 comments

Huh, looks like the default widget DigitalClock shows the description, and google calendar too. Should be easy to add. - Sep 12 2018
YearProgress

Plasma 5 Calendars by Refused 26 comments

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
YearProgress

Plasma 5 Calendars by Refused 26 comments

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
Event Calendar

Plasma 5 Calendars by Zren 707 comments

So the duplicates were showing up in Kontact? - Sep 06 2018
Tiled Menu [Plasma 5]

Plasma 5 Menus by Zren 316 comments

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
Win7 Volume Mixer

Plasma 5 Multimedia by Zren 58 comments

> 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
Win7 Volume Mixer

Plasma 5 Multimedia by Zren 58 comments

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
Win7 Volume Mixer

Plasma 5 Multimedia by Zren 58 comments

> 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
Event Calendar

Plasma 5 Calendars by Zren 707 comments

> . 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
Event Calendar

Plasma 5 Calendars by Zren 707 comments

> 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
Event Calendar

Plasma 5 Calendars by Zren 707 comments

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
Event Calendar

Plasma 5 Calendars by Zren 707 comments

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
Event Calendar

Plasma 5 Calendars by Zren 707 comments

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
Thumbnail Grid [Merged Into KDE]

Kwin Switching Layouts by Zren 41 comments

Most KDE config files are in ~/.config/ and the "app data" stuff in stored in ~/.local/share/ - Aug 26 2018
Thumbnail Grid [Merged Into KDE]

Kwin Switching Layouts by Zren 41 comments

> This does not work for me

Which Distro? What version of Plasma, KDE Frameworks? Check the "Info Center" app. - Aug 25 2018
AlphaBlack Control [Plasma 5]

Plasma 5 Applets by Zren 28 comments

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
Thumbnail Grid [Merged Into KDE]

Kwin Switching Layouts by Zren 41 comments

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
Thumbnail Grid [Merged Into KDE]

Kwin Switching Layouts by Zren 41 comments

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
Soda Dark [Thin Titlebar]

Yakuake Skins by Zren 12 comments

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
AlphaBlack Control [Plasma 5]

Plasma 5 Applets by Zren 28 comments

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 by Zren 12 comments

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
Soda Dark [Thin Titlebar]

Yakuake Skins by Zren 12 comments

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
Chrome Dark Aurorae

Plasma Window Decorations by warvariuc

I added the following to the rc file so that the application icon is a square instead of getting stretched to be a rectangle.
ButtonWidthMenu=18

More info at:
https://github.com/KDE/kwin/blob/master/plugins/kdecorations/aurorae/theme-description#L140 - Aug 21 2018
Chrome Grayscale Aurorae

Plasma Window Decorations by Scnd101 2 comments

I added the following to the rc file so that the application icon is a square instead of getting stretched to be a rectangle.
ButtonWidthMenu=18

More info at:
https://github.com/KDE/kwin/blob/master/plugins/kdecorations/aurorae/theme-description#L140 - Aug 21 2018
AlphaBlack Control [Plasma 5]

Plasma 5 Applets by Zren 28 comments

If you deleted it (via Add Widgets > Get New Widgets > Download > Remove), then you'll probably need to relog for it to disappear.

You could also just hide it by right click the System Tray "triangle", open System Tray Settings, and uncheck the widget under Extra Items. - Aug 15 2018
Present Windows Button

Plasma 5 Applets by Zren 34 comments

Does it look better in v7? - Aug 04 2018
Tiled Menu [Plasma 5]

Plasma 5 Menus by Zren 316 comments

The issue with non-default font sizes not cusing the labels to overflow should be fixed in v23. - Aug 02 2018
Tiled Menu [Plasma 5]

Plasma 5 Menus by Zren 316 comments

> live updates

As in... embedding other widgets like a weather widget? Not any time soon as I've no idea how to embed other widgets like the system tray or the panel.

I could probably draw an interactive tile for specific apps, making this a "monolithic" widget that can display weather/news feeds/etc but that'd be a ton of work. - Aug 02 2018
Event Calendar

Plasma 5 Calendars by Zren 707 comments

v59 fixed the city selector for weather integration. - Aug 01 2018
AlphaBlack Control [Plasma 5]

Plasma 5 Applets by Zren 28 comments

v3 of the widget + v12 of the desktop theme should give the best of both worlds. By default, changing the accent color will change the window decoration. but you'll have a button to reset or reapply the colors.

Video: https://streamable.com/nwuyv - Jul 26 2018
AlphaBlack Control [Plasma 5]

Plasma 5 Applets by Zren 28 comments

Open up ~/.config/kdeglobals
Then delete the [WM] section. It should reset the colors to the defaults.

This section:

[WM]
activeBackground=0,0,0
activeBlend=252,252,252
activeFont=Noto Sans,10,-1,5,50,0,0,0,0,0,Regular
activeForeground=255,255,255
activeTitleBtnBg=255,0,255
frame=0,0,0
handle=255,0,0
inactiveBackground=0,0,0
inactiveBlend=75,71,67
inactiveForeground=255,255,255
inactiveFrame=0,0,0
inactiveHandle=0,255,0
inactiveTitleBtnBg=0,0,255
- Jul 26 2018
AlphaBlack Control [Plasma 5]

Plasma 5 Applets by Zren 28 comments

Just change your color theme to fix the titlebar color. - Jul 24 2018
Event Calendar

Plasma 5 Calendars by Zren 707 comments

v51 fixes the timer presets getting drawn outside the window. Just disable the timer in Event Calendar's settings if you can't upgrade. - Jul 14 2018