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

0
Become a Fan
5.0

Available as/for:
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:

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


Ratings & Comments

11 Comments

Sebien

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.

jazztyle

...but it does not build on my machine with kdelibs 3.5.6. output is here: http://rafb.net/p/fc1ShG76.html

GerbilSoft

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

jazztyle

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

d3f3nd3r
jeykey

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

GerbilSoft

You have to recompile kdelibs with the patch. There's a howto guide on compiling KDE here: http://developer.kde.org/build/stable.html

GerbilSoft

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

bugmenot

it should be integrated in kde releases ;-)

Superstoned

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...

sabby7890

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

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

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: 20 years ago

Score 5.0