You are not logged in.
My language settings are:
$ echo $LANG
en_GB.utf8With the above language settings, my alsamixer looks like this: http://i.imgur.com/JoJABtL.png
My guess is, that there's something wrong with my language settings, since setting LANG=C results in a correct looking alsamixer.
How do I get the alsamixer to look normal again?
Last edited by graph (2013-05-30 07:15:53)
Offline
Your $LANG should read;
en_GB.UTF-8Last edited by opt1mus (2013-05-30 07:15:45)
Offline
Your $LANG should read;
en_GB.UTF-8
This still gives the same (negative) result.
I'm using URxvt (daemon/client) and tmux, in case that matters.
Relevant settings:
# locale-gen
Generating locales...
da_DK.UTF-8... done
en_DK.UTF-8... done
en_GB.UTF-8... done
Generation complete.$ locale -a
C
da_DK.utf8
en_DK.utf8
en_GB.utf8
POSIX$ locale ~
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=Last edited by graph (2013-05-30 07:34:08)
Offline
https://bbs.archlinux.org/viewtopic.php?pid=1277526
Related I assume.
Offline
https://bbs.archlinux.org/viewtopic.php?pid=1277526
Related I assume.
Yep. However, nobody seemed to have an answer for that one, so I "fixed" it by switching to "en_GB.UTF-8". In general, my locale/encoding just seems off - See this output:
mv: cannot move â/etc/locale.gen.pacnewâ to â/etc/locale.genâ: Permission denied(I know why the error is there, I just did it to show the encoding problem)
It seems to have problems with making this sign too: '
Last edited by graph (2013-05-30 07:52:47)
Offline
Hmm, It seems like my /etc/locale.conf isn't sourced on boot.
This is the contents of /etc/locale.conf
# < /etc/locale.conf
LANG="en_GB.UTF-8"
LOCALE="en_GB.UTF-8"
LC_COLLATE="C"This the output of locale after a reboot:
$ 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=I seem to have done everything the wiki asks me to do. Where should I go from here? My URxvt-font is Terminus, and I'm using zsh, in case that matters...
Last edited by graph (2013-06-01 16:01:53)
Offline
Just did some testing. The alsamixer looking weird definitively has something to do with tmux, because both URxvt and xterm show alsamixer without a problem, when NOT in a tmux-session.
I'm using systemd, and alsamixer also looks weird in tty when running a tmux-session.
I already have this in my .tmux.conf, as suggested by this post, so that's not the problem.
set -g default-terminal screen-256colorIs this a bug I'm experiencing?
EDIT: I can fix alsamixers weird behavior by setting LC_ALL=C - Is this advisable, or do I break anything by doing that?
Last edited by graph (2013-06-02 10:55:00)
Offline
I ran into the same problem and figured out that the cause was that '/etc/profile.d/locale.sh' was an empty file, so locales were not properly set on login. Reinstalling the 'filesystem' package solved the issue.
Offline