BeClock

Various KDE 1.-4. Improvements

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

47
8.4
Available as/for: -
Description:

A simple clock, implemented as KWin Effect

- This is NO plasmoid!
- You need active desktop FX to use this clock

** NOTICE **
For KDE 4.10 you'll have to obtain the version from https://sourceforge.net/p/bekwinfx/
(either through preferably git or a live tarball)

0.18 will not work on KDE 4.10

Installation:
---
tar -xJf beclock-kwin-fx.x.y.txz
cd beclock-kwin-fx
./configure
cd build
make && sudo make install
---
to activate or configure
- rightclick some titlebar
- say "configure..."
- click "all effects"
- filter for beclock
- check and maybe configure it.
- click apply


Advances:
- always on top
- input event dead (you can click through etc.)

Features:
- AM/PM or 24h digital display
- optional date display
- binary clock
Last changelog:

9 years ago

0.18
----
- hometime support, ie you get one additional timezone to select which will appear as a dot in the analog rings only

0.17a
----
- yet another maintenance release, fixes 64bit (thanks to Raymond Wooninck for notice and a patch) and KDE 4.7 building
- hometime support comes later ...

0.17
----
- build fix
- show corner activated clock on countdown
- preselect local time format (24h ./. AM/PM)

0.16
----
- maintainance release for KDE SC 4.8rc1 compilation. No functional change.
- update on 2012-02-03: cmake janus compilation issues, no code change

0.15
----
- support for 4.8 (yes, doesn't disappear anymore)
- alpha support for GLSL 2.0 (the blendfunction was irrelevant since not used anyway - i fixed kwin to support 2.0 shaders on my box ;-)
- as an extra bonus a binary and a Maya inspired clock =)

landice

9 years ago

Sorry for the confusion, I am using the 4.7 branch of kdelibs, all the other codes are from master branch, I guess that is why the linking failed, also the problem with generic animations is probably related to this as well: after I removed all the #if KDE_IS_VERSION and just kept the code for the new kwin, beclock stops disappearing now.

Report

C

thomas12777

9 years ago

Nevermind, better a little confusion than a big bug ;-)

Report

gravy

9 years ago

I really really like this... But I wish it was a plasma widget.. I had gone into this hoping it would stay only on the desktop for me, like a widget, and not stay on top of all my windows.

Report

C

thomas12777

9 years ago

"sigh" - and i had hoped to not have written the first two lines of the description for the dumpster :P

Anyway, there should be like a bazillion clocks for the various desktop widget systems out there and iirc plasma supports virtually all of them.

If none of them fits you, you're free to rip this code and turn it into a plasmoid (shouldn't be a major issue) - but the /only/ reason i wrote this clock plugin was to have a clock _above_ all windows - not below where i usually can't see it anyway.

Report

prowlerxpla

9 years ago

"but the /only/ reason i wrote this clock plugin was to have a clock _above_ all windows - not below where i usually can't see it anyway."
This is the why because it is the best clock in the world:-)) I love it, and I'm giving up wabbling windows for it, I don't know if I'm explaining (non so se mi spiego):-)

Report

dglent

9 years ago

Me too, i use this because i can see it all time. I have set when i pass over the mouse it becomes hidden, and it gives an excited experience !

Report

landice

9 years ago

Any plan to support it soon?

Report

C

thomas12777

9 years ago

It's "broken" because of performance optimizations in kwin which more or less prevent random painting on the scene w/o forcing the expensive unoptimized mode.
I'll try to figure a solution for this but at this time i can not promise that it will ever work with KDE > 4.7, sorry.

Report

9

reves121

9 years ago

Hi Thomas, I keep getting the same error message every time, I was able to install beclock without any trouble in KDE 4.6.5, now I keep getting this message:

[ 42%] Building CXX object CMakeFiles/kcm_kwin4_effect_beclock.dir/beclock_config.o
In file included from /home/migue/Proyectos/beclock-kwin-fx/beclock_config.h:26:0,
from /home/migue/Proyectos/beclock-kwin-fx/beclock_config.cpp:21:
/home/migue/Proyectos/beclock-kwin-fx/build/ui_beclock_config.h:34:25: fatal error: kwineffects.h: No existe el fichero o el directorio
compilation terminated.
make[2]: *** [CMakeFiles/kcm_kwin4_effect_beclock.dir/beclock_config.o] Error 1
make[1]: *** [CMakeFiles/kcm_kwin4_effect_beclock.dir/all] Error 2
make: *** [all] Error 2

Can you help me, please???

Report

C

thomas12777

9 years ago

the header is just missing.
either you dropped the kdebase-workspace-dev package or ran into a Ubuntu version where the header is (temporarily, was apparently due to a misunderstanding between packagers and developers) absent.
In the latter case you'll have to update to a Ubuntu version where the header is present or download it and palce it into /usr/include by hand (and watch out on the next upgrade, package systems often don't like present files they didn't put there)

https://projects.kde.org/projects/kde/kde-workspace/repository/revisions/v4.7.0/changes/kwin/libkwineffects/kwineffects.h

Report

9

reves121

9 years ago

Hi Thomas, thanks for your help, I downloaded "kwineffects.h" and copied it to "/usr/include" as you wrote, unfortunately I keep getting the very same error message :(
I guess I'll wait until Kubuntu 11.10.

Report

C

thomas12777

9 years ago

please check the output of "kde4-config --path include" and also the permissions on that file "stat /usr/include/kwineffects.h" - should be like 644 or so.

You cannot get the very same output if the file is present. If you downloaded the marked up version or so you'd get an output about an invalid header or sth. but not that the file isn't there...

Report

9

reves121

9 years ago

I still get the same error, the output of
$ kde4-config --path include
is "/usr/include"
And the result of:
$ stat /usr/include/kwineffects.h
is: File: «/usr/include/kwineffects.h»
Size: 73654 Blocks: 144 IO Block: 4096 fichero regular
Device: 801h/2049d Inode: 926164 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2011-09-10 09:27:59.333360270 -0500
Modify: 2011-09-10 09:27:30.609360284 -0500
Change: 2011-09-10 09:27:30.609360284 -0500

So, everything seems to be right, I don't know what can be missing.

Report

C

thomas12777

9 years ago

This is an incredibly stupid, windows-worthy suggestion, but what you describe is completely beyond me, so:

Did you try a clean rebuild (ie. remove build and re ./configure) after adding the header?

(That's simply not necessary but atm. i'd even suggest to reboot to have the system remount that disk - what's an even more stupid and pointless suggestion...)

Report

9

reves121

9 years ago

Done and done...
It just won't go beyond, I'll just wait for Kubuntu 11.10, anyway I thank you very much for your help and time, I'll just download the second beta of Kubuntu 11.10 and I'll comment results.

Report

prowlerxpla

9 years ago

:-) while you are coding on it, take into account that the day of week (monday, frday etc) in many circumstances is almost unreadeable in this way, an option to have in the same way (same trasparency) of date and time could be better. :-)
ciao PLA

Report

ayni

9 years ago

Just noticed, that date formatting doesn't obey local but is apparently always formatted yyyy-mm-dd.
here in Northern Europe correct formtting would be dd.mm.yyyy

Report

C

thomas12777

9 years ago

Yes.
The problem here is that KLocale allows you to set any kind of ...stuff.. as short date format while i need quite some control on the dimensions of the string.

So i had to pick a format and chose the international big endian one since:
a) it's the international one ;-)
b) it's not completely stupid (middle endian - MM/DD/YYYY)
c) it's not logically reverse =)
d) it requires completeness (ie. 2011-09-04, not 4. 9. 2011)
e) it uses the dash as a strong single char separator

I promise that it's only by incident the official German format (nobody really writes that here and i didn't know until when i just looked up date format usage[1])

So it's not ignorance nor a political statement, but in a way required and just happened ;-)

I could add a config entry (to be more precise: just did - release after fixing some GL issues with kwin 4.7) to set a special format string but just relying on KLocale being "sane" is too wonky in this regard.

[1] http://en.wikipedia.org/wiki/Date_format_by_country

Report

ayni

9 years ago

I understand, and it's not big deal for me. People, I included, usually want to have the date formatted in a most familiar way.
config entry is an exellent solution. Thanks.

Report

prowlerxpla

9 years ago

Ok, now it works better, I updated KDE from the 4.7 repo, but hide on hoover mouse doesn.t works:-(((
ciao, pla

Report

C

thomas12777

9 years ago

How did you obtain the clock? Binary from SuSE?
(There've been various changens between the 4.6 and 4.7 API. Notably the mouse poll is now a SIGNAL/SLOT relation.

Please start kwin from konsole and ensure there no "no such sginal/slot mouseChanged(.)" message.

Another change is on the GL blending and backends (VBO caused) and i've only tested one GL backend (no GLES, no GL 2.0 shaders)
So please try the xrender backend (kcmshell4 kwincompositing) and check whether hide-on-hover works there.

There's right now no way to have two clocks (thus nor to set an individual timezone)
I'll keep it in mind, but don't promise anything ;-)

Report

prowlerxpla

9 years ago

for "start kwin from konsole" you intend kwin --replace??

if yes this is the output
Quote:pla@linux-y7c9:~> kwin --replace
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVS 3100M/PCI/SSE2
OpenGL version string: 3.3.0 NVIDIA 275.21
OpenGL shading language version string: 3.30 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 275.21
GPU class: Unknown
OpenGL version: 3.3
GLSL version: 3.30
X server version: 1.9.3
Linux kernel version: 2.6.37
Direct rendering: yes
Requires strict binding: no
GLSL shaders: yes
Texture NPOT support: yes
kwin(3383) KWin::EffectsHandlerImpl::loadEffect: EffectsHandler::loadEffect : Effect "kwin4_effect_flipswitch" is not supported
kwin(3383) KWin::EffectsHandlerImpl::loadEffect: EffectsHandler::loadEffect : Effect "kwin4_effect_wobblywindows" is not supported
kwin(3383) KWin::EffectsHandlerImpl::loadEffect: EffectsHandler::loadEffect : Effect "kwin4_effect_cubeslide" is not supported
kwin(3383) KWin::EffectsHandlerImpl::loadEffect: EffectsHandler::loadEffect : Effect "kwin4_effect_cube" is not supported
kwin(3383) KWin::EffectsHandlerImpl::loadEffect: EffectsHandler::loadEffect : Effect "kwin4_effect_coverswitch" is not supported

Report

prowlerxpla

9 years ago

I obtained BeClock from suse from this repo:
http://download.opensuse.org/repositories/KDE:/Extra/KDE_Release_47_openSUSE_11.4

/x86_64/kde4-effects-BeClock-0.14-1.2.x86_64.rpm

Report

prowlerxpla

9 years ago

Yes with Xrender Beclock works well (other effects not, but beclock yes :-)) and hide on mouse hoover works well as well.
ciao pla :-)

Report

prowlerxpla

9 years ago

on my suse 11.4 I updated to kde 4.7 and beclock (0.13b-1.4 and 14) doesn't works :-))
is there any way to have the best clock app in the world working on kde 4.7??
And also, last month I was in USA (Austin TX), so I would like to have two clocks, Italian and USA time, is there any way to have two clocks with two times??
Thanks a lot, ciao:-)

Report

9 years ago

0.18
----
- hometime support, ie you get one additional timezone to select which will appear as a dot in the analog rings only

0.17a
----
- yet another maintenance release, fixes 64bit (thanks to Raymond Wooninck for notice and a patch) and KDE 4.7 building
- hometime support comes later ...

0.17
----
- build fix
- show corner activated clock on countdown
- preselect local time format (24h ./. AM/PM)

0.16
----
- maintainance release for KDE SC 4.8rc1 compilation. No functional change.
- update on 2012-02-03: cmake janus compilation issues, no code change

0.15
----
- support for 4.8 (yes, doesn't disappear anymore)
- alpha support for GLSL 2.0 (the blendfunction was irrelevant since not used anyway - i fixed kwin to support 2.0 shaders on my box ;-)
- as an extra bonus a binary and a Maya inspired clock =)

