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 02-08-2004, 08:58 PM   #1
zael
LQ Newbie
 
Registered: Aug 2003
Posts: 26

Rep: Reputation: 15
AutoRun Program in XWindows


Is there a way to autorun a program once Xwindows starts?
 
Old 02-08-2004, 09:14 PM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
i don't think so, not in the global sense. i mean you can have programs autostart when logging into your account. like for KDE, just put a link inside ~/.kde/Autostart and in gnome there's Gnome's Foot button (like start button) > Programs > Settings > Sessions > Session Properties & Start up Programs.
 
Old 02-08-2004, 09:58 PM   #3
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
Yes, there is. That's your XINITRC file.

It's usually located in ~/.xinitrc or /etc/X11/xinit/xinitrc.

This file contains your Window Manager executable name, and it can also include any other X program. Be sure to include an & after the previous program, such as:
Code:
startkde &
kmail
 
Old 02-09-2004, 07:49 AM   #4
zael
LQ Newbie
 
Registered: Aug 2003
Posts: 26

Original Poster
Rep: Reputation: 15
Restart X Windows Program

If i have a program AutoStart once XWindows loads is there a way to have the program run again if it is killed?
 
  


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
HOWTO autorun a program on start up? kodaku Linux - Software 6 08-12-2004 10:40 PM
remotely using nedit (or any other xwindows program) allocate Linux - General 2 07-23-2004 06:55 PM
autorun application program on hotplug kevinatkins Linux - Software 0 02-08-2004 08:44 AM
Running a Java Program from XWindows kilobravo Linux - General 4 01-16-2003 03:36 PM
autorun a program in tty3 LynX Linux - Newbie 2 11-09-2002 05:07 AM


All times are GMT -5. The time now is 03:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration