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
Score 85.2%
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:

7 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 =)

arrowind

9 years ago

Thanks for your advise. I have created a new style(preset) and added "Navigator", "Namoroka", "Mail", "Thunderbird" tot he classes. But when i set base,deco, label & buttons color for this style, it does not take effect on the windows border. Am i doing anything wrong?

Report

C

thomas12777

9 years ago

No idea for the thunderbird class (it's unlikely "Thunderbird" but Namoroka should work. (As long as you're using 3.6, 3.5 was Shiretoko)

Notice that you must not add quotes to the class names, ie. like

Namoroka, MPlayer, XTerm

NOT:
"Namoroka", "MPlayer", "XTerm"

Report

arrowind

9 years ago

Thanks a lot, mate. I have got it working..

Report

linuxcolor

9 years ago

not working KDE4.5 beta2

Report

C

thomas12777

9 years ago

yes it is?!

works with the trunk at least, maybe you could elaborate on _why_ it's not working for you.

--> do you get compile errors about kephal?

a) that's probably a distro bug (the header should be there)
b) latest version checks for missing headers and skips kephal (multiscreen) support in case.

Report

arrowind

9 years ago

Hi, The clock looks very nice with my KDE ghost theme. But I get only one analog ring. The screen shot on your page shows two rings. How do I enable another ring?
I am using no background picture (just black screen).

Thanks.

Report

arrowind

9 years ago

Sorry. posted too soon. didnt realize how the ring works. I happened to install the clock at 12pm. so didnt get hour ring only the minute ring. Now it is ok. I get two rings: one for hour one for minute.

One suggestion: when we choose 'rotate for seconds', is it posssible to add another seconds ring that grows instead of rotating the digital date/time display?

I think that would make a better visual.

Report

OdinEidolon

9 years ago

... just another little problem:
the clock does not refresh as it should, it takes a couple seconds (Dynamic mode). So, for example, if I hover in the lower left corner I see 14:00. A couple seconds later it refreshes to 14:07.

Report

shadyabhi

9 years ago

First of all, thanx for this ultimate clock.

Is there any way, I can disable "ALWAYS ON TOP"..

Report

C

thomas12777

9 years ago

actually that's no "option" but purpose of this clock.
if you want a clock on the desktop layer you should use a plasmoid instead which has the advance of working w/o the requirement of compositing

Report

OdinEidolon

9 years ago

i love you clock, hoever I have some problems with it.
In Dynamic mode (awesome idea) when i get to the corner the focused windows becomes completely black (and so does the panel, if the focused window is maximized).
An Alt+Tab solves the problem, but it is pretty annoying. Also, it would be nice if it was possible to activate the corner animation only, say, once every 3 seconds. This could prevent the clock to fade in and out when you continue pulling the pointer in the bottom (if you accidentally try to push the pointer ahead the corner the clock will disappear and reappear)

Report

C

thomas12777

9 years ago

check 0.11

Report

OdinEidolon

9 years ago

wow, fast! :D
I'm gonna wait it to get into AUR.

Report

OdinEidolon

9 years ago

Updated, works perfectly now. It is awesome.

Small hints:
- possibility to set animation speed when in Dynamic mode?
- possibility to set the position even when in Dynamic mode: I, for example, have the panel on bottom, and Beclock is activated by left-bottom corner. However, if I didn't have the panel, Beclock would be somehow 30-40 pixels above the bottom margin. I'd like it to be exactly in the corner. (Bad explanation skills I know)
- In Static mode, position with 0-0 offset s still not in the very corner.

Report

C

thomas12777

9 years ago

@speed: too slow or too fast?

@area: the clock is supposed to ignore struts (what is set by docks) what works for me (ie. the panel is covered, clock is always in the corner)
@misposition: this sounds like the very same problem and pot. a bug in (your?) kwin library/headers.

Do you use a multimonitor setup? (there're reported strutting errors, don't know whether this impacts, but the call to "ScreenArea" is correct)

It should not take a couple of seconds but i can verify that the time is updated _after_ the show, gonna fix that

Report

OdinEidolon

9 years ago

speed: IMHO it is a lil too fast

area & misposition: may very well be a bug in my kwin. Do you know what I should look for?

Report

C

thomas12777

9 years ago

beclock.cpp:138
"const QRect desktop = effects->clientArea( ScreenArea, screen(), effects->currentDesktop() );"
if you place

qDebug() << "BECLOCK:" << desktop;

behind it, recompile beclock and start kwin from a terminal (konsole: "kwin --replace &", the & forks it so you can reuse or close the konsole) you'll get the used rect printed (at least in the static mode). it should match your screen geometry.

Report

Neremor

9 years ago

Hello!

I like your clock very much and I'm often using it - but I have one idea that shouldn't take much time to implement: What about something like popping up every hour for a specified amount of seconds? And some kind of blending in and out smoothly would be very nice. And (I know I'm anoying) a third ring for seconds should be implemented instead of the second-bar :) But thank you very much for the nice job right here :)

Greetings!

Report

C

thomas12777

9 years ago

Hi, sorry for the delay.
I've implemened the soft in/out (wasn't too hard ;-) but before releasing i'd like to know more about the intention of conditional showups.

Do you really just want to see it every full hour or would might be a dbus connection to be used with eg. kalarm rather fit you?
(so you could configure arbitrary times to show and/or hide yourself and also use it from other scripts?)

Report

Neremor

9 years ago

First, thank you very much for the answer!

It's nice to hear that you got the fade-in/-out allready working right now, very cool! :)

and for me it would be enough just seeing it popup every hour or so, the other thing you suggested seems very complicated and i think it would be an overkill for your app...

anyhow, still very fascinated by the design of your clock and the integration in my desktop - thanks for coding it!

Greetings!

Report

C

thomas12777

9 years ago

actually a dbus slot would be "simpler".
the reason is that otherwise i'd have to add some interface/ruleset on when to activate (every hour, 1minute before TV news, when tea is ready, ...) while the dbus slot could abstract that and thus be more flexible and straight forward ("it's a clock and not a calendar")

the drawback on you would be to either have to run kalarm or add a cron job or "at". the gain would be the mentioned flexibility (why i'd tend to this solution)

Report

sensemilla

9 years ago

Nice, and greatful work. It's a simply and beautiful design that never interferes on any window.

Report

symbianflo

9 years ago

Very fine job
thx m8
i've manage to have a clean build/install on mandriva
2009.1/2010.0,
Works smooth
If somebody is interested, the rpms are available on MRB
( see my signature)

Report

brucew

9 years ago

I am getting these errors on install. BeClock shows up in config but fails upon activation.

Here is the error:
Quote:~/Downloads/KDE/Plasmoids/BeClock/beclock-kwin-fx/build$ make && sudo make build
Scanning dependencies of target kcm_kwin4_effect_beclock_automoc
[ 0%] Built target kcm_kwin4_effect_beclock_automoc
Scanning dependencies of target kcm_kwin4_effect_beclock
[ 20%] Building CXX object CMakeFiles/kcm_kwin4_effect_beclock.dir/kcm_kwin4_effect_beclock_automoc.o
[ 40%] Building CXX object CMakeFiles/kcm_kwin4_effect_beclock.dir/beclock_config.o
In file included from /home/brucew/Downloads/KDE/Plasmoids/BeClock/beclock-kwin-fx/beclock_config.cpp:156:
/home/brucew/Downloads/KDE/Plasmoids/BeClock/beclock-kwin-fx/build/beclock_config.moc:14:2: error: #error "This file was generated using the moc from 4.5.2. It"
/home/brucew/Downloads/KDE/Plasmoids/BeClock/beclock-kwin-fx/build/beclock_config.moc:15:2: error: #error "cannot be used with the include files from this version of Qt."
/home/brucew/Downloads/KDE/Plasmoids/BeClock/beclock-kwin-fx/build/beclock_config.moc:16:2: error: #error "(The moc has changed too much.)"
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

Please advise.
Thanx

Report

C

thomas12777

9 years ago

looks like you installing from an old dir (i.e. you had installed an older version from here before) and you're Qt version changed (4.5 -> 4.6)

just wipe or delete the build dir and re-configure (qt moc stumbles on old versions instead of recreating them)

Report

7 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 06 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
product-maker Count: 4 Rating: 5.0

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 08 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 20 2010

lonk

Mar 17 2010

mountainjew

Mar 14 2010

gzu

Feb 02 2010

olingerc

Feb 02 2010

Havoc65

Jan 24 2010

parapente

Jan 20 2010

brucew

Jan 19 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
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.18
updated Mar 04 2012
added Dec 23 2009
downloads 24h
0
page views 24h 6