Re: [mythtv-users] Re: autostarting mythfrontend under GNOME?
On Tue, Mar 08, 2005 at 09:38:59AM -0500, Thom Sturgill wrote: docs are on autostarting mythfrontend under KDE, any way to do that under GNOME, too? Under the GNOME main menu, Applications- Preferences- More Preferences- Sessions. Then, on the 'Startup Programs' tab, 'Add'. Put in mythfrontend as the command, and some sequence value (higher=later I think). 'OK' all of that, and you'll get it running at next GNOME login. -- [EMAIL PROTECTED] ~]# rm -f .signature [EMAIL PROTECTED] ~]# ls -l .signature ls: .signature: No such file or directory [EMAIL PROTECTED] ~]# exit ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
[mythtv-users] Re: autostarting mythfrontend under GNOME?
On Tue, Mar 08, 2005 at 03:40:32AM -0500, James Emmrich wrote: Could set it as a session setting. Go to applications Preferences more preferences sessions On the startup sessions tab type in mythfrontend And that should do ya! James Thanks! Axel Thimm wrote: Hi, docs are on autostarting mythfrontend under KDE, any way to do that under GNOME, too? Thanks. -- Axel.Thimm at ATrpms.net pgpacuV322Yjz.pgp Description: PGP signature ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] Re: autostarting mythfrontend under GNOME?
From the bash man page: When bash is invoked as an interactive login shell, or as a non-inter active shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable. The --noprofile option may be used when the shell is started to inhibit this behavior. When a login shell exits, bash reads and executes commands from the file ~/.bash_logout, if it exists. In other words, unless bash is executed with the specific -l or --login argument, these files are ONLY executed at login. -Thom, who's only been doing unix 20+ years On Tue, Mar 08, 2005 at 09:38:59AM -0500, Thom Sturgill wrote: docs are on autostarting mythfrontend under KDE, any way to do that under GNOME, too? What's wrong with calling it from .bash_profile ? Haven't tried it myself, but I would think it should work. Starts before all of Gnome is finished loading, but after your environment is set. Since mythfrontend does not run in a window anyway that should be ok and should work in any X environment. I really like mythfrontend, but not as much as to call a copy of it on each invocation of the bash :) -- Axel.Thimm at ATrpms.net -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://mythtv.org/pipermail/mythtv-users/attachments/20050308/26987e05/attachment-0001.pgp -- -- Indian River Community College Internet Services ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] Re: autostarting mythfrontend under GNOME?
Thom Sturgill [EMAIL PROTECTED] writes: On Tue, Mar 08, 2005 at 09:38:59AM -0500, Thom Sturgill wrote: docs are on autostarting mythfrontend under KDE, any way to do that under GNOME, too? What's wrong with calling it from .bash_profile ? I really like mythfrontend, but not as much as to call a copy of it on each invocation of the bash :) In other words, unless bash is executed with the specific -l or --login argument, these files are ONLY executed at login. Right: including login via ssh, for example! I doubt Alex wants one copy running for each login. He wants one for each X session. Completely different beast. I use .xsession. .xinitrc might work too. But I don't know about Gnome. Dan ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] Re: autostarting mythfrontend under GNOME?
Not to beat a dead horse too badly, but determining whether you are in an xterm is trivial. .bash_profile: if [ $TERM != xterm ] then ./startmyth fi then write a simple startmyth script (make sure its executable): #!/bin/bash sleep 10 # let gnome finish startup /usr/bin/mythfrontend Of course adding it to .xsession works equally, but more people are adept at scripts than configuring X. - Thom Thom Sturgill [EMAIL PROTECTED] writes: On Tue, Mar 08, 2005 at 09:38:59AM -0500, Thom Sturgill wrote: docs are on autostarting mythfrontend under KDE, any way to do that under GNOME, too? What's wrong with calling it from .bash_profile ? I really like mythfrontend, but not as much as to call a copy of it on each invocation of the bash :) In other words, unless bash is executed with the specific -l or --login argument, these files are ONLY executed at login. Right: including login via ssh, for example! I doubt Alex wants one copy running for each login. He wants one for each X session. Completely different beast. I use .xsession. .xinitrc might work too. But I don't know about Gnome. Dan -- ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] Re: autostarting mythfrontend under GNOME?
Thom Sturgill wrote: Not to beat a dead horse too badly, but determining whether you are in an xterm is trivial. .bash_profile: if [ $TERM != xterm ] then ./startmyth fi then write a simple startmyth script (make sure its executable): #!/bin/bash sleep 10 # let gnome finish startup /usr/bin/mythfrontend Of course adding it to .xsession works equally, but more people are adept at scripts than configuring X. - Thom Thom Sturgill [EMAIL PROTECTED] writes: On Tue, Mar 08, 2005 at 09:38:59AM -0500, Thom Sturgill wrote: docs are on autostarting mythfrontend under KDE, any way to do that under GNOME, too? What's wrong with calling it from .bash_profile ? I really like mythfrontend, but not as much as to call a copy of it on each invocation of the bash :) In other words, unless bash is executed with the specific -l or --login argument, these files are ONLY executed at login. Right: including login via ssh, for example! I doubt Alex wants one copy running for each login. He wants one for each X session. Completely different beast. I use .xsession. .xinitrc might work too. But I don't know about Gnome. Dan -- ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users My question (I'm actually curious) is why Gnome? Why not use something lightweight like Ratpoison and just at exec mythfrontend to the .xinitc. Gnome is awfully heavy just to run mythfrontend. -- Bryan Halter [EMAIL PROTECTED] PGP 0x55AB8EA4 signature.asc Description: OpenPGP digital signature ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] Re: autostarting mythfrontend under GNOME?
or you could always go for the more lightweight but still using gtk2 xfce4.2 On Tue, 08 Mar 2005 16:34:10 -0500, Bryan Halter [EMAIL PROTECTED] wrote: Thom Sturgill wrote: Not to beat a dead horse too badly, but determining whether you are in an xterm is trivial. .bash_profile: if [ $TERM != xterm ] then ./startmyth fi then write a simple startmyth script (make sure its executable): #!/bin/bash sleep 10 # let gnome finish startup /usr/bin/mythfrontend Of course adding it to .xsession works equally, but more people are adept at scripts than configuring X. - Thom Thom Sturgill [EMAIL PROTECTED] writes: On Tue, Mar 08, 2005 at 09:38:59AM -0500, Thom Sturgill wrote: docs are on autostarting mythfrontend under KDE, any way to do that under GNOME, too? What's wrong with calling it from .bash_profile ? I really like mythfrontend, but not as much as to call a copy of it on each invocation of the bash :) In other words, unless bash is executed with the specific -l or --login argument, these files are ONLY executed at login. Right: including login via ssh, for example! I doubt Alex wants one copy running for each login. He wants one for each X session. Completely different beast. I use .xsession. .xinitrc might work too. But I don't know about Gnome. Dan -- ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users My question (I'm actually curious) is why Gnome? Why not use something lightweight like Ratpoison and just at exec mythfrontend to the .xinitc. Gnome is awfully heavy just to run mythfrontend. -- Bryan Halter [EMAIL PROTECTED] PGP 0x55AB8EA4 ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users