============
Lexeo lets you assign keywords to your files.
Once installed you can right click on your files from within Konqueror and
assign keywords to them. To browse your files by keywords, just go to the
'keywords' folder in your home folder.
Lexeo is also integrated in Gwenview as an external tool.
THE PROGRAMS
============
lexeo_edit
----------
This is the program used to assign keywords. You can invoke it from the command
line like this:
lexeo_edit file1 file2 others*...
lexeo_find
----------
lexeo_find lets you query the keywords. Given a set of criteria, it will return
the list of matching files.
Here is what you can do with it:
# Get all my Copenhague images:
lexeo_find locations/Copenhague
# Get only the Copenhague images where I appear:
lexeo_find locations/Copenhague and people/Aurelien
# Get the Copenhague images where either I or my wife appear:
lexeo_find locations/Copenhague and '(' people/Aurelien or people/Gwen ')'
You must quote brackets, otherwise they will be interpreted by the shell.
LEXEO

===============
The lexeo

application where you can type an URL. The lexeo_find examples would translate
to urls like this:
# Get all my Copenhague images:
lexeo:/locations/Copenhague
# Get only the Copenhague images where I appear:
lexeo:/locations/Copenhague and people/Aurelien
# Get the Copenhague images where either I or my wife appear:
lexeo:/locations/Copenhague and ( people/Aurelien or people/Gwen )
Contrary to lexeo_find, you don't need to quote brackets.
HOW IT WORKS
============
Lexeo uses a very simple system: symbolic links. When you create keywords, it
creates folders in the 'keywords' folder. When you assign a keyword to a file,
it will create a symbolic link to this file in the corresponding keyword folder.
The name of symbolic link will be the original path (with '_' replacing '/').
Ratings & Comments
10 Comments
Sorry by my poor English. I installed lexeo, with python, but it doen't works. No errors where found in the instalation. I can't assign keywords in konqueror. Must I restart Kde? Thaks in advance.
You should be able to add keywords from the context menu: right click on a file and go to "Actions > Lexeo - Edit Keywords". You should see a dialog where you can define your keywords (with the "Add Keyword" button) and assign them to your file(s).
Sorry, but I have problems: * Right click doesn't works. * On a terminal I can asign keywords to a imahe. * I don't know how integrate it on Gwenview. Can anybody help me. Thanks in advance. I think Lexeo is a great idea. Bye
You can start lexeo_edit from within Gwenview via an external tool. If everything has installed ok, when you right click an image in Gwenview and go in "External tools", you should see a "Lexeo - Edit Keywords" entry which will start lexeo_edit. If it's not the case, you need to declare lexeo_edit as an external tool: - Go to this menu: settings>Configure External Tools - Click "Add" - Enter a name for your tool - Use "lexeo_edit %F" as a command (without the quotes) - Select "All files" - Click "Ok" It should work now. To browse images according to the keywords, you must use the ioslave. In either Gwenview or Konqueror, type "lexeo:/some_keyword" to get all images/files matching this keyword. With "lexeo:/keyword1 and keyword2" you will get only images matching keyword1 and keyword2.
Ok! Lexeo works in Gwenview. Now I try to make it work in Konqueror. A question? Lexeo suport names with space: P.e: logo kde.jpg?
It does support space in filenames. The ioslave (lexeo:) in however does not support very well space in keywords. Also note that you must add a '/' after the ':' when using the ioslave. Example: "lexeo:/keyword1 and keyword2" OK "lexeo:keyword1 and keyword2" NOT OK
Having in mind the powerful architecture KDE has, I think it would be much better to create a KIOslave for the search function. You would type something like lexeo:/ and it would contain a "Results" folder, a "Keywords" folder with subfolders where you can find each content and create new keywords, and a "Search for" icon that would allow you to search for different keywords. It could probably be made in less than 500 lines of C++ code. I also don't like the way it stores the keywords with symbolic links. I guess that's due to this is the first release. I would store all them in a rc file in ~/.kde/share/config or ~/.kde/share/apps/lexeo. It could be something like: [fotos] File1=~/bla File2=~/foo [fotos/myhome] File1=~/foo ... And if it's used with images, perhaps it could be possible to use the "Comments" field or another field in each image to add the keywords, and it could scan image folders in search for keywords. Obviously it would depend on the file format, but perhaps it's possible for some common file formats.
Using ioslave is planned, the current lexeo_find tool is more a proof of concept. As for the way the keywords are stored, the main advantages are: - Not limited to any particular file type - Concurrent access are handled by the file system, so there is no need to lock some file.
Great! An ioslave will be cool. :) Even using the current storage method, I think it would be interesting to hide it under ~/.kde/share/apps/lexeo. I find a bit annoying to have a directory visible in my home folder just for the purpose of storing it. I think the same for ~/Mail where KMail stored the e-mails. Fortunately, they recently moved it into ~/.kde in KDE 3.4. Keep up your good work, I think it's a very interesting idea.
The base dir will become configurable at some point, I initialy made it visible so that you can easily browse your files by keyword.