Re: TV Tricks

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
To: plug-discuss
Subject: Re: TV Tricks
On Tue, 2004-03-16 at 23:45, Kevin Brown wrote:

> > Why won't it automatically log in as user mythtv without entering a
> > password?
>
> Hmm, Could be a possibility of which X login app is running (XDM, KDM or GDM).
>

---
indeed the problem
added DISPLAYMANAGER="KDE" to /etc/sysconfig/desktop fixed that
---
> > 4 Autostart mythfrontend
> > - do I change /home/mythtv/.Xclients-default
> > - from exec startkde
> > - to exec startkde mythfrontend
>
> I don't think the exec option works that way. Try either two exec lines, e.g.
>
> exec startkde
> exec mythfrontend
>
> or the better way is to get KDE itself to autostart it (like from a saved session)
>
> > is there a better way to automatically launch a startup application in
> > KDE?
>
> KDE (and other WMs) have a way of saving the state of the windows you had open.
> While this won't restore your desktop to exactly what you had (since it can't
> actually save the state of each app) it at least gets them back up (e.g. all
> those terminal windows, browser windows, etc...).
>

---
I'm a little uncomfortable with this but it is working. Saved settings
have a way for stupid users (like me) to forget these things, close the
app before logging off. I think Joe Toon is onto something with the
'Autostart' but I didn't see where KDE created such a beast or where it
actually goes. I'll have to get back to that later when I have more
time.
---
> > Lastly - this is all about my lack of understanding of XFree86...If I
> > have in my 'screen' section of XF86Config...
> >
> > Modes "800x600" "640x480"
> >
> > even if I switch to 640x480 using the control-shift-nkpd+ or - then the
> > screen switches properly to 640x480 but on a 800x600 desktop which means
> > that it will scroll and not at all suitable for a TV. There isn't any
> > 'modelines' in my 'Monitor' section so the only way I've been able to
> > ensure no scrolling is to have only the "640x480" line in the Modes
> > section which is too painful to even consider checking my email. Is
> > there any other options?
>
> Sounds like when it switches to 640x480 it sets up a virtual size of 800x600
> which is why you have to scroll.

---
yep
---
>
> From looking at the docs for XFree86 it appears that you can't alter this behavior:
>
> <quote>
> Virtual xdim ydim
>      This optional entry specifies the virtual screen resolution to be used. 
> xdim must be a multiple of either 8 or 16 for most drivers, and a multiple of 32 
> when running in monochrome mode. The given value will be rounded down if this is 
> not the case. Video modes which are too large for the specified virtual size 
> will be rejected. If this entry is not present, the virtual screen resolution 
> will be set to accommodate all the valid video modes given in the Modes entry. 
> Some drivers/hardware combinations do not support virtual screens. Refer to the 
> appropriate driver-specific documentation for details.
> </quote>

>
> My suggestion is to use two different configs for X. One for the mythtv user
> and one as a different regular user, though I don't know how to set this up.
> Maybe not use runlevel 5 and instead log into the system as the myth user in
> runlevel 3 and have its .bashrc or .bash_profile start X on login and possibly
> logout on logging out of X. Do the same as your normal user and you can just
> ctrl-alt-Fx (7 or 8 maybe) to bounce between the two X displays....
>
> XFree86 uses a configuration file called XF86Config for its initial setup. This
> configuration file is searched for in the following places when the server is
> started as a normal user:

---
this is a bummer - I was just kind of thinking that I have computer
here...I could check email - but not at the point of swapping
XF86Config, killing and restarting X.

Thanks Kevin & Joe

Craig

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss