You are not logged in.
Pages: 1
After some upgrade over the last few months, my locale is stuck to POSIX with no LANG.
locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL
locale -a
C
POSIX
en_GB.utf8
en_US.utf8
cat /etc/locale.conf
LANG=en_GB.UTF-8
I've read around some similar threads (including one from yesterday) but didn't find anything to fix my problem.
Last edited by Knyght (2016-06-28 18:14:09)
Offline
What measures have you taken to remedy the problem?
Offline
I've tried reinstalling glibc and re-running locale-gen, I can manually export LANG and it kinda works to some extent but some of the text (mostly completion) gets screwed up in fish, which doesn't happen otherwise and didn't happen before it broke.
I'm not sure what else to try.
Offline
Have a look at: https://bbs.archlinux.org/viewtopic.php?id=213980
What's the output of:
cat /etc/environment
?
Offline
I read through that thread, but didn't see anything obvious.
/etc/environment
is blank, other than some comments.
Offline
Instead of telling us there was nothing obvious, please post the outputs requested in the linked thread. Your -Qkk output and dotfiles for your shell in particular, but the more information you provide us, the more chance we will be able to help you..
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
WorMzy, I already pasted the output of everything relevant from that thread that I saw - most of it is zsh related, and as mentioned before, I'm not using zsh.
Last edited by Knyght (2016-06-27 12:38:44)
Offline
I already pasted the output of everything relevant from that thread
No, you really haven't.
Your -Qkk output and dotfiles for your shell
If you are using bash, 'pacman -Qkk filesystem bash', if you are using dash, 'pacman -Qkk filesystem dash', etc.. make an effort, please.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Thanks for insinuating I'm not making an effort - I'm sure it will do much for lessening the stereotype of linux forums being unfriendly and toxic.
pacman -Qkk filesystem fish
backup file: filesystem: /etc/fstab (Modification time mismatch)
backup file: filesystem: /etc/fstab (Size mismatch)
backup file: filesystem: /etc/group (Modification time mismatch)
backup file: filesystem: /etc/group (Size mismatch)
backup file: filesystem: /etc/gshadow (Modification time mismatch)
backup file: filesystem: /etc/gshadow (Size mismatch)
warning: filesystem: /etc/mtab (Symlink path mismatch)
warning: filesystem: /etc/mtab (Modification time mismatch)
backup file: filesystem: /etc/passwd (Modification time mismatch)
backup file: filesystem: /etc/passwd (Size mismatch)
backup file: filesystem: /etc/resolv.conf (Modification time mismatch)
backup file: filesystem: /etc/resolv.conf (Size mismatch)
backup file: filesystem: /etc/shadow (Modification time mismatch)
backup file: filesystem: /etc/shadow (Size mismatch)
backup file: filesystem: /etc/shells (Modification time mismatch)
backup file: filesystem: /etc/shells (Size mismatch)
filesystem: 90 total files, 1 altered file
fish: 807 total files, 0 altered files
cat ~/.config/fish/config.fish
# Aliases
alias pacman "sudo pacman"
alias grep "grep --color=auto"
alias mkdir "mkdir -p -v"
alias mv "mv -iv"
alias rm "rm -Iv --one-file-system"
alias workon "vf activate"
alias deactivate "vf deactivate"
alias dotty "~/.dotfiles/dotty/dotty.py"
alias st "st -f \"Meslo LG M:size=14\""
# Virtualenv
eval (python -m virtualfish auto_activation)
# Other files
. $HOME/.config/fish/solarized.fish
. $HOME/.config/fish/lesscolours.fish
# SSH Agent
function ssh_agent --description 'launch the ssh-agent and add the id_rsa identity'
if begin
set -q SSH_AGENT_PID
and kill -0 $SSH_AGENT_PID
and grep -q '^ssh-agent' /proc/$SSH_AGENT_PID/cmdline
end
echo "ssh-agent running on pid $SSH_AGENT_PID"
else
eval (command ssh-agent -c | sed 's/^setenv/set -Ux/')
end
set -l identity $HOME/.ssh/id_rsa
set -l fingerprint (ssh-keygen -lf $identity | awk '{print $2}')
ssh-add -l | grep -q $fingerprint
or ssh-add $identity
end
cat ~/.config/fish/lesscolours.fish
set -xU LESS_TERMCAP_mb (printf "\e[01;31m") # begin blinking
set -xU LESS_TERMCAP_md (printf "\e[01;31m") # begin bold
set -xU LESS_TERMCAP_me (printf "\e[0m") # end mode
set -xU LESS_TERMCAP_se (printf "\e[0m") # end standout-mode
set -xU LESS_TERMCAP_so (printf "\e[01;44;33m") # begin standout-mode - info box
set -xU LESS_TERMCAP_ue (printf "\e[0m") # end underline
set -xU LESS_TERMCAP_us (printf "\e[01;32m") # begin underline
cat ~/.config/fish/solarized.fish
# Use these settings if you've applied a Solarized theme to your terminal (for
# example, if "ls -G" produces Solarized output). i.e. if "blue" is #268bd2, not
# whatever the default is. (See "../etc/Solarized Dark.terminal" for OS X.)
set -l base03 "--bold black"
set -l base02 "black"
set -l base01 "--bold green"
set -l base00 "--bold yellow"
set -l base0 "--bold blue"
set -l base1 "--bold cyan"
set -l base2 "white"
set -l base3 "--bold white"
set -l yellow "yellow"
set -l orange "--bold red"
set -l red "red"
set -l magenta "magenta"
set -l violet "--bold magenta"
set -l blue "blue"
set -l cyan "cyan"
set -l green "green"
# Use these settings if your terminal supports term256 and your terminal hasn't
# been configured with a Solarized theme.i.e. if "blue" is the default blue, not
# Solarized blue.
#
# set -l base03 002b36
# set -l base02 073642
# set -l base01 586e75
# set -l base00 657b83
# set -l base0 839496
# set -l base1 93a1a1
# set -l base2 eee8d5
# set -l base3 fdf6e3
# set -l yellow b58900
# set -l orange cb4b16
# set -l red dc322f
# set -l magenta d33682
# set -l violet 6c71c4
# set -l blue 268bd2
# set -l cyan 2aa198
# set -l green 859900
# Used by fish's completion; see
# http://fishshell.com/docs/2.0/index.html#variables-color
set -g fish_color_normal $base0
set -g fish_color_command $base0
set -g fish_color_quote $cyan
set -g fish_color_redirection $base0
set -g fish_color_end $base0
set -g fish_color_error $red
set -g fish_color_param $blue
set -g fish_color_comment $base01
set -g fish_color_match $cyan
set -g fish_color_search_match "--background=$base02"
set -g fish_color_operator $orange
set -g fish_color_escape $cyan
# Used by fish_prompt
set -g fish_color_hostname $cyan
set -g fish_color_cwd $yellow
set -g fish_color_git $green
Offline
did you try following the steps in the beginner's guide that describe how to use locale-gen?
i can't put this zsh config on the forum: http://dotshare.it/dots/1144/
Offline
Yeah, I've ran locale-gen a few times, made sure my locale.conf is good (pasted that earlier).
Offline
Is this maybe relevant?
Offline
Thanks, that did seem to fix the problem - though I am still curious why it used to work just fine.
Offline
Google gave me this: https://github.com/fish-shell/fish-shel … -222846361
Up until a couple of months ago (see commit b4b52b8) fish would set -x LANG en_US.UTF-8 if LANG wasn't defined. Which masked broken distros for a lot of people.
Offline
Pages: 1