View previous topic :: View next topic |
Author |
Message |
Stormy Eyes Veteran
Joined: 09 Apr 2003 Posts: 1064 Location: Watching God spit-shine my boots.
|
Posted: Thu Sep 16, 2004 3:33 pm Post subject: [SOLVED] I want GDM to use ~/.xsession |
|
|
Now that I've installed xorg-x11 6.8.0 and have composite and xcompmgr working, my fiancee and I have modified our ~/.xsession files to start xcompmgr in the background before running Openbox. This works fine with XDM, but XDM is ugly and hurts my lady's eyes. We find GDM easier to look at, but I've read the GDM manual, poked around the config files, and googled, but I haven't seen anything about making GDM honor users' ~/.xsession files. I'm tempted to create files in /usr/share/xsessions that call the ~/.xsession scripts, one for me and one for her, but that's a crude solution.
Last edited by Stormy Eyes on Fri Sep 17, 2004 12:41 pm; edited 1 time in total |
|
Back to top |
|
|
Stormy Eyes Veteran
Joined: 09 Apr 2003 Posts: 1064 Location: Watching God spit-shine my boots.
|
Posted: Thu Sep 16, 2004 5:54 pm Post subject: |
|
|
OK, screw it. I'll just put a script in /usr/local/bin that does what needs to be done and create a file in /usr/share/xsessions to call that script. The only differences between my session and my lady's is the wallpaper we favor, anyway. *shrug* |
|
Back to top |
|
|
hoarycripple n00b
Joined: 11 Mar 2003 Posts: 42
|
Posted: Thu Sep 16, 2004 5:59 pm Post subject: |
|
|
You can make gdm use your ~/.xsession files as follows:
edit ~/.xinitrc to contain your scrtipt, then make a symlink from ~/.xsession to ~/.xinitrc.
Then when you get to gdm, choose "sessions" and then choose "custom session" (or something like that). That will load your ~/.xsession
This is exactly what I do on all my computers.
HTH! |
|
Back to top |
|
|
Stormy Eyes Veteran
Joined: 09 Apr 2003 Posts: 1064 Location: Watching God spit-shine my boots.
|
Posted: Thu Sep 16, 2004 6:09 pm Post subject: |
|
|
hoarycripple wrote: | You can make gdm use your ~/.xsession files as follows:
edit ~/.xinitrc to contain your scrtipt, then make a symlink from ~/.xsession to ~/.xinitrc.
Then when you get to gdm, choose "sessions" and then choose "custom session" (or something like that). That will load your ~/.xsession
This is exactly what I do on all my computers.
HTH! |
Let me see if I've got this straight. I edit ~/.xinitrc and then symlink ~/.xsession to ~/.xinitrc? If I'm not misunderstanding you, wouldn't the creation of the symlink overwrite ~/.xinitrc? Or are you doing "ln -s ~/.xinitrc ~/.xsession"? |
|
Back to top |
|
|
hoarycripple n00b
Joined: 11 Mar 2003 Posts: 42
|
Posted: Thu Sep 16, 2004 6:13 pm Post subject: |
|
|
It doesn't overwrite xinitrc.
Code: |
ln -s ~/.xinitrc ~/.xsession
|
|
|
Back to top |
|
|
Stormy Eyes Veteran
Joined: 09 Apr 2003 Posts: 1064 Location: Watching God spit-shine my boots.
|
Posted: Thu Sep 16, 2004 6:15 pm Post subject: |
|
|
hoarycripple wrote: | It doesn't overwrite xinitrc.
Code: |
ln -s ~/.xinitrc ~/.xsession
|
|
OK. For a minute I thought you were telling me to do "ln -s ~/.xsession ~/.xinitrc", which would overwrite xinitrc. Thanks; I'll give this a try tonight after work. |
|
Back to top |
|
|
hoarycripple n00b
Joined: 11 Mar 2003 Posts: 42
|
Posted: Thu Sep 16, 2004 6:22 pm Post subject: |
|
|
Sure, let me know if it works for you. |
|
Back to top |
|
|
Stormy Eyes Veteran
Joined: 09 Apr 2003 Posts: 1064 Location: Watching God spit-shine my boots.
|
Posted: Fri Sep 17, 2004 12:42 pm Post subject: |
|
|
Hoarycripple, your method worked perfectly. Thanks! |
|
Back to top |
|
|
torklingberg Tux's lil' helper
Joined: 30 May 2004 Posts: 86
|
Posted: Sat Oct 23, 2004 12:26 pm Post subject: |
|
|
I tried this, but then it didn't start Gnome but twm or something.
How can such a simple thing as "autorun" be such a mess? |
|
Back to top |
|
|
Solution_9 Guru
Joined: 22 Jun 2003 Posts: 311
|
Posted: Sun Oct 24, 2004 11:43 pm Post subject: |
|
|
Ya i have exactly the same problem. All it does is startup TWM when i goto custom session. _________________ "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 |
|
|
|