I have changed the setting in my ubuntu desktop 16.04 to boot only on command line mode. Upon reboot, the interface that opened had black background, text in white, directories in blue and so on and so forth...normal terminal color options.
I am trying to change the background color to white and text to black so that the visibility of the content is better. I used the following code (taken from this post):
dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/background-color "'rgb(0,0,255)'"
But got an error
error: Cannot autolaunch D-Bus without X11 display
Usage:
dconf write KEY VALUE
Write a new value to a key
Arguments:
KEY A key path (starting, but not ending with '/')
VALUE The value to write (in GVariant format)
I understand the error related to X11 display. However, the rest I could not. How to I set the background to white / blue(in the above case it is blue) and text to black
ls
the contents gets displayed with black background only....hence the question. The gconftool is not working nor provides any output – Apricot Jan 17 '19 at 05:53ls
include code to reset the color. How aboutecho -en '\e]P0FFFFFF' '\e]PF000000'
? This changes what the TTY "thinks" black and white are (the first sets black, aka colour 0 toFFFFFF
, and the second sets white (colourF
) to000000
. From https://askubuntu.com/a/153493/760903 – Olorin Jan 17 '19 at 06:14