This is a discussion on Terminal colors within the Debian Linux support forums, part of the Debian Linux category; --> I run Sarge. Where is the colors for xterm or virtual terminal defined. Say if I want directories listed ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| On 09/24/2006 01:45 AM, Salve Håkedal wrote: > I run Sarge. > > Where is the colors for xterm or virtual terminal defined. > Say if I want directories listed with green color instead > of blue, and the other filetypes in different colors than > the current color? The program dircolors outputs code to set the LS_COLORS environment variable (which ls uses to display colors). In Debian Sarge, dircolors is invoked from within ~/.bashrc Do a "man dircolors." You'll probably want to use the --print-database option to save the built-in list of colors to a file, then you'll make your changes in that file and change ~/.bashrc to invoke dircolors with the name of your changed colors file. HTH -- paduille.4058.mumia.w@earthlink.net |
| ||||
| On 2006-09-24, Mumia W. (reading news) wrote: > On 09/24/2006 01:45 AM, Salve Håkedal wrote: >> I run Sarge. >> >> Where is the colors for xterm or virtual terminal defined. >> Say if I want directories listed with green color instead >> of blue, and the other filetypes in different colors than >> the current color? > > The program dircolors outputs code to set the LS_COLORS environment > variable (which ls uses to display colors). > > In Debian Sarge, dircolors is invoked from within ~/.bashrc > > Do a "man dircolors." You'll probably want to use the --print-database > option to save the built-in list of colors to a file, then you'll make > your changes in that file and change ~/.bashrc to invoke dircolors with > the name of your changed colors file. > > HTH > Thank You! |
| Thread Tools | |
| Display Modes | |
|
|