From 93f017e13af93ea9f88673f93ccad1e8074c82ea Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Sun, 20 Sep 2020 19:32:49 +0200 Subject: [PATCH] Fix input of dead keys and other locale issues Signed-off-by: Severin Kaderli --- .install/etc.sh | 3 ++- system/.config/X11/xsetup | 1 + system/etc/locale.conf | 2 ++ system/etc/locale.gen | 3 ++- 4 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 system/etc/locale.conf diff --git a/.install/etc.sh b/.install/etc.sh index b08012d..b2ef7e8 100644 --- a/.install/etc.sh +++ b/.install/etc.sh @@ -29,7 +29,8 @@ CONFIG_ETC_FILES=( ["/etc/zsh/zshenv"]="644" ["/etc/systemd/user.conf.d/00-limits.conf"]="644" ["/etc/systemd/system.conf.d/00-limits.conf"]="644" - ["/etc/locale.gen"]="644" + ["/etc/locale.gen"]="755" + ["/etc/locale.conf"]="655" ) output::section "Copying /etc files" diff --git a/system/.config/X11/xsetup b/system/.config/X11/xsetup index c40bfc0..396dfa0 100644 --- a/system/.config/X11/xsetup +++ b/system/.config/X11/xsetup @@ -28,6 +28,7 @@ redshift-gtk & sxhkd & nextcloud & dunst & +ibus-daemon -drx # Merge .Xresources on boot xrdb -merge "${XDG_CONFIG_HOME}/X11/xresources" diff --git a/system/etc/locale.conf b/system/etc/locale.conf new file mode 100644 index 0000000..6c58aea --- /dev/null +++ b/system/etc/locale.conf @@ -0,0 +1,2 @@ +LANG=en_US.UTF-8 +LC_TIME=en_DK.UTF-8 \ No newline at end of file diff --git a/system/etc/locale.gen b/system/etc/locale.gen index a76c67d..26caaf4 100644 --- a/system/etc/locale.gen +++ b/system/etc/locale.gen @@ -1,2 +1,3 @@ en_DK.UTF-8 UTF-8 -en_GB.UTF-8 UTF-8 \ No newline at end of file +en_US.UTF-8 UTF-8 +# Empty line needed \ No newline at end of file