Harald Sitter a écrit : > Sorry, I do not understand a word, could you please explain with more detail > what exactly the problem is. > Thanks. > > ** Changed in: kdebase (Ubuntu) > Status: New => Incomplete > Well, in Kubuntu Karmic (and also in previous version) there is a file called
/etc/X11/Xsession.d/30x11-common_xresources which, at the beginning of each Xsession (or kde session), calls xrdb which loads the resources files it finds in the directory /etc/X11/Xresources/ Now, I have several resources files in this directory, in particular the file xbase-clients which contains among other my xmacs resources: XEmacs*font: -*-terminal-medium-*-*-*-*-140-*-*-*-*-iso8859-* XEmacs*dialog*Background: SeaGreen XEmacs*dialog*foreground: white XEmacs*XlwMenu.Background: SeaGreen XEmacs*XlwMenu.Foreground: white (this file exists at least in a debian system and I have always kept it) I can check that these resources have been effectively loaded by inserting a line xrdb -q in the file /etc/X11/Xsession.d/30x11-common_xresources, then I can see the list of my resources in the file ~/.xsession-errors. However, after kde4 has started, "xrdb -q" shows that all these resources has gone and kde4 has loaded its own other resources (via one of the applications launched by startkde ---- I can see which, this script is too complex for me to understand) It should be note that - before, kde3 allows me to set the resources (xemacs resources) via /etc/X11/Xresources/ and /etc/X11/Xsession.d/30x11-common_xresources. - After kde4 has started, I can fire xrdb -merge /etc/X11/Xsession.d/30x11-common_xresources from a terminal window to get my X resources loaded (and merged with existing X resources). But this is inconvenient as it requires opening a terminal window and typing a command manually. Note that xrdb without the option -merge would load new resources and wipe out the existing ones, which is probably what happens in kde4 - However, if in the configuration panel, the menu "look and feel/fonts", I set the "force the PPP of fonts" item to 120 ppp (for ex.) instead of letting it deactivated, then kde4 will set the resources Xft.dpi: 120 and _preserve my previous resources_. (this can again be seen by firing "xrdb -q") The problem lies essentially in the difference between calling xrdb -merge and xrdb (or xrdb -load), but the call to xrdb may be buried deep inside some initializing process for kde4 !!! Hope this helps -- PHAM Dinh-Tuan Antoine | e-mail: dinh-tuan.p...@imag.fr Laboratoire Jean Kuntzmann | Tel: +33 4 76 51 44 23 BP 53, 38041 Grenoble Cedex 9 (France) | Fax: +33 4 76 63 12 63 ----------------------------------------------------------------------- -- kde4 trashes X resources https://bugs.launchpad.net/bugs/483627 You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to kdebase in ubuntu. -- kubuntu-bugs mailing list kubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs