LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-26-2004, 05:51 AM   #1
Moebius
Member
 
Registered: Dec 2002
Location: Milwaukee, WI
Distribution: Ubuntu, Kubuntu, Debian, CentOS
Posts: 216

Rep: Reputation: 30
opening a file as root in KWrite


how can I edit my XF86Config in KWrite as root? does it have to be done through a shell?

Thanks.
 
Old 01-26-2004, 06:10 AM   #2
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 31
You can open XF86config as root if you log in as root ( joking )...

Just su in a terminal and then type :

% kwrite /etc/X11/XF86Config

and you're started...
 
Old 01-26-2004, 06:12 AM   #3
Moebius
Member
 
Registered: Dec 2002
Location: Milwaukee, WI
Distribution: Ubuntu, Kubuntu, Debian, CentOS
Posts: 216

Original Poster
Rep: Reputation: 30
ok I guess I could do that. Someone tell the KWrite developers to add a File > Open as root button...
 
Old 01-26-2004, 06:14 AM   #4
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 31
That is not under the control of KWrite developers. The Graphical environment designers, like KDE or GNOME should do that....

Also, that is pretty useless as it makes it easy for newbies to screw up their system.
 
Old 01-26-2004, 07:24 AM   #5
toastermaker
Member
 
Registered: Oct 2003
Location: coastal alabama, united states
Distribution: Mandrake 10.0 official, slackware 9.1
Posts: 219

Rep: Reputation: 30
Someone correct this if its wrong but I think if you create a shortcut on your desktop to konqueror superusers mode you can browse your files in konqueror as superuser and choose to open a file with k-write, retaining your superuser status.

I created a "link to application" on my desk top and in the field for "Execute" added the following :
kdesu -c konqueror
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
root, opening and console Niflheim Linux - Newbie 7 01-25-2005 01:59 PM
opening root in debian phoenix_wolf Linux - Newbie 6 01-06-2005 04:41 PM
VNCViewer will not run kwrite or dislay text file manza7 Linux - Software 3 07-21-2004 09:27 PM
Opening X progs as root. shaggz Linux - General 1 04-29-2004 12:00 AM
opening ports below 1024 without being root? meks Linux - Networking 2 12-25-2003 07:05 PM


All times are GMT -5. The time now is 07:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration