Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
A question about gdm[solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
zfmiles
n00b
n00b


Joined: 28 Apr 2004
Posts: 13

PostPosted: Thu Aug 26, 2004 11:15 am    Post subject: A question about gdm[solved] Reply with quote

My current .xinitrc file looks like this:
Code:
LANG='zh_CN' scim -f socket -ns socket -d
LANG='zh_CN' scim -f x11 -s socket -c socket -d
exec gnome-session

Originally, I use the command
Code:
startx
to start my X(gnome). Now I want to switch to gdm. It's easy to start gnome using gdm. But how to start LANG=.... these command using gdm? thanks

Last edited by zfmiles on Thu Aug 26, 2004 1:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
hw-tph
l33t
l33t


Joined: 08 Jan 2004
Posts: 768
Location: Uppsala, Sweden

PostPosted: Thu Aug 26, 2004 11:30 am    Post subject: Reply with quote

ln -s .xinitrc .xsession and then simply choose "Custom session" in GDM.


Håkan
Back to top
View user's profile Send private message
zfmiles
n00b
n00b


Joined: 28 Apr 2004
Posts: 13

PostPosted: Thu Aug 26, 2004 1:54 pm    Post subject: Reply with quote

Thank you very much. I solve it. :D :D :D :D
by the way: you can create a .xsession file in your home dir and add execution right for currenty(It's very important). then choose the custom session. Everything works
Back to top
View user's profile Send private message
cbr
Apprentice
Apprentice


Joined: 05 Jan 2004
Posts: 285
Location: Tallinn/Rakvere, Estonia

PostPosted: Thu Aug 26, 2004 4:11 pm    Post subject: Reply with quote

hw-tph wrote:
ln -s .xinitrc .xsession and then simply choose "Custom session" in GDM.


Håkan

BTW, i did not know that. Thatswhy i stopped using GDM some time ago because i couldnt get it to read my .xinitrc. Sweet.. now i can use GDM again. Thanks!
Back to top
View user's profile Send private message
Solution_9
Guru
Guru


Joined: 22 Jun 2003
Posts: 311

PostPosted: Sun Oct 24, 2004 7:40 pm    Post subject: Reply with quote

very, very good information.. thanks!!!
_________________
"The X server has to be the biggest program I've ever seen that doesn't do anything for you."
- Ken Thompson
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum