GitHub Issues

Plasma 5 Applets by Zren 19 comments

Odd, I thought the localstorage module was preinstalled. Guess not. Install qml-module-qtquick-localstorage with:

sudo apt install qml-module-qtquick-localstorage - May 22 2020
GitHub Issues

Plasma 5 Applets by Zren 19 comments

What distro? What Qt version? - May 22 2020
Win7 Volume Mixer

Plasma 5 Multimedia by Zren 58 comments

Drag the app icon onto a speaker. - May 14 2020
Simple Weather [Plasma 5]

Plasma 5 Weather by Zren 28 comments

Oops. I think I bumped the qtquick version trying to see if a newer version fixed an unrelated bug. It doesn't need QtQuickControls 2.5 (released with Qt 5.12).

If you edit the ConfigUnitComboBox.qml file and use version 2.0 it should work after closing and reopening the config.
Eg:
import QtQuick 2.0
import QtQuick.Controls 2.0 as QtControls - May 11 2020
Tiled Menu [Plasma 5]

Plasma 5 Menus by Zren 316 comments

Thanks. Will be fixed in the next version.
https://github.com/Zren/plasma-applet-tiledmenu/commit/07bdd779aa0ca47d45bfe302cc3bf4aff3081be6 - May 09 2020
GitHub Issues

Plasma 5 Applets by Zren 19 comments

Finally got around to it: https://store.kde.org/p/1381655/ - May 07 2020
GitHub Issues

Plasma 5 Applets by Zren 19 comments

Finally got around to it: https://store.kde.org/p/1381655/ - May 07 2020
Condensed Weather [Plasma 5]

Plasma 5 Weather by Zren 22 comments

What Plasma version? What distro? What screen/monitor resolution?

If it happens again, with v4, tell me (and uninstall the widget). I'm hoping you still had v2 installed, as it should've been fixed in v3. - May 07 2020
Condensed Weather [Plasma 5]

Plasma 5 Weather by Zren 22 comments

Right Click "metadata.desktop" > Open With > Kate - May 06 2020
Condensed Weather [Plasma 5]

Plasma 5 Weather by Zren 22 comments

Alt+Space > Dolphin
Nagivate to ~/.local/share/plasma/plasmoids/com.github.zren.condensedweather
Right Click "metadata.desktop" and remember what version. Eg: X-KDE-PluginInfo-Version=4

Delete ~/.local/share/plasma/plasmoids/com.github.zren.condensedweather
Alt+Space > killall plasmashell; kstart5 plasmashell

What version did you have installed? - May 06 2020
Event Calendar

Plasma 5 Calendars by Zren 707 comments

Delete this folder to uninstall.
~/.local/share/plasma/plasmoids/org.kde.plasma.eventcalendar/ - May 05 2020
Condensed Weather [Plasma 5]

Plasma 5 Weather by Zren 22 comments

Should be fixed in v3. It was caused by setting the minimum width and trying to force all day items to be the same size (instead of 1 item being smaller/larger sometimes). The loop sometimes became an infinite loop. I've decided to ingnore trying to set a minSize and just set a defaultSize a desktop widget starts at. - May 04 2020
Tiled Menu [Plasma 5]

Plasma 5 Menus by Zren 316 comments

Fixed in v33 - Apr 24 2020
Tiled Menu [Plasma 5]

Plasma 5 Menus by Zren 316 comments

"If" I ever customize the fullscreen view to be different from the smaller view, it'll be to look like:

https://www.tenforums.com/attachments/tutorials/116331d1483910981-open-use-all-apps-start-menu-windows-10-a-all_apps_full_screen_start.jpg

It'll show all apps at once. There will be no filtering the list with "subcategory buttons" like the Application Dashboard. You can easily switch to Sort+GroupBy categories.

I haven't written it yet, since I'd need to rewrite the AppList from a ListView to multiple GridViews, which requires re-thinking keyboard navigation from Up/Down, to include Left/Right as well, as well as jump from GridView to GridView like Application Dashboard does.

I might do a A-Z "JumpTo" along the scrollbar like the Android app list.

https://forums.androidcentral.com/attachments/samsung-galaxy-s7/247221d1480651537t-view-apps-alphabetical-list-screenshot_20161201-230353.jpg

If you want it to be different:
https://zren.github.io/kde/docs/widget/
- Apr 19 2020
Tiled Menu [Plasma 5]

Plasma 5 Menus by Zren 316 comments

"If" I ever customize the fullscreen view to be different from the smaller view, it'll be to look like:

https://www.tenforums.com/attachments/tutorials/116331d1483910981-open-use-all-apps-start-menu-windows-10-a-all_apps_full_screen_start.jpg

It'll show all apps at once. There will be no filtering the list with "subcategory buttons" like the Application Dashboard. You can easily switch to Sort+GroupBy categories.

I haven't written it yet, since I'd need to rewrite the AppList from a ListView to multiple GridViews, which requires re-thinking keyboard navigation from Up/Down, to include Left/Right as well, as well as jump from GridView to GridView like Application Dashboard does.

I might do a A-Z "JumpTo" along the scrollbar like the Android app list.

https://forums.androidcentral.com/attachments/samsung-galaxy-s7/247221d1480651537t-view-apps-alphabetical-list-screenshot_20161201-230353.jpg

If you want it to be different:
https://zren.github.io/kde/docs/widget/
- Apr 19 2020
Tiled Menu [Plasma 5]

Plasma 5 Menus by Zren 316 comments

The default Application Dashboard is similar to that video you link.

* It had a switch between Recent/MostUsed, A-Z. However it doesn't have a "categories" toggle. It separates all subcategories on the right side instead of showing the subcategories on the left side. I agree that you should be able to "scroll" the categories (as I've done in TiledMenu).
* It doesn't have a convenient toggle between compact and fullscreen mode. Tbh it should only switch between modes when it detects a touch.
* It doesn't have small icons for MyUser, Dolphin, System Settings (Like TiledMenu). It does have power options however.

I don't use a fullscreen dashboard menu atm, so I wouldn't iterate development on it even if I did mock it up in QML.

The compact view can already be achieved with TiledMenu by settings columns to 0.

You can try your hand at forking the Application Dashboard (kickerdash) with:

* https://zren.github.io/kde/docs/widget/

Note that kickerdash reuses the kicker source code (which is why the kickerdash folder is empty). So fork org.kde.plasma.kicker, then edit isDash in main.qml to true. Edit DashboardRepresentation.qml to modify the fullscreen view.

* https://github.com/KDE/plasma-desktop/blob/master/applets/kicker/package/contents/ui/main.qml#L36
* https://github.com/KDE/plasma-desktop/blob/master/applets/kicker/package/contents/ui/DashboardRepresentation.qml

I wouldn't fork TiledMenu until you understand kicker, as I parse `Kicker.RootModel` from "an array of arrays" to "a simple array", which works better in a QML ListView with section headings.

The DashboardRepresentation uses multiple QML GridViews, so the "array of arrays" structure `RootModel` uses is better. QML's GridView doesn't have "section headings", so kicker has a ItemMultiGridView.
- Mar 31 2020
Tiled Menu [Plasma 5]

Plasma 5 Menus by Zren 316 comments

You can already drag a file/folder from the Dolphin File Manager, hover the panel icon to show the menu, then drop the file/folder to create a new tile. - Mar 27 2020
Inactive Blur

Plasma 5 Wallpaper Plugins by Zren 44 comments

Not really. An AnimatedImage the size of a wallpaper uses too much resources IMO (CPU or RAM).
Feel free to edit the qml code from Image to AnimatedImage yourself though.

* ~/.local/share/plasma/wallpapers/com.github.zren.inactiveblur/contents/ui/
* https://github.com/Zren/plasma-wallpapers/blob/master/inactiveblur/package/contents/ui/BlurredWallpaper.qml#L17
* https://doc.qt.io/archives/qt-4.8/qml-animatedimage.html


Use the following command to test your changes without relogging:
killall plasmashell; kstart5 plasmashell


This fella combined blur and AnimatedImage (not inactiveblur though):
* https://www.reddit.com/r/unixporn/comments/9sd5uy/kde_plasma_blur_gif_pixel_art_wallpaper_look/
* https://github.com/nhanb/com.nerdyweekly.animated
- Mar 04 2020
TodoList

Plasma 5 Applets by Zren 85 comments

If the error you are referring to is "module org.kde.plasma.private.notes is not installed" then you'll need to install the plasma-widgets-addons package. Restart after installing it and the error should be gone when you add the widget.

sudo apt install plasma-widgets-addons
- Jan 26 2020
Tiled Menu [Plasma 5]

Plasma 5 Menus by Zren 316 comments

Ah, good idea. It's a simple enough change. I'll add it to the next version.

To use it before I release a new version, just open the following file:
~/.local/share/plasma/plasmoids/com.github.zren.tiledmenu/contents/ui/SidebarView.qml

Then add this line:
https://github.com/Zren/plasma-applet-tiledmenu/commit/da0bd62cdaae16021cda2cf7a87b5a0b6d57f892

Then restart plasmashell to reload the widget. - Jan 06 2020
Present Windows Button

Plasma 5 Applets by Zren 34 comments

Edit
~/.local/share/plasma/plasmoids/com.github.zren.presentwindows/contents/ui/Main.qml

So that the qdbus commands are qdbus-qt5. Then relog to restart the panel. The widget should work then.

No idea why you only have qdbus-qt5 on that machine. I'll look into using that command by default in the next version. - Dec 09 2019
Present Windows Button

Plasma 5 Applets by Zren 34 comments

What distro (on both your machines)? Does using qdbus-qt5 instead work? - Dec 09 2019
Present Windows Button

Plasma 5 Applets by Zren 34 comments

Go to System Settings > Workspace Behavior > Desktop Effects > Present Windows and enable it there.

Also, run the following commands to make sure compositor is active?
qdbus org.kde.KWin /Compositor active
qdbus org.kde.KWin /Compositor compositingPossible
qdbus org.kde.KWin /Compositor compositingNotPossibleReason
- Dec 09 2019
Present Windows Button

Plasma 5 Applets by Zren 34 comments

Weird. Sounds like it's not able to call commands.

All this widget does is call one of these terminal commands to trigger the keyboard shortcut.
https://github.com/Zren/plasma-applet-presentwindows/blob/master/package/contents/ui/Main.qml#L87

The only other thing I can think of, is that you only have 0-1 windows open, as the effect does nothing when there's only 1 window. - Dec 09 2019
System Monitor Dashboard

Plasma 5 Monitoring by Zren 49 comments

I don't think it's possible to monitor remote sensors with my widget, but KSysGuard can. I've broken in down here:

https://github.com/Zren/plasma-applet-sysmonitordash/issues/23 - Dec 05 2019
System Monitor Dashboard

Plasma 5 Monitoring by Zren 49 comments

Plasma wasn't crashing due to a segfault, but freezing due to an infinite loop. v4 of the widget should fix that bug. - Dec 04 2019
System Monitor Dashboard

Plasma 5 Monitoring by Zren 49 comments

There should be a Dr Konqi icon in the system tray, can you save the stack trace / dev info and upload it in a new issue on GitHub?

https://github.com/Zren/plasma-applet-sysmonitordash/issues
- Nov 30 2019
Event Calendar

Plasma 5 Calendars by Zren 707 comments

It can display events from PIM, just make sure kdepim-addons is installed so it can show in Event Calendar or Digital Clock.

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

Not sure if I can display events in Kalendar on click though. - Nov 19 2019
Event Calendar

Plasma 5 Calendars by Zren 707 comments

I don't believe the digitalclock widget can display that information, so I can't either.

* https://github.com/KDE/plasma-framework/blob/master/src/declarativeimports/calendar/eventdatadecorator.h
* https://github.com/KDE/plasma-workspace/blob/master/plasmacalendarintegration/holidaysevents.cpp
* https://github.com/KDE/kdepim-addons/blob/master/plugins/plasma/pimeventsplugin/autotests/data/simple-oneday-event.json


You will need to first request this feature get added to Digital Clock first.
* https://bugs.kde.org/enter_bug.cgi?product=plasmashell&component=Digital%20Clock
* https://zren.github.io/kde/repos/#digital-clock - Nov 09 2019
Event Calendar

Plasma 5 Calendars by Zren 707 comments

It doesn't work when you manually click the refresh button? In v64, I changed from an "automatic retry if there's an error" to a "check if refresh token is valid first before the first attempt". This might explain the change in behavior if you used v63 and below beforehand.

Try running:
QT_LOGGING_RULES="qml.debug=true" plasmawindowed org.kde.plasma.eventcalendar > ~/Desktop/eventcalendar.log

* Enable "debugging" in the config (right click the window).
* Configure it to be logged into google, and display whatever google related settings you have configured in the panel.
* Then tell me (by email as it'll be personal info) the log when you discover the "windowed widget" is no longer in sync like you experience in the panel.

My email is in can be seen in any of the patches:
https://github.com/Zren/plasma-applet-eventcalendar/commit/29b11eb238b2f43033ce6443a70996dae163b942.patch - Nov 09 2019
Win7 Show Desktop [Plasma 5]

Plasma 5 Applets by Zren 56 comments

In v8 I've made it default to using 40% of the textColor instead of the "button bg/outline color". It'll make the line much easier to see. The reason I didn't do this before was because I drew a rectangle with that color, but now I'm just showing a line on the left (or top) edge. This means the widget can't be used in the left or top corners of the screen, but I doubt people were using it in those locations anyways.

If the color is too bright, you can make it darker (or more transparent).

Making it a "glassy aero button" like win7 would be a bit of work since I haven't tried to do a glassy effect before. - Oct 19 2019
Simple Weather [Plasma 5]

Plasma 5 Weather by Zren 28 comments

You appear to not have the default weather widget installed, you need to have the kdeplasma-addons package, but it was broken up into 3-4 packages. You will need:

sudo apt install plasma-widgets-addons

Looks like I don't mention that in the widget's description, I'll add that now. - Oct 17 2019
Win7 Show Desktop [Plasma 5]

Plasma 5 Applets by Zren 56 comments

Just added my translation scripts. If you create an "es.po", I'll put it in the next version.

https://github.com/Zren/plasma-applet-win7showdesktop/tree/master/package/translate#new-translations - Oct 14 2019
System Monitor Dashboard

Plasma 5 Monitoring by Zren 49 comments

Can you take a screenshot with the "Spectacle" app (use the delay feature) and upload it to imgur.com. Paste the url to the image here. Are you using v2 or v3 of the widget? What GPU are you using (AMD / Nvidia / Intel)? - Oct 01 2019
Simple Weather [Plasma 5]

Plasma 5 Weather by Zren 28 comments

You definitely have Qt installed. Just open the "Info Center" app to check.

It looks like Kubuntu 18.04 only has Frameworks 5.44, and the "checked" feature was added in 5.46 which is why it's not breaking earlier and complaining about Kirigami.FormLayout which was adding in Frameworks 5.42.


You can manually delete the outline control in:
~/.local/share/plasma/plasmoids/com.github.zren.simpleweather/contents/ui/config/ConfigGeneral.qml

and opening the config should work.

-----

Normally I would recommend installing the Kubuntu Backports, as it looks like it has the KDE Frameworks 5.47. But since you still get Plasma Desktop 5.12 with the backports there isn't much point I think.

* https://zren.github.io/kde/#kubuntu-backports-ppa
* https://packages.ubuntu.com/bionic/plasma-framework
* plasma-framework 5.47.0-0ubuntu1~ubuntu18.04~ppa1
* https://launchpad.net/%7Ekubuntu-ppa/+archive/ubuntu/backports/+index?batch=75&direction=backwards&memo=750&start=675
* https://repology.org/project/kirigami2/versions
* https://github.com/KDE/kirigami/commit/6ac4e62002ae2a30aad5b253c6bec53e89061e72

I'm using the newer "plasma config" API, so I guess it's breaking. I could upload an older version of the widget without the "outline color" feature, or... just not using that api feature... lame. - Sep 27 2019
Simple Weather [Plasma 5]

Plasma 5 Weather by Zren 28 comments

Sounds like the Kirigami API is different as I only bind to that signal in Kirigami.FormData.onCheckedChanged.

What version of kirigami do you have? It's part of KDE Frameworks (I'm using 5.61.0 in Manjaro). What Linux distro are you using? Also, what version of Qt do you have? - Sep 27 2019
Tiled Menu [Plasma 5]

Plasma 5 Menus by Zren 316 comments

Sorry, I should have tested with a much larger number. You also have to remove the "Layout.maximumWidth: size" as well. Otherwise it will limit the width to the "panelIcon" size.

Here's what it looks like with my previous instructions. Notice how the button is about ~48px wide? That's because it's limited by the "System Settings > Icons > Configure Icon Size > Panel" size. It's more noticeable in my screenshot since my panel is only 30px tall so the icon is scaled down to ~24px.

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

Here's what it looks like when I delete Layout.maximumWidth:

https://i.imgur.com/i9RIKfY.png - Sep 19 2019
Tiled Menu [Plasma 5]

Plasma 5 Menus by Zren 316 comments

In: ~/.local/share/plasma/plasmoids/com.github.zren.tiledmenu/contents/ui/LauncherIcon.qml
Change:
Layout.minimumWidth: {
...
case PlasmaCore.Types.Horizontal:
return height;
To:
Layout.minimumWidth: {
...
case PlasmaCore.Types.Horizontal:
return 50 * units.devicePixelRatio;

Then restart plasmashell by logging out and back in or by running:
killall plasmashell; kstart5 plasmashell

Adjust 50 to something smaller if you want. - Sep 18 2019
Tiled Menu [Plasma 5]

Plasma 5 Menus by Zren 316 comments

Hmmm. Good point. There should be a minimum width when editing. The 4x4 grid makes things easier than just using the spinboxes for tile width/height, but it requires a certain amount of space. The grid stretches all the other textfields and the "Browse for bg image" button is hidden.

A workaround would be to widen the app list when editing the tiles, but that's cumbersome. - Sep 01 2019
Event Calendar

Plasma 5 Calendars by Zren 707 comments

It follows your locale's default setting. If your locale's default is 12h and you set a 24h custom time format in the panel, it'll still use 12h in the tooltip. Unfortunately Qt doesn't have a "translated" 12h and 24h time formats for every locale. I'll have to think of a way to support that without needing to have translators do fill it out. - Aug 25 2019
Event Calendar

Plasma 5 Calendars by Zren 707 comments

How does this look for the tooltip? https://i.imgur.com/bkTTun8.png

I removed some whitespace, centered the timezones like digitalclock, bolded all the timezone labels, and used the short time format (without seconds). - Aug 25 2019
Event Calendar

Plasma 5 Calendars by Zren 707 comments

Ah, I guess we do need that. You can just delete the mouse up/down commands to achieve that.

It seems digital clock doesn't show the seconds either, so that's a good idea. - Aug 25 2019
Win7 Show Desktop [Plasma 5]

Plasma 5 Applets by Zren 56 comments

Oh neat. Thanks for pointing that out. I'll do a little cleanup of the widget and add that in the next version. - Aug 11 2019
Simple Weather [Plasma 5]

Plasma 5 Weather by Zren 28 comments

A configurable font size for the min/max temp and the current condition text as been added to v6. - Jul 24 2019
Tiled Menu [Plasma 5]

Plasma 5 Menus by Zren 316 comments

TiledMenu uses a 60px sidebar button area, with 24px icons (18px padding).
Simple10 uses 50px sidebar button area, with 16px icons (17px padding).
It would be trivial to make those sizes configurable to the user. I do remember measuring a 50px wide sidebar on one Windows PC, so MS might have change the size.

He uses desktop theme svgs for button highlights, where as I tried to emulate the hover effects and animations. I never did get around to adding the hover effect to the sidebar though. - Jul 21 2019
Tiled Menu [Plasma 5]

Plasma 5 Menus by Zren 316 comments

The differences: https://gist.github.com/Zren/691df69a45b78c45515b1973be77baec

* Uses 'system-file-manager-symbolic' instead of 'folder-open-symbolic' for dolphin in the sidebar. Breeze does not have that symbolic icon, so it uses "system-file-manager" instead, which is the blue dolphin icon. You would need to use his icon theme to get that look.
* Uses 'configure-symbolic' instead of 'configure' for systemsettings in the sidebar. This is a gray icon in the default "Breeze" icon set, and will look ugly for most users unless they use his icon theme. The breeze icon needs fixing as it doesn't appear to follow the color scheme, which is a bug in breeze I think.
* Places the logout/power submenus above the buttons instead of on the side. Since it no longer needs to be the same height as the sidebar icons to look good, the height of the submenu items is shorter. The submenu popup also has top/bottom padding. The compact nature means the mouse has to travel less, making it more usable.

I may implement the submenu stuff, since it's more usable than it is currently. I rarely use the power button so I haven't been eating that dog food enough to be annoyed enough to change it.

I could ship and hardcode the symbolic system settings + dolphin icons I guess...

----

Other stuff:

* Removes the tile grid.
* Removes the "hover outline effect".
* Removes the ability to show category view, replacing the alphabetical view icon with the windows icon.
* Removed the default "windows white" search box theme, forcing it to use the "plasma desktop theme" style text field.
* Removed the panUp animation when you start a search. I could make the animation optional i guess.
* Forces the panel icon to be very large (same size as the sidebar icons) which may be larger than panel can support. Looks great when you have a thick panel though.

-----

Tile Background Color

He's planning to have the icon bg color manually configured by the user, like my tile editor. Not knocking it, but ideally this would be automatically generated, with the option to manually override the color.

https://github.com/Zren/plasma-applet-tiledmenu/issues/33
- Jul 21 2019
Tiled Menu [Plasma 5]

Plasma 5 Menus by Zren 316 comments

Screenshot? Take on with Spectacle then upload to https://imgur.com/ and link the url here.

Have you tried changing the Search Box theme in Tiled Menu's settings from the default "Windows (White)" to your "Desktop Theme" search box theme? - Jul 21 2019
Tiled Menu [Plasma 5]

Plasma 5 Menus by Zren 316 comments

First make sure you've switched the Meta keybinding to be handled by Latte. There's a couple commands on it's wiki.

https://userbase.kde.org/LatteDock/FAQ#Can_I_use_my_super_key_to_open_the_app_launcher.3F

I'm not sure if Latte needs this, but open Tiled Menu's settings and make sure it has a Keyboard Shortcut like Alt+F1. Plasmashell needs a shortcut set, but I'm not 100% sure Latte does.

- Jul 14 2019
Event Calendar

Plasma 5 Calendars by Zren 707 comments

No, you cannot login to more than one google account unfortunately.. - Jul 08 2019
Thumbnail Grid [Merged Into KDE]

Kwin Switching Layouts by Zren 41 comments

Sorry, must of missed this comment / email. Rather than doubling the absolute value from 22 to 44. I'll need to scale it by DPI so it works for users with 1x DPI too.

Does this work?

property int captionRowHeight: 22 * units.devicePixelRatio
property int thumbnailWidth: 300 * units.devicePixelRatio
- Jun 24 2019