Emblems Hack
Various KDE 1.-4. Extensions
Score 77%
Description:

This is a simple hack to kdelibs-3.5.5 (and 3.5.6) that adds basic emblem support, like in GNOME. (It doesn't use the same format, though.)

To set an emblem, right-click a file, select Actions, Emblems, and Select Emblem. You can also delete an emblem by choosing Delete Emblem in the same menu. Please note that for symbolic links, you need to set the emblem on the file the link is pointing to, and not the symbolic link.

Currently, emblems are not drawn on thumbnail previews. I'll attempt to fix this in a later version.

Requirements:
- KDE 3.5.5 or 3.5.6
- Extended Attribute support (xattrs must be supported by the kernel and the current filesystem - add the user_xattr option to fstab if necessary)

Installation:
1. Apply the kdelibs-3.5.5-emblem-0.1 patch to the kdelibs source directory and recompile kdelibs.
2. Copy all files in the bin/ directory of the emblems tarball to /usr/local/bin (or another directory in PATH).
3. Copy all files in the servicemenus/ directory of the emblems tarball to ~/.kde/share/apps/konqueror/servicemenus/ or the system-wide service menus directory.

Suggestions and comments are welcome.
Last changelog:

10 years ago

0.2: Added service menus and scripts for selecting emblems.
0.1: First public release.

Sebien

10 years ago

I dreamt about this feature for so long...

It's especially more straightforward for folder icons. With emblems, you are not limited to icons folder_music, folder_images... You can put a real icon folder and add any icon you want as an emblem.

Thank you very much.

Please contact KDE developers to include it in KDE 4. I think they already talked about that, so they are not reluctant to the idea. I think they will be pleased that feature is already coded and will integrate it quickly.

Report

jazztyle

10 years ago

...but it does not build on my machine with kdelibs 3.5.6. output is here:

http://rafb.net/p/fc1ShG76.html

Report

C

GerbilSoft

10 years ago

Bah, forgot to add an include for ksvgiconinterface.h

Add this below the include for attr/xattr.h in kdelibs-3.5.6/kio/kio/kfileitem.cpp:

#ifdef HAVE_LIBART
#include <ksvgiconengine.h>
#endif

Report

jazztyle

10 years ago

made a patch for that:


--- kio/kio/kfileitem.cpp.OLD 2007-01-31 18:30:22.000000000 +0100
+++ kio/kio/kfileitem.cpp 2007-01-31 18:30:44.000000000 +0100
@@ -49,6 +49,9 @@
// Emblem includes
#include
#include
+#ifdef HAVE_LIBART
+#include
+#endif

class KFileItem::KFileItemPrivate {
public:



..but it still does not work :|

output is here:

http://rafb.net/p/28ZGzT29.html

Report

d3f3nd3r

10 years ago

See my suggestion

http://www.kde-look.org/content/show.php?content=43260

Report

jeykey

10 years ago

Please help! Don't know how to install
this!

Report

C

GerbilSoft

10 years ago

You have to recompile kdelibs with the patch. There's a howto guide on compiling KDE here:

http://developer.kde.org/build/stable.html

Report

C

GerbilSoft

10 years ago

Also, to apply the patch, run this command in the kdelibs source directory:

patch -p1 </path/to/52193-kdelibs-3.5.5-emblem-0.1.patch

Report

bugmenot

10 years ago

it should be integrated in kde releases ;-)

Report

Superstoned

10 years ago

well, of course. but it should be tested first - and i guess this is an attempt to get ppl to test it ;-)

a gui would be very usefull for that, tough...

Report

sabby7890

10 years ago

I agree with that, KDE could use something like emblems. But a cool idea is to make some emblems visible only when user hovers mouse cursor over a particular icon. I would like to see something like that in KDE4:)

Report

10 years ago

0.2: Added service menus and scripts for selecting emblems.
0.1: First public release.

product-maker 17 70

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.2
updated Jan 28 2007
added Jan 25 2007
downloads today
0
page views today 2