Ubuntu :: Change The Color Of The Text Before The Input At The Terminal?
Jan 17, 2011
I really don't know what to call it, but I want to change the color of text that appears before you type in whatever your input is.
For example:
Code:
negrabee@david-desktop:~$ ls /home/david/
I would want "negrabee@david-desktop:~$" to be in a different color. When you have whole bunch of commands and text in a full screen terminal, it gets really annoying to have to look for where you're entering the command so changing the color.
When in the interactive envirment, my Input and Output are all mess-up. So i want to color the Input and Output with two different colors.. so i can figure them out..
OS is CentOS 5.5, and GNOME terminal emulator (v2.16.0). However I regard the question is not related with OS/Gnome version level. My question is whether if color setting is available or not for the text character outputted by kernel (or shell, i.e. Bash). Normally we can specify/modify text character color (and background color) with property setting on the terminal. However, it only takes affect to the text for inputting character, not for outputted character by kernel/shell. For example, when we type a shell command "ls -al <cr>", the text appears with the color along with the terminal property.
Meanwhile, the text message displayed on the console (output message against "ls -al" command), in this case it must be file and/or directory names, will appear with some preset color which we've not preliminarily set. In my case, I set Text color with "White", Background color with "Black". Then I expect the text output message color displayed by kernel/shell would be some brighter color. But the color is "blue" which does not look better brightness against "Black" background. For this situation what I'd like to know is how to set/specify the color outputted by the kernel/shell (or whether or not it is possible to set manually).
I'm trying to change the font color of the text of the bootloader in Grub2. I'm running 9.10. I successfully edited the Grub cfg file change the colors of the Grub menu, but I'd like to change the text color as I watch the modules load and can't seem to do it. I'd also like to password protect the bootloader if possible. I installed startupmanager but the new version won't allow these changes. I like to see my modules as they load and wanted to change the color from white to blue.
I'm interested in changing the console text color. I can change the console color easily in X, but I'd also like to change the color of the text when my computer first boots up (like right after LILO).Is this something I can modify without rebuilding the kernel? If not, does anyone know where in the source I could make a change like this?
How to change light green text color to dark green of xterm? The xterm background is white. Light green texts are not good for white background. I don't want to change the xterm background.
I need to change the default color scheme in Ubuntu's terminal. Or at least turn the colors completely off because this lime green hilight / light blue text is killing my eyes.
accidentally I raised my brightness to 100% so I couldn't see anything..My battery died before I could fix it with tab or something else.now I can't fix it because I can't see anything.Is there a way to adjust color brightness through my unix terminal.....?
Is there a simple text editor for Linux that will let you color or highlight text on demand? Something like gedit or leafpad with color? I know I can probably do this with vi or emacs, but I'm looking for something simple, need not be feature rich.
I recently got a real fancy unidirectional microphone, but when I go and use it, something strange happens. The mic is a mono mic, but when I record something, it appears to think it's stereo. Instead of having the same thing on both channels, it puts it all in the left channel, and silence on the right channel.
I tried fiddling with alsamixer. In capture (F4), adjusting the "Capture" device has an effect. However, it doesn't do anything useful. Lowering the right channel to zero does nothing, lowering the left channel to zero creates silence, and disabling the right channel creates silence.
In my System>Preferences>Sound (or pavucontrol, or what-have-you), there are "Analog Stereo Input" and "Analog Stereo Duplex" options there, but no "Analog Mono Input" or "Analog Stereo Output + Analog Mono Input" options (the latter being ideal).
Something interesting, though, if I do this: Code: arecord -r 96000 -D pulse -c 1 -vv -V mono /dev/null it works correctly and outputs on both channels. But if I do Code: arecord -r 96000 -D pulse -c 2 -vv -V stereo /dev/null then it's back to the same behavior. The VU meter on the second command shows the left channel going up and down as I make noise, but the right one always at zero.
The machine does have a crap internal mic built in to the screen bezel. If I do either of the above commands, they both work correctly. The stereo VU shows the same activity for both channels.
The machine is a Eee 1015PED, which has Intel integrated sound. Something probably insignificant is that the mic has a 1/4 inch mono plug, and to get it to plug into the Eee, I needed to get a 1/4 female to 1/8 male adapter. The mic's 1/4 plug is mono (duh) and therefore two-conductor, but the adapter I got is stereo, or three conductor (L, R, GND). I don't know if this is tripping something in hardware to tell it it's stereo or something.
I tried the mic on my desktop, which has a SB Audigy 4 (the non-pro flavor) and that has the "Analog Mono Input" function, so that works fine. Is there some way to turn this stereo input into mono input?
I installed Lucid. I used to have Ubuntu 9.10 and to connect my iPod to my laptop's speakers. There was an option in 9.10 in the Sound Options to change the Mic Input into a Line Input. But now unfortunately I can't find it in Lucid have only 2 audio ports in the laptop: Headphone port, Mic port.
I just upgraded to Maverick this afternoon, and have run into one very small, but very annoying problem.
Since upgrading, the text color for the Firefox menu is black. This makes it unreadable/invisible using probably the majority of personas. I have been able to find no way of changing this color. This was not an issue in Lucid.
There have been other threads on this subject, some of which suggest editing a userChrome.css file. I have edited that file, but upon restarting Firefox, the changes I have made revert back to what they had been before I made my edits.
I have also fiddled around with trying to change all manner of GTK settings, but still nothing has had any influence. I logged into a Gnome session, as well, but was still unable to remedy this.
I downloaded an .emerald + GDK theme off gnome-look.org and absolutely love it so far. The only thing I do not like about it is the fact that it changes the background color of all webpage text boxes to black, which sorta ruins a lot of sites. where I can modify just that little bit? the webpage text box color? I'd like to keep the theme and just set the text boxes back to normal. Using Ubuntu 10.10 Desktop Edition.
Is there a way to edit the color of the text to white so I am able to see it? Example of the current text color in this attachment, see top right corner first scaling icon next to system monitor;
Unfortunately, it makes the globalmenu and clock applets disappear on my gnome-panel. My panel is set to system theme, though when I choose a solid color I can get the hidden text to show up. I want to preserve the system color so I need to change the text color somehow. Also, I don't know why it uses that bluish color when clicked on since I never defined such a color in the appearance settings.
when I executed "man ls"...there is always colored text.I like to read "colored text"but, some color is too dark..."dark blue ???" I'don't know the exact name of color my background color is "black"
but, when I use "cscope->contrl+]" or "man 'ls' or 'someting'",there are always...very dark blue colored text.so, It is very difficult to read.if I want to change man page color..what do I do for that?I have to use "tera term.."plz, "don't say that "change your terminal program..""Except for changing utility, what else do I have to ..?
Is there a way to color particular words printed on console based on user preference? For example I need to color text 'error' when a particular program is compiled.
I'm looking for a text editor that when displaying a document will parse any ANSI color codes it comes across into the correct colors rather than just show the codes in the ^[[xx;xx;xxm format
I've been trying to figure out a way to more easily color text in Perl like I do on Bash on a Linux box. In bash, what I'll do is set color variables up to equal the escape sequence, then echo out with escape seqeunces to print it exactly how I want it. Typically I'll want a character or a word in a different color, not the whole line. For example
echo -n -e "My face is turning ${RED}red${UNCOLOR} like a lobster." In Perl with the term::ANSIColor module, it seems to just do a line. Am I being dense? Is there a way that I can do it like I do it in BASH that's fairly easy to read after the fact?
I have a procedure say X output of X is : Fund name: Mutual NAV is: 1234
So I appended this output into a file using shellscript. But now my requirement is changed. The part of output like Fund name and 1234 should be in bold. How can I do this using shell script.
I'm doing some shell scripting in nano, but code is much simpler to read when is color coded.... is there a terminal editor that supports color coding?
I have several terminals opened at once to monitor the logs. It would be helpful to choose different basic color for text (and maybe for background) for each terminal so I can quickly locate the one I need. Anyone know how to do this or perhaps point me to right direction?
How can I export my Ubuntu terminal's color scheme for use on other computers?I've set up a color scheme that I like and I'd like to put it in a git repo for easy loading from other machines. Any strategy that would make it work in other terminal apps too, such as Konsole?
When I type (in new 10.10) soem cmdline comands like "ls -l" then some of the directories have a different fore-and background color (e.g. black on green) while the remaining other directoreis are blue on white.
Where can I find out the meaning of the diferent colors and how can I change them?
If I go to menu
Terminal->Edit->Profile Preferences->Color
then I can set only the full overall background and foreground color. But here only certain parts have a different color. the main color (black on white) is suitable. I do not use system theme.
I am a newer to debian. I want to change the color of the vitrual terminal. I have found the function " setvtrgb ",but I don't know how to mix the color , Only text green and background black...