REQUEST: Dolphin as root

For developer discussion on package requests
Post Reply
Message
Author
User avatar
JBoman
Posts: 76
Joined: Wed Jul 12, 2006 4:30 pm

REQUEST: Dolphin as root

#1 Post 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:
http://patentabsurdity.com/
AMD 64x2 2.6GHz 4GB ram MX-18.1 KDE regular updates
"beware a frequent flirt with potential disaster"

User avatar
Jerry3904
Administrator
Posts: 21881
Joined: Wed Jul 19, 2006 6:13 am

Re: REQUEST: Dolphin as root

#2 Post by Jerry3904 »

Doesn't work to open a terminal and type

Code: Select all

sudo dolphin
??
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
JBoman
Posts: 76
Joined: Wed Jul 12, 2006 4:30 pm

Re: REQUEST: Dolphin as root

#3 Post 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
http://patentabsurdity.com/
AMD 64x2 2.6GHz 4GB ram MX-18.1 KDE regular updates
"beware a frequent flirt with potential disaster"

User avatar
spidermouse
Posts: 34
Joined: Sat Mar 17, 2018 10:19 pm

Re: REQUEST: Dolphin as root

#4 Post 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

User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

Re: REQUEST: Dolphin as root

#5 Post 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.

User avatar
JBoman
Posts: 76
Joined: Wed Jul 12, 2006 4:30 pm

Re: REQUEST: Dolphin as root

#6 Post 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
http://patentabsurdity.com/
AMD 64x2 2.6GHz 4GB ram MX-18.1 KDE regular updates
"beware a frequent flirt with potential disaster"

User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

Re: REQUEST: Dolphin as root

#7 Post by Stevo »

You can set internal drives/partitions to mount as a normal user in the MX Tweak Tool, in the "other" tab.

User avatar
fehlix
Developer
Posts: 10303
Joined: Wed Apr 11, 2018 5:09 pm

Re: REQUEST: Dolphin as root

#8 Post 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:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
Jerry3904
Administrator
Posts: 21881
Joined: Wed Jul 19, 2006 6:13 am

Re: REQUEST: Dolphin as root

#9 Post by Jerry3904 »

My bad, thanks.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
fehlix
Developer
Posts: 10303
Joined: Wed Apr 11, 2018 5:09 pm

Re: REQUEST: Dolphin as root

#10 Post 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 ;)
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Post Reply

Return to “Package Requests / Status”