Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Sidux - Mint - PC Linux - Ubuntu 7.04 - Mepis 7 Beta5 - DreamLinux 2.2
Posts: 234
Rep:
editor - Kubuntu 7.10
Which editor is used via a terminal in Kubuntu?
I've tried kate - she doesn't work.
I've dl'ed kedit and it doesn't work (not setup for x blahblahblah)
Now I've done the editing I needed in Kubuntu with Ubuntu but it's a pain in the brass to use another distro to edit a second distro!
So, what do you guys use?
I think nano and vi and both installed by default in [k]ubuntu. Nano is by far the easier of the two to use. It shows a list of commands at the bottom of the tty:
Code:
^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell
The ^ means "control key", so you can press control-g to get help and so on. If you have modified a file, you will be prompted if you want to save it when you press control-x.
Distribution: Sidux - Mint - PC Linux - Ubuntu 7.04 - Mepis 7 Beta5 - DreamLinux 2.2
Posts: 234
Original Poster
Rep:
Nope - I'm the only user - just installed this morning. I run as root in a term to edit my menu.lst but no go. I have no problems with Ubuntu and Xubuntu, and used Ubuntu to modify the list this morning. Nano works but I don't like it.
I think I'm missing that lib it refurs to. Would you know what it is?
Nope - I'm the only user - just installed this morning. I run as root in a term to edit my menu.lst but no go. I have no problems with Ubuntu and Xubuntu, and used Ubuntu to modify the list this morning. Nano works but I don't like it.
I think I'm missing that lib it refurs to. Would you know what it is?
What user do you log into X using? root? You should not.
Here is the workflow you should use (using KDE):
Log into X using your regular user
run kate by pressing alt-F2 and entering the command:
Code:
kdesu -c kate
This will run kate as root (after prompting you for your admin password), and so you can edit any file. You can create
You can right-click on the K menu and edit the menus, adding an item with command "kdesu -c kate" and call it "root kate" or something, or just try to remember the command and use the alt-f2 method.
You should not use this "root kate" to edit your regular files, since they will then have ownership which will prevent your regular user from modifying them. Only use root when it is necessary, such as this case when editing system-wide config files.
Distribution: Sidux - Mint - PC Linux - Ubuntu 7.04 - Mepis 7 Beta5 - DreamLinux 2.2
Posts: 234
Original Poster
Rep:
Quote:
Originally Posted by matthewg42
What user do you log into X using? root? You should not.
Here is the workflow you should use (using KDE):
Log into X using your regular user
run kate by pressing alt-F2 and entering the command:
Code:
kdesu -c kate
This will run kate as root (after prompting you for your admin password), and so you can edit any file. You can create
You can right-click on the K menu and edit the menus, adding an item with command "kdesu -c kate" and call it "root kate" or something, or just try to remember the command and use the alt-f2 method.
You should not use this "root kate" to edit your regular files, since they will then have ownership which will prevent your regular user from modifying them. Only use root when it is necessary, such as this case when editing system-wide config files.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.