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.
Using gedit in Ubuntu 9.04 to view files, and it only shows a small portion of the overall file. Is there a setting for this?
Specifically, looking at apache2.conf. I can't get gedit to scroll past line 281, and there is way more to this document that that. 281 doesn't even get me out of the global environment section.
Does gedit have something I'm missing, or do I need to find another text editor?
I am afraid I don't use gedit and unable to say why this maybe occuring, it could be similar to notepad and have a limited file size, however in a terminal vi or nano should be able to browse the httpd configuration entire file.
you may also want to try launching gedit from the command line to see if there are any errors when it starts up and loads the file.
Are you able to load other text files and scroll past line 281?
Have you tried removing the offending line using a console editor and reopening in gedit?
Tried all that, no change. Starts fine from command line, so it appears to be functioning well.
I'm wondering if the config file in apache2 got radically changed? I've used apache 1.x, and the config file was a lot bigger than this. But if my gedit is working, then it would seem that the file is shorter than expected.
I'm trying to find something about it in the docs at apache.org, but nothing so far. Will update if I learn anything new.
Perfect. I don't know these little tidbits, so I appreciate them very much. Turns out the config file has been greatly shortened since I last used Apache, and that was on a Windows machine. The config file now relies on a series of modular includes that I didn't know about.
Anyhow, my gedit is working just fine, it was the file, not the editor. Problem solved.
Thanks to all for the tips, they are all getting filed for future reference!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.