LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 09: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, 10: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, 10: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, 10: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, 12:09 PM   #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, 12:25 PM   #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, 12:45 PM   #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


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


All times are GMT -5. The time now is 04:28 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration