I changed my display manager from gdm to kdm to have more functionality for KDE and I noticed that OpenOffice is no longer able to accept vowels with accents (
I changed my display manager from gdm to kdm to have more functionality for KDE and I noticed that OpenOffice is no longer able to accept vowels with accents (á,ó,é,...). I was a little confused about it and found out that kdm uses a diffrent Xsession file wich does not set the "LANG" environment variable as gdm does. Setting LANG to an appropriate value solved the problem. For now you have at least 3 diffrent Xsession-files in gentoo: /etc/X11/xdm/Xsession /etc/X11/gdm/Xsession /usr/kde/3.2/share/config/kdm/Xsession Please try to develop a single, system wide script for all possible display managers to have the same environment set with each display manager. Especially the LANG-variable should be set! Starting the ssh-agent would also be a good thing for the Xsession script. A next step afterwards may be to develop a centralized structure for menu-entries, so all desktop environments can show the same links in their startup menu... Reproducible: Always Steps to Reproduce: 1. Read my details ... 2. 3.
There is an attempt for having a common way to generate startup menu on freedesktop.org. Do you think that'd help? http://www.freedesktop.org/Standards/desktop-entry-spec
Think you should see this.
I'll be glad to help work out a single common set of DM configfiles. This isn't just about Xsession: alpha xdm # ls X* Xaccess Xresources Xservers Xsession Xsetup_0 Xwilling alpha kdm # ls X* Xaccess Xreset Xservers Xsession Xsetup Xstartup Xwilling I don't have gdm handy, but I imagine it has copies of these things as well. Then there are other DMs like entrance; I don't know what those use. Finally, xstart etc. also use some of these I think. To begin with we should decide on a common location for them all. BTW, does any other distro have something nice that's known to work with all DMs? I don't want to just start trying to merge all features in all versions of the above files...
This kinda got stuck... Reviewing my available free time, I should say I'll be glad to do the KDM part if someone else first figures out how it should all hang together :-)
There are some interesting ideas in bug 26326.
For starting common stuff, recent versions of gdm AND kdm implement a feature that sources ~/.xprofile While not that well known, this seems to be the best solution as it also works independent of the chosen session.
Something else to keep in mind is that Xorg-7 splits some of these files into two separate locations, XDM's stuff for instance has Xaccess, Xresources, Xservers, and xdm-config in /etc but the rest are now in /usr/lib/X11/xdm/ (including Xsession).. For reference, GDM just has Xsession and its .conf file(s), and then a bunch of directories: Init, PreSession, PostSession, PostLogin, etc.. It doesnt follow the same format as xdm/kdm..
Basically the same as bug 26326... *** This bug has been marked as a duplicate of bug 26326 ***