1846620 Members
1533 Online
110256 Solutions
New Discussion

Re: .xinitrc

 
John Ramsay_2
Regular Advisor

.xinitrc

Where is the file .xinitrc, .Xclients, .xsession?
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: .xinitrc

If they exist they should be in $HOME.


Pete

Pete
John Ramsay_2
Regular Advisor

Re: .xinitrc

I'm at the point in windowmaker install that wants .xinitrc, .Xclients, .xsession script updated so it calls wmaker when I start an Xsession. I would rather do it from a command prompt because I also run CDE and Gnome and have not decided on a window manager. I've been looking for info on this but so far no joy. I'm soooo new
Mark Grant
Honored Contributor

Re: .xinitrc

.xinitrc and .xsession are probably not both required at the same time. Personally my xinitrc is a link to .xsession and as mentioned above, they might be in your home directory but might not exist. If they do not exist, then you are using the system wide Xsession.

Otherwise it depends on which X you're using. The actual standard location for the system wide files is /usr/lib/X11R6/xdm however, in CDE these files are all over the place but generally speaking /usr/dt/config
Never preceed any demonstration with anything more predictive than "watch this"
John Ramsay_2
Regular Advisor

Re: .xinitrc

Looking at all the WindowMaker info everything points to moding the .xinitrc script (which I can't find). Unlike

CDE = xinit /usr/dt/bin/Xsession
Gnome= Xinit /etc/gnome/gdm/Sessions/Gnome

Has anyone installed Windowmaker and ran it from a root command line?
Mark Grant
Honored Contributor

Re: .xinitrc

John,

What it is saying when it says modify .xinitrc is you should modify the X startup file. The .xinitrc file is your own personal X startup file but I'm not entirely sure it works by default on CDE. If it doesn't exist then the system uses Xsession which is a global startup file.

On CDE, your own personal startup file is .dtprofile, you could try putting it in there but if the window manager had already started by the time .dtprofile is run, windowmaker will fail.

I think when you say you use Gnome that you are probably not using the Gnome window manager (enlightenment/sawmill/whatever it is now) because actually changing the window manager is a pain under CDE. However, if I am wrong and you are using the gnome window manager, then just find which file starts that and you will have the correct file to add "wmaker"

Never preceed any demonstration with anything more predictive than "watch this"
John Ramsay_2
Regular Advisor

Re: .xinitrc

Yes I'm using GNOME/sawmill and yes it was a pain. I gave you points for your help. I was able to start it with xinit /usr/local/bin/wmaker. it's funny how the simple things elude us.