
Lexeo
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
INTRODUCTION
============
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:/ IOSLAVE
===============
The lexeo:/ ioslave can do the same thing as lexeo_find, but from within any KDE
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 '/').
15 years ago
Implemented the lexeo:/ ioslave
15 years ago
Implemented the lexeo:/ ioslave
enderw2000
15 years ago
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.
Report
bk12
15 years ago
Report
enderw2000
15 years ago
* 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
Report
bk12
15 years ago
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.
Report
enderw2000
15 years ago
Now I try to make it work in Konqueror.
A question? Lexeo suport names with space: P.e: logo kde.jpg?
Report
bk12
15 years ago
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
Report
djworld
15 years ago
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.
Report
bk12
15 years ago
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.
Report
djworld
15 years ago
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.
Report
bk12
15 years ago
Report