Page 1 of 1

REQUEST: Dolphin as root

Posted: Fri May 18, 2018 11:57 am
by JBoman
I'm requesting a version of Dolphin as the root user like was available in some previous spins or some clear instructions to create it myself. Thanks :cool:

Re: REQUEST: Dolphin as root

Posted: Fri May 18, 2018 12:04 pm
by Jerry3904
Doesn't work to open a terminal and type

Code: Select all

sudo dolphin
??

Re: REQUEST: Dolphin as root

Posted: Fri May 18, 2018 12:10 pm
by JBoman
Well, I guess it probably does since opening Dolphin from the root terminal also works. Feel free to withdraw my request and Thank You

Re: REQUEST: Dolphin as root

Posted: Fri May 18, 2018 12:23 pm
by spidermouse
:contract: Look at this commit:
https://cgit.kde.org/dolphin.git/commit ... e9b417cf89

I guess the future versions will not not run with root at all. :confused:
https://cgit.kde.org/dolphin.git/tree/src/main.cpp#n45

Re: REQUEST: Dolphin as root

Posted: Fri May 18, 2018 12:56 pm
by Stevo
If you're running Dolphin, install "kde-servicemenu-rootactions":

Code: Select all

sudo apt install kde-servicemenu-rootactions
and opening a folder with a root Dolphin will be one of the new superpowers that you receive in the right-click menu. Check in Synaptic for some other kde-servicemenu packages that might come in handy, too.

Re: REQUEST: Dolphin as root

Posted: Fri May 18, 2018 2:37 pm
by JBoman
For me the thing is I got used to not having to enter my complex root password for each task I was working on when running Slackware; when I have work to do that requires root access I prefer to enter it once and do all my work. My drives have many partitions and they are not all mounted at boot and they are not all accessible by reg user and I dont want them to be. In the course of some tasks I need to access multiple partitions that are root restricted and having to enter root password every time is not practical for me and makes me feel like I'm running a windows box instead of a Linux one. If I'm not savvy enough to use root at my own risk I should be running a windows box that will hold my hand and make sure I don't mess anything up. No worries, I'll either get used to the methods available or go back to Slack. Thanks again for the tips and suggestions, Jerry

Re: REQUEST: Dolphin as root

Posted: Fri May 18, 2018 3:03 pm
by Stevo
You can set internal drives/partitions to mount as a normal user in the MX Tweak Tool, in the "other" tab.

Re: REQUEST: Dolphin as root

Posted: Fri May 18, 2018 3:32 pm
by fehlix
Jerry3904 wrote: Fri May 18, 2018 12:04 pm Doesn't work to open a terminal and type

Code: Select all

sudo dolphin
??
@Jerry3904 : As I can't express it better here a quote:
You should never use normal sudo to start graphical applications as root.
Source: https://askubuntu.com/questions/425620/ ... ces#425644
Graphical sudo

You should never use normal sudo to start graphical applications as root. You should use gksudo (kdesudo on Kubuntu) to run such programs. gksudo sets HOME=~root, and copies .Xauthority to a tmp directory. This prevents files in your home directory becoming owned by root. (AFAICT, this is all that's special about the environment of the started process with gksudo vs. sudo).

Source: https://askubuntu.com/questions/425620/ ... ces#425644
:fox:

Re: REQUEST: Dolphin as root

Posted: Fri May 18, 2018 3:38 pm
by Jerry3904
My bad, thanks.

Re: REQUEST: Dolphin as root

Posted: Fri May 18, 2018 3:43 pm
by fehlix
JBoman wrote: Fri May 18, 2018 2:37 pm ...My drives have many partitions and they are not all mounted at boot and they are not all accessible by reg user and I dont want them to be. In the course of some tasks I need to access multiple partitions that are root restricted and having to enter root password every time is not practical for me
....
@JBoman : If those partitions are not accessible to Thunar as normal user, I'd recommend to have a look into SpaceFM. It shows all partitions, which you might never see within another filemanager. You could hide those you never touch anyway. Fairly easily setup to mount without root-password!
I do highly recommended this piece of master tool! :fox:
Let me know if you need a helping hand to set this up in spacefm ;)