Source i (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
Become a Fan
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:

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


Ratings & Comments

285 Comments

prowlerxpla

Hi thomas, it could be possible to port the marvellous beclock to Plasma5/kwin5 ?? thanks a lot, :-) ciao :-) pier

gzu

If I run the qdbus command in SL7 with a working and non-working desktop the diff is diff beclock-working.txt beclock-broken.txt 139c139 < kwin4_effect_beclock --- > kwin4_effect_startupfeedback I can get back to a working beclock by yum downgrading using yum downgrade kwin-gles-libs kde-workspace-devel kde-workspace-libs kde-workspace plasma-scriptengine-python kcm_colors kgreeter-plugins plasma-scriptengine-ruby libkworkspace ksysguard-libs ksysguard ksysguard Thanks for the feedback, I thought the project was dead. Regards, GZU

thomas12777

I don't want the diff - I don't actually want the loaded/active plugins (I can assume that it's not loaded) I'd need to see the entire KWin setup. However, I especially need to know where the be::clock plugin stems from (fedora package, 3rd party or self compiled. A pre-compiled version may just be of outdated KWin effects API and simply needs recompilation) And no: not dead - I would delete kde-look.org entries of finally abandoned stuff ;-)

gzu

Hi thomas12777, It's compiled from source, KWin Support Information output below. As already stated if I downgrade the listed packages and log back in again beclock starts working OK. KWin Support Information: The following information should be used when requesting support on e.g. http://forum.kde.org. It provides information about the currently running instance, which options are used, what OpenGL driver and which effects are running. Please post the information provided underneath this introductory text to a paste bin service like http://paste.kde.org instead of pasting into support threads. ========================== Version ======= KWin version: 4.10.5 KDE SC version (runtime): 4.10.5 KDE SC version (compile): 4.10.5 Qt Version: 4.8.5 Options ======= focusPolicy: 0 nextFocusPrefersMouse: false clickRaise: true autoRaise: false autoRaiseInterval: 0 delayFocusInterval: 0 shadeHover: false shadeHoverInterval: 250 separateScreenFocus: false activeMouseScreen: false placement: 4 focusPolicyIsReasonable: true borderSnapZone: 10 windowSnapZone: 10 centerSnapZone: 0 snapOnlyWhenOverlapping: false showDesktopIsMinimizeAll: false rollOverDesktops: true focusStealingPreventionLevel: 1 legacyFullscreenSupport: false operationTitlebarDblClick: commandActiveTitlebar1: 0 commandActiveTitlebar2: 30 commandActiveTitlebar3: 2 commandInactiveTitlebar1: 4 commandInactiveTitlebar2: 30 commandInactiveTitlebar3: 2 commandWindow1: 7 commandWindow2: 8 commandWindow3: 8 commandWindowWheel: 31 commandAll1: 10 commandAll2: 3 commandAll3: 14 keyCmdAllModKey: 16777251 showGeometryTip: false condensedTitle: false electricBorders: false electricBorderDelay: 150 electricBorderCooldown: 350 electricBorderPushbackPixels: 1 electricBorderMaximize: true electricBorderTiling: true electricBorderCornerRatio: 0.25 borderlessMaximizedWindows: false killPingTimeout: 5000 hideUtilityWindowsForInactive: true inactiveTabsSkipTaskbar: false autogroupSimilarWindows: false autogroupInForeground: true compositingMode: 1 useCompositing: true compositingInitialized: true hiddenPreviews: 1 unredirectFullscreen: false glSmoothScale: 1 glVSync: true colorCorrected: false xrenderSmoothScale: false maxFpsInterval: 17 refreshRate: 0 vBlankTime: 6144 glDirect: true glStrictBinding: true glStrictBindingFollowsDriver: true glLegacy: false Screens ======= Multi-Head: no Number of Screens: 2 Screen 0 Geometry: 0,0,1680x1050 Screen 1 Geometry: 1680,0,1680x1050 Compositing =========== Qt Graphics System: native Compositing is active Compositing Type: OpenGL OpenGL vendor string: nouveau OpenGL renderer string: Gallium 0.4 on NV98 OpenGL version string: 3.0 Mesa 9.2.5 Driver: Nouveau GPU class: G80/G90 OpenGL version: 3.0 Mesa version: 9.2.5 X server version: 1.15 Linux kernel version: 3.10 Direct rendering: yes Requires strict binding: yes GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no OpenGL 2 Shaders are used Loaded Effects: --------------- kwin4_effect_zoom kwin4_effect_login kwin4_effect_slidingpopups kwin4_effect_translucency kwin4_effect_cubeslide kwin4_effect_screenshot kwin4_effect_desktopgrid kwin4_effect_maximize kwin4_effect_fade kwin4_effect_dialogparent kwin4_effect_highlightwindow kwin4_effect_taskbarthumbnail kwin4_effect_presentwindows kwin4_effect_blur kwin4_effect_logout kwin4_effect_dashboard kwin4_effect_beclock kwin4_effect_outline kwin4_effect_startupfeedback Currently Active Effects: ------------------------- kwin4_effect_blur kwin4_effect_startupfeedback Effect Settings: ---------------- kwin4_effect_zoom: zoomFactor: 1.2 mousePointer: 0 mouseTracking: 0 enableFocusTracking: false followFocus: true focusDelay: 350 moveFactor: 20 targetZoom: 1 kwin4_effect_login: fadeToBlack: false kwin4_effect_slidingpopups: fadeInTime: 250 fadeOutTime: 250 kwin4_effect_translucency: decoration: 1 moveResize: 0.8 dialogs: 1 inactive: 1 comboboxPopups: 1 menus: 1 individualMenuConfig: false dropDownMenus: 1 popupMenus: 1 tornOffMenus: 1 kwin4_effect_cubeslide: rotationDuration: 500 dontSlidePanels: true dontSlideStickyWindows: false usePagerLayout: true useWindowMoving: false kwin4_effect_screenshot: kwin4_effect_desktopgrid: zoomDuration: 300 border: 10 desktopNameAlignment: 0 layoutMode: 0 customLayoutRows: 2 usePresentWindows: true kwin4_effect_maximize: kwin4_effect_fade: kwin4_effect_dialogparent: changeTime: 300 kwin4_effect_highlightwindow: kwin4_effect_taskbarthumbnail: kwin4_effect_presentwindows: layoutMode: 0 showCaptions: true showIcons: true doNotCloseWindows: false ignoreMinimized: false accuracy: 20 fillGaps: true fadeDuration: 150 showPanel: false leftButtonWindow: 1 rightButtonWindow: 2 middleButtonWindow: 0 leftButtonDesktop: 2 middleButtonDesktop: 0 rightButtonDesktop: 0 dragToClose: false kwin4_effect_blur: blurRadius: 12 cacheTexture: true kwin4_effect_logout: useBlur: true kwin4_effect_dashboard: brightness: 0.5 saturation: 0.5 blur: false kwin4_effect_beclock: kwin4_effect_outline: kwin4_effect_startupfeedback:

thomas12777

Thanks. So it's loaded but not considered active. As be::clock doesn't reimplement Effect::isActive, this sugests fedora has reversed the default of that function downstream. -> update from https://sourceforge.net/p/bekwinfx/ (git fetch; git rebase origin/master) and recompile - commit 6a40196c0d45aa5bd6f391bb46e8b3a3dd116fb8 reimplements Effect::isActive() and should return true whenever required.

gzu

I can recompile that with the older kde packages and it works with the older packages (yum downgraded). After I upgrade the packages beclock still is not visible and I get errors on compiling Scanning dependencies of target kwin4_effect_beclock [ 31%] Building CXX object be.clock/CMakeFiles/kwin4_effect_beclock.dir/kwin4_effect_beclock_automoc.o [ 37%] Building CXX object be.clock/CMakeFiles/kwin4_effect_beclock.dir/beclock.o /home/george/PLASMOIDS/bekwinfx-code/be.clock/beclock.cpp: In destructor ‘virtual KWin::BeClock::~BeClock()’: /home/george/PLASMOIDS/bekwinfx-code/be.clock/beclock.cpp:90:50: error: no matching function for call to ‘KWin::EffectsHandler::unreserveElectricBorder(KWin::ElectricBorder&)’ effects->unreserveElectricBorder( border ); ^ /home/george/PLASMOIDS/bekwinfx-code/be.clock/beclock.cpp:90:50: note: candidate is: In file included from /home/george/PLASMOIDS/bekwinfx-code/be.clock/beclock.h:24:0, from /home/george/PLASMOIDS/bekwinfx-code/be.clock/beclock.cpp:20: /usr/include/kde4/kwineffects.h:658:18: note: virtual void KWin::EffectsHandler::unreserveElectricBorder(KWin::ElectricBorder, KWin::Effect*) virtual void unreserveElectricBorder(ElectricBorder border, Effect *effect) = 0; ^ /usr/include/kde4/kwineffects.h:658:18: note: candidate expects 2 arguments, 1 provided /home/george/PLASMOIDS/bekwinfx-code/be.clock/beclock.cpp: In member function ‘virtual void KWin::BeClock::reconfigure(KWin::Effect::ReconfigureFlags)’: /home/george/PLASMOIDS/bekwinfx-code/be.clock/beclock.cpp:388:50: error: no matching function for call to ‘KWin::EffectsHandler::unreserveElectricBorder(KWin::ElectricBorder&)’ effects->unreserveElectricBorder( border ); ^ /home/george/PLASMOIDS/bekwinfx-code/be.clock/beclock.cpp:388:50: note: candidate is: In file included from /home/george/PLASMOIDS/bekwinfx-code/be.clock/beclock.h:24:0, from /home/george/PLASMOIDS/bekwinfx-code/be.clock/beclock.cpp:20: /usr/include/kde4/kwineffects.h:658:18: note: virtual void KWin::EffectsHandler::unreserveElectricBorder(KWin::ElectricBorder, KWin::Effect*) virtual void unreserveElectricBorder(ElectricBorder border, Effect *effect) = 0; ^ /usr/include/kde4/kwineffects.h:658:18: note: candidate expects 2 arguments, 1 provided /home/george/PLASMOIDS/bekwinfx-code/be.clock/beclock.cpp:401:48: error: no matching function for call to ‘KWin::EffectsHandler::reserveElectricBorder(KWin::ElectricBorder&)’ effects->reserveElectricBorder( border ); ^ /home/george/PLASMOIDS/bekwinfx-code/be.clock/beclock.cpp:401:48: note: candidate is: In file included from /home/george/PLASMOIDS/bekwinfx-code/be.clock/beclock.h:24:0, from /home/george/PLASMOIDS/bekwinfx-code/be.clock/beclock.cpp:20: /usr/include/kde4/kwineffects.h:657:18: note: virtual void KWin::EffectsHandler::reserveElectricBorder(KWin::ElectricBorder, KWin::Effect*) virtual void reserveElectricBorder(ElectricBorder border, Effect *effect) = 0; ^ /usr/include/kde4/kwineffects.h:657:18: note: candidate expects 2 arguments, 1 provided make[2]: *** [be.clock/CMakeFiles/kwin4_effect_beclock.dir/beclock.o] Error 1 make[1]: *** [be.clock/CMakeFiles/kwin4_effect_beclock.dir/all] Error 2 make: *** [all] Error 2 Thanks, GZU

thomas12777

There's some issue with the kwin effect header. This call: no matching function for call to ‘KWin::EffectsHandler::unreserveElectricBorder(KWin::ElectricBorder&)’ effects->unreserveElectricBorder( border ); Is preproc'd #if KWIN_EFFECT_API_VERSION_MINOR < 220 Which was bumped in February 2013 with commit 8faf62d8b42a782ea0b2efe33ef3915342ac3903 Author: Martin Gräßlin Date: Thu Feb 7 11:43:40 2013 +0100 Increase KWIN_EFFECT_API_VERSION_MINOR ABI change in new screen edge implementation Unfortunately, the actual API change was in a different commit: commit 3358685a52be3c7cef1497b6f84b7d1af2f920d7 Author: Martin Gräßlin Date: Tue Jan 22 12:47:06 2013 +0100 Change the way how screen edges interact with Effects/Scripts Martin just forgot to bump the API tag. However, both where in git master before tagging 4.11 So it seems that Fedora has backported *some* commits and introduced a gap by that. => Either bump the version in /usr/include/kde4/kwineffects.h or in beclock.cpp, replace every occurrence of #if KWIN_EFFECT_API_VERSION_MINOR < 220 with #if 1 To compile for the correct API version.

gzu

I think something is still wrong, but it could be me It won't compile with the #if 1, I have to put in #if 0, then it compiles OK (and installs) but the clock doesn't display. I used git clone git://git.code.sf.net/p/bekwinfx/code bekwinfx-code Then edited beclock.cpp If that was wrong then please let me know as I am not familiar with git. Thanks for the help, GZU

