LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-03-2004, 08:23 AM   #1
hylke
Member
 
Registered: Apr 2004
Location: the Netherlands
Distribution: Ubuntu 7.04
Posts: 329

Rep: Reputation: 30
Start program


Hello
How can i start a program after i logged using my username?
I searched the net, but i only could find things about starting at boot.
So can somebody tell me howto do it?
Thanx Hylke
 
Old 08-03-2004, 09:02 AM   #2
Marius2
Member
 
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 276

Rep: Reputation: 31
Just type in the name of the program at the console prompt. If you want to start, say, kate, you'd type kate and press return (although you'll probably find it more comfortable to start it from KDE start menu).
 
Old 08-03-2004, 09:07 AM   #3
hylke
Member
 
Registered: Apr 2004
Location: the Netherlands
Distribution: Ubuntu 7.04
Posts: 329

Original Poster
Rep: Reputation: 30
Sorry that i whas unclear, but what i meant is:
Automaticly start an program after i logged in on x(in my case kAlarm).
 
Old 08-03-2004, 09:21 AM   #4
Marius2
Member
 
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 276

Rep: Reputation: 31
In your home directory, there should be a directory .kde/Autostart/. Place
a shell script which starts the desired process in there.

P/S Didn't know this one by heart, but it's been answered here before.
I used the search engine ("KDE autostart") to come up with the answer.

HTH
 
Old 08-03-2004, 11:09 AM   #5
rsrsharma
LQ Newbie
 
Registered: Jul 2004
Distribution: Debian 3.1 (Sarge)
Posts: 15

Rep: Reputation: 0
If you are using debian, you could also configure a startup script to run those programs. (Although I'm not sure if it gets executed before or after X loads).

In (almost) all Linux flavors except Debian, there is a file called ~/.xsession which is executed every time you log in. On Debian, that file is called ~/.xinitrc .
 
Old 08-03-2004, 11:25 AM   #6
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
As an example a common way to start an app in KDE:

ln -s /usr/bin/kspread /home/your_username/.kde/Autostart

Just replace for yours etc.
 
Old 08-03-2004, 11:45 AM   #7
hylke
Member
 
Registered: Apr 2004
Location: the Netherlands
Distribution: Ubuntu 7.04
Posts: 329

Original Poster
Rep: Reputation: 30
Ok
Thanks you all.
Hylke
 
  


Reply



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
How do I automatically start a program at start up? victordh Linux - General 7 10-27-2013 06:02 AM
how to a start another application from my c++ program? gajaykrishnan Programming 4 07-25-2004 07:55 AM
Can I start a program without X, then start X and use that program? marenkiapina Linux - General 1 05-20-2004 05:07 AM
Program will not start godders48 Linux - Software 4 10-05-2003 05:10 AM
start program killi Slackware 8 05-22-2003 04:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:52 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration