From 9ece05be716c92b451ff84952f389f1ca8d30abd Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 22 Mar 2019 12:16:49 -0700 Subject: Trying to fix xterm UTF8 encoding This makes it slightly better but doesn't seem to totally fix it. Every time I open a terminal, I have to ctrl+right-click and select "UTF-8 Encoding". Not sure how to make this setting persistent. --- linux.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'linux.nix') diff --git a/linux.nix b/linux.nix index 5934f7d..c7b2cce 100644 --- a/linux.nix +++ b/linux.nix @@ -9,11 +9,12 @@ in xresources = { properties = { - "XTerm*font" = "*-fixed-*-*-*-*-*"; - "XTerm*faceName" = "mononoki"; + "XTerm*font" = "-*-terminus-medium-r-normal--18-*-*-*-*-*-iso10646-1"; + "XTerm*faceName" = "Terminus"; "XTerm*faceSize" = "10"; "XTerm*termName" = "xterm-256color"; "XTerm*metaSendsEscape" = true; + "XTerm*utf8" = true; }; extraConfig = builtins.readFile(solarized-xresources + "/Xresources.light"); }; -- cgit v1.2.3