Gentoo Archives: gentoo-dev

From: Bastian Fuchs <bastiaf@×××.de>
To: gentoo-dev@g.o
Subject: [gentoo-dev] kde overwrites settings in .Xdefault and .xsession ... kde bug? gentoo script bug? feature? my fault?
Date: Tue, 08 Oct 2002 09:33:29
Message-Id: 200210081624.29835.bastiaf@gmx.de
1 Hi!
2 KDE ignores or overwrites some settings in my .Xdefault, after starting KDE
3 from KDM. For example I want to run a xterm. xterms uses the correct font
4 (andale mono), but the forground is black (should be white) and the
5 background white (should be black). Is this an KDE-Bug or a failure in some
6 startscripts? With gnome or fluxbox the problem doesn't exists. After "xrdb
7 .Xdefaults" all works correctly with KDE too.
8
9 rxvt has the right colors, but it seems, that rxvt looks itself in the
10 .Xdefaults to load the defaults!?
11
12 bastiaf ~ $ cat .Xdefaults
13 Rxvt*termName: rxvt
14 Rxvt*scrollBar: false
15 XTerm*font: -ms-andale
16 mono-medium-*-normal-*-16-*-*-*-*-*-iso8859-1
17 #XTerm*font: -misc-fixed-medium-*-normal-*-18-*-*-*-*-*-iso8859-1
18 XTerm*foreground: white
19 XTerm*background: black
20 XTerm*eightBitInput: false
21 XTerm*metaSendsEscape: true
22
23 -------------------------
24
25 The .xsession file (at the bottom) is my second problem. It's the same
26 problem: KDE ignores or
27 overwrites some settings (only KDE, all other WM oder desktops work). locale
28 in konsole/xterm says:
29 bastiaf ~ $ locale
30 LANG=de_DE@euro
31 LC_CTYPE=de_DE@euro
32 LC_NUMERIC=de_DE@euro
33 LC_TIME=de_DE@euro
34 [...]
35
36 But I set lang to 'en_US'. I NEVER set LANG to de_DE@euro. The ' ' are missing
37 too. To export the export-lines in the command line works fine.
38
39 The "xrdb"-line doen't fix my problem above!
40
41 bastiaf ~ $ cat .xsession
42 export LANGUAGE='en_US'
43 export LANG='en_US'
44 export LC_CTYPE='de_DE@euro'
45 export LC_NUMERIC='de_DE@euro'
46 export LC_TIME='de_DE@euro'
47 export LC_COLLATE='de_DE@euro'
48 export LC_MONETARY='de_DE@euro'
49 export LC_MESSAGES='en_US'
50 export LC_PAPER='de_DE@euro'
51 export LC_NAME='de_DE@euro'
52 export LC_ADDRESS='de_DE@euro'
53 export LC_TELEPHONE='de_DE@euro'
54 export LC_MEASUREMENT='de_DE@euro'
55 export LC_IDENTIFICATION='de_DE@euro'
56 xrdb -merge ~/.Xresources
57 exec "$(/etc/X11/chooser.sh)"

Replies