Results 1 to 5 of 5

Thread: Set startup program

Hybrid View

  1. #1
    Junior Member
    Join Date
    Nov 2007
    Posts
    3

    Set startup program

    Is there any way to set a program to start as soon as the computer boots up?
    This is a PC gutted and slashed to the bone that will sit in an attic and serve as a cheap network projector. It's actually starting to look quite implressiveI want TightReciever (a wine program) to start as soon as the computer turns on so we will only need a mouse and keyboard in emergencies.

    This thing is actually starting to look quite impressive... I'll post some pics as soon as it's done.

  2. #2
    Junior Member
    Join Date
    Nov 2007
    Posts
    5
    If you put it in ~/.kde/Autostart and have KDE starting on boot that will work. Create a one-line script

    #!/bin/bash
    wine /path/to/tightreciever # you can use the Unix or windows path I think


    If you're using a different desktop environment, it may have something corresponding. I presume you are using _a_ desktop environment, based on what TightReciever/TightProjector do.

  3. #3
    Junior Member
    Join Date
    Nov 2007
    Posts
    3
    I don't know much about writing scrips but it looks like # is for comments. What does #!/bin/bash mean?

  4. #4
    Senior Member registered user
    Join Date
    Apr 2005
    Location
    italy
    Posts
    245
    Quote Originally Posted by RedWagon
    I don't know much about writing scrips but it looks like # is for comments. What does #!/bin/bash mean?
    # is a comment
    #! also known as the 'sha-bang', at the head of a script tells your system that this file is a set of commands to be fed to the command interpreter indicated, being in this case 'bash' but could even be perl (#!/usr/bin/perl) ,tcl (#!/usr/bin/tcl) or something else.

  5. #5
    Junior Member
    Join Date
    Nov 2007
    Posts
    5
    Quote Originally Posted by maxIT
    Quote Originally Posted by RedWagon
    I don't know much about writing scrips but it looks like # is for comments. What does #!/bin/bash mean?
    # is a comment
    #! also known as the 'sha-bang', at the head of a script tells your system that this file is a set of commands to be fed to the command interpreter indicated, being in this case 'bash' but could even be perl (#!/usr/bin/perl) ,tcl (#!/usr/bin/tcl) or something else.
    Yes, # is for comments, EXCEPT in the case of the #!, which is as described.

    Also, I forgot to mention

    You need to do

    $ chmod ugo+rx your_script.sh

    to make it executable. (Note the .sh file extension is entirely optional, but useful)

Similar Threads

  1. How to run a program which needs an old GLIBC?
    By mami_hacky in forum General Support
    Replies: 0
    Last Post: 10-18-2006, 10:09 AM
  2. What to do when a program just won't quit.
    By apessos in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 02-13-2005, 07:44 AM
  3. Which MD5 Program?
    By Mustang64 in forum General Support
    Replies: 1
    Last Post: 06-26-2004, 09:36 PM
  4. What Program to Use?
    By Bothersome in forum General Support
    Replies: 7
    Last Post: 05-30-2004, 05:57 PM
  5. Getting a program started at startup??
    By bhavin in forum Customising & Remastering
    Replies: 3
    Last Post: 05-21-2004, 04:25 PM

Posting Permissions

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


SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT picture

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT

$7.99



Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter picture

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter

$27.50



Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module picture

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module

$699.99



Cisco QSFP-40G-SR-BD  Module  10-2945-02  NEW CLAMSHELL picture

Cisco QSFP-40G-SR-BD Module 10-2945-02 NEW CLAMSHELL

$45.50



Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver picture

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver

$5.40



Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA picture

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA

$28.94



SolarFlare XtremeScale X2522-25G-PLUS Dual Port 25G SFP28 PCI-E 3.1 x8 NIC FH LP picture

SolarFlare XtremeScale X2522-25G-PLUS Dual Port 25G SFP28 PCI-E 3.1 x8 NIC FH LP

$899.99



HP 560SFP+ 10GB 2-port  PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+ picture

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+

$16.99



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$24.00



Dell 10 Gigabit SFP+ SR Transceiver 0XYD50 NEW SEALED picture

Dell 10 Gigabit SFP+ SR Transceiver 0XYD50 NEW SEALED

$24.99