Against whom?!CDE Users Unite!
Against whom?!CDE Users Unite!
Against the passage of time!Against whom?!
You don't have to unite against somebody/-thing.Against whom?!
You can useI use a terminal login and runstartx
from there.
Befote that, I configure .xinitrc for WM I'm going to use .
If I'm going to use Gnome. I run~/2gnome
.
If I'm going to use CDE, I run~/2cde
.
(Most often I work in CDE, so this is one-time action)
~/2gnome:
Code:cp ~/.xinitrc_GNOME ~/.xinitrc
xinit
instead of startx
, and the .xinitrc can be changed with the environment var XINITRC. startx
there.You can usexinit
instead ofstartx
, and the .xinitrc can be changed with the environment var XINITRC.
I never understood for what isstartx
there.
X
defaultserverargs
-dpms -xinerama -schedInterval 300
You don't have to believe it.I don't believe this statement.
And yet, sliced bread is still around, still popular and still useful.I can see that CDE was the best thing since sliced bread ... thirty years ago!
Indeed. Just look at Python. Now 31 years old and definitely the longest lasting fad languageAnd yet, sliced bread is still around, still popular and still useful.
Terrible.Indeed. Just look at Python. Now 31 years old and definitely the longest lasting fad language
Just look at Python. Now 31 years old and definitely the longest lasting fad language
-- Larry WallTrue greatness is measured by how much freedom you give to others, not by how much you can coerce others to do what you want.
For those of you who have built cde-25 by hand, can you please open a terminal session and enter the following command, and report the output here?
xrdb -query | grep 'dtsession_res\*files'
[lanin@freebsd ~]$ xrdb -query | grep 'dtsession_res\*files'
dtsession_res*files: /usr/dt/config/C/sys.resources /home/lanin/.dt/sessions/current/dt.resources
This is what it's supposed to look like. Could be one of the FreeBSD patches in the to-be-committed FreeBSD port.Code:[lanin@freebsd ~]$ xrdb -query | grep 'dtsession_res\*files' dtsession_res*files: /usr/dt/config/C/sys.resources /home/lanin/.dt/sessions/current/dt.resources
That is, on my machine (where CDE 2.5.0 is manually built) everything looks as it should ?This is what it's supposed to look like. Could be one of the FreeBSD patches in the to-be-committed FreeBSD port.
Yes, the cde-24 port produces the same output.That is, on my machine (where CDE 2.5.0 is manually built) everything looks as it should ?
I did nothing in CDE 2.5.0, but corrected /usr/dt/etc/cde/fontaliases/file.alias (assigned iso8859-5 aliases to iso8859-1 fonts)The problem might be related to locale.
LANG=ru_RU.UTF-8
export LANG
...
default:\
...
:charset=UTF-8:\
:lang=C.UTF-8:
...
russian|Russian Users Accounts:\
:charset=UTF-8:\
:lang=ru_RU.UTF-8:\
:tc=default:
[lanin@freebsd ~]$ locale
LANG=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_ALL=
pkg install cde
) I did the following:/usr/local/share/fonts/dejavu:
What does echo $LANG display for you?
[lanin@freebsd ~]$ echo $LANG
ru_RU.UTF-8
If I don't create /usr/dt/config/$LANG/sys.resources, then control is passed to L:92 (/usr/dt/bin/dtsession_res) that set 'C' locale as default. But that's the way it should be.The problem might be related to locale. $LANG=C.UTF8 is not a proper locale. This is in the environment that dtsession_res is passed to it by programs/dtsession/SmRestore.c. The script looks for resource files with that name and finds none, leaving the dtsession*res resource lacking the proper resources.
Do I understand correctly ? Should I create /usr/dt/config/ru_RU.UTF-8/ and configure everything manually there ?Setting the resource based on the locale using xrdb to erase and replace this specific resource setting works around the issue.
Yes.Do I understand correctly ? Should I create /usr/dt/config/ru_RU.UTF-8/ and configure everything manually there ?
user@freebsd:~ % xrdb -query | grep 'dtsession_res\*files'For those of you who have built cde-25 by hand, can you please open a terminal session and enter the following command, and report the output here?
xrdb -query | grep 'dtsession_res\*files'
I would like to compare your setting with what I see here. cde-24 sets it correctly. cde-25 does not. The script that sets this resource, dt/bin/dtsession_res, is virtually identical (except for whitespace changes), suggesting it is being called with different arguments.
I'm trying to establish whether it's the new uncommitted port that is at fault or if the base software is to blame.
This is wrong.user@freebsd:~ % xrdb -query | grep 'dtsession_res\*files'
dtsession_res*files: /home/user/.dt/sessions/current/dt.resources
user@freebsd:~ %
if [ ! -f "$rFactory" ]; then
rFactory=/usr/local/dt/config/C/sys.resources
fi
if [ ! -f "$rCustom" ]; then
rCustom=/usr/local/dt/etc/config/C/sys.resources
fi