12345678910
141
product-maker lei00 Feb 25 2013 9 excellent
product-maker OdinEidolon Feb 09 2013 9 excellent
product-maker vootey Feb 07 2013 9 excellent
product-maker alvanet Dec 26 2012 9 excellent
product-maker mkudro Dec 19 2012 9 excellent
product-maker RAIDENSUB Jun 12 2012 9 excellent
product-maker hamidsafdari May 28 2012 9 excellent
product-maker fella Apr 22 2012 9 excellent
product-maker pvt14 Feb 06 2012 9 excellent
product-maker rabauke Feb 06 2012 9 excellent
product-maker 8Ypsilon Feb 03 2012 9 excellent
product-maker atorkhov Jan 18 2012 9 excellent
product-maker F1ash Jan 18 2012 9 excellent
product-maker qwerta Jan 09 2012 9 excellent
product-maker mixalns Dec 27 2011 9 excellent
product-maker rotoglok Dec 11 2011 9 excellent
product-maker Moviuro Dec 11 2011 9 excellent
product-maker dr4g0n Oct 30 2011 9 excellent
product-maker RazrFalcon Oct 27 2011 9 excellent
product-maker Xepher Oct 12 2011 9 excellent
product-maker joetux Sep 19 2011 3 bad
product-maker olegue Sep 09 2011 9 excellent
product-maker reves121 Sep 06 2011 9 excellent
product-maker laloch Aug 31 2011 9 excellent
product-maker tobaj Jul 19 2011 9 excellent
product-maker deabru Jun 18 2011 9 excellent
product-maker mcder Jun 15 2011 9 excellent
product-maker TheRob Jun 13 2011 9 excellent
product-maker bretzeltux Apr 12 2011 9 excellent
product-maker LukSch Mar 27 2011 9 excellent
product-maker terrorbaby92 Mar 11 2011 9 excellent
product-maker kalmar Feb 28 2011 9 excellent
product-maker Artcor Feb 10 2011 9 excellent
product-maker steveke Feb 10 2011 9 excellent
product-maker srog Feb 07 2011 9 excellent
product-maker mywereld Jan 01 2011 9 excellent
product-maker hhees Dec 07 2010 9 excellent
product-maker koral Dec 07 2010 9 excellent
product-maker agaya Nov 25 2010 9 excellent
product-maker infectedsoundsystem Nov 16 2010 9 excellent
product-maker annia Nov 11 2010 9 excellent
product-maker fhh Oct 09 2010 9 excellent
Be the first to comment
laloch
Mar 18 2013
Mte90
Feb 19 2012
tomsdale
Feb 03 2012
atorkhov
Jan 18 2012
rotoglok
Dec 11 2011
bas89
Nov 12 2011
EternalLight
Nov 08 2011
olegue
Sep 09 2011
hlebarkata
Aug 20 2011
prowlerxpla
Aug 13 2011
rieper
Aug 02 2011
tobaj
Jul 19 2011
mcder
Jun 15 2011
dglent
Jun 14 2011
LukSch
Mar 27 2011
m00nraker
Mar 22 2011
deabru
Dec 09 2010
terrorbaby92
Dec 08 2010
nick1701
Nov 20 2010
veleno
Aug 19 2010
quincunx
Aug 12 2010
CyberTribe
Jul 22 2010
OdinEidolon
Jul 15 2010
dfx
Jun 26 2010
flowabcd
Jun 26 2010
shadyabhi
Jun 08 2010
uteck
Jun 06 2010
Vistausss
Jun 05 2010
zvonSully
May 16 2010
AlejandroNova
May 11 2010
sensemilla
Apr 16 2010
gimox
Apr 03 2010
janet
Apr 02 2010
Bottom-Egg
Mar 21 2010
lonk
Mar 17 2010
mountainjew
Mar 15 2010
gzu
Feb 02 2010
olingerc
Feb 02 2010
Havoc65
Jan 24 2010
parapente
Jan 20 2010
brucew
Jan 20 2010
genericity
Jan 05 2010
DjNeophyte
Jan 05 2010
TheRob
Jan 02 2010
nowardev
Dec 25 2009
Znurre
Dec 24 2009
Diablo
Dec 23 2009
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.18
updated Mar 04 2012
added Dec 23 2009
downloads 24h
0
mediaviews 24h 0
pageviews 24h 2