
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
UPDATE:: Shadowed text patch for KDE 3.1.3.
This patch has been cleaned to contain only 2 files for kdelibs and kdebase.
It maintains binary compatibility with the original code so you don't have to compile everything all over again.
** I'd like to thank to all of you for your interest and contributions to this patch. **
17 years ago
07 Aug: The download link contains patches to 3_1_3_RELEASE. Textar has already made RPMs for Mandrake beta (second shot).
14 Jul: the patch is in the CVS now, so the download is out of date until I 'll get around to backport it to 3.1 :)
23 Jun: new version with Bernardo's fix for kdesktop crashing.
20Jun: New patch (this time has 2 diff files: one for kdebase, one for kdelibs) . Also some code cleanup (less debug messages and some API docs).
Update 3
New patch created against a fresh copy of kde. 2 files. The config file shows an example of the default/selected configuration.
Update 2 :)
BIG THANKS to Bernardo for his algorithm implementation ("acurate" in shadowconfig)
UPDATE: 6:08 GMT> fixed nasty bug causing crash on bogus shadow thickness. Improved the size of the rendered shadow (some cutting off on the left handside was observed)
A configuration is provided via Background/advanced.
The user can add custom configurations to the predefined ones in kdesktoprc:
[CustomShadow]
ShadowNames=Name 1,Name 2,Name 3,Name 4
ShadowItem.1=
ShadowItem.2=
ShadowItem.3=
...
and use the shadowconfig program to generate the entry strings.
This patch does no longer include the kicker pixmap patch.
17 years ago
07 Aug: The download link contains patches to 3_1_3_RELEASE. Textar has already made RPMs for Mandrake beta (second shot).
14 Jul: the patch is in the CVS now, so the download is out of date until I 'll get around to backport it to 3.1 :)
23 Jun: new version with Bernardo's fix for kdesktop crashing.
20Jun: New patch (this time has 2 diff files: one for kdebase, one for kdelibs) . Also some code cleanup (less debug messages and some API docs).
Update 3
New patch created against a fresh copy of kde. 2 files. The config file shows an example of the default/selected configuration.
Update 2 :)
BIG THANKS to Bernardo for his algorithm implementation ("acurate" in shadowconfig)
UPDATE: 6:08 GMT> fixed nasty bug causing crash on bogus shadow thickness. Improved the size of the rendered shadow (some cutting off on the left handside was observed)
A configuration is provided via Background/advanced.
The user can add custom configurations to the predefined ones in kdesktoprc:
[CustomShadow]
ShadowNames=Name 1,Name 2,Name 3,Name 4
ShadowItem.1=
ShadowItem.2=
ShadowItem.3=
...
and use the shadowconfig program to generate the entry strings.
This patch does no longer include the kicker pixmap patch.
casshan
17 years ago
/bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -g -pipe -march=i386 -mcpu=i686 -finline-functions -fexceptions -fno-check-new -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE -o kdesktop -L/usr/X11R6/lib -L/usr/lib/qt-3.1/lib -L/usr/local/kde/lib dummy.o kdesktop.la
./.libs/kdesktop.so: undefined reference to `KFileIVIDesktop::KFileIVIDesktop[in-charge](KonqIconViewWidget*, KFileItem*, int, KShadowEngine*)'
./.libs/kdesktop.so: undefined reference to `KShadowEngine::KShadowEngine[in-charge](KShadowSettings*)'
./.libs/kdesktop.so: undefined reference to `KDesktopShadowSettings::setConfig(KConfig*)'
./.libs/kdesktop.so: undefined reference to `KDesktopShadowSettings::KDesktopShadowSettings[in-charge](KConfig*)'
./.libs/kdesktop.so: undefined reference to `KShadowEngine::~KShadowEngine [in-charge]()'
./.libs/kdesktop.so: undefined reference to `KShadowEngine::shadowSettings()'
collect2: ld returned 1 exit status
Report
thormedia
17 years ago
^^^^ see that... that means you've gotta compile the section "libkonq" section 1st, as that has the reference it needs... then it will compile...
so in your kdebase/libkonq/ do a make, then make install, then go back and continue...
Works fine here btw!
Report
Yaba
17 years ago
BTW: I also have RedHat 9. Maybe sometimes I get use to all the stones, RedHat puts in my way.
Report
thormedia
17 years ago
Dunno, works fine on SuSE 8.2... I hear that RH mess with KDE (Do not know if that is true)... so maybe its a problem with that...
Report
casshan
17 years ago
Report
thormedia
17 years ago
I've just patched the source, and about to compile... I see ^^^ someone has an error...
If it works for me, I will say so here... (Compiling on SuSE 8.2 with QT 3.1.2 and KDE 3.1.3 sources off kde.org)
Report
thormedia
17 years ago
Ok...wtf do I configure the shadows lol... I've enabled em.. but thought there was a menu to configure them...
Report
equinoxe
17 years ago
I have posted some quickies below for getting shadows.
Report
dave
17 years ago
I've downloaded the version with only 2 diff files. I'm using Gentoo with KDE 3.1.1
thanks
Report
Yaba
17 years ago
patch -p2
Report
Yaba
17 years ago
patch -p2 < kdebase.diff
Report
Yaba
17 years ago
Thank you!
Report
Yaba
17 years ago
/bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-lo ng-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN _SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -fno- exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE -o kdesktop -L/usr/X11R6/lib -L/usr/lib/qt3/lib -L/opt/kde3/lib -R /opt/kde3/lib -R /usr/lib/qt3/lib -R /usr/X11R6/lib dummy.o kdesktop.la
./.libs/kdesktop.so: undefined reference to `KFileIVIDesktop::KFileIVIDesktop[in- charge](KonqIconViewWidget*, KFileItem*, int, KShadowEngine*)'
./.libs/kdesktop.so: undefined reference to `KShadowEngine::KShadowEngine[in-char ge](KShadowSettings*)'
./.libs/kdesktop.so: undefined reference to `KDesktopShadowSettings::setConfig(KC onfig*)'
./.libs/kdesktop.so: undefined reference to `KDesktopShadowSettings::KDesktopShad owSettings[in-charge](KConfig*)'
./.libs/kdesktop.so: undefined reference to `KShadowEngine::~KShadowEngine [in-ch arge]()'
./.libs/kdesktop.so: undefined reference to `KShadowEngine::shadowSettings()'
collect2: ld returned 1 exit status
make[3]: *** [kdesktop] Error 1
Report
equinoxe
17 years ago
Report
Yaba
17 years ago
Report
darkstar0010
17 years ago
Report
thormedia
17 years ago
Kind regards
Miles.
Report
ntesa
17 years ago
Report
darkstar0010
17 years ago
Report
techniq
17 years ago
Report
equinoxe
17 years ago
Cheers,
Laur
Report
techniq
17 years ago
Report
equinoxe
17 years ago
("OS X"): "0, 0, 1, 16.0, 192.0, 2, 4, 0"
("Windows XP"): "1, 1, 1, 32.0, 139.0, 2, 4, 0"
("Soft outline"): "2, 0, 0, 4.0, 170.0, 1, 4, 0"
Just replace the "schema" line in kdesktoprc" and refresh the desktop. I do it having a "set background open" and hitting "apply" after manually changing something (after checking/unchecking a box to enable it). This will send the dcop message to the desktop and tell it to read from the file again.
Cheers,
Laur
Report
Deciare
17 years ago
For instance, an OS X styled shadow would be
0,1,16.000000,192.000000,2,4,0
instead of
2,0,1,16.000000,192.000000,2,4,0
Report
brendanorr
17 years ago
[FX]
Shadow.Algorithm=RadialDecay
Shadow.Scale=3
I believe that is correct, oh well, at least I can control the color :)
Report