
Dolphin Service Menus by kubicle 228 comments
in (k)ubuntu 18.04, make sure that 'kde-cli-tools' is installed and then link kdesu executable into a $PATH directory, for example:
"sudo ln -s /usr/lib/x86_64-linux-gnu/libexec/kf5/kdesu /usr/local/bin/kdesu" and the menu should start to work again (apart from dolphin and kate/kwrite). - Oct 01 2018

Dolphin Service Menus by kubicle 228 comments

Dolphin Service Menus by kubicle 228 comments

Dolphin Service Menus by kubicle 228 comments
I had plans to setup a git repo for the menu (to make it easier for people to contribute), but did not get around to it. And currently it looks like the kio policykit integration effort for the kde file managers will eventually (once it is finished) make this service menu redundant (unnecessary) so there is not much point to spend too much effort on to this menu...I'll keep maintaining it for the foreseeable future of course. - Jun 29 2018

Dolphin Service Menus by kubicle 228 comments
The good news is that since KDE frameworks 5.34, you don't need to elevate your privileges anymore to edit files that you don't have write access to (you can just open the file normally in dolphin and you'll be asked for authorization when saving it), so the root action to open file as root is just redundant (and kept for legacy system support only...it'll likely be removed in the future). - Nov 15 2017

Dolphin Service Menus by kubicle 228 comments
I'm looking into using sudoedit in the menu, but unfortunately it's a bit trickier than I would have thought mainly because it's not trivial to use a graphical password dialog with sudoedit within the menu script (without external helpers).
Hopefully I'll come up with a workable solution, but cannot give a definite time line.
And there's nothing I can do about dolphin (there's currently no work arounds for it like there is for kate). - Apr 17 2017

Dolphin Service Menus by kubicle 228 comments
I'll take a look at it, but can't make any promises as I'm not that keen to add/modify actions for specific file managers...I could still do it if I find a simple enough way to implement the feature, so this is not a definite "no", either.
That said, you could create an additional "Root Action" in krusader yourself:
1. Create a new user action in krusader user actions manager (fill in the details as you see fit...or copy an existing action to use as a starting template)
2. For the 'Command', set:
cp -rt "%oPath%" %aList("Selected")%
3. In the second tab, set "run as different user" to "root" - Feb 13 2017

Dolphin Service Menus by kubicle 228 comments
I'll take a look and if there are no issues I'll merge the patches to the next version. - Jan 24 2017

Dolphin Service Menus by kubicle 228 comments
Unfortunately, I can't reproduce the issue on my end even with qt5.6 installed (the menu items work fine on my rig...tested with both kdesudo and kf5-kdesu).
I'll keep digging for the answers, and let you know if I can figure this one out...or if I can think of something else you can test on your end.
- May 14 2016

Dolphin Service Menus by kubicle 228 comments
The problem is likely not with kdesu either, as you have reported that both kdesu (and kdesu5) work (when used manually). I guess you could temporarily rename /usr/bin/kdesu to "force" the menu to use kf5-fdesu to see if it makes a difference (or to completely rule out kdesu as the cause).
Looks like I'll have to get my hands on qt5.6 to see if I can make sense of what's going on.
Is the issue present with all the root actions (or just with the file manager option)?
- Apr 29 2016

Dolphin Service Menus by kubicle 228 comments
Some additional questions:
1. The output suggests that you have KDE4 version of kdesu in $PATH, is that the case?
(run "which kdesu" to check)
2. If it is, does simple "kdesu -d -c dolphin" command work as expected, or is it also non-functional?
3. Do you have kf5 version of kdesu installed
(run "ls -l $(kf5-config --path libexec)kf5/kdesu" to check)
4. Just to confirm, the menu worked for you with Qt5.5? - Apr 27 2016

Dolphin Service Menus by kubicle 228 comments
Unfortunately I don't have qt5.6 yet so it might take a while to troubleshoot this, but:
1. Your installation of the menu should be fine, as you're getting the password prompt...so that's not the issue.
2. Can you post the output if you run the following command in a konsole window:
"rootactions-servicemenu.pl open_with defaultfm ./" - Apr 26 2016

Dolphin Service Menus by kubicle 228 comments
It does not use an absolute path to kf5-kdesu, it's using kf5-config instead:
"$(kf5-config --path libexec)/kf5/kdesu", so it should work no matter what the actual path is.
In Gentoo, that should point to /usr/lib64/libexec/kf5/kdesu...you can test it by running:
"echo $(kf5-config --path libexec)/kf5/kdesu" - Mar 30 2016

Dolphin Service Menus by kubicle 228 comments

Dolphin Service Menus by kubicle 228 comments
While it works on my end, I cannot promise it fixes the "kate not opening issue" on mageia, so test results are appreciated (haven't tried mageia yet). - Mar 22 2016

Dolphin Service Menus by kubicle 228 comments
1. Strange that kdesu not being in path is a problem, as you mentioned that "other root actions work". It's baffling that it would work for other actions, but not "open with kate"??
(or did miss something).
2. I'll take a closer look next week, when I have more time...so I can possibly set up Mageia in a virtual machine if necessary (as I can't reproduce the issue on my debian/kubuntu rigs)
3. Of course, any other insight or information you can provide in the mean time will be gladly accepted. - Mar 17 2016

Dolphin Service Menus by kubicle 228 comments
I'll have to test that a bit to see if it causes any issues, but if it seems to work ok I'll include that in 2.8.8 - Mar 17 2016

Dolphin Service Menus by kubicle 228 comments
The problem seems to be with either kdesudo or konsole itself, as a simple "kdesudo konsole" command is not working either, at least not on my end (perhaps you can confirm that on your end?).
I'll continue the investigation, maybe I can find a workaround or a reportable bug in kdesudo/konsole. - Mar 17 2016

Dolphin Service Menus by kubicle 228 comments
I'll start investigating the issue to hopefully get it fixed.
I'll post back any and all progress. - Mar 17 2016

Dolphin Service Menus by kubicle 228 comments
I'll start investigating the issue to hopefully get it fixed.
I'll post back any and all progree. - Mar 17 2016

Dolphin Service Menus by kubicle 228 comments
Quote:rootactions-servicemenu.pl open_with defaultte /path/to/a/text/file
(replace "/path/to/a/text/file" with a valid path to an existing file) - Mar 16 2016

Dolphin Service Menus by kubicle 228 comments
If the latter, it could be this:
https://bugs.kde.org/show_bug.cgi?id=350769
if that's the case you can work around that by linking the konqpopupmenuplugin.desktop from kde4 to kf5:
"link -s /usr/share/kde4/servicetypes/konqpopupmenuplugin.desktop /usr/share/kservicetypes5/konqpopupmenuplugin.desktop"
(assuming you have standard installation paths)
- Sep 04 2015

Dolphin Service Menus by kubicle 228 comments

Dolphin Service Menus by kubicle 228 comments
None of the kf5 apps support the "--caption" option, and I thought I fixed this in the version 2.8.5, but looking at it now I made a simple mistake in incorporating the fix.
I'll upload 2.8.6 in a bit that hopefully fixes the issues, I'd appreciate if you could test the new tar to see if it works.
- Aug 19 2015

Dolphin Service Menus by kubicle 228 comments
I also appreciate the suggested fixes, and will look into it for the next version. - Aug 19 2015

Dolphin Service Menus by kubicle 228 comments
You're quite correct.
I've updated the documentation for kf5 and will take a look into the automatic install script for any changes necessary in the next version (2.8.6). - Apr 09 2015

Dolphin Service Menus by kubicle 228 comments

Dolphin Service Menus by kubicle 228 comments

Dolphin Service Menus by kubicle 228 comments
I'll add them to kf5 apps if I can find a way to do that.
KDE4 will be with us for a good while and I don't wish to remove features just for kf5 compatibility.
- Feb 27 2015

Dolphin Service Menus by kubicle 228 comments
I'll add it (with possible modifications) in 2.8.4...I'm delaying that for a while in case I can come up with a solution for the reminders in kf5/qt5 apps as well (-qwindowtitle doesn't seem to work).
If I can't find a way to get the reminders in kf5, I'll just use your test to get the reminders back in kde4 apps. - Feb 24 2015

Dolphin Service Menus by kubicle 228 comments
I'll likely remove the option in the next version, while I ponder the best way forward.
There is no repo for the script yet, but it's been on my to do list for a while...so there probably will be a git repo in the future (especially now that I know there's a "demand" for it ;) ) - Feb 24 2015

Dolphin Service Menus by kubicle 228 comments
If the script doesn't run automatically, you can also run it manually, it will install the required files in the correct places. - Oct 02 2014

Dolphin Service Menus by kubicle 228 comments
> Here's the issue:
>
> kubuntu - KDEInit could not launch /usr/bin/kate - Ask Ubuntu
> http://askubuntu.com/questions/348745/kdeinit-could-not-launch-usr-bin-kate/
> 349093#349093
Yes, this should be fixed in 2.8
> My question is, How do I upgrade from 2.7.1 to 2.8? Can I just install 2.8
> on top of 2.7.a? Or do I have to uninstall the prior version?(I also asked
> this question at http://kde-look.org) Thanks!
Either should work (provided you installed with GHNS. If you are using packages from your distribution, it's better to wait for those packages to upgrade).
I seem to recall GHNS had some problems with some upgrades in the past, but they might have been fixed already.
You can try upgrading first, and if that doesn't work remove and reinstall.
Do note that it takes a while for GHNS to pick up upgraded packages, at the moment the automatic installation from dolphin seems to still offer version 2.7.3 (and unfortunately the dolphin preview doesn't show the version number for some mysterious reason, I'm going to add version information to the description) - Jan 03 2014

Dolphin Service Menus by kubicle 228 comments
Dolphin needs ruby to run install scripts in servicemenu packages.
If you have ruby installed (or installing it doesn't help), report back and I'll help you troubleshoot. - Dec 31 2012

Dolphin Service Menus by kubicle 228 comments
If one is not found (or xdg-mime is not installed), it defaults to dolphin as a fallback if available and konqueror should only be the "last resort" (if dolphin is not available).
Can you elaborate a bit on when and how you see the behavior (opening konqueror instead of dolphin) - Sep 10 2012

Dolphin Service Menus by kubicle 228 comments
To your question:
It might be possible (in theory), but there are a few obstacles to a clean implementation, like permissions (permission/ownership of files would have to be changed to the user or the trash could not be cleaned, but that wouldn't help restoring the files).
Moving to root's trash would be somewhat trivial, but I originally decided against that.
I might look into a trash option for the next version, possibly as a configurable option (I did plan to include more configurability in the long run), can't promise anything though. - Sep 10 2012

Dolphin Service Menus by kubicle 228 comments
I'll update the information on the top of the page to include the ruby requirement. The IMHO best solution would be to include ruby as a "recommended" dependency to dolphin (it's currently only a "suggested" dependency in kubuntu...which means it isn't installed by default) - Apr 06 2012

Dolphin Service Menus by kubicle 228 comments
GHNS installation (in dolphin settings) requires ruby to run the install script. - Apr 05 2012

Icon Sub-Sets by kubicle 31 comments
However, sometimes you may need to reload the plasma theme, restart applications and/or clear your icon and/or plasma cache files for the svg icons to load.
Note that there is a problem with akregator (and kmail) svg icons (the message count won't show), so you may wish to keep using the normal icons for those. - Sep 27 2011

Icon Sub-Sets by kubicle 31 comments

Icon Sub-Sets by kubicle 31 comments
As for kfilebox, I'll have to check whether it supports the plasma svg icons (there is already a regular png icon for kfilebox in the theme...but I can make an svg icon if kfilebox supports it.) - Sep 17 2011

Icon Sub-Sets by kubicle 31 comments
Feel free to use the icons in any free themes, that's why they were made for. - May 14 2011

System Software by CraigD 48 comments
KAuth seems a likely canditate as I seem to also have /.config/Trolltech.conf that lists kauth plugins and nothing else.
There could be something in KAuth that confuses / and /root. I'll take a look if I can make any sense of it (unlikely) and possibly file a bug at BKO (I hate to write vague bug reports like the one I wrote for you ;), I mainly wanted to confirm it wasn't a local issue) - May 12 2011

System Software by CraigD 48 comments
At least on my machine, kcm_ufw_helper/kdebug seems to create a file /.kde/share/config/kdebugrc
(that's .kde under the root directory), contents:
[kcm_ufw_helper]
InfoOutput=4
I'm guessing that should be added to /root/.kde/share/config/kdebugrc
Not sure if this is a universal bug, though.
Details of my setup:
Kubuntu Oneiric Ocelot (devel version)
UFW Kcontrol module 0.2.1 (built from source) - May 11 2011

Dolphin Service Menus by kubicle 228 comments
This is not the same "bug" as the one fixed with the "-c" option, though, and so far seems to be present in opensuse only (the few other distros I've tried it with work as expected with either kdesu or kdesudo...with KDE 4.6.2).
I'm not that familiar with the internals of opensuse, so it may take me a while to get this one fixed. But I'll keep it open and try to dig in a bit more. - Apr 26 2011

Dolphin Service Menus by kubicle 228 comments
I'll add a test for the directory and create if necessary. - Apr 19 2011

Dolphin Service Menus by kubicle 228 comments
Nothing immediately apparent there so I might need to grab a copy of OpenSuse to see what's going on...I'll report any progress here.
I assume /usr/bin/X11 is a symlink to /usr/bin...so you don't actually have to versions of the script installed? - Apr 19 2011

Dolphin Service Menus by kubicle 228 comments
1. Do you get an error for all actions (or just delete)?
2. What is the output if you run 'whereis rootactions-servicemenu.pl' in a terminal?
3. Can you post the output if you run 'rootactions-servicemenu.pl root_delete /path/to/the/file_you_wish_to_delete' in a terminal (to see if the menu reports any errors in the terminal) - Apr 14 2011

Dolphin Service Menus by kubicle 228 comments

Dolphin Service Menus by kubicle 228 comments
Are you sure you're getting the error from the rootactions menu?
The script does not run "rm -r -f" at any point.
When you delete an item with the menu, it should run (if using kdesu):
kdesu -d -c "'rootactions-servicemenu.pl' do_delete '/path/to/target'", and the actual removal is done with:
rm -r --preserve-root '/path/to/target'
I'll look into it, but would gladly accept any additional details on the issue (if you have them).
- Apr 13 2011