Kwin Effects clock effect kwin osd

Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/laloch/kwin-effect-osdclock.git

2
Score 57%
Description:

KWin effect that displays clock at the corner of the screen

onetuser

6 days ago

Hello,
Could not figure out how to make this working on Ubuntu 17. I've managed to build the project, but what to do with generated files:
/usr/lib/plugins/kwin/effects/plugins/libkwin_osdclock.so
/usr/lib/plugins/kwin/effects/configs/kwin_osdclock_config.so
There is no osdclock in Settings->Desktop behavior.
Thanks.

Report

C

laloch

6 days ago

Hi onetuser,

OSD Clock is a KWin effect plugin, so you should see its configuration UI in "Desktop Effects" category. I have just uploaded a screenshot of System Settings application window for you to see what it should look like.

Report

onetuser

6 days ago

Yes, i do not see it in "Desktop Effects" even after reboot. Are those two files enough? No need to add anything to /usr/share/kwin/effects/ or somewhere or edit some config files?

Report

C

laloch

6 days ago

You are right. There's something wrong with Qt5 environment on Ubuntu 17.
Just do `sudo mv /usr/lib/plugins/kwin /usr/lib/x86_64-linux-gnu/qt5/plugins` and you should be fine.

Report

onetuser

2 days ago

It worked, thank you!

Report

flaviobue

5 months ago

Thanks! I love it. I even use it with Raleway font as on the screenshot.
Scaling, however, doesn't work well on HiDPI displays.

Report

C

laloch

5 months ago

Thanks for the feedback. I know about the HiDPI issue. I've already noticed it on my FHD+ display. I can imagine that it looks much worse in 4K. I'll try to fix it soon.

Report

gzu

6 months ago

Hi,
For Fedora I changed the cmake command to
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib64/qt5 ..
Also "src/CMakeFiles/kwin_osdclock_config.dir/build.make" didn't seem to have the full path to org.kde.kwin.Effects.xml.
I edited it to "/usr/share/dbus-1/interfaces/org.kde.kwin.Effects.xml" (in 2 places) before running make.
Thanks,
GZU

Report

C

laloch

6 months ago

Hi GZU,
thanks for explanation.
I should update the build instructions to point out the differences between distributions.
Regarding the interface declaration XML: It's strange. Could you please post the output of 'pkg-config --variable=interfaces_dir dbus-1'?
Thanks

Report

gzu

6 months ago

Hi laloch,

running 'pkg-config --variable=interfaces_dir dbus-1' gives no output on Fedora 28.

Cheers

Report

C

laloch

5 months ago

Indeed! On Fedora you need to install dbus-devel package. On Debian/Ubuntu it's libdbus-1-dev. I'll update the README accordingly. Thanks for reporting!

Report

gzu

6 months ago

+

Report

gzu

6 months ago

Nice kwin clock, good replacement for beclock (which I used in KDE4).
I had a couple of issues getting it to work in Fedora but nothing I couldn't work around.
Thanks,
GZU

Report

C

laloch

6 months ago

Thanks, you're very kind. I made it for myself years ago when our good old BeClock died along with Plasma 4. They even share some parts of code (specifically the blur effect).
Would you mind sharing the issues you had in Fedora? Or perhaps even better please file a bug report(s) over at GitHub if you think there's something I should fix.

Report

product-maker flaviobue Aug 29 2018

Thanks! I love it. I even use it with Raleway font as on the screenshot. Scaling, however, doesn't work well on HiDPI displays.

product-maker gzu Aug 14 2018

+
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
Details
license
GPLv2 or later
version
updated Aug 12 2018
added Aug 12 2018
downloads today
0
page views today 11