[mythtv-users] Re: autostarting mythfrontend under GNOME?

Bryan Halter bhalter at armyofpenguins.com
Tue Mar 8 21:34:10 UTC 2005


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 <tsturgil at ircc.net> 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 at 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
bhalter at armyofpenguins.com
PGP 0x55AB8EA4

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20050308/4f0d32b2/signature.pgp


More information about the mythtv-users mailing list