Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I would like to run a .sh file as a daemon when I login to my kde/gnome. Please tell me the steps to do it. Thanks....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2005
    Posts
    39

    Running .sh file as daemon.


    Hi,

    I would like to run a .sh file as a daemon when I login to my kde/gnome.
    Please tell me the steps to do it.

    Thanks.

  2. #2
    Linux Engineer LondoJowo's Avatar
    Join Date
    May 2005
    Location
    Richmond, TX
    Posts
    804
    I'm not sure about Gnome but for KDE I needed a script to run at start up to utilize all the buttons on my mouse. The solution was to place the mouse_button.sh in my /home/user/.kde/Autostart folder. I hope this helps.
    Dell Precision T7400 Workstation
    Dual 3.33Ghz Xeon "Harpertown" Core
    16GB PC5300 DDR2 ECC CL5
    BFG GeForce GTX 285 OC 2GB
    X-Fi Platinum
    HP w2408 24" Monitor
    Dual Boot:openSUSE 11.2/Win 7 Ultimate

  3. #3
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    If you want the script to start when X starts (so this will wark on whichever DE/WM you use), put the cammand to run the script in your ~/.xinit.rc
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  4. $spacer_open
    $spacer_close
  5. #4
    scm
    scm is offline
    Linux Engineer
    Join Date
    Feb 2005
    Posts
    1,044
    And don't forget the & after it to make it run in the background!

Posting Permissions

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