![]() Registered Member ![]()
|
Hi,
I'd like to create some service menus which are only visible under certain conditions. For example the action "do foo" should only be available if there is a file call "bar" in the current directory. I have already found some topics about creating context menus in dolphin. But non of them can solve my particular problem. Is this even possible in KDE? I don't know but maybe the X-KDE options will help with this. Can someone point me to a detailed documentation about all the available options. So far I have seen the options: X-KDE-Submenu, X-KDE-Priority and X-KDE-AuthorizeAction But I don't really know what X-KDE-Priority and X-KDE-AuthorizeAction are for. cheers dominik |
![]() Administrator ![]()
|
X-KDE-Priority helps control the order of items. X-KDE-AuthorizeAction controls access to the item and is usually used by System Administrators to restrict and lock down KDE.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
bcooksley thanks for your reply
can you point me to some documentation of X-KDE-AuthorizeAction maybe I can "abuse" it for my purpose!? cheers Dominik |
![]() Administrator ![]()
|
These links should provide a good background and some helpful information:
http://techbase.kde.org/KDE_System_Admi ... troduction http://techbase.kde.org/KDE_System_Admi ... Kiosk/Keys http://techbase.kde.org/KDE_System_Admi ... /Resources
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
thank you for the links bcooksley
they were quite interesting but didn't help me with my original problem ![]() is there really no way in KDE to create context/service menus like in windows or GNOME I'd like to do something similar to the TortoiseHG and TortoiseSVN clients |
![]() Registered Member ![]()
|
You could try to experiment with something like this: ServiceTypes=KonqPopupMenu/Plugin,inode/directory in the .desktop file. In this example, the servicemenu in question will only show up when you right-click on a directory. I don't know if the example you gave in the original post is doable though.
OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct. |
![]() Registered Member ![]()
|
OK I guess it is not possible then
![]() But I wonder if there are any plans to support this in the future. Since the other two big desktops (MS Windows and GNOME) support this I think KDE should also support it. ![]() |
![]() Moderator ![]()
|
You could post it in the Brainstorm section.
![]() |
Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar