LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 11-10-2004, 04:43 PM   #1
ivonne
LQ Newbie
 
Registered: Nov 2004
Location: Mexico City
Distribution: job
Posts: 8

Rep: Reputation: 0
Exclamation How to start an application when the fedora start


I have one project in QT Designer with extension .PRO, How to start this application when linux start with a administration session, I used GENOME, I like to know, how to do this??

Please I need an example code that how I can do.....

Help me please!!!
 
Old 11-10-2004, 04:44 PM   #2
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Rep: Reputation: 32
It's GNOME, Preferences -> Sessions

HTH,

Samsara
 
Old 11-10-2004, 04:50 PM   #3
ivonne
LQ Newbie
 
Registered: Nov 2004
Location: Mexico City
Distribution: job
Posts: 8

Original Poster
Rep: Reputation: 0
I wasn't clear, I want to initiate my application of extension .pro when linux start, how to do the autostart of my application
 
Old 11-10-2004, 04:56 PM   #4
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Rep: Reputation: 32
Do you want the file to open in QTDesigner? Should be something like "qtdesigner file.pro" - you can put that in the sessions preferences, too. It's probably all in the command line switches of qtdesigner - try man qtdesigner (I don't use it, so I can't even tell you if the man file exists).

HTH,

Samsara
 
Old 11-10-2004, 05:07 PM   #5
ivonne
LQ Newbie
 
Registered: Nov 2004
Location: Mexico City
Distribution: job
Posts: 8

Original Poster
Rep: Reputation: 0
I want to start my application because is a system but I don't know how autostart my application for linux start appears my application?
 
Old 11-10-2004, 05:12 PM   #6
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Rep: Reputation: 32
I wish I could understand exactly what you're trying to do, but you may find the answer here:

http://doc.trolltech.com/3.3/index.html

Samsara
 
Old 11-10-2004, 06:13 PM   #7
ivonne
LQ Newbie
 
Registered: Nov 2004
Location: Mexico City
Distribution: job
Posts: 8

Original Poster
Rep: Reputation: 0
It dosn't have the answer in this direction, please help me, explain me step by step!!!
 
Old 11-11-2004, 04:23 PM   #8
st3reo
Member
 
Registered: Nov 2004
Location: East Side
Distribution: Red Hat
Posts: 49

Rep: Reputation: 15
From what I understand he wants to know how to add something to startup at system boot.

--> /etc/rc.d/rc.local
 
Old 11-12-2004, 01:06 PM   #9
ivonne
LQ Newbie
 
Registered: Nov 2004
Location: Mexico City
Distribution: job
Posts: 8

Original Poster
Rep: Reputation: 0
I don't know how to add something to startup at system boot.

--> /etc/rc.d/rc.local

Please, can you help me, give me an example code.
 
Old 11-12-2004, 01:40 PM   #10
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
You have to edit the file /etc/rc.d/rc.local and add a single line to the end of the file which starts the program. You need to be root to do this. If the program name is "/usr/bin/coolProgram", then you would add a line that says "/usr/bin/coolProgram" or you can usually just put "coolProgram".

If the program you want to start has a Graphical User Interface then you probably can't start it using the rc.local file. The program will fail because when the rc.local script is run the gui is not running. If you are using fedora and the gui is running it will end and restart before you log in. The way to start a program that uses a gui is described by Samsara. Have you tried it that way? Go to the applications menu, go to Preferences and then Sessions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
after dhclient... , I can't start any application laurentwahl Linux - Networking 15 04-21-2006 11:25 PM
How to start an application when the fedora start ivonne Fedora 0 11-16-2004 12:16 PM
auto start application acrors Fedora 10 10-11-2004 11:22 AM
add new application on start-up? vickr1z Linux - Newbie 8 09-16-2004 11:35 PM
how to a start another application from my c++ program? gajaykrishnan Programming 4 07-25-2004 07:55 AM


All times are GMT -5. The time now is 12:59 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration