digifuzzy Posted August 28, 2019 Report Share Posted August 28, 2019 There has to be a quick answer to this that doesn't involve massive amounts of web searches. One of the nice/cool things to have in Funtoo is the automatic/automagical context colouring that occurs when using nano or such. My personal terminal preferences are dark in nature making reading dark blue or dark red text on a black ground almost impossible to read. This is especially noticeable when viewing emerge conflicts. Where are the colour settings stored? Personally, I would like to edit these properties locally to improve readability. Link to comment Share on other sites More sharing options...
lazlo.vii Posted August 28, 2019 Report Share Posted August 28, 2019 My 2 cents: Look into /etc/skel/.* and ~/.bashrc and for a bit of fancy scripting look at the ~/.bashrc file for a Debian or Ubuntu user. Link to comment Share on other sites More sharing options...
digifuzzy Posted August 28, 2019 Author Report Share Posted August 28, 2019 @lazlo.vii No. Not helpful. In funtoo (at least mine) /etc/skel is an empty directory. My .bashrc contents are unaltered from default. Link to comment Share on other sites More sharing options...
lazlo.vii Posted August 29, 2019 Report Share Posted August 29, 2019 4 hours ago, digifuzzy said: @lazlo.vii No. Not helpful. In funtoo (at least mine) /etc/skel is an empty directory. My .bashrc contents are unaltered from default. Try "ls -a /etc/skel/" and you should see 3 or 4 hidden files in there. You might also look into a package called grc. It is the Generic Colouriser and provides colored output for a wide variety of programs. Link to comment Share on other sites More sharing options...
digifuzzy Posted August 29, 2019 Author Report Share Posted August 29, 2019 2 hours ago, lazlo.vii said: Try "ls -a /etc/skel/" and you should see 3 or 4 hidden files in there. You might also look into a package called grc. It is the Generic Colouriser and provides colored output for a wide variety of programs. Yes - hidden files in /etc/skel. No - not helpful as these are set to upstream default. No on grc being installed but it is a possibility. Concern is would this package conflict with what Funtoo does. I was hoping someone with distribution knowledge could chime in to explain how Funtoo implemented this as it seems this is specific to this distribution and not "generic linux". Link to comment Share on other sites More sharing options...
bcowan Posted August 29, 2019 Report Share Posted August 29, 2019 coreutils installs certain system files like /etc/DIR_COLORS and /etc/profile calls /etc/bash/bashrc which sources those colors and sets them.Also sources term files installed by ncurses for term capability etc. Link to comment Share on other sites More sharing options...
digifuzzy Posted August 29, 2019 Author Report Share Posted August 29, 2019 26 minutes ago, bcowan said: coreutils installs certain system files like /etc/DIR_COLORS and /etc/profile calls /etc/bash/bashrc which sources those colors and sets them.Also sources term files installed by ncurses for term capability etc. There we go... Winner! Link to comment Share on other sites More sharing options...
digifuzzy Posted September 1, 2019 Author Report Share Posted September 1, 2019 For future web searchers... relevant man pages: https://linux.die.net/man/5/dir_colors https://linux.die.net/man/1/dircolors Link to comment Share on other sites More sharing options...
bcowan Posted September 7, 2019 Report Share Posted September 7, 2019 Just saw this and it reminded me of this post https://opensource.com/article/19/9/linux-terminal-colors Link to comment Share on other sites More sharing options...
digifuzzy Posted September 7, 2019 Author Report Share Posted September 7, 2019 6 hours ago, bcowan said: Just saw this and it reminded me of this post https://opensource.com/article/19/9/linux-terminal-colors Thanks for sharing! Link to comment Share on other sites More sharing options...
Recommended Posts