All I want to do is make the background for Mac OS X's Terminal Black so that I can run a Perl script with Terminal and have the background black for that.
How would I do this for Mac OS X?
How would I do this for an average Linux?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityAll I want to do is make the background for Mac OS X's Terminal Black so that I can run a Perl script with Terminal and have the background black for that.
How would I do this for Mac OS X?
How would I do this for an average Linux?
I'm not sure about Linux but on Mac OS X you can change the theme in the preferences. Open Terminal, then go to the Terminal menu -> Preferences, choose the Settings tab and set the Pro theme as the default.
If you don't need it as the default you can choose Shell -> New Window/Tab -> Pro and you'll get a one off terminal with that theme.
I'm sure something similar is possible on Linux also.
In my case preferences look like this:
And the final result looks like this:
You can find more on page Simple Tricks to Improve the Terminal Appearance in Mac OS X (section "Enable Bold Fonts, ANSI Colors, & Bright Colors").
Assuming that you want to change the colours of the screen from your Perl script, then you could look at using ANSI Color from CPAN. For example code, look here.
Since at least MacOS Mojave, Apple provides a "dark" desktop theme -- which also makes the terminal light-text-on-dark-background.
In System Preferences -> General -> Appearance
, select Dark
: