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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
This is my environment: Win7==>Oracle VB==>Ubuntu==>GFortran. I use vim editor for entering and editing the code. I found it very inconvenient that the background is black in the editor. Besides the editor colors some parts of the code like comments for instance being dark blue. It is almost impossible to read them.
How can I change the background. I want it to be white.
The versions I've used (all from the command line on Linux) have no background of their own; they take their background from the terminal. For them, to change the background of vim, you would change the background of the terminal.
OK, I cracked it, although haphazardly, I mean I stumbled on it after reading some website. The solution is to install the cream which is a beautiful and well arranged editor with graphical interface. It has white background, its own, and it colors FORTRAN statements appropriately.
I've never heard of cream. I use the gtk version of gvim. If it's not already installed, it is usually easy to install. iirc, it's the vim-gtk package in ubuntu repositories...
You can set options by editing a config file in ~ (your homedir) that is called .vimrc
I also have a setting in my .Xdefaults for my rxvt terminal windows because all that bright light hurts my eyes! There are other options, but these are the important ones for this.
and then, you can just use the :colorscheme option in a terminal window or not use the if statement in your vimrc, but you will need to set your terminal background separately, and that depends on how your terminal program does it's thing.
BTW, I just tried gvim. It is installed, however I DO NOT see any difference between cream and gvim. The same graphic interface, the same buttons. Quite a shock. I will be curious how others will comment.
gVim is the graphical version of Vim. Cream is an editor that is kind of like gVim. Out of the box, Cream does not have Vim's modes enabled (it is always in insert mode), and there are some other tweaks that supposedly make it easier to use for beginners.
If you want to change your vim background, you can usually do it by changing the color scheme with :color.