It is possible to use colors on the Unix command-line interface.

learn more… | top users | synonyms (1)

1
vote
1answer
70 views

How to change the output color of ls comman in terminal in OS X and iTerm2?

I know that a similar question has been as in: How to colorize output of ls ? Though, I didn't really understand the answer and couldn't really make it work. However, I have tried something ...
1
vote
1answer
688 views

set gnome terminal background/text color from bash script

I would like to setup my gnome terminal's background(#002b36) and foreground color in ubuntu 13, using bash script. I tried gconftool but couldn't succeed. GCONFTOOL-2(1) User ...
1
vote
2answers
302 views

Change the color of tcsh output for any command

I want a different color for terminal returns: Example: $ pwd //when return key is hit $ /home/user/tools //return value printed in different color, say: grey color This ...
1
vote
2answers
109 views

text color settings in emacs

I just switched to emacs from Vim today so I have no idea what I am doing. How do I change the syntax coloring in Emacs? Everything is green or light green. As you can see, latex tex is dark green ...
1
vote
1answer
166 views

bash prompt - long command circle back to same line after adding color

Note: I am using Putty and my TERM is set to XTERM. I have added the color to my bash prompt as PS1="\[\033[0;32m\]\d \t \u\e[1;33m@\H /\W $ \[\033[1;37m\]" just to simplify PS1 in English - ...
1
vote
1answer
429 views

How can I list LS_COLORS in colour?

I recall that eval "dircolors -b" used to display the colours that LS_COLORS was using, based on the file types or extensions. It was not simply the colour values that were displayed but the colours ...
1
vote
3answers
707 views

dircolors “missing second token”

I'd like to customize the colors of ls and as far as I understand the way to go is with dircolors. I did: dircolors > ~/.dircolors Immediately after this I launch a terminal and get this error: ...
1
vote
1answer
317 views

colorizing ls output based on filename

i'm on freeBSD and trying to colorize ls output, so i've added alias ls ls -lhG setenv LSCOLORS gxfxcxdxbxegedabagacad to my .cshrc and it works. but what i really want to - is to be able ...
1
vote
1answer
1k views

Understanding colors in zsh

In this thread, yoda suggests the following solution for using colors in zsh #load colors autoload colors && colors for COLOR in RED GREEN YELLOW BLUE MAGENTA CYAN BLACK WHITE; do eval ...
1
vote
1answer
43 views

Emacs, complete list of color “keys”

If you want to customize the colors in Emacs, specifying them in the .emacs init file, without installing any extra package, and without using a pre-made theme, something like this seems to work: ...
1
vote
2answers
68 views

Command working from CLI but not from script

I have a command that I use from the CLI to properly color files, folders, executables, etc. The command that I'm executing looks like this: test -r ~/.dircolors && eval "$(dircolors -b ...
1
vote
1answer
90 views

mc: customizig colors with skins

I am editing the default skin for midnight commander and I would like to add some more rules for file highlighting. In the filehighlight section, there are several categories, for example archive=red; ...
1
vote
1answer
712 views

Sorting by one column then the

Say i have a output file with following: 010513 08:04 ROUTER1 192.168.1.1 68.130.5.10 HIT(1) 010513 08:04 ROUTER1 172.168.1.1 28.130.5.10 HIT(1) 010513 08:04 ROUTER1 122.168.1.1 ...
1
vote
2answers
579 views

Loading a color scheme has no effect in Vim

I had selected some really smart looking color schemes for Vim here Following the instruction inside those files I've copied them in my $VIMRUNTIME/colors directory. When Vim is launched in normal ...
1
vote
1answer
425 views

M-x ansi-term colors in Emacs 24.x

I have noticed that some colors in LS_COLORS don't work when running a shell inside M-x-ansi-term in Emacs. For exmaple; di 00 94 is supposed to turn on bold on light blue on directories on ...
1
vote
1answer
472 views

Colors not rendered correctly in oh-my-zsh themes

I'm trying to use colors in oh-my-zsh themes. It works fine on my home computer (ubuntu), but in a work computer (Scientific Linux i.e. Enterprise linux) the prompt colors are actually spelled out. ...
1
vote
1answer
360 views

Pipe Python Shell to source-highlight

When I try to make the Python shell get color: python 2>&1 | source-highlight --failsafe -f esc -s python the >>> prompt seems to be always delayed by 1 command. Why is this ...
1
vote
1answer
2k views

How to change background color of side pane of Kate and Kile?

I am trying to customize the color scheme of Kile/Kate. I could do it, except I could not find any way to change the color of the side pane such as files, etc. I prefer dark background, and having ...
1
vote
0answers
46 views

Why does vim color this .bashrc line incorrectly? Fixable?

I have the following line in my .bashrc that allows me to use rlwrap with sqlplus. Why does vim seem to color this wrong? alias sqlplus='rlwrap -c -f /usr/bin/rlwrap -b ...
1
vote
0answers
40 views

tmux color theme in emacs gtk

When I use emacs -nw I always use it in tmux 256-color mode. tmux applies its default color theme to emacs so it looks like this: For some reason I like that color theme far better than any other ...
1
vote
0answers
143 views

Video colors reversed (negative) in Ubuntu 12.04 LTS

What's the fix for negative colors in videos (Ubuntu 12.04 LTS)? Pictures or thumbnails are not effected, only videos. It does not seem to be a browser problem as videos viewed offline exhibit the ...
1
vote
0answers
9 views

Bash in php exec don't color png and mp3 files on Linux [duplicate]

I have code like this: header("Content-Type: text/plain"); exec("/bin/bash -c 'ls --color=always'", $result); echo implode("\n", $result); and I've got result: Makefile README Yann Tiersen - ...
1
vote
1answer
106 views

cp /etc/DIR_COLORS ~/.dir_colors not responding

I'm using CentOS 6.5 and Putty. My problem is that directory file names are shown in dark blue color which is hard to read. I google searched and found this link; basically it's copying the DIR_COLORS ...
1
vote
0answers
356 views

How to change a font/background color in transparent windows?

When you select something, the color of the selection usually changes to the font color, and the font color is being set to backgroud color. So, if you have a black background in a terminal, and the ...
1
vote
1answer
105 views

set tab color in a tabbed terminal emulator

I would like to set in my terminal emulator (i.e. gnome-terminal) the color of the tabs like in the osx's terminal emulator. Is there this feature in any of the linux terminal emulator plethora? ...
1
vote
0answers
34 views

How to get 256 color support in a login shell TTY? [duplicate]

I want to experiment with a fully text-based environment, however, the only thing that is stopping me - is getting 256 colors so my Vim color schemes could work perfectly. When I enter a TTY by ...
1
vote
0answers
199 views

How to change colors of all running urxvt instances?

I'm used to black background and light green text when working on my urxvt terminals. But sometimes, when I take my laptop outside, it becomes hard to read and I'd like to change the colors of all my ...
1
vote
0answers
138 views

How can i change the color in the panel when a program needs attention?

I'm running Linux Mint 14. I want to change the color in the panel when a program requires your attention (like when you receive a chat message). Not the color of the entire panel, but only the box ...
1
vote
0answers
138 views

Low color depth while using X11 on a monitor

I am running Mint on a Late 2012 Mac Mini. While running X (KDE, LMDE or openbox) I notice a low color depth on My Dell S2209W monitor. I believe that the depth is not actually low as I can change ...
1
vote
1answer
223 views

How can one provide colour to tab completion in tcsh?

(Crossposted from StackOverflow.com) This question and the answer teach us how to introduce colour into tcsh prompts. This webpage explains nicely how to get colour into any output of the echo ...
1
vote
1answer
136 views

Is it possible to uncolor STDIN before writing it to file? [duplicate]

Possible Duplicate: Removing control chars (including console codes / colours) from script output Is there a utility which uncolors colored output? Something like the uncolor utility in the ...
1
vote
2answers
75 views

How to colorize `gcal`

I'm using gcal. http://www.gnu.org/software/gcal/manual/gcal.html Is there easy way to make Saturday blue and Sunday red? If there is another CLI program that provides the same functionality in OSX, ...
0
votes
1answer
42 views

How to get the same ls with colors working on both OSX and Ubuntu?

When I want color in Ubuntu I do alias ls='ls --color=always' but on OSX this gives an error ls: illegal option -- - and I need to do alias ls ='ls -G' How can I create an alias with the same ...
0
votes
1answer
26 views

Why dircolors don't return enything for bash called from php

I have this code in php: header("Content-Type: text/plain"); exec("/bin/bash -c 'dircolors -b'", $result); echo implode("\n", $result); but it return LS_COLORS=''; export LS_COLORS Why I'm not ...
0
votes
3answers
119 views

Bash in php exec in webpage don't colors for png and mp3 files on Linux

I have code like this in php: header("Content-Type: text/plain"); exec("/bin/bash -c 'ls --color=always'", $result); echo implode("\n", $result); and I've got result (escape is not visible) ...
0
votes
2answers
139 views

mc: edit skin color

I am trying to edit color skins for midnight commander. When using 256 color palette, the colors are called color1 to color255. I am looking for particular tone of blue. Is there a palette of all 256 ...
0
votes
1answer
541 views

How to highlight the whole log-line in color with multitail

I'm trying to use multitail to tail logs with color highlights. I defined a custom color scheme in multitail.conf, something like this: colorscheme:my-color cs_re:red:^\[E cs_re:yellow:^\[W ...
0
votes
1answer
95 views

dir-color failure in html and css files in several terminals

I use several types of terminals in my Slackware 13 distribution: xterm, rxvt, Konsole, and xfce's terminal emulator (Terminal 0.4.6). All of them read my .dir_colors file and, for the most part ...
0
votes
1answer
101 views

Change colors for the Pantheon terminal emulator

I am using Elementary OS (based on Ubuntu 12.04) and I would like to change the coloring scheme for Pantheon Terminal window. Here's what I've tried: Elementary Tweaks Dconf Editor shell commands ...
0
votes
1answer
31 views

Location of colorscheme-files in Kate

In Kate one can export file Fortran.katehlcolor which store the information about color in syntax-highlighting. The syntax-highlighting files itself are located in ~/.kde/share/apps/katepart/syntax ...
0
votes
0answers
53 views

Schemes for linux tty and xterm

I actually prefer the font and colorscheme used when I'm in a tty terminal. After I start up a window manager, the colorscheme and font are completely different when I'm in xterm -- which is expected. ...
0
votes
0answers
21 views

Convert rgba color value to a Terminal supported color

Randomly I will take the following example: rgba(122, 143, 186, 0.54) How can I convert this color to the closest Terminal supported color?
0
votes
0answers
24 views

How to add color to my command prompt? [duplicate]

On my system: echo $PS1 prints: \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$ I followed this tutorial here to modify it: PS1="\e[0;38m \u@\h: ...
0
votes
1answer
131 views

Linux TTY Colours

I've had this issue for a little while now on a few machines, but never thought to ask anyone. Upon installing a new laptop the other day, and using the virtual terminal for a bit, I noticed that ...
0
votes
2answers
201 views

How to change background and text colors in Yakuake?

I like Yakuake, but I don't like the grey background color. I want to change the background and text colors of the Yakuake terminal. I checked the options, but the background color option is only ...
0
votes
0answers
220 views

Unable to change xterm colors from .Xresources

I'm configuring the look of xterm modifying the .Xresources but I'm having some trouble changing the colors. I tried with XTerm*vt100.background: #000000 XTerm*vt100.foreground: ...
0
votes
0answers
57 views

Screen caption custom colors

I am having trouble customizing the color of my caption in screen. I can use the 8 standard colors supported (as well as their brighter versions), but I am unable to define a custom color. The docs ...
0
votes
1answer
581 views

No wallpaper colors in Xfce 4.10

I'm in Linux Mint 14, updated to Xfce 4.10. Wallpapers are black & white only. I think that happened after I moved the scrolls for brightness and saturation. After putting them back to zero, no ...