[mythtv-users] MythtTV on Gentoo: resources?

Andrew C. (AFPup) Stadt acstadt at stadt.ca
Fri Mar 27 22:55:26 UTC 2015


On 24/03/2015 9:47 PM, James Miller wrote:
> On Tue, 24 Mar 2015, Rich Freeman wrote:
>
>> There are a couple of ways to get it running.  The ebuild offers
>> USE=autostart which will get this working with evilwm if you're
>> running openrc.
>>
>> I use systemd and just do this:
>> cat /etc/systemd/system/getty at tty1.service.d//autologin.conf:
>> [Service]
>> Type=simple
>> ExecStart=
>> ExecStart=-/sbin/agetty --autologin mythtv --noclear %I 38400 linux
>>
>> cat cat home/mythtv/.bash_profile:
>> case "`tty`" in
>>        *tty1) startx; logout ;;
>> esac
>
> I've been forced into using systemd under Arch, so I'm relishing the 
> opportunity to get back to a more sysvinit'ish init system under 
> Gentoo. I decided to go with
>
> # TERMINALS
> c1:12345:respawn:/sbin/agetty -a mythtv --noclear 38400 tty1 linux
> c2:2345:respawn:/sbin/agetty 38400 tty2 linux
> c3:2345:respawn:/sbin/agetty 38400 tty3 linux
> c4:2345:respawn:/sbin/agetty 38400 tty4 linux
> c5:2345:respawn:/sbin/agetty 38400 tty5 linux
> c6:2345:respawn:/sbin/agetty 38400 tty6 linux
>
> (as found at 
> https://wiki.gentoo.org/wiki/Automatic_login_to_virtual_console)
> and [[ $(tty) = "/dev/tty1" ]] && exec startx
> in .bash_profile as found at 
> https://wiki.gentoo.org/wiki/Start_X_on_login
>
>> cat home/mythtv/.xinitrc:
>> # .xinitrc
>> [ -x /usr/bin/nvidia-settings ] && /usr/bin/nvidia-settings -l
>> /usr/bin/xset s noblank
>> /usr/bin/xset s off
>> /usr/bin/xset -dpms
>> xrandr --output HDMI-0 --pos 0x0 --mode 1360x768
>> /usr/bin/evilwm &
>> # Configure arguments via /etc/conf.d/mythfrontend
>>
>> I lied - looks like I am using evilwm after all.  :)
>
> After reading "To put things in perspective, after accounting for 
> shared libraries that you need to load for other parts of X/MythTV, 
> the incremental cost of running FluxBox is less than 1MB of RAM. The 
> incremental cost of running RatPoison is only 300KB. If your system 
> needs that 1MB or less of RAM, that's not all the RAM it needs (so 
> you're better off getting more RAM than trying to run without a Window 
> Manager)" at 
> https://www.mythtv.org/wiki/Frequently_Asked_Questions#Do_I_really_need_a_window_manager_for_a_frontend_only_box.3F, 
> I decided to just go ahead and go with evilwm. My .xinitrc (still 
> untested as the system is STILL compiling) is:
>
> cat .xinitrc
> xsetroot -cursor_name top_left_arrow
> xsetroot -solid black &
> exec /usr/bin/evilwm -term xterm &
> mythfrontend > /home/mythtv/mythfrontend.log 2>&1
>
> Thanks, Rich.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
Been running Ratpoison for several years. As long as its just a frontend 
only box, no issues... trying to multitask with Ratpoison, better off 
using evilwm.

Andrew.


More information about the mythtv-users mailing list