Re: Autostart a script in terminal window?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alexander,

Thanks a lot for the tip.. using gnome-session-properties is exactly what I've been looking for, but what nobody else has mentioned. I was able to get things working perfectly now using that, and firing them off in a gnome-terminal using the -x option.

Thanks again!

Brandon

-----Original Message-----
From: Alexander Dalloz <alexander dalloz uni-bielefeld de>
To: For users of Fedora Core releases <fedora-list redhat com>
Subject: Re: Autostart a script in terminal window?
Date: Thu, 19 Aug 2004 20:50:40 +0200

Am Do, den 19.08.2004 schrieb Brandon Laing um 20:29:

> I'm hoping someone can help me with something. I'm running FC2 currently, and have set up a few shortcuts
> on the desktop that point to a shell script. This shell script in turn starts a python script. Naturally then, I have
> these shortcuts set up to run in a terminal window so I can watch the results and see what happens. 

shortcut -> shell script -> python script?

For what do you need the shortcut? From following paragraph I understand
you want an autostart rather than a manual start using a shortcut

Why not directly executing the python script but to call it from a
wrapper script?

> So, what I'm looking to try and do is get these to start automatically after Gnome finishes loading. I need them
> to come up in a terminal window (or xterm) to be able to see what's going on, and to kill it if need be. It's easy
> enough to start them each on their own, but if the machine goes down ever when nobody is around, I need
> some of these to start up on their own.

Running gnome-session-properties you can configure autostart of
applications/scripts in Gnome. Create a script that calls
"gnome-terminal -e" or "gnome-terminal -x" (see gnome-terminal --help)
with your python script, so the terminal will start and output is
printed in it. Let that call in gnome session.

Alexander
 

-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.7-1.494.2.2smp 
Serendipity 20:44:58 up 15 days, 14:12, load average: 0.48, 0.30, 0.26 




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux