This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE3 servicemenu does not work under KDE4

Tags: None
(comma "," separated)
mbischof
Registered Member
Posts
2
Karma
0
Hi,
under KDE3 I have a Konqueror servicemenu called maketree. Right-click on a directory offers a menu to view the tree:
- with only directories
- showing all subdirectories plus files
- showing all subdirectories plus files with full path
From reasons unknown to me it does no longer work in KDE4. I am a member of a local Linux user group but the friends there do not use KDE that much that they are eager to solve tricky konfiguration problems. For me these servicemenu-facilities are a very important part of the KDE3-Desktop-functionality. Well established it speeds up the daily work a lot.

Here is this maketree.desktop-file:

[Desktop Action allFiles]
Exec=tree -a %f | kwrite --stdin
Icon=kwrite
Name=All Files

[Desktop Action directoryTree]
Exec=tree -ad %f | kwrite --stdin
Icon=kwrite
Name=Directories Only

[Desktop Action fullPath]
Exec=tree -af %f | kwrite --stdin
Icon=kwrite
Name=All Files w/Full Path

[Desktop Entry]
Actions=directoryTree;allFiles;fullPath
Encoding=UTF-8
Icon=
ServiceTypes=inode/directory
X-KDE-Submenu=Make Tree


Anybody here who can help?
ivanthekdefan
Registered Member
Posts
65
Karma
0
OS
KDE 4 included an almost complete rewrite of Plasma. As a result some things will not work. Dolphin has this feature, I think, maybe use that instead of Konqueror.
Surprised to see that you JUST switched from KDE 3 to 4. Plasma 5 is out.


Hi, I'm Ivan, a competent computer user (which means geek to most). I run KDE neon Developer when it works and KDE neon User when Developer doesn't work.
Hope I helped you with any problems you may have had :)
mbischof
Registered Member
Posts
2
Karma
0
@ivanthekdefan
Thanks for answering, but: no help, unfortunately. In the meantime I solved the problem with the help of a really Nerd user in the q4os-forum. q4os is a new distribution that uses Debian 8 with the Trinity KDE3-Desktop. This is much more quick and runs nice on older hardware as well. He gave to me this *.desktop script with the correct konfiguration style:

Code: Select all
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=inode/directory
Actions=directoryTree;allFiles;fullPath
Encoding=UTF-8
X-KDE-Submenu=Make Tree

[Desktop Action directoryTree]
Name=Directories Only
Icon=kwrite
Exec=tree -ad %f | kwrite --stdin

[Desktop Action allFiles]
Name=All Files
Icon=kwrite
Exec=tree -a %f | kwrite --stdin

[Desktop Action fullPath]
Name=All Files w/Full Path
Icon=kwrite
Exec=tree -af %f | kwrite --stdin


This must be stored in /home/user/.kde/share/kde4/services/ - then it functions and is a very handy and practical tool! It's not that easy to be a nerd, is it? ;-)


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]