Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
, some information about creating a " File manager super user" icon for your KDE menu. With this icon you will invoque a file manager utility (ex. konqueror) with root priviledges. Doing this allows you to manipulate files in all possible ways. But there is a problem when you locate the file you want to edit, is there any way you can "double click" the file and open it in "Kwrite" with root priviledges so you can edit the file if need to. Because right now if you click the file it give you an error. I enjoy very much the GUI of KDE and that's why I want to customize it as much as possible. Thank you all.Quoted
http://www.steidler.net/uptime/
Quoted
Original von jmr0311
Hi damir, you're saying that I have to find the path for "kwrite". Well I did a search of kwrite and it come up with this path;
/usr/bin/
/usr/share/apps/
Quoted
Original von jmr0311
Okay now. What should I do to add the "kwrite su" entry in the service menu pointing to this path with root priviledges.
Quoted
Original von jmr0311
Oh! by the way, can you help me with my original problem.I did this in Menudrake to view/manipulate files:
General
Title: Konqueror SU Mode
Long Title:
Command: kfmclient openProfile filemanagement
Extended
Attribute: kde_opt
Value: \\nEncoding=UTF-8\\nX-KDE-SubstituteUID=true
Attribute: kde_filename
Value: konquerorsu
But the problem is I can not open an editor from within konqueror in Super User Mode. Do you have any idea how to fix this or where can I find an answer.
Quoted
[jmr0311@home-desktop jmr0311]$ locate kwrite
warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory
warning: You need to run the 'updatedb' command (as root) to create the database
Quoted
KDE init could not launch 'kwrite'
Quoted
Original von jmr0311
Hi damir, thank you for hanging in there for me and trying to help me.I run the command "locate kwrite and this is what the screen in terminal says:
Quoted
[jmr0311@home-desktop jmr0311]$ locate kwrite
warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory
warning: You need to run the 'updatedb' command (as root) to create the database
Then I decide to try typing /usr/bin/kwrite and a window of kwrite pops open. Sorry, I call "service menu", the menu that open when you right click a file(menu window). What i was thinking was if I can't get my original problem to work, I was thinking if I could add a new entry to that window, (ex. "kwrite su"), to open that file as a root so I can edit it.
I did add the instruction you toll me to my menudrake, but still the problem is not being corrected. In my system with the menudrake before I add the "kdesu" to the command line konq was opening as a root fine. The problem is that, ones the konq window is open I browse to a location (ex. /etc/) looking for a file(ex. lilo.conf) that I want to edit( you need root rights to edit this file ),remember I'm in konq as 'root, then I double click the file hoping that is going to be open in 'kwrite' , but then is when I get the error of;
Quoted
KDE init could not launch 'kwrite'
This is what I will like to figure out, How to make this two (konq and kwrite) work in conjuction using the Menudrake I create it. I will like to find the commands or switches I need to add so they can work together.
Javi
Quoted
if you open a konsole as root (kdesu konsole), can you run kwrite in it? i don't know the default PATH's in mandrake
Quoted
about kwrite out of konqueror as root i suspect that the PATH's in root are not set right to (find and) run kwrite or other kde-apps as root
Quoted
about locating files:
you must create a db for locate to work - run updatedb as root (this can take some time the first time)
Forum Software: Burning Board®, developed by WoltLab® GmbH
Linux Computer - Linux Forum -
Linux Computer und Notebooks - Lastminute - Wasserbetten & Whirlpools