Maui
Board Index divider Search Member List Help
Hello There, Guest! Login Register
Login
Username:
Password: Lost Password?
 
Maui Forums › Maui Support › Plasma Desktop › Root action

Root action
leszek Offline
Moderator
Joined: Jul 2013
Posts: 3,633
#6
12th July 2017, 11:19 (This post was last modified: 12th July 2017, 11:28 by leszek.)
Like the upstream KDE project says it is not advised to run a filemanager as root.
There are plans for moving/copying (dolphin) and saving (kate) files to root locations to use policykit in the future.
To edit a configuration file with kate for example you can use sudoedit.

You can call it like this for example:
Code:
EDITOR=kate sudoedit /etc/X11/xorg.conf

As for the root action service menu. This needs of course an update for it to work with pkexec instead of kdesudo or some other graphical sudo application. I am currently taking a look at their code to see if I can make it work with pkexec.


Update: Noticed that we already patched root actions to work with pkexec. Though of course kate or dolphin can't open be open even with this. So if you need to copy/move/remove files as root activate the entries for this in the service menu to do so. It will then use pkexec to copy/move/remove files Smile
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Root action - by smoreau - 12th July 2017, 8:07
RE: Root action - by kdemeoz - 12th July 2017, 8:36
RE: Root action - by smoreau - 12th July 2017, 8:47
RE: Root action - by smoreau - 12th July 2017, 8:53
RE: Root action - by smoreau - 12th July 2017, 11:05
RE: Root action - by leszek - 12th July 2017, 11:19
RE: Root action - by smoreau - 12th July 2017, 12:27
RE: Root action - by Mark Spruce - 12th July 2017, 12:14
RE: Root action - by leszek - 12th July 2017, 13:00
RE: Root action - by smoreau - 12th July 2017, 13:31
RE: Root action - by kdemeoz - 12th July 2017, 13:51
RE: Root action - by leszek - 12th July 2017, 14:05
RE: Root action - by smoreau - 12th July 2017, 14:30
RE: Root action - by Mark Spruce - 14th July 2017, 12:04

Possibly Related Threads…
Thread Author Replies Views Last Post
  Solved: How to run Dolphin as root (kdesudo?) benit 4 36,710 28th January 2017, 7:21
Last Post: kdemeoz

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

  • Contact Us
  • Maui Forums
  • Return to Top
  • Lite (Archive) Mode
  • RSS Syndication
Current time: 10th May 2025, 1:42 Powered By MyBB, © 2002-2025 MyBB Group.
Linear Mode
Threaded Mode