thomas12777

No, you're right - logic error on my side. "#if 0" is the correct substitution. Sorry for that. Did you restart KWin (in doubt login/logout) after the installation? What's the present "qdbus org.kde.KWin /KWin supportInformation" output? You *might* have to compile the 4.10 branch instead - this depends on what patches Fedora has backported :-\ Does the clock "appear" when you damage the area below (ie. eg. move a video player below the supposed position)? $ git checkout 4.10

gzu

Hi, no flickering or anything when I move a playing video below the beclock position/area. I don't think 4.10 works either although I intend to try again, support information below. Thanks, GZU KWin Support Information: The following information should be used when requesting support on e.g. http://forum.kde.org. It provides information about the currently running instance, which options are used, what OpenGL driver and which effects are running. Please post the information provided underneath this introductory text to a paste bin service like http://paste.kde.org instead of pasting into support threads. ========================== Version ======= KWin version: 4.10.5 KDE SC version (runtime): 4.10.5 KDE SC version (compile): 4.10.5 Qt Version: 4.8.5 Options ======= focusPolicy: 0 nextFocusPrefersMouse: false clickRaise: true autoRaise: false autoRaiseInterval: 0 delayFocusInterval: 0 shadeHover: false shadeHoverInterval: 250 separateScreenFocus: false activeMouseScreen: false placement: 4 focusPolicyIsReasonable: true borderSnapZone: 10 windowSnapZone: 10 centerSnapZone: 0 snapOnlyWhenOverlapping: false showDesktopIsMinimizeAll: false rollOverDesktops: true focusStealingPreventionLevel: 1 legacyFullscreenSupport: false operationTitlebarDblClick: commandActiveTitlebar1: 0 commandActiveTitlebar2: 30 commandActiveTitlebar3: 2 commandInactiveTitlebar1: 4 commandInactiveTitlebar2: 30 commandInactiveTitlebar3: 2 commandWindow1: 7 commandWindow2: 8 commandWindow3: 8 commandWindowWheel: 31 commandAll1: 10 commandAll2: 3 commandAll3: 14 keyCmdAllModKey: 16777251 showGeometryTip: false condensedTitle: false electricBorders: false electricBorderDelay: 150 electricBorderCooldown: 350 electricBorderPushbackPixels: 1 electricBorderMaximize: true electricBorderTiling: true electricBorderCornerRatio: 0.25 borderlessMaximizedWindows: false killPingTimeout: 5000 hideUtilityWindowsForInactive: true inactiveTabsSkipTaskbar: false autogroupSimilarWindows: false autogroupInForeground: true compositingMode: 1 useCompositing: true compositingInitialized: true hiddenPreviews: 1 unredirectFullscreen: false glSmoothScale: 1 glVSync: true colorCorrected: false xrenderSmoothScale: false maxFpsInterval: 17 refreshRate: 0 vBlankTime: 6144 glDirect: true glStrictBinding: true glStrictBindingFollowsDriver: true glLegacy: false Screens ======= Multi-Head: no Number of Screens: 2 Screen 0 Geometry: 0,0,1680x1050 Screen 1 Geometry: 1680,0,1680x1050 Compositing =========== Qt Graphics System: native Compositing is active Compositing Type: OpenGL OpenGL vendor string: nouveau OpenGL renderer string: Gallium 0.4 on NV98 OpenGL version string: 3.0 Mesa 9.2.5 Driver: Nouveau GPU class: G80/G90 OpenGL version: 3.0 Mesa version: 9.2.5 X server version: 1.15 Linux kernel version: 3.10 Direct rendering: yes Requires strict binding: yes GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no OpenGL 2 Shaders are used Loaded Effects: --------------- kwin4_effect_zoom kwin4_effect_login kwin4_effect_slidingpopups kwin4_effect_translucency kwin4_effect_cubeslide kwin4_effect_screenshot kwin4_effect_desktopgrid kwin4_effect_maximize kwin4_effect_fade kwin4_effect_dialogparent kwin4_effect_highlightwindow kwin4_effect_taskbarthumbnail kwin4_effect_presentwindows kwin4_effect_blur kwin4_effect_logout kwin4_effect_dashboard kwin4_effect_beclock kwin4_effect_outline kwin4_effect_startupfeedback Currently Active Effects: ------------------------- kwin4_effect_blur Effect Settings: ---------------- kwin4_effect_zoom: zoomFactor: 1.2 mousePointer: 0 mouseTracking: 0 enableFocusTracking: false followFocus: true focusDelay: 350 moveFactor: 20 targetZoom: 1 kwin4_effect_login: fadeToBlack: false kwin4_effect_slidingpopups: fadeInTime: 250 fadeOutTime: 250 kwin4_effect_translucency: decoration: 1 moveResize: 0.8 dialogs: 1 inactive: 1 comboboxPopups: 1 menus: 1 individualMenuConfig: false dropDownMenus: 1 popupMenus: 1 tornOffMenus: 1 kwin4_effect_cubeslide: rotationDuration: 500 dontSlidePanels: true dontSlideStickyWindows: false usePagerLayout: true useWindowMoving: false kwin4_effect_screenshot: kwin4_effect_desktopgrid: zoomDuration: 300 border: 10 desktopNameAlignment: 0 layoutMode: 0 customLayoutRows: 2 usePresentWindows: true kwin4_effect_maximize: kwin4_effect_fade: kwin4_effect_dialogparent: changeTime: 300 kwin4_effect_highlightwindow: kwin4_effect_taskbarthumbnail: kwin4_effect_presentwindows: layoutMode: 0 showCaptions: true showIcons: true doNotCloseWindows: false ignoreMinimized: false accuracy: 20 fillGaps: true fadeDuration: 150 showPanel: false leftButtonWindow: 1 rightButtonWindow: 2 middleButtonWindow: 0 leftButtonDesktop: 2 middleButtonDesktop: 0 rightButtonDesktop: 0 dragToClose: false kwin4_effect_blur: blurRadius: 12 cacheTexture: true kwin4_effect_logout: useBlur: true kwin4_effect_dashboard: brightness: 0.5 saturation: 0.5 blur: false kwin4_effect_beclock: kwin4_effect_outline: kwin4_effect_startupfeedback:

gzu

P.S. I do login/logout after re-installing etc.

thomas12777

It's not considered active, what's pretty strange (should have always been active before and now unless explicitly hidden, even if fedora had reverted the active state default) - Is the dbus interface activatable? qdbus org.kde.KWin /BeClock show - Can you post the "[Effect-BeClock]" section in ~/.kde/share/config/kwinrc ?

gzu

Hi, Hope below helps. GZU [fred@bloggs be.clock]$ qdbus org.kde.KWin /BeClock show Error: org.freedesktop.DBus.Error.UnknownMethod No such method 'show' in any interface at object path '/BeClock' (signature '') [fred@bloggs be.clock]$ [fred@bloggs be.clock]$ [fred@bloggs be.clock]$ [fred@bloggs be.clock]$ [fred@bloggs be.clock]$ qdbus org.kde.KWin /BeClock method Q_NOREPLY void org.kde.kwin.countdown(uint secs) method Q_NOREPLY void org.kde.kwin.countdown(uint mins, uint secs) method Q_NOREPLY void org.kde.kwin.countdown(uint hrs, uint mins, uint secs) method Q_NOREPLY void org.kde.kwin.getAttention(int n) method QDBusVariant org.freedesktop.DBus.Properties.Get(QString interface_name, QString property_name) method QVariantMap org.freedesktop.DBus.Properties.GetAll(QString interface_name) method void org.freedesktop.DBus.Properties.Set(QString interface_name, QString property_name, QDBusVariant value) method QString org.freedesktop.DBus.Introspectable.Introspect() method QString org.freedesktop.DBus.Peer.GetMachineId() method void org.freedesktop.DBus.Peer.Ping() [fred@bloggs be.clock]$ [fred@bloggs be.clock]$ [fred@bloggs be.clock]$ cat ~/.kde/share/config/kwinrc [$Version] update_info=kwin_remove_effects.upd:kwin4.7_effects [Compositing] AnimationSpeed=3 Backend=OpenGL Enabled=true GLColorCorrection=false GLLegacy=false GLTextureFilter=1 GLVSync=true GraphicsSystem=native HiddenPreviews=5 OpenGLIsUnsafe=false UnredirectFullscreen=false XRenderSmoothScale=false [Desktops] Name_1= Name_2= Number=2 Rows=1 [Effect-BeClock] 24h=false Align=34 AttentionPeriod=3600 Background=0,0,0 Chime=false CountDownAttention=3 DatePattern=yyyy-MM-dd ElectricBorders= Font=Akbar,10,-1,5,50,0,0,0,0,0 Foreground=255,255,255 HideOnHover=true HomeZone=Australia/Sydney Screen=-1 ShowDate=true ShowDayOfWeek=false ShowDigits=true ShowRings=true ShowSeconds=false Size=128 Type=0 X=20 Y=20 [Effect-BoxSwitch] TabBox=false TabBoxAlternative=false [Effect-Zoom] InitialZoom=1 [Plugins] desktopchangeosdEnabled=false kwin4_effect_beclockEnabled=true kwin4_effect_befadedEnabled=false kwin4_effect_blurEnabled=true kwin4_effect_boxswitchEnabled=false kwin4_effect_coverswitchEnabled=false kwin4_effect_cubeEnabled=false kwin4_effect_cubeslideEnabled=true kwin4_effect_dashboardEnabled=true kwin4_effect_desktopgridEnabled=true kwin4_effect_dialogparentEnabled=true kwin4_effect_diminactiveEnabled=false kwin4_effect_dimscreenEnabled=false kwin4_effect_explosionEnabled=false kwin4_effect_fadeEnabled=true kwin4_effect_fadedesktopEnabled=false kwin4_effect_fallapartEnabled=false kwin4_effect_flipswitchEnabled=false kwin4_effect_generic_animationsEnabled=false kwin4_effect_glideEnabled=false kwin4_effect_highlightwindowEnabled=true kwin4_effect_invertEnabled=false kwin4_effect_loginEnabled=true kwin4_effect_logoutEnabled=true kwin4_effect_lookingglassEnabled=false kwin4_effect_magiclampEnabled=false kwin4_effect_magnifierEnabled=false kwin4_effect_maximizeEnabled=true kwin4_effect_minimizeanimationEnabled=false kwin4_effect_mouseclickEnabled=false kwin4_effect_mousemarkEnabled=false kwin4_effect_outlineEnabled=true kwin4_effect_presentwindowsEnabled=true kwin4_effect_resizeEnabled=false kwin4_effect_scaleinEnabled=false kwin4_effect_screenshotEnabled=true kwin4_effect_sheetEnabled=false kwin4_effect_showfpsEnabled=false kwin4_effect_showpaintEnabled=false kwin4_effect_slideEnabled=false kwin4_effect_slidebackEnabled=false kwin4_effect_slidingpopupsEnabled=true kwin4_effect_snaphelperEnabled=false kwin4_effect_startupfeedbackEnabled=true kwin4_effect_taskbarthumbnailEnabled=true kwin4_effect_thumbnailasideEnabled=false kwin4_effect_trackmouseEnabled=false kwin4_effect_translucencyEnabled=true kwin4_effect_windowgeometryEnabled=false kwin4_effect_wobblywindowsEnabled=false kwin4_effect_zoomEnabled=true [Script-desktopchangeosd] PopupHideDelay=1000 TextOnly=false [Style] ButtonsOnRight=IAX PluginLib=kwin3_aurorae [TabBox] DesktopMode=1 ShowTabBox=true [Windows] RollOverDesktops=true

thomas12777

Whatever plugin is loaded is pre commit af5db8f5d9399f59bad3c10e807a4c7ce73549ca If the version you compiled has this commit ("git log", it's labeled "wire show and hide to dbus") it was not installed to some KDE plugin path. Check the installation paths in "make install" and compare that to the output of strace /usr/bin/kwin --replace 2>&1 | grep beclock (to see which plugin kwin loads) The install the CMAKE_INSTALL_PREFIX variable (in the build dir, run "ccmake ..", ccmake is the curses gui variant of cmake)

gzu

Hi, I might be wrong but it looks like beclock is being installed into /usr/lib/kde4 but should be installed into /usr/lib64/kde4 I've found the same issue with plasmoids compiled from source CMAKE_INSTALL_PREFIX = /usr output below Install the project... -- Install configuration: "Release" -- Installing: /usr/lib/kde4/kwin4_effect_beclock.so -- Removed runtime path from "/usr/lib/kde4/kwin4_effect_beclock.so" -- Up-to-date: /usr/share/kde4/services/kwin/beclock.desktop -- Installing: /usr/lib/kde4/kcm_kwin4_effect_beclock.so -- Removed runtime path from "/usr/lib/kde4/kcm_kwin4_effect_beclock.so" -- Up-to-date: /usr/share/kde4/services/kwin/beclock_config.desktop -- Installing: /usr/lib/kde4/kwin4_effect_generic_animations.so -- Removed runtime path from "/usr/lib/kde4/kwin4_effect_generic_animations.so" -- Up-to-date: /usr/share/kde4/services/kwin/generic_animations.desktop -- Installing: /usr/lib/kde4/kcm_kwin4_effect_generic_animations.so -- Removed runtime path from "/usr/lib/kde4/kcm_kwin4_effect_generic_animations.so" -- Up-to-date: /usr/share/kde4/services/kwin/generic_animations_config.desktop -- Installing: /usr/lib/kde4/kwin4_effect_befaded.so -- Removed runtime path from "/usr/lib/kde4/kwin4_effect_befaded.so" -- Up-to-date: /usr/share/kde4/services/kwin/befaded.desktop

gzu

Hi, I've copied the .so files from /usr/lib/kde4 to /usr/lib64/kde4 and beclock is displaying again. is there anyway to define lib64 as the default location? Thanks for your help, GZU

thomas12777

Good to hear that beclock works =) It installs into ${PLUGIN_INSTALL_DIR} as determined by the KDE cmake module. You could try: cmake -DCMAKE_INSTALL_PREFIX=/usr -DKDE4_LIB_INSTALL_DIR=/usr/lib64 -DCMAKE_BUILD_TYPE=Release .. But I don't know whether the variable would not just be overridden. Fedora should probably adjust /usr/share/apps/cmake/modules/KDELibsDependencies.cmake to point KDE4_LIB_INSTALL_DIR (and some others) to /usr/lib64

gzu

Hi thomas12777, I can't remember if I tried your suggestion but I ended up using cmake -DLIB_SUFFIX=64 -DCMAKE_BUILD_TYPE=Release .. It appears that LIB_SUFFIX isn't set and is used in /usr/share/kde4/apps/cmake/modules/KDELibsDependencies.cmake to set the /usr/lib /usr/lib64 PATH. This should help me with plasmoids also. Thanks again, GZU

thomas12777

Good to know. However, /usr/lib64 is not a standard (for x64 systems) As far as i could figure, Fedora sets LIB_SUFFIX in some "rpmbuild" cmake module, which is probably only invoked by rpmbuild - they might want to add that to some global cmake module (in the x64 cmake package)

gzu

Hi, looks like it is all taken care of in rpmbuild by macro %cmake_kde4 in /etc/rpm/macros.kde4 Thanks, GZU

gzu

beclock doesn't display anymore on RHEL7 variants. It worked OK up until about a month ago. I can get it to work again by yum downgrading a number of kde packages (about 10) including the workspace rpms. Anyone have any ideas?? Thanks for looking..... GZU

thomas12777

Self compiled BeClock or does RH simply no more include a package? (Please notice that there's no port for KWin/KF5 yet) If self-compiled and on KDE4, please paste the output of "qdbus org.kde.KWin /KWin supportInformation" somewhere.

gzu

Looks like the git version is broken in Fedora 19 KDE 4.11. Seems to be related to xcb, anyone got any ideas or fixes. Thanks.......

thomas12777

Which branch? 4.10 or master (for 4.11 use master) If master build fails on 4.11, please elaborate on "how", ie. please post the error message.

gzu

Hi Thomas12777, See below on compilation, tahnks for looking into this. gzu -- Found XCB_SHAPE: /usr/lib/libxcb-shape.so -- Found XCB_SHM: /usr/lib/libxcb-shm.so -- Found XCB_SYNC: /usr/lib/libxcb-sync.so -- Found XCB_IMAGE: /usr/lib/libxcb-image.so -- Could NOT find XCB_KEYSYMS (missing: XCB_KEYSYMS_LIBRARIES XCB_KEYSYMS_INCLUDE_DIR) -- Could NOT find XCB_ICCCM (missing: XCB_ICCCM_LIBRARIES XCB_ICCCM_INCLUDE_DIR) -- Found XCB_XTEST: /usr/lib/libxcb-xtest.so CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message): Could NOT find XCB (missing: XCB_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE) cmake/modules/FindXCB.cmake:108 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:9 (find_package) -- Configuring incomplete, errors occurred! make: *** No rule to make target `clean'. Stop. make: *** No targets specified and no makefile fou

Pling
0 Affiliates
Details
license
version 0.18
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Various KDE 1.-4. Improvements from thomas12777:

kconfig
thomas12777
last update date: 11 years ago

Score 6.1

Kontainer
thomas12777
last update date: 11 years ago

Score 7.6

Generic Animations (BeGeneric ;-)
thomas12777
last update date: 13 years ago

Score 8.0

BeDistorted
thomas12777
last update date: 13 years ago

Score 7.2

BeFaded
thomas12777
last update date: 14 years ago

Score 6.8

BeShadowed
thomas12777
last update date: 14 years ago

Score 7.5

Other Various KDE 1.-4. Improvements:

Slicker Debian Package for Woody
cirrusgr
last update date: 22 years ago

Score 5.0

Konqueror/kdesktop suggestion
PovMan
last update date: 22 years ago

Score 5.0

Biiig buttons
dbojan
last update date: 20 years ago

Score 5.0

Yet Another KControl
Frans
last update date: 21 years ago

Score 5.0

Next window and next/previos window
dbojan
last update date: 20 years ago

Score 5.0

Fantasie Toolbar
katoe
last update date: 19 years ago

Score 5.0