1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Linux Execute program at boot time with Gentoo

Discussion in 'Software' started by simon w, 30 Apr 2004.

  1. simon w

    simon w What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,302
    Likes Received:
    0
    I've just emerged (you gotta love that program :rock: ) a program called numlockx. How would configure Gentoo to execute this program at boot time?
     
  2. jcm44

    jcm44 What's a Dremel?

    Joined:
    4 Feb 2002
    Posts:
    63
    Likes Received:
    0
    Read the Gentoo FAQ it will answer your question perfectly.

    BTW - The FAQ under Docs
     
  3. Uncle Psychosis

    Uncle Psychosis Classically Trained

    Joined:
    27 Jul 2003
    Posts:
    1,694
    Likes Received:
    9
    There are lots of different ways of doing it. You could add the line

    to your .xsession, or you could add it to the default runlevel (Which isn't the way I would do it). I would check out the Gentoo FAQ and also the forums on gentoo.org, which are damned good :D

    Sam
     
  4. simon w

    simon w What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,302
    Likes Received:
    0
    Sorry, sorted this a while ago. Adding numlock to rcupdate, both as default and boot, half worked. Num lock was on at run level 3, and was also turned on when I ran startx, but then it turned itself off whilst loading X/xfce...

    I found that placing a shortcut to numlockx in /home/simon/desktop/autostart (?) worked :thumb:
     
  5. Uncle Psychosis

    Uncle Psychosis Classically Trained

    Joined:
    27 Jul 2003
    Posts:
    1,694
    Likes Received:
    9

    Ahh, sounds like you have a WM that makes it nice and easy for you. I'm guessing you're using KDE or Gnome? I'm more of a fluxbox man myself!

    Sam
     
  6. simon w

    simon w What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,302
    Likes Received:
    0
    Nopers, I'm using xfce :clap: I prefer it to kde & gnome
     
    Last edited: 6 May 2004
  7. RTT

    RTT #parp

    Joined:
    12 Mar 2001
    Posts:
    14,120
    Likes Received:
    74
    I recently moved to XFCE from fluxbox and haven't gone back :D
     
  8. Uncle Psychosis

    Uncle Psychosis Classically Trained

    Joined:
    27 Jul 2003
    Posts:
    1,694
    Likes Received:
    9
    OOoh...I've been thinking about doing that. What did you have to do?

    emerge xfce, then change the xinitrc? Anything else? Or am I talking baws?

    Sam
     
  9. simon w

    simon w What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,302
    Likes Received:
    0
    I think I just emerged xfce and then set the XSESSION variable
     
  10. Uncle Psychosis

    Uncle Psychosis Classically Trained

    Joined:
    27 Jul 2003
    Posts:
    1,694
    Likes Received:
    9
    Ahh, ok. Well it seems to be working. I fiddled with my .xinitrc a bit too!

    Sam
     
  11. simon w

    simon w What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,302
    Likes Received:
    0
    *Simon goes off to learn what .xinitrc is all about*
     
Tags:

Share This Page