User Tools

Site Tools


unix:256colours

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
unix:256colours [2017/06/22 09:35]
robm Fix link to 256colors.pl
unix:256colours [2018/07/30 15:10] (current)
robm [So, does terminal <insert name here> do 256 colours?]
Line 33: Line 33:
 </​note>​ </​note>​
  
 +==== Gnome Terminal ====
 +
 +Gnome Terminal //does// support 256 colour mode, but doesn'​t always sets the ''​TERM''​ variable to ''​xterm'',​ rather than ''​xterm-256color''​. There'​s no way to override this directly, but you can work around it by setting:
 +
 +Profile Preferences → Title and Command → Run a custom command instead of my shell → ''​env TERM=xterm-256color /​bin/​bash''​
 +
 +Credit to https://​superuser.com/​questions/​841016/​how-to-configure-gnome-terminal-to-use-xterm-256color-by-default
 ===== OK, it does. Now how about Vim? ===== ===== OK, it does. Now how about Vim? =====
 See '':​help xterm-color''​ for the official documentation. It makes mention of 256 colours, but isn't hugely helpful. See '':​help xterm-color''​ for the official documentation. It makes mention of 256 colours, but isn't hugely helpful.
unix/256colours.txt · Last modified: 2018/07/30 15:10 by robm