Hello. It seems that Debian won't load $HOME/.profile when login within GDM.
I am not sure if this is a bug. But at least. The feature is very good. It has many advantages. eg. Some people might wish to set some env for the whole X session. (GTK_IM_MODULE or LC_CTYPE etc...) But currently, It's not easy to do this if we are login via GDM. I know, we now have .gnomerc and .xsession .gnomerc doesn't work with xfce4 session. and also, .xsession isn't good either. When people wish to change the session via GDM. It won't work. And we have to manually edit the .xsession file. So I think we should add a file in /etc/X11/Xsession.d which is used for loading dot-profile in user's home directory. Currently, It is just 2 lines. $ cat /etc/X11/Xsession.d/98load_user_profile USER_PROFILE="$HOME/.profile" [ -f $USER_PROFILE && -r $USER_PROFILE ] && source $USER_PROFILE Then, If user wish, he just need to add dot-profile, then He can reuse the configuration no matter which session the user choose via gdm or kdm. Why I posted here is because I hope this feature can be added into x11-common package. So that others don't need to copy & paste the code every time. Thanks for reading, Yiyi Hu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

