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

10 years ago

according to wikipedia. Becolor however displays 12 am.

Report

gzu

10 years ago

Hi,

just upgraded to the latest version and I like the rotating seconds option. Any chance of the option that the rings stay static and it is just the central text that rotates.

Thanks for a great KDE/kwin app.

gzu

Report

brucew

10 years ago

Just did the recent upgrade to KDE 4.5 from 4.4. BeClock was working just fine in 4.4. Now, when I try to start it I get an error message in the system tray Knotify:

"The following desktop effects could not be activated: BeClock"

Would a simple reinstall over the existing install work?

Please advise.

Report

C

thomas12777

10 years ago

YES

The KWin effects are neither API nor ABI stable and actually run a version check to protect themselve.
So you MUST compile & link effects against the version you intend them to use with (including everytime you eg. update the svn trunk and the version number increases)

If you run kwin from konsole, you get a notion about this.

Report

brucew

10 years ago

If it doesn't describe that there is a version conflict or issue then the version check is worthless. There is no notification to a user of what to do.

Now, please, can you guide me as to how to re-link the script to the appropriate version?

Thank you in advance.

Report

C

thomas12777

10 years ago

the kwin warning says exactly this (i think the notification doesn't does it? could. should., you can however redirect debug messages nearby anywhere, possibly into plasma as well, xorg used to have a debug terminal running back in the good old times :)

However, just (re)run make (or decompress, configure; cd build; make) && make install, then run "kwin --replace &" (restart kwin to reload the plugin library) - that's it.

Report

brucew

10 years ago

Thank you.

Report

brucew

10 years ago

Also, the version of BeClock didn't change between KDE versions in addition to the upgrade from 4.3 to 4.4 didn't require me to make any adjustment to any window effect including BeClock. No other window effects are having this problem.

Report

C

thomas12777

10 years ago

well, beclock is not part of the built-in effects, so they "auto-update"

the effectlibrary version number might change whenever it feels like, that's not bound to the version major (so 4.3.5 -> 4.4.0 might have been stable, but 4.4.0 -> 4.4.1 not)

Report

prowlerxpla

10 years ago

nice widget, very nice, do you think it's possible to add the weekday?? like monday thursday etc.

and a different way to write the date?
something like 24 aug 2010 or sun 24 aug 2010 or 24-08-2010.

I think this is the best wieget on the whole kde pool of widgets plasmas and other, good very good

Report

C

thomas12777

10 years ago

it's there.
config dialog/"central display", check "show day of week" (replacing the am/pm indicator in doubt)

a "free text" clock would more or less require "another" (derived) plugin, but since this is always on top, the best strategy to keep it "out of the way" is to make it compact, what such clock (yes, i've seen rainmeter scrots...) would sacrifice... =\

Report

prowlerxpla

10 years ago

in my version (0.7-2.4x86_64 on suse 11.3 and kde 4.4.4) there only is the am/pm indicator and the show date, I will wait the next version :-)

I don't intend "free text clock" but only the two or three or four international ways to write date like DD-MMM-YYYY or the actual YYYY-MM-DD or MMM-DD-YYYY or DD-MM-YYYY.

thanks :-)

Report

C

thomas12777

10 years ago

yeah, no: it's not been in that version, sorry :-(

Report

CyberTribe

10 years ago

That's a really nice and useful kwin effect.

What about something similar for weather forecast? Probably even using plasma dataengines.

Report

C

thomas12777

10 years ago

I've no interest in weather forecasting widgets - never, not for plasma, conky, or whatever. Either i know anyway what the weather's gonna be, or the forecast is likely wrong =D

It should however not be too hard to clone the plugin and change the texture painting routine...

Report

Grindcore

10 years ago

Hi,

Even though I've installed kdebase-workspace-dev it doesn't build further than this. Have you an idea what the problem could be?

Thanks!

[ 85%] Building CXX object CMakeFiles/kwin4_effect_beclock.dir/beclock.o
In file included from /home/joe/.src/beclock-kwin-fx/beclock.cpp:25:
/usr/include/kwinxrenderutils.h:34:35: error: X11/extensions/Xfixes.h: No such file or directory
/usr/include/kwinxrenderutils.h:35:36: error: X11/extensions/Xrender.h: No such file or directory
In file included from /home/joe/.src/beclock-kwin-fx/beclock.cpp:25:
/usr/include/kwinxrenderutils.h:46: error: ‘XserverRegion’ does not name a type
/usr/include/kwinxrenderutils.h:50: error: variable or field ‘xRenderRoundBox’ declared void
/usr/include/kwinxrenderutils.h:50: error: ‘Picture’ was not declared in this scope
/usr/include/kwinxrenderutils.h:50: error: expected primary-expression before ‘const’
/usr/include/kwinxrenderutils.h:50: error: expected primary-expression before ‘int’
/usr/include/kwinxrenderutils.h:50: error: expected primary-expression before ‘const’
/usr/include/kwinxrenderutils.h:54: error: ‘XRenderColor’ does not name a type
/usr/include/kwinxrenderutils.h:61: error: expected ‘)’ before ‘pic’
/usr/include/kwinxrenderutils.h:63: error: ‘Picture’ does not name a type
/usr/include/kwinxrenderutils.h:65: error: ‘Picture’ does not name a type
/usr/include/kwinxrenderutils.h:79: error: expected ‘)’ before ‘pic’
/usr/include/kwinxrenderutils.h:82: error: expected type-specifier before ‘Picture’
/usr/include/kwinxrenderutils.h:88: error: expected ‘)’ before ‘pic’
/usr/include/kwinxrenderutils.h: In destructor ‘KWin::XRenderPictureData::~XRenderPictureData()’:
/usr/include/kwinxrenderutils.h:96: error: ‘picture’ was not declared in this scope
/usr/include/kwinxrenderutils.h:97: error: ‘XRenderFreePicture’ was not declared in this scope
/usr/include/kwinxrenderutils.h: At global scope:
/usr/include/kwinxrenderutils.h:101: error: ‘Picture’ does not name a type
/usr/include/kwinxrenderutils.h:107: error: expected ‘)’ before ‘pic’
/usr/include/kwinxrenderutils.h:113: error: expected type-specifier before ‘Picture’
/usr/include/kwinxrenderutils.h:126: error: expected ‘,’ or ‘...’ before ‘*’ token
/home/joe/.src/beclock-kwin-fx/beclock.cpp:425: error: ‘XTransform’ does not name a type
/home/joe/.src/beclock-kwin-fx/beclock.cpp: In member function ‘virtual void KWin::BeClock::paintScreen(int, QRegion, KWin::ScreenPaintData&)’:
/home/joe/.src/beclock-kwin-fx/beclock.cpp:489: error: ‘XTransform’ was not declared in this scope
/home/joe/.src/beclock-kwin-fx/beclock.cpp:489: error: expected ‘;’ before ‘xform’
/home/joe/.src/beclock-kwin-fx/beclock.cpp:485: warning: unused variable ‘sine’
/home/joe/.src/beclock-kwin-fx/beclock.cpp:486: warning: unused variable ‘cosine’
/home/joe/.src/beclock-kwin-fx/beclock.cpp:487: warning: unused variable ‘dx’
/home/joe/.src/beclock-kwin-fx/beclock.cpp:488: warning: unused variable ‘dy’
/home/joe/.src/beclock-kwin-fx/beclock.cpp:915: error: expected ‘}’ at end of input
/home/joe/.src/beclock-kwin-fx/beclock.cpp:915: error: expected ‘}’ at end of input
/home/joe/.src/beclock-kwin-fx/beclock.cpp:915: error: expected ‘}’ at end of input
/home/joe/.src/beclock-kwin-fx/beclock.cpp: At global scope:
/home/joe/.src/beclock-kwin-fx/beclock.cpp:185: warning: ‘void drawOutlinedArc(QPainter&, const QRect&, int, int, int, QColor, QColor)’ defined but not used
make[2]: *** [CMakeFiles/kwin4_effect_beclock.dir/beclock.o] Fehler 1
make[1]: *** [CMakeFiles/kwin4_effect_beclock.dir/all] Fehler 2
make: *** [all] Fehler 2

Report

C

thomas12777

10 years ago

X11 / Xrender headers. (-dev packages)

They (it) should be a "weak" dependency of the workspace-dev package though...
=\

Report

Grindcore

10 years ago

Okay thanks, I was able to find the missing package finally ^^.

After installing libxdamage-dev compiling finished successfully and the clock works now!

Report

Morgenstern

10 years ago

Hi!
Tnx for improving and improving your app, i really love it, but i've got a little problem with your last update:

i used to put BeClock in a bottom corner, like this
http://img59.imageshack.us/img59/58/newscreenv.png

it was not invasive, very pretty and useful; now i can't put it there no more, it's impossible to put it on the bottom that way...

Can you bring back the possibility to put it on the bottom?

Report

C

thomas12777

10 years ago

The feature isn't gone (but I suppose it has been possible to set negative offsets then?)

Just align it to the left/top and set a huge vertical offset (screen height - clock size + som offset)

I'll (re?)add the possibility of negative offsets for the next release then.

Report

Morgenstern

10 years ago

Yes, i think it was possible to set negative offsets, i never had this kind of problem before...
Anyway i got it, now it's ok, tnx a lot!

Report

arrowind

10 years ago

hi, I noticed in your screen shots (other improvements) that you have more than two rings. I assume that is for seconds and some other options. Is that configurable? If so, how do i configure them.
I get only two rings hours & minutes.

thanks.

Report

C

thomas12777

10 years ago

they show the date and are drawn if you activate the date, but deactivate the central content (digital display)

you need the latest version of BeClock (this one :-)

Report

arrowind

10 years ago

Hi, I noticed in your screen shot you use different bespin window frame for different apps (browser & konsole). Would you mind telling me how to do it? I tried changing the colors for my firefox browser but it doesnt change the color.

Thank you.

Report

C

thomas12777

10 years ago

a) for Qt/Bespin styled applications (konsole)
- in "bespin config", presets page, pick a preset you want to use.
- double click it
- enter the name/binary of the application you want it to be bound to ("konsole", can be a comma separated list)
- restart the application, it will use the bound preset (ALL dolphin and konsole windows run in one process, you must kill that to really restart them)

b) others (firefox etc.)
- the first tab "style" in the deco config dialog allows you to add presets.
- add a comma separated list of class names (can be obtained by xprop or using the info button - "!" in the multibutton setup) - usually it's like the app binary, but upper case, BUT: firefox ist (atm) "Namoroka" (was "Shiretoko", will probably change again with the next FF release :-(

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 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
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 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 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 9

Appimages

To install any downloaded Appimage via GUI, use this tool AppImagelauncher.

To install Appimages from Appimagehub via CLI use appimage-cli-tool.
This allows you to e.g. search appimages with "app search xyz" and install any appimage via command "app install #id".

If you are a developer who is interested to easily build appimages from your code repo, read the guide here.