fix(system,x11): set system-wide TERM=xterm-256color and C.UTF-8 locale

This commit is contained in:
Luxferre
2026-10-21 00:16:33 +03:00
parent 262d1a3649
commit da24f0d9ac
22 changed files with 67 additions and 6 deletions
@@ -21,6 +21,11 @@ export EDITOR=nano
export VISUAL=nano
export PAGER="less -RXF"
export LESS="-RXF"
export TERM=xterm-256color
export CHARSET=UTF-8
export LANG=C.UTF-8
export LC_ALL=C.UTF-8
export LC_COLLATE=C.UTF-8
export SXMO_DISABLE_LEDS=1
export SXMO_NO_VIRTUAL_KEYBOARD=1
export NO_AT_BRIDGE=1
Binary file not shown.
+5
View File
@@ -3,6 +3,11 @@
# Copyright 2022 Sxmo Contributors
# shellcheck disable=SC2086
export TERM=xterm-256color
export CHARSET=UTF-8
export LANG=C.UTF-8
export LC_ALL=C.UTF-8
SXMO_TERMINAL="${SXMO_TERMINAL:-st}"
if [ -z "$*" ]; then
@@ -16,6 +16,7 @@ dwm.selbordercolor: #005577
dwm.selfgcolor: #ffffff
st.font: Fira Code:pixelsize=18:style=Regular:antialias=true:autohint=true
st.termname: xterm-256color
st.background: #1c1c1c
st.foreground: #e5e5e5
st.cursorColor: #cccccc
@@ -75,6 +75,11 @@ export EDITOR="nano"
export VISUAL="nano"
export PAGER="less -RXF"
export LESS="-RXF"
export TERM="xterm-256color"
export CHARSET="UTF-8"
export LANG="C.UTF-8"
export LC_ALL="C.UTF-8"
export LC_COLLATE="C.UTF-8"
export SXMO_WM="dwm"
export SXMO_MENU="dmenu"
export SXMO_TERMINAL="st"
@@ -191,7 +191,7 @@ case "$WMCLASS" in
"
WINNAME=St
;;
st|st-*|*terminal*|org.gnome.vte.application|org.gnome.vte.app.gtk4|*alacritty*)
st|st-*|xterm*|*terminal*|org.gnome.vte.application|org.gnome.vte.app.gtk4|*alacritty*)
# These git commands only launch the editor.
case "$WMNAME" in