CRUX : Home

Home :: Documentation :: Download :: Development :: Community :: Wiki :: Ports :: Bugs :: Links :: About

Back to wiki start page

Categories: General


Bartlomiej Palmowski


You can find here some tips how to make your crux more colourful:

kernel patch

cptn (Johannes Winkelmann) prepared a kernel patch, replacing usual framebuffer tux picture with crux blueish (drunk(?)) penguin
more info: - works also with 2.6.32 and versions

suppressing kernel output

found at the

get rid of the old ugly kernel boot messages by adding loglevel=0 quiet to your kernel line ie.:

kernel (hd0,0)/boot/vmlinuz root=/dev/sda1 quiet loglevel=0 vga=791

above tip combined with rc_color (below) gives nice effect, screen:
(compare it to screen below which contains kernel boot messages)

rc_color (rc_color is not working with crux 2.6)

to make initscripts prettier install rc_color from mxq repo

httpup sync rc_color

obviously 'rc_color' will conflict with 'rc' from core, so you need to remove 'rc' first. rc_color is slightly modified rc (previously called rc_mod), you may change some settings by messing with the /etc/rc.functions. Read the README before using.


acoc - Arbitrary Command Output Colourer

acoc works like wrapper colorizing applications output.


acoc is available in contrib (crux 2.5). Create directory /usr/bin/acocbin and symlink there your applications ie.

ln -s /usr/bin/acoc /usr/bin/acocbin/pkgmk

and add /usr/bin/acocbin to fron of your PATH i.e. PATH=/usr/bin/acocbin:/bin:/usr/bin

config file:

put it preferably to /etc/acoc.conf (this config file merges stderr w/ stdout so manipulation of stderr messages is possible) for more info reffer to acoc(1) and acoc.conf(5) manuals.

automatic Pkgfile syntax highlighting

configure contrib/medit for automatic syntax highlighting of Pkgfiles


Edit /usr/share/moo/language-specs/sh.lang :

<property name="globs">*.sh</property>

so it looks like:

<property name="globs">*.sh;Pkgfile</property>




To make grep output colored add line below to your ~/.bashrc or other appropriate file.

export GREP_OPTIONS="--color=auto"

You may add other grep options if you wish.


Create an alias and add it to ~/.bashrc or other appropriate file.

alias ls="ls --color=auto"