Neposidekick service menu

Dolphin Service Menus

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

2
Score 70.0%
Description:

neposidekick service menu is a collection of tools to manage some Nepomuk user data (comments, ratings and tags)

This script was created and tested in KDE 4.5.5 so might not work in other versions.

Installation:
1) uncompress
2) chmod +x neposidekick.py
3) ./neposidekick.py install

Tip: try neposidekick.py command in console for more options and information
Tip: use local resources to share information between users and systems (usb disks)
Tip: use export/import options manually or with cron to backup all your user data
Tip: you can use find to add tags massively:
find . -name *.avi -exec neposidekick.py addtags --tag 'pretty tag' --url {} ;

Consult the help option for more information.
Last changelog:

8 years ago

11/02/10 - v0.2
- program has been totally rewritten
- adding data to symlinks works even if symlink is pointing nowhere
- edit resources icon changed to accessories-text-editor
- new text resource formats 'ntr' and 'nhr' with support to all ontologies
- all v0.1 formats are now deprecated but still supported in load operations
- many changes in parameters so check the help
- new commands: addtags, cleandir, cleanfile, removetags
- some commands works even if file does not exists, for example cleantags
- new --human-readable parameter to create local resources file easy to understand, but less powerful than full format
- service menu save uses --human-readable format
- --recursive option is available to certain commands
- new parameter --ontology that supports short version (nao#hasTag) or long version (http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasTag) names
- now local resources files and export file are backed up

11/01/10 - v0.1
First version

kerenskyy

7 years ago

Hello,

zsh/4 1026 % ./neposidekick.py
File "./neposidekick.py", line 98
exec 'global %(name)s\n%(name)s = %(value)s' % {'name': name, 'value': value}
^
SyntaxError: invalid syntax

Report

C

eusonig

7 years ago

This is because in your system default python version is python 3.

Edit the file and change:
#!/usr/bin/env python

for

#!/usr/bin/env python2

On the other side this program is outdated because seems there is no much interest in it but I still using it and I did several changes and removing some not working functionalities.

If you are interested in this program I could release a new version.

Report

9

aldicek

5 years ago

First of all, thanks for your great work! This piece of software is one of the kind, I'm looking for since WEEKS already. Not only you were aware of the black spot of the Nepomuk philosophy. So I ask you urgently and with a big and honest PLEASE to release your latest update, because it is needed and will be used.

Cheers
Aldicek

PS: had no time to test command line yet, hopefully this evening, but the context menu seems to work without problems (Mint Maya 64 bit, KDE 4.11.3).

Report

C

eusonig

5 years ago

Last version is available here and supports Nepomuk2:

http://quickgit.kde.org/?p=scratch%2Fserantes%2Fneposidekick.git


Sadly this version requires Nepomuk2 Python Bindings, not available yet in KDE, but you can download sources from here:

http://quickgit.kde.org/?p=scratch%2Fsedwards%2Fpykde4nepomuk2.git

Report

9

aldicek

5 years ago

Muchos garcias, senor!

I will try to install this new bindings in the evening at my home machine, but don't have any idea if this will work. But because there is a CMakeLists.txt in it, as I read, I have to create a build directory, jump inside and start "cmake .."? (And, if this happens to finish successfully, after that apply "make" and "make install"?) Well, we'll see.
But if I gloryously fail as I'm supposed to do mostly... what are known limitations of the here supported version?

Cheers
Aldicek

Report

C

eusonig

5 years ago

This version is using old Nepomuk API and I think is buggy and unsupported.

And I did not tested this version for long time ago so probably there are several bugs and problems.

Report

9

aldicek

5 years ago

Hello again, Senor!

After downloading and unpacking the mentioned packages, I tried to install the Python bindings and failed.

CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/aldi/.kde/share/apps;/usr/share/mintkde-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
CMakeLists.txt:4 (find_package)


CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.8)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!

I want to add, that cmake is installed on my system already. So I'm stuck already. What can or should I do?

Cheers Aldicek

Report

9

aldicek

5 years ago

Hello again, Senor!

After downloading and unpacking the mentioned packages, I tried to install the Python bindings and failed.

CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/aldi/.kde/share/apps;/usr/share/mintkde-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
CMakeLists.txt:4 (find_package)


CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.8)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!

I want to add, that cmake is installed on my system already. So I'm stuck already. What can or should I do?

Cheers Aldicek

Report

dimti

8 years ago

I have ./neposidekick.py install
my freebsd 8.2, answer:

%./neposidekick.py install
kde4-config: not found
kde4-config: not found
ERROR: service menú file '/ServiceMenus/neposidekick.desktop' can't be created.

Report

C

eusonig

8 years ago

"kde-config" program is missing and is required to locate kde4 user installation paths.
You must install it.

Report

8 years ago

11/02/10 - v0.2
- program has been totally rewritten
- adding data to symlinks works even if symlink is pointing nowhere
- edit resources icon changed to accessories-text-editor
- new text resource formats 'ntr' and 'nhr' with support to all ontologies
- all v0.1 formats are now deprecated but still supported in load operations
- many changes in parameters so check the help
- new commands: addtags, cleandir, cleanfile, removetags
- some commands works even if file does not exists, for example cleantags
- new --human-readable parameter to create local resources file easy to understand, but less powerful than full format
- service menu save uses --human-readable format
- --recursive option is available to certain commands
- new parameter --ontology that supports short version (nao#hasTag) or long version (http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasTag) names
- now local resources files and export file are backed up

11/01/10 - v0.1
First version

12345678910
4
product-maker aldicek Nov 28 2013 9 excellent
product-maker sxe Feb 28 2011 9 excellent
product-maker SeaJey Feb 09 2011 9 excellent
product-maker vitoubien Jan 09 2011 9 excellent
product-maker Base: 4 x 5.0 Ratings
aldicek
Nov 28 2013
sxe
Feb 28 2011
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.2
updated Feb 09 2011
added Jan 09 2011
downloads 24h
0
pageviews 24h 2
System Tags addon