-
CLI text color
is there any way i could change Linux CLI text color to green? (Slackware 10.2)
-
man dir_colors
You can edit the /etc/DIR_COLORS file.
-
Thnx, I've asked around on other forums, and googled, no luck, you sure do know your stuff. =)
-
Oh but wait, DIR_COLORS is just for directory listings.
To change your text colour, you need to configure whatever terminal application you're using. For example I use rxvt and I use this command in shortcuts to launch my terminal.
rxvt -bg black -cr green -fg white -C -fn 9x15 -sl 1000
-bg is the background colour, and -fg is the foreground (text) colour.
If you're using KDE Konsole, you can go to Settings and change the Schema to suit your tastes.
-
I don't mean console like in KDE. Just CLI without X running.
-
Then no, I don't think so. There's just the DIR_COLORS for file types in directory listings.
You can programatically get text to appear in other colours (the output of a program that prints text to console) and it's possible to colourize script output, and even colourize some output from your shell but I don't think you can change the default colours of the vt100 console. It's a white on black vga screen. This is in the vga console driver in the kernel, or the framebuffer console depending on what you are using. It may be possible to hack on kernel sources to change this behaviour and recompile but I don't know offhand.
-
Well, first I have to read this,,,

And than I can hack anything I want. LOL thats a big pile isn't it?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks