Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
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, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux 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....

  2. #2
    Linux 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.
    Lansbury's Lido

    thekiadriver on #linuxforums - fleetingly

  3. #3
    Linux 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....

  4. #4
    Linux 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....

  5. #5
    Linux 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 &
    Lansbury's Lido

    thekiadriver on #linuxforums - fleetingly

  6. #6
    Linux Engineer
    Join Date
    Jul 2003
    Location
    Farnborough, UK
    Posts
    1,305
    Are you sure putting xmms & in .xinitrc doesn't work?
    Lansbury's Lido

    thekiadriver on #linuxforums - fleetingly

  7. #7
    Linux 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....

  8. #8
    Linux 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....

  9. #9
    Linux Engineer
    Join Date
    Jul 2003
    Location
    Farnborough, UK
    Posts
    1,305
    Can you post your .xinitrc?
    Lansbury's Lido

    thekiadriver on #linuxforums - fleetingly

  10. #10
    Linux 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 H
    Just a Newbie....Looking 4 Info....

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •