On 2019-12-25 07:24, Bob Goodwin wrote:
On 2019-12-24 17:56, Ed Greshko wrote:
> It sounds as if you're not running with the environment variable LC_TIME=C.
>
> What does the followng LONG command string return?
>
> xx=`pidof thunderbird` ; cat/proc/$xx/environ | grep "LC_TIME=[Cc]" ; echo
$?
>
> -
.
Well I do have this which I hope runs after rebooted:
[bobg@Workstation-2 ~]$ cat /home/bobg/.bashrc
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific environment
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
then
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
fi
export PATH
# Uncomment the following line if you don't like systemctl's auto-paging
feature:
# export SYSTEMD_PAGER=
# User specific aliases and functions
export LC_TYPE="C"
What is LC_TYPE?????
And I.m not certain I got the pid right but this is what I see:
[bobg@Workstation-2 ~]$ ps ax | grep thunderbird
1652 ? Sl 0:50 /usr/lib64/thunderbird/thunderbird
2431 pts/1 S+ 0:00 grep --color=auto thunderbird
[bobg@Workstation-2 ~]$ cat /proc/$1652/environ | grep "LC_TIME=[Cc]" ; echo
$?
cat: /proc/652/environ: No such file or directory
1
OK, why did you not enter the command as I typed it? It would have avoided any issues of
what the PID is.
Anyway, the PID is 1652 but your next command is wrong....
It should have been....
cat /proc1652/environ | grep "LC_TIME=[Cc]" ; echo $?
--
The key to getting good answers is to ask good questions.