Skip to content

Instantly share code, notes, and snippets.

@CodeDmitry
Last active March 28, 2021 19:30
Show Gist options
  • Select an option

  • Save CodeDmitry/c76d81a8dc845399c9b01a64a119393e to your computer and use it in GitHub Desktop.

Select an option

Save CodeDmitry/c76d81a8dc845399c9b01a64a119393e to your computer and use it in GitHub Desktop.
fixing courier new on debianlikes
sudo apt-get install gnome-session-flashback
sudo apt update && sudo apt install ttf-mscorefonts-installer
to get courier new.
put into /etc/fonts/fonts.conf, google to check if there's an alternative location for fonts.conf or if you need
to make your own.
<match target="font">
<test name="family" qual="any">
<string>Courier New</string>
</test>
<edit name="hintstyle" mode="assign">
<const>hintnone</const>
</edit>
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
</match>
vim
set dark background green on black in terminal
:set tabstop=4
:set expandtab
:set background=dark
:colo pablo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment