Image 01


Lu Ran

Various KDE 1.-4. Improvements 285 comments

Score 85.2%
Mar 04 2012
I completely agree the timezone setting should be done in a more low level so more program can benefit from it. I decide to hack beclock mainly because it is THE clock I use, also I am unsure about the side-effect when changing /etc/localtime on the fly without logout/reboot. Anyway, It is just a suggestion, maybe it will inspire some more elegent solutions. - Jun 30 2012
I would like to suggest in addition of the timezone support beclock currently have, add a dbus call to set the timezone and adjust the displayed time according to it. I made some quick hack to do it in 0.18. With this dbus interface I can write a script to update the timezone using geoip city database, and have the script run automatically using networkmanager hooks. The net results is that everytime I travel to a new place, I simply connect to the network and beclock will automatically adjust to the local timezone. - Jun 27 2012
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. - Oct 29 2011
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. - Oct 27 2011
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. - Oct 27 2011
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. - Oct 26 2011
Any plan to support it soon? - Oct 03 2011
according to wikipedia. Becolor however displays 12 am. - Nov 03 2010

Various KDE 1.-4. Improvements 75 comments

Score 76.7%
Feb 14 2011
renderGLGeometry has been removed from the kwin code, so now beshadown cannot compile against git code. Update soon? - Feb 12 2011

Video Apps 102 comments

Score 50.0%
Feb 11 2009
I think it should be a bug in mplayer, Every time I accidentally play a *.sub file with mplayer I have to reset the computer, which is very bad since it makes the debug process really unpleasant. :( - Jun 30 2006

Utilities 25 comments

Score 58.0%
Sep 12 2006
how about using "XINE_PARAM_AUDIO_AMP_LEVEL" instead of "XINE_PARAM_AUDIO_VOLUME" so it will not affect the volume of other audio stream?

BTW, I think the code read volume arg from the command line is wrong, the code set volume to the ascii number of the first char? - May 30 2006
Liquid Weather ++

Karamba & Superkaramba 1797 comments

by Matti
Score 46.0%
Jun 01 2008
yes, I've made a mistake, the point is not that I modified the $HOME dir, but is I unpacked the file. when I run lwp-8.5.skz, saving config is always interrupted by a exception saying cannot find .superkaramba/cam_labs, somehow, when I unzip it and run the theme file the problem disappeared. - Sep 20 2005
I found a strange problem that when I use PyQt config dialog the configuration cannot save, so I searched the source code and find some /home/matt in it, convert them to my $HOME seems solve the problem - Sep 20 2005
no problem here now, thanks for the fix, really cool :) - Aug 09 2003
I use 0.7.2 version when reply to the "Problem remain" topic. - Aug 09 2003
I'm using gentoo in my box and I've already upgrade to python 2.3, but the problem remains, and I don't think it's an "if" problem in python cause I uncomment all the "print" sentence in the meterClicked, and from the print message I found the meterClicked function seems being called many times(see my reply the "the problem remains", maybe you have missed it), so I think it's some kind of superkarambe problem, but It seems only gentoo and slackware were suffering the problem. - Aug 08 2003
I have the same problem in my gentoo(python 2.2.3/superkaramba 0.29), I uncommented all the "print" in the meterClicked function of the script, here is the output when click on the widget:
buttonpressed: day0
buttonpressed: day1
buttonpressed: day2
buttonpressed: day3
buttonpressed: day4
it seem meterClicked was called five times for all the clickarea, I guess it's some kind of superkaramba's bug - Aug 02 2003
kopete msn message notifier

Amarok 1.x Scripts 5 comments

by seb
Score 50.0%
Aug 31 2005
What is the different between this script and the "now playing" plugin in kopete. I think the "now playing" can display track information as personal message now. - Aug 31 2005

KDE 3.5 Themes 1262 comments

Score 63.3%
Sep 10 2006
The "button background" item in color shema setting make me feel confused, the color being setted seems to be used to the hovered button and default button. Well that's a nice feature;) but the anony side is the separator of toolbar in Qt program use this color too(KDE program don't since they implemented a separator of their own), and in KDE some other widget also affected by this setting. I prefer there at least can be a setting to make other widget stay in the window background color or something like that. I'm using KDE CVS HEAD, gcc 3.3.2. Hope I express my idea clear enough:), and thanks for you excellent work, really great! - Nov 29 2003

Karamba & Superkaramba 326 comments

Score 50.0%
Nov 16 2004
comment out this line in karamba.cpp

KWin::setType(winId(), NET::Dock);

then it should be ok, don't know if it will break other things. - Oct 26 2003
Polish News Module

Karamba & Superkaramba 95 comments

Score 50.0%
Jun 17 2005
I think it's the same bug we had discussed with Liquid Weather, it seems to be a superkaramba & gentoo or suse bug, the key point is never use meterClicked with gentoo distribution, or superkaramba will call all the meter one by one, then you will see these strange behavior. Liquid Weather use some kind of dirty code in widgetClicked to avoid that problem. Seem that was the best solution by now. Still I don't know why it only happen with gentoo and suse distribution - Aug 24 2003