Results 1 to 10 of 20
I edit my .xinitrc (which is in my home dir) to start some applications like xmms.
But it does not work. I read all the manuals about xinitrc and xinit, ...
- 06-22-2004 #1Linux Newbie
- Join Date
- Mar 2003
- Location
- Istanbul/Türkiye
- Posts
- 246
.xinitrc, applications do not start
I edit my .xinitrc (which is in my home dir) to start some applications like xmms.
But it does not work. I read all the manuals about xinitrc and xinit, it seems so simple.
I just add xmms (or execute xmms) but both dont work.
Where is the porblem, what i missed?
I use Slack 9.1.Just a Newbie....Looking 4 Info....
- 06-22-2004 #2Linux Engineer
- Join Date
- Jul 2003
- Location
- Farnborough, UK
- Posts
- 1,305
If X is started from a graphical login screen then chances are that .xsession will be your startup file.
.xinitrc is used when you manually start Xusing summat like startx.
So have a nose for .xsession and edit that.
- 06-22-2004 #3Linux Newbie
- Join Date
- Mar 2003
- Location
- Istanbul/Türkiye
- Posts
- 246
Hmm.i ll try this. Thx for your immediate answer.
Just a Newbie....Looking 4 Info....
- 06-23-2004 #4Linux Newbie
- Join Date
- Mar 2003
- Location
- Istanbul/Türkiye
- Posts
- 246
Ooops it did not work. I created an .xsession file in my home dir and edit it but it didint not work. Then i read /etc/X11/xdm/Xsession file. It says generally (for Slackware i think) .xsession file is not used. Instead users use .xprofile file. So i edit the .xprofile (first i created it). It works but now kde or any GUI didnt start. SO i copy /etc/X11/xdm/Xsession file to my home dir and rename it as .xprofile
and edit it. Now if i add
exec xmms after startkde (this means at the end of the file) xmms does not start. But if i add it before startkde, xmss start but now kde does not. So i junked.... Any suggestion. The only thing i want is start xmms or any application automatically when kde starts.
Note: i use gdm .. and KDE for desktop manager.Just a Newbie....Looking 4 Info....
- 06-23-2004 #5Linux Engineer
- Join Date
- Jul 2003
- Location
- Farnborough, UK
- Posts
- 1,305
I think you should bung an & after the app otherwise the process halts until xmms finishes.
xmms &
- 06-23-2004 #6Linux Engineer
- Join Date
- Jul 2003
- Location
- Farnborough, UK
- Posts
- 1,305
Are you sure putting xmms & in .xinitrc doesn't work?
- 06-23-2004 #7Linux Newbie
- Join Date
- Mar 2003
- Location
- Istanbul/Türkiye
- Posts
- 246
i havnt tried it.
i ll try at home...
thx for reply
i just added
xmms not
xmms &Just a Newbie....Looking 4 Info....
- 06-25-2004 #8Linux Newbie
- Join Date
- Mar 2003
- Location
- Istanbul/Türkiye
- Posts
- 246
I tried everything, nothing worked.
i wonder nobody can do this succesfuly before or i am the first one?Just a Newbie....Looking 4 Info....
- 06-25-2004 #9Linux Engineer
- Join Date
- Jul 2003
- Location
- Farnborough, UK
- Posts
- 1,305
Can you post your .xinitrc?
- 06-29-2004 #10Linux Newbie
- Join Date
- Mar 2003
- Location
- Istanbul/Türkiye
- Posts
- 246
I've solved my problem. I made a mistake before.
Just add the
xmms &
part to the .xprofile file and now everything is OK.
Thx for help Chris HJust a Newbie....Looking 4 Info....


Reply With Quote