On 1/2/22 1:36 AM, Jon Trulson wrote:
>
> I am not familiar with this script - but all you should need to do is
> set LANG properly...?  dtlogin can do this for you.
>
> I've alos experimented with various LANGs by setting it in my
> ~/.dtprofile script.

Inserting

export LANG=el_GR.UTF-8

in ~/.dtprofile

does not solve the problem. With this modification after I login the
command echo $LANG
returns
el_GR.UTF-8
so the variable has been set.
But

ls

shows the Greek filenames garbled. Same thing in filemanager. Garbled
filenames when in Greek.

The script you say you are not familiar with, it just sets the LANG
variable before executing Xsession:
cde.desktop executes /usr/dt/bin/startxsession.sh
and

cat /usr/dt/bin/startxsession.sh


gives:

#!/bin/sh
export PATH=$PATH:/usr/dt/bin
export LANG=el_GR.UTF-8
/usr/dt/bin/Xsession


This way it works. Filenames are correct when in Greek. So it seems that
when .dtprofile
is executed it is already too late. dtlogin may do that properly but
currently I use lightdm
since I am on a HiDPI laptop and can not work on CDE unfortunately.
Letters are too tiny
for my eyes and can not increase the size due to lacking good pixel
fonts for Greek.
I can configure dtlogin to start mate-desktop too but I have not done
this yet.

Antonis.




_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to