Root Actions Servicemenu
Dolphin Service Menus
Score 89%
Description:

Version: 2.9.1
***KNOWN ISSUES***
KDE Applications 17.04 release has disabled running kate (and dolphin) as root.

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).

***IMPORTANT***
- You need to have "ruby" installed for Automatic installation to work
- Make sure you get the latest version, the automatic download from dolphin seems to download a really old version (2.7.3) for some mysterious reason. Manual download from kde-apps/kde-look will guarantee you'll get the latest version.
****

***NOTES***
- From version 2.8 onwards, Root Actions only supports KDE4 or later...Files from version 2.7.3 are included in the package for KDE3 users.
- My mail address can be found in the README file in the package if you wish to contact me for translations or feedback (You can of course also post a comment here)
- I can't test the menu on KDE3 anymore, so I can't guarantee the menu works 100% on KDE3
- Full Kf5 support is work in progress, but the menu should work on kf5 as is.

*************

Root Actions servicemenu provides a convenient way to perform several actions 'as root', from the right-click context menu in KDE filemanagers.

It aims to be distribution agnostic, if you experience issues in your distribution, drop me an email describing the issue.

The menu needs a properly configured kdesu/kdesudo to work (kdesudo is preferred, for some added functionality, like remembering password for a period of time...timeout is configurable by sudo settings)

Any comments, criticism and improvement suggestions welcomed :)

Included in the download are .desktop file versions for KDE3 konqueror, KDE3 dolphin, KDE4 and KF5 (both konqueror and dolphin) and an importable user action xml file for krusader KDE4...see installation for details.

README:

I've dropped version 1.x from the package since 2.x is stable and can do a lot more than 1.x. If you're still interested in the 1.x version, drop me a mail and I'll send it to you.

Thanks to:
Stefan Majewsky - German translation (1.1.x and 2.x)
Pierre Buard - French translation (1.1.x)
Guillaume Millet &
Jean-Marc Detourmignies - French translation (2.x)
Alessio - Italian translation (1.1.x)
Massimo Pissarello - Italian translation (2.x)
João Pedro Gomes - Portuguese translation (2.x)
Viruscg - Brazilian Portuguese translation (1.1.x amd 2.x partial)
Eduardo Grau - Spanish translation (1.1.x and 2.x)
Kenny Verstraete - Dutch translation (1.1.x and 2.x)
Paul Körössy - Hungarian translation (2.x)
nikt_taki - Polish translation (2.x)
Andreas Nordal - Norwegian translation (2.x)
Jakub Matas - Czech translation (2.x)
Donatas Glodenis - Lithuanian translation (2.x)
Mladen Pejaković - Serbian translation (2.x)
Netrebin Alexey - Russian translation (2.x)
Cihat Imamoglu - Turkish translation (2.x)
Manuel Tortosa Moreno - Catalan translation (2.x)
Neo Tet - Greek translation (2.x)
Adrián Chaves Fernández - Galician translation (2.x)
Mihael Simonič - Slovene translation (2.x)
Niklas Åkerström - Swedish translation (2.x)
Maz_1 - Simplified Chinese (2.x)

----Requirements:-----------------------------------------------------
Essential: (these should already be installed on a standard KDE installation)
perl -the script is written in perl
kdesu | kdesudo -to gain administrative privileges
kdialog -to show dialogs
kreadconfig -to read kde configuration
dolphin | konqueror -filemanager
kwrite | kate -editor
ark -handles compression

Optional:
krename -for multiple file (batch) renaming
krusader -to use the included krusader actions
xdg-utils -for default application support (2.5.x-)

----Installation:-----------------------------------------------------

Some distributions have packages available in either their main repos or community repos. For easy installation and possible distro specific patches you can use them if available. Manual installation instructions below:

Version 2.3 ->
1. Uncompress the rootactions-servicemenu.pl script in Root_Actions_2.x to a directory in your $PATH. /usr/local/bin or /usr/bin are two valid options. Make the script executable (if it's not).

2a. (Konqueror for KDE3) Uncompress the three .desktop files in /konqueror-KDE3 to ~/.kde/share/apps/konqueror/servicemenus (This will enable the menu for individual users, if you wish to enable the menu for all users, copy the files to /usr/share/apps/konqueror/servicemenus instead).

2b. (Dolphin for KDE3) Uncompress the two .desktop files in /dolphin-KDE3 to ~/.kde/share/apps/d3lphin/servicemenus (This will enable the menu for individual users, if you wish to enable the menu for all users, copy the files to /usr/share/apps/d3lphin/servicemenus instead).

2c. (Dolphin and Konqueror for KDE4) Uncompress the two .desktop files in /dolphin-KDE4 to your kde4 servicemenu folder (possibly ~/.kde/share/kde4/services/ServiceMenus...although $KDEHOME [".kde"] can be something else in your distribution). If you wish to use konqueror instead of dolphin as your filemanager, edit 10-rootactionsfolders.desktop by changing 'dolphin' to 'konqueror'.

2d. (Dolphin and Konqueror for Kf5) Copy the two .desktop files in /dolphin-KDE4 to your kf5 servicemenu folder (likely ~/.local/share/kservices5/ServiceMenus). If you wish to use konqueror instead of dolphin as your filemanager, edit 10-rootactionsfolders.desktop by changing 'dolphin' to 'konqueror'.

2e. (Krusader for KDE4) Import krusader_rootactions.xml file in /krusader-KDE4 with krusader's action manager.

----Available Actions----------------------------------------------------------------

Version 2.x
- Open Terminal Here (folders) - open a root terminal session in chosen folder
- Open in File Manager (folders) - open chosen folder(s) in file manager
- Open as Text (files) - open chosen folder(s) in text editor
- Open With ... (both) - open chosen items in a program of your choice

- Copy (both) - copy a single file or folder (ADDED in 2.1)
- Move/Rename (both) - if multiple items selected and a batch renamer installed (default is krename) start renamer, otherwise use a simple move/rename dialog
- Compress (both) - Compress selected files/folders (ADDED in 2.7)
- Delete (both) - Completely removes chosen items (as this is potentially hazardous, there is an extra confirmation dialog), handy for removing back-up files etc.

- Ownership to Root (both) - change ownership of chosen items to root:root
- Ownership to Active User (both) - change ownership of chosen items to current user
- Ownership to ... (both) - change ownership of chosen items to UID:GID of your choice

- Change Permissions (both) - change permissions of chosen items
If only a single folder is selected, permissions/ownership can be set recursively. If changing permissions recursively, files are only set executable if they already are executable (Otherwise all files in a directory would be set executable if the parent folder is set executable, which is necessary for the folder to be accessible)


----Translating and customizing:-----------------------------------------------------

Read the README file in the package for instructions on translating and customizing the menu


----Disclaimer-------------------------------------------------------

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
Last changelog:

2.9.1 Translation and bugfix release 9 months ago

- Rename install script to avoid confusion (remove "KDE4" part)
- Bugfix for Chinese localization support (thanks to maz_1)
- Added simplified chinese translation (thanks to maz_1)

(Full changelog available within the package)

roctheme

8 days ago

Edit as root:
EDITOR='kate -b' SUDO_ASKPASS=/usr/bin/ssh-askpass sudoedit -A

I think SUDO_ASKPASS=/usr/bin/ssh-askpass can be used for your root actions too.

But the ksshaskpass package has unfortunately a bug in 17.10:
https://bugs.launchpad.net/ubuntu/+source/ksshaskpass/+bug/1728696

Report

C

kubicle

8 days ago

Thanks for the suggestion. Unfortunately, ssh-askpass won't work with the menu as it is.
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).

Report

Xeers

6 months ago

Esto trabaja perfectamente. Al principio no me funcionaba pero instalé lo que faltaba y se instaló correctamente.
kdialog
kreadconfig
krename
krusader
xdg-utils
perl
ruby (imprescindible para root)

Thanks

Report

Bladeforce

7 months ago

The latest kde has this error

Executing Kate as root is not possible. To edit files as root use:
SUDO_EDITOR=kate sudoedit

Can this be incorporated into this script please?

Report

C

kubicle

7 months ago

KDE Applications 17.04 release has disabled running kate (and dolphin) as root.

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).

Report

Murz

9 months ago

Feature request: Action "Copy to other panel" for Krusader - very often I need to copy file as root in Krusader to other panel. Now I must manually type path to folder in other panel. Can you add auto-detecton of other panel path in your script? Thanks!

Report

C

kubicle

9 months ago

Thanks for the suggestion.

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"

Report

Murz

9 months ago

Thanks for the example. I do this via Krusader Actions! This is so easy!

Report

mirkogennari

9 months ago

thank update

Report

maz_1

9 months ago

Hello, I made two patches for i18n support, could you take a look at them?

https://gist.github.com/maz-1/ff67830942f6b577b711cd19a5af389b
this one adds simplified chinese support

https://gist.github.com/maz-1/96fc534b20f36454212fe0726139d4e2
this one fixes broken i18n support in chinese locales
For example, there is zh_CN.GBK, zh_CN.UTF-8, zh_TW.UTF-8 and some other locales, we need to strip character set infomation after the dot. And you know, only 'zh' will not tell whether it is simplified and traditional chinese.

Report

C

kubicle

9 months ago

Thank you.

I'll take a look and if there are no issues I'll merge the patches to the next version.

Report

morine01

1 year ago

Apply for valid international English Language Test eg.IELTS,TOEFL,ESOL,CELTA,DELTA.


We deal and specialize in the production of registered TOEFL, IELTS, ESOL, CELTA/DELTA & other English Language Certificates. Please note that Our IELTS & TOEFL,Certificates are Original and registered in the data base and Can be verified.After your order is placed it takes just few days for us to get your details in the system

Once your details are imputed in the system it will be in the IELTS or TOEFL web sites/system once for ever and will appear real, legit and verifiable for ever. WE can also help you to get valid Work permits,Driver’s license ,second p***port and Visas to European ,USA,Canada and Australia . below are additional documents that we offer Adoption Certificates Baptism Certificates Birth Certificates Death Certificates Divorce Certificates Marriage Certificates Custom Certificates prostitution certificate High
School Diplomas G.E.D. Diplomas Home School Diplomas College Degrees University Degrees Trade Skill Certificates Social Security Validate SSN Number Driver License Travel documents(passports, visas etc)for more information

General Support ( realdocumentationservices@gmail.com )

call us on +237697737461(whatsapp)

Skype: newdreams.documentation1

Once you place your order with us,you just need to stay back because you will not be required to take the test in person as we have veterans who are specialised in taking the test and will take the test for you accompanied with our invigilators and the collaborations we have with the British Council .

https://vimeo.com/185729397

Report

assalane1

1 year ago

Thanks very much for this.

Just to let you know. I had to change your script to make it work.

In line 897 I changed:

$SUCOMMAND = "$KDEBINPATH"."kdesudo -d --noignorebutton --"}

to

$SUCOMMAND = "$KDEBINPATH"."kdesudo -d --noignorebutton -c"}

Report

assalane1

1 year ago

On second thought it might be because in my rig /usr/bin/kdesudo is linked to /usr/bin/kdesudo. I cannot remember if I was the one that made that link or if it was there before.
Using fedora 23

Report

david2012brooke

1 year ago

Here are the answers to your previous questions...

Using kdesu (/usr/bin/kdesu)
Doesn't work:
Open as text
Open File Manager Here
Open with ...
Compress

Works:
Open Terminal Here
move
rename
Ownership to root
Ownership to active user
Ownership to ...
Change Permissions
Delete


sudo ln -s /usr/lib64/libexec/kf5/kdesu /usr/bin/kdesu

Using kdesu5 symlink
Doesn't work:
Open as text
Open File Manager Here
Open with ...
Compress

Works:
Open Terminal Here
move
rename
Ownership to root
Ownership to active user
Ownership to ...
Change Permissions
Delete

No difference using kdesu or kdesu5.

Report

C

kubicle

1 year ago

Thanks for all your efforts in troubleshooting, and sorry for the delayed response (it took me a while to get qt5.6 installed).

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.

Report

david2012brooke

1 year ago

Are you using Gentoo stable amd64 then adding the testing version of QT, which is QT5.6?
I reverted back to Gentoo stable amd64 with QT5.5 which (Root Actions Servicemenu v2.9) works as expected.

Report

david2012brooke

1 year ago

Updated to QT5.6.1 and everything seems to be working as expected.

Report

david2012brooke

1 year ago

I upgraded to qt 5.6 and the Root Actions Servicemenu stopped working. Steps to reproduce:
1. Right click in dolphin and select root actions
2. Select any item ie Open in File Manager
3. Enter password
4. Nothing happens, no dolphin root window
Using:
Gentoo amd64
KDE:
Plasma 5.6.3
Frameworks 5.21
KDE Apps 15.12.3
Root Actions Servicemenu 2.9

rootactions-servicemenu.pl is located in /usr/bin and is executable
10-rootactionsfolders.desktop and 11-rootactionsfiles.desktop are located in /usr/share/kservices5/ServiceMenus and also has been in ~/.local/share/kservices5/ServiceMenus

Report

C

kubicle

1 year ago

Thanks for your report.

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 ./"

Report

david2012brooke

1 year ago

~ $ rootactions-servicemenu.pl open_with defaultfm ./
which: no kdesudo in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3:/usr/games/bin)
Usage: which [options] [--] COMMAND [...]
Write the full path of COMMAND(s) to standard output.

--version, -[vV] Print version and exit successfully.
--help, Print this help and exit successfully.
--skip-dot Skip directories in PATH that start with a dot.
--skip-tilde Skip directories in PATH that start with a tilde.
--show-dot Don't expand a dot to current directory in output.
--show-tilde Output a tilde for HOME directory for non-root.
--tty-only Stop processing options on the right if not on tty.
--all, -a Print all matches in PATH, not just the first
--read-alias, -i Read list of aliases from stdin.
--skip-alias Ignore option --read-alias; don't read stdin.
--read-functions Read shell functions from stdin.
--skip-functions Ignore option --read-functions; don't read stdin.

Recommended use is to write the output of (alias; declare -f) to standard
input, so that which can show aliases and shell functions. See which(1) for
examples.

If the options --read-alias and/or --read-functions are specified then the
output can be a full alias or function definition, optionally followed by
the full path of each command used inside of those.

Report bugs to <which-bugs@gnu.org>.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kbuildsycoca4 running...
kdesu(4530)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/process.cpp : 293 ] Running "/bin/su"
kdesu(4530)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/su.cpp : 259 ] Read line "Password: "
kdesu(4530)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/process.cpp : 293 ] Running "/bin/su"
kdesu(4530)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/su.cpp : 259 ] Read line "Password: "
kdesu(4530)/kdesu (kdelibs) KDESu::PtyProcess::WaitSlave: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/process.cpp : 379 ] Child pid 4564
kdesu(4530)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/su.cpp : 259 ] Read line ""
kdesu(4530)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/su.cpp : 259 ] Read line "kdesu_stub"
kdesu(4530)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/process.cpp : 293 ] Running "/bin/su"
kdesu(4530)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/su.cpp : 259 ] Read line "Password: "
kdesu(4530)/kdesu (kdelibs) KDESu::PtyProcess::WaitSlave: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/process.cpp : 379 ] Child pid 4570
kdesu(4530)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/su.cpp : 259 ] Read line ""
kdesu(4530)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/su.cpp : 259 ] Read line "kdesu_stub"

Report

david2012brooke

1 year ago

~ $ rootactions-servicemenu.pl open_with defaultfm ./
which: no kdesudo in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3:/usr/games/bin)
Usage: which [options] [--] COMMAND [...]
Write the full path of COMMAND(s) to standard output.

--version, -[vV] Print version and exit successfully.
--help, Print this help and exit successfully.
--skip-dot Skip directories in PATH that start with a dot.
--skip-tilde Skip directories in PATH that start with a tilde.
--show-dot Don't expand a dot to current directory in output.
--show-tilde Output a tilde for HOME directory for non-root.
--tty-only Stop processing options on the right if not on tty.
--all, -a Print all matches in PATH, not just the first
--read-alias, -i Read list of aliases from stdin.
--skip-alias Ignore option --read-alias; don't read stdin.
--read-functions Read shell functions from stdin.
--skip-functions Ignore option --read-functions; don't read stdin.

Recommended use is to write the output of (alias; declare -f) to standard
input, so that which can show aliases and shell functions. See which(1) for
examples.

If the options --read-alias and/or --read-functions are specified then the
output can be a full alias or function definition, optionally followed by
the full path of each command used inside of those.

Report bugs to <which-bugs@gnu.org>.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kbuildsycoca4 running...
kdesu(4530)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/process.cpp : 293 ] Running "/bin/su"
kdesu(4530)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/su.cpp : 259 ] Read line "Password: "
kdesu(4530)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/process.cpp : 293 ] Running "/bin/su"
kdesu(4530)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/su.cpp : 259 ] Read line "Password: "
kdesu(4530)/kdesu (kdelibs) KDESu::PtyProcess::WaitSlave: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/process.cpp : 379 ] Child pid 4564
kdesu(4530)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/su.cpp : 259 ] Read line ""
kdesu(4530)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/su.cpp : 259 ] Read line "kdesu_stub"
kdesu(4530)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/process.cpp : 293 ] Running "/bin/su"
kdesu(4530)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/su.cpp : 259 ] Read line "Password: "
kdesu(4530)/kdesu (kdelibs) KDESu::PtyProcess::WaitSlave: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/process.cpp : 379 ] Child pid 4570
kdesu(4530)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/su.cpp : 259 ] Read line ""
kdesu(4530)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/su.cpp : 259 ] Read line "kdesu_stub"

Report

C

kubicle

1 year ago

Thanks for the swift response and the output.

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?

Report

david2012brooke

1 year ago

1. ~ $ which kdesu
/usr/bin/kdesu
2. ~ $ kdesu -d -c dolphin
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kbuildsycoca4 running...
kdesu(5751)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/process.cpp : 293 ] Running "/bin/su"
kdesu(5751)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/su.cpp : 259 ] Read line "Password: "
kdesu(5751)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/process.cpp : 293 ] Running "/bin/su"
kdesu(5751)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/su.cpp : 259 ] Read line "Password: "
kdesu(5751)/kdesu (kdelibs) KDESu::PtyProcess::WaitSlave: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/process.cpp : 379 ] Child pid 5785
kdesu(5751)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/su.cpp : 259 ] Read line ""
kdesu(5751)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/su.cpp : 259 ] Read line "kdesu_stub"
kdesu(5751)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/process.cpp : 293 ] Running "/bin/su"
kdesu(5751)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/su.cpp : 259 ] Read line "Password: "
kdesu(5751)/kdesu (kdelibs) KDESu::PtyProcess::WaitSlave: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/process.cpp : 379 ] Child pid 5792
kdesu(5751)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/su.cpp : 259 ] Read line ""
kdesu(5751)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /var/tmp/portage/kde-base/kdelibs-4.14.16/work/kdelibs-4.14.16/kdesu/su.cpp : 259 ] Read line "kdesu_stub"
Works as expected.
3. ~ $ ls -l $(kf5-config --path libexec)kf5/kdesu
-rwxr-xr-x 1 root root 52976 Apr 24 19:54 /usr/lib64/libexec/kf5/kdesu
4. Yes the menu worked with Qt5.5 and still does on several units that I haven't upgraded to qt 5.6. The kdesu install and setup is a "Gentoo thing". I did nothing to kdesu.

Report

david2012brooke

1 year ago

Also "kdesu5 dolphin" works but there isn't any output in konsole when executed.

Report

2.9.1 Translation and bugfix release 9 months ago

- Rename install script to avoid confusion (remove "KDE4" part)
- Bugfix for Chinese localization support (thanks to maz_1)
- Added simplified chinese translation (thanks to maz_1)

(Full changelog available within the package)

product-maker zav444 Nov 02 2017

product-maker floorek Aug 06 2017

product-maker ubo Jun 20 2017

product-maker mockroot Apr 25 2017

product-maker alex-l Mar 17 2017

product-maker mirkogennari Jan 25 2017

product-maker nicola012123 Feb 17 2016

product-maker Henri Oct 17 2015

product-maker paulus3005 Sep 21 2015

product-maker tomXx Aug 20 2015

product-maker fadnix Aug 19 2015

product-maker Ironclad Feb 25 2015

product-maker Landis Feb 11 2015

product-maker tanzer Dec 29 2014

product-maker eliaskousk Dec 10 2014

product-maker n-k Aug 25 2014

product-maker roentgen May 18 2014

product-maker evgom May 15 2014

product-maker Meteorrock Apr 29 2014

product-maker Pafrape Apr 07 2014

product-maker droper04127 Jan 14 2014

product-maker bibins Jan 06 2014

product-maker alpvonkri Mar 10 2013

product-maker vatsok Dec 30 2012

product-maker Sweyn78 Sep 10 2012

product-maker RAIDENSUB Aug 15 2012

product-maker lionhater May 18 2012

product-maker JustFoxy May 07 2012

product-maker MountainX Mar 11 2012

product-maker roctheme Jan 27 2012

product-maker aspotashev Nov 19 2011

product-maker glewik Nov 18 2011

product-maker gjk Oct 07 2011

product-maker karton Jul 21 2011

product-maker v01t May 29 2011

product-maker mywereld May 03 2011

product-maker Brutus180 Apr 28 2011

product-maker momonster Apr 12 2011

product-maker rangerGR Mar 26 2011

product-maker steveke Feb 10 2011

product-maker jorssoftware Feb 09 2011

product-maker srog Jan 29 2011

product-maker ubuntuku Jan 04 2011

product-maker cjann Dec 29 2010

product-maker bugmenot1234 Dec 02 2010

product-maker snowhog Oct 31 2010

product-maker dequire Sep 23 2010

product-maker 41 325

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
2.9.1
updated Aug 06 2017
added Nov 08 2006
downloads today
0
page views today 3