Reply to topic

Superuser access to Dolphin or Konquerer

Kryten2X4B
Registered Member
Posts
911
Karma
4
OS
Cager wrote:Hi Kryten2X4B . I tried the service menu you suggested but still no coconut! When I right click on a file I get the root action menu but if I select say, "Ownership to active user" I am not prompted for the root password and I still can't edit files owned by root.


I'm afraid I really have no idea what's causing this. I get the normal "This action needs root privileges" dialogue, including the password line-edit line. Once I provide the necessary password, the ownership flags are changed. This is using a rather standard OpenSUSE 11.0 and 11.1 install of KDE 4.1.3 (and no difference when using 4.1.73, i.e. a preview of what will become KDE 4.2). 32-bit in the case of OpenSUSE 11.0, and 64-bit in the case of 11.1.


OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct.
User avatar bcooksley
Administrator
Posts
19763
Karma
87
OS
I can confirm the Dolphin bug under KDE 4.2 latest trunk ( revision 888223 ). The appropriate bug is here


KDE Sysadmin
[img]http://forum.kde.org/content/bcooksley_sig.png[/img]
Cager
Registered Member
Posts
13
Karma
0
bcooksley wrote:I can confirm the Dolphin bug under KDE 4.2 latest trunk ( revision 888223 ). The appropriate bug is here


Thanks for that, I thought it was just me having problems. It is nice to know I am not alone!


Cager, proud to be a member of KDE forums since 2008-Nov.
User avatar mshelby
Registered Member
Posts
125
Karma
1
OS
Hello all.... Seems like what the original poster wanted was a "login as superuser" function in either dolphin or konqueror. The contributers to this thread have offered a "workaround" for the issue, but I wanted to bring the discussion back to the original intent of the question.

Wonder why the developers don't have a menu sub-item function or selection (maybe under "file" or "settings" for "login as superuser)...? How hard could this be to implement, really? Should have been done by 4.1.0


Proud to be a user of KDE since version 1.0
User avatar neverendingo
Administrator
Posts
2136
Karma
17
OS
There is a nice service menu entry on kubuntu, it can be found under actions:

Code: Select all
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin,text/*,application/x-desktop
Actions=Editassu

[Desktop Action Editassu]
Name=Edit as Root
Name[it]=Edita come Root
Name[fr]=Editer en tant que Root
Name[es]=Editar como Root
Name[de]=Als root bearbeiten
Icon=kfm
Exec=kdesu "kwrite" "%U"


With that you can edit every text file as super user.
The file should be saved under $HOME/.kde(4)/share/kde4/services/ServiceMenus


New to KDE Software? - get help from Userbase or ask questions on the Forums
Communicate.
Image
User avatar bcooksley
Administrator
Posts
19763
Karma
87
OS
Just for your information, trunk does have two super user icons. One for Konsole, another for Dolphin. disturbingly, the Dolphin one works beautifully. The command executed by dolphinsu.desktop is
Code: Select all
dolphin %i -caption "%c" "%u"


This when executed gives the following command in KDE Su:
Code: Select all
/home/trunk/kde/bin/dolphin -icon system-file-manager -caption 'File Manager - Super User Mode' "


KDE Sysadmin
[img]http://forum.kde.org/content/bcooksley_sig.png[/img]
falcon56215
Registered Member
Posts
1
Karma
0
Try kdesu dbus-launch dolphin
User avatar cybertaz
Registered Member
Posts
34
Karma
0
falcon56215 wrote:Try kdesu dbus-launch dolphin


Thanks falcon56215 - works great.


cybertaz, proud to be a member of KDE forums since 2008-Oct.
User avatar excalibur1491
Registered Member
Posts
9
Karma
0
I don't know if I have understood that thread because my english is not very good....
But I think that you couldn't run graphical apps as root, isn't it??
If that's the problem the only thing you hace to do is run
Code: Select all
xhots +
in a terminal (being user)...


excalibur1491, proud to be a member of KDE forums since 2008-Dec.

 
Reply to topic

Bookmarks



Who is online

Registered users: atopp, Baidu [Spider], Bing [Bot], dbarron, Exabot [Bot], fannillet, farid, gfielding, Google [Bot]