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

C

thomas12777

9 years ago

When you got this message you probably noticed that you did not get an informing mail, because i could not replay to your post - long story short: for kde-look, don't hook on other threads but start new ones. The forum cannot deal with deep threads.

The problem seems that while you've GLES installed, you don't have kwin_gles installed but latter isn't checked (not sure whether there's a macro) but assumed if gles is generally available.

As a quick workaround, edit the CMakeLists.txt and find the line that says:

find_package(OpenGLES)

comment it like this

# find_package(OpenGLES)

remove the build folder (or ensure to wipe the cache) and recompile, should work.

If distros generally ship kwin_gles separately yet install GLES, i shall at least add a config option in the next version...

Report

9

kalmar

9 years ago

I have similar(?) issue:

Linking CXX shared module lib/kwin4_effect_gles_beclock.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lkwinglesutils
collect2: ld returned 1 exit status
make[2]: *** [lib/kwin4_effect_gles_beclock.so] Error 1
make[1]: *** [CMakeFiles/kwin4_effect_gles_beclock.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 90%] Built target kwin4_effect_beclock
make: *** [all] Error 2

I have nvidia-drivers and kwin without GLES. This is kde-4.8 Gentoo. Nevertheless, I see this in configure phase:

-- Found KDE 4.7 include dir: /usr/include
-- Found KDE 4.7 library dir: /usr/lib64
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found X11: /usr/lib64/libX11.so
-- Found OpenGL: /usr/lib64/libGL.so
-- COMPILING FOR 4.8
-- HAVE OPENGL
-- HAVE GLES

Report

C

thomas12777

9 years ago

It looks like it attempts to build the gles variant but libkwinglesutils.so is either no present, not linked or doesn't contain the relevant symbols (ie. is a dummy or so)

Please say

VERBOSE=1 make 2>&1 | tee beclock_make.log

and mail me the beclock_make.log file (you'll find an address in every header, do not post that here - it's miles long ;-)

Report

gravy

9 years ago

Thank! It works again.

Report

9

Moviuro

9 years ago

Hi and first of all, thanks.
BeClock has becaome mandatory for each new Linux Distro I install. It's great and well... just great :)
But (there is always something to be done), I'd like to be able to change the font of the clock.
Else, I really like the way to bring analog rings and a digital clock together... It's modern without being... ugly xD

Thanks again !!

Report

C

thomas12777

9 years ago

You can change the font. "kcmshell4 kwincompositing", "all effects", filter for BeClock or scroll your fingers wound, click on the second right button (the left one ;-)

"Digital Display" groupbox, maybe i better turn "Choose.." "Choose font..." :p

Report

9

Moviuro

9 years ago

Well, I suggest to change the "Choose" button into "Choose Font".

BTW, that's it. BeClock is perfect :D

Report

9

OdinEidolon

9 years ago

IMHO beclock should adjust himself looking at the panel.
I have beclock on the bottom right corner, and a bottom panel hiding.
The panel hides and shows much slower than beclock, it's a little annoying. If beclock adjusted its hiding time to the same of the panel it's be great!

Report

prowlerxpla

9 years ago

just upgraded, it works with xrender, with open gl mouse hoover don't works
ciao Pier

Report

C

thomas12777

9 years ago

that is why you should try 0.15 =)

(KDE 4.7 brought fundamental changes to shader usage etc., therefore glColor becomes ineffective for various GPUs with shader level > 2 support and for 4.8 shader level 2 as well)

Report

prowlerxpla

9 years ago

WOW! 0.15!
I tried to install on my suse 11.4 but have this problem:
linux-y7c9:/home/pla/Documenti/beclock 1/beclock-kwin-fx # ./configure
Configuring... please wait
./configure: line 7: cmake: command not found
Configuration failed :-(
It seems you miss at least the headers from the kdebase-dev or kdebase-workspace-dev package!
linux-y7c9:/home/pla/Documenti/beclock 1/beclock-kwin-fx #

Report

bas89

9 years ago

Just look at the error… You have to install the developer packages for KDE and KWin.

Report

prowlerxpla

9 years ago

fantastic!!!!!! it works!!!!! on suse 12.1 and kde 4.7, great!!!!

Report

dglent

9 years ago

Until the it will be included in the mageia repos:
https://bugs.mageia.org/show_bug.cgi?id=1802

You can find here the 32 and 64 bit rpm for Mageia

http://www.mageia-gr.org/rpm/1/i586/beclock-0.14-1mgr1.i586.rpm

http://www.mageia-gr.org/rpm/1/x86_64/beclock-0.14-1mgr1.x86_64.rpm

it is the version 0.14 for mageia 1

Report

prowlerxpla

9 years ago

here on suse 11.4 kde 4.7.2 "release 9" with openGL, thanks:-))

Report

prowlerxpla

9 years ago

here on suse 11.4 kde 4.7.2 "release 9" with openGL, thanks:-))

Report

9

rotoglok

9 years ago

works fine for me, too.
one suggestion: it would be more awesome if the clock wasn't always on top (e.g. in fullscreen applications).

Report

landice

9 years ago

I added a fade out (change the opacity linearly from 1 to 0) effect in generic animations when I close a window. The clock seems to fade together with the closing window and then repainted when the window is actually closed. The window being closed does not have to be under the clock to trigger it.
The problem may be related some recently kwin changes, I do not think the problem is there 2 weeks ago.

Report

C

thomas12777

9 years ago

0.15 on git master, i assume. OpenGL 2.0 shaders, right?

There seems either a bug in the shader or the shader manager then (it didn't happen here)

can you look into the sources, around line 541 and check whether the "shader" is not NULL while you close a window?

Report

9

OdinEidolon

9 years ago

It's a pity this is being neglected on AUR. Could you build a package? There is one but is left at 0.13b version.
(I may have asked this before actually)

Report

C

thomas12777

9 years ago

I've a PKGBUILD and a binary:

just put it as PKGBUILD into the sourcedir
-----------------

pkgname=beclock
_realname=beclock-kwin-fx
pkgver=0.15
_upstream_ver=15
pkgrel=1
pkgdesc="A simple clock, implemented as KWin Effect"
arch=('i686' 'x86_64')
url="http://kde-look.org/content/show.php?content=117542&forumpage=0"
depends=('kdebase-workspace>=4.6.0')
makedepends=('cmake' 'automoc4' 'gcc')
license=('GPL')

build()
{
cd ..
for name in *; do ln -s "../$name" "src/$name"; done
cd src
rm -f src pgk
./configure
cd build
make || return 1
make DESTDIR=$pkgdir install
}

-----------------

the PKGBUILD will be in the next release as well, but i've no idea where to upload the binary (not to mention that 4.8 will require two of them ;-)

Report

landice

9 years ago

0.15 have the following error with kde-workspace git master:

CMakeFiles/kwin4_effect_beclock.dir/beclock.o: In function `KWin::BeClock::paintScreen(int, QRegion, KWin::ScreenPaintData&)':
/home/l/tmp/kwin/beclock-kwin-fx/beclock.cpp:541: undefined reference to `KWin::ShaderManager::instance()'
/home/l/tmp/kwin/beclock-kwin-fx/beclock.cpp:543: undefined reference to `KWin::ShaderManager::isValid() const'
/home/l/tmp/kwin/beclock-kwin-fx/beclock.cpp:564: undefined reference to `KWin::GLTexture::bind()'
/home/l/tmp/kwin/beclock-kwin-fx/beclock.cpp:565: undefined reference to `KWin::GLTexture::render(QRegion, QRect const&)'
/home/l/tmp/kwin/beclock-kwin-fx/beclock.cpp:566: undefined reference to `KWin::GLTexture::unbind()'
/home/l/tmp/kwin/beclock-kwin-fx/beclock.cpp:559: undefined reference to `KWin::GLTexture::bind()'
/home/l/tmp/kwin/beclock-kwin-fx/beclock.cpp:560: undefined reference to `KWin::GLTexture::render(QRegion, QRect const&)'
/home/l/tmp/kwin/beclock-kwin-fx/beclock.cpp:561: undefined reference to `KWin::GLTexture::unbind()'
/home/l/tmp/kwin/beclock-kwin-fx/beclock.cpp:543: undefined reference to `KWin::ShaderManager::getBoundShader() const'
/home/l/tmp/kwin/beclock-kwin-fx/beclock.cpp:544: undefined reference to `KWin::GLShader::setUniform(KWin::GLShader::Vec4Uniform, QVector4D const&)'
CMakeFiles/kwin4_effect_beclock.dir/beclock.o: In function `KWin::BeClock::updateBuffer()':
/home/l/tmp/kwin/beclock-kwin-fx/beclock.cpp:1122: undefined reference to `KWin::GLTexture::GLTexture(QImage const&, unsigned int)'
CMakeFiles/kwin4_effect_beclock.dir/beclock.o: In function `KWin::BeClock::reconfigure(QFlags<KWin::Effect::ReconfigureFlag>)':
/home/l/tmp/kwin/beclock-kwin-fx/beclock.cpp:448: undefined reference to `KWin::GLTexture::GLTexture(QImage const&, unsigned int)'
collect2: ld returned 1 exit status

After adding "kwinglutils" in
target_link_libraries(kwin4_effect_beclock ${KDE4_KDEUI_LIBS} kwineffects ${X11_LIBRARIES} GL)
in CMakeLists.txt it compiled fine.

Report

C

thomas12777

9 years ago

it should be added but fails on either
- version mismatch (i ddin't really look up the first git master version tag to contain those libs)
- gles/gl issue (GLutils is not added when GLES is found but GLESutils)

The version check isn't really correct anyway (will fail with first 4.8 release) but could you please add some "MESSAGE("STUFF") code to the version check and the GLES check in CMakeList.txt to figure why it fails precisely? Thanks.

Report

landice

9 years ago

I am using 4.7 branch, where KDE_VERSION_RELEASE is 2, so it fails the "KDE_VERSION_RELEASE GREATER 30" statement. Now it is a little bit weird why the old version works.

Report

C

thomas12777

9 years ago

Häähh? There's no libkwinglutils with KDE 4.7 - that's afaik a 4.8 thing.
GLTexture was defined in libkwineffects [1] before.

Either you've a git version in the way and try to link the wrong lib or your distro messed... backported stuff.... *shrug*

[1] readelf -sW /usr/lib/libkwineffects.so | grep -i gltexture

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