MythTV edits

I run MythTV 0.23 on my openSuSe 11.2 server. I use this box to serve my
website lotusconnections.org but also as my home-cinema set to watch movies.

Because everything is not pre-configured it takes a lot of time to smooth the
whole system to your needs. From time to time you come up with additions
that make it all work even better.

I use fluxbox as the window manager which always has a toolbar in the bottom
center of the screen, you can enable auto-hide for this thing. But you will
always see of few pixels. And this can be anyoning if your are wathing a movie
with MythMovie and your are still looking a little blue bare a the bottom of the screen.
( MPlayer doesn’t have this problem is just overtakes the whole screen, but you
want MythMovie to wath DVD’s because it support DVD menus. )

To get rid of this toolbar I decided to compile it again with the parameters –disable-toolbar
and –disable-slit since I couldn’t find out how else I had to disable the bottom screen toolbar.

I was somewhat confused what was the slit and what the toolbar so I took the hard way
and compiled fluxbox agein with these two options.

Later on I found out that there seems to be an option you can use to disable the
toolbar with a option in the init file. ( Didn’t try this one out )

session.screen0.toolbar.visible:        false

Configured a image flubox with fbsetbg ( just a wrapper ) it uses feh as the program

install@hertogjan:~> /opt/fluxbox/bin/fbsetbg -i

feh is a nice wallpapersetter. You won’t have any problems.

Also configured an custom background for GDM. GDM stands for GNOME Display manager,
it’s a graphical login program. In previous releases of GDM there were GUI’s for configuring
custom things like your own background image, but since they started rewritten code
some of the functionality has been dropped. ( don’t pin me down on this, but it’s what I have
read here and there on the internet ).

To get my own background image working I had to install this RPM package

gconf2-branding-openSUSE-2.28-4.4.noarch.

After this RPM install, you can edit the background tag in this XML file

/etc/gconf/gconf.xml.vendor/%gconf-tree.xml

I configured this one as my GDM background

Further more I wanted to get rid of the mouse cursor when MythTV was loading
once X was started up. In Xorg you can’t disable the mouse cursor it will be always there.

I found some hack so that you can configure a mouse cursor which is so small you won’t
be able to see it.

This shows how it can be done, create a file with the following content.

#define nn1_width 16
#define nn1_height 16
static unsigned char nn1_bits[] {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};

In the /home/mythtv/.fluxbox/init file of the user which is running MythTV
configure the rootCommand as follows.

session.screen0.rootCommand:   xsetroot -cursor /home/mythtv/emptycursor /home/mythtv/emptycursor

I still don’t get why I can’t put this option in the startup file just as the other
commands but I found this is the only combination that gets it working.

Further check my startup file of the mythtv user below with some more adjustments I made.

/home/mythtv/.fluxbox/startup

xset -b                           # disable the bell
xset -dpms s off              # disable the -dpms option disables DPMS (Energy Star) features and the screensaver.
xsetroot -solid black        #Background of the root window to black
xsetroot -bg black           #Background color to black
xvattr -a XV_COLORKEY -v 66048        # NVIDIA fix blue bars
#xsetroot -cursor /home/mythtv/emptycursor /home/mythtv/emptycursor
/opt/fluxbox/bin/fbsetbg -c /home/mythtv/mythtvbackground.png   #set a custom wallpaper

This entry was posted in linux and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

Please leave these two fields as-is:

Protected by Invisible Defender. Showed 403 to 807,320 bad guys.