Difference between revisions of "Mythbuntu"
(→extras) |
(→Customization) |
||
Line 30: | Line 30: | ||
* Applications, Settings, Screensaver | * Applications, Settings, Screensaver | ||
Change "Blank After" to 0 or any value you want. | Change "Blank After" to 0 or any value you want. | ||
+ | |||
+ | === Using VLC Player for playback === | ||
+ | Using [[VideoLAN Player]] for playback in MythTV (otherwise known as VLC Player) for all video files or certain video files. | ||
+ | |||
+ | The subject is covered in the Official MythTV Wiki ([http://www.mythtv.org/wiki/VLC MythTV VLC]). | ||
== Troubleshooting == | == Troubleshooting == |
Revision as of 21:54, 25 February 2014
Mythbuntu is a media center linux distribution which combines an operating system (ubuntu) with software (mythtv) to achieve a complete DVR and video library system. Mythbuntu is an official Ubuntu flavor focused upon setting up a standalone MythTV based PVR system. MythUbuntu is a custom Ubuntu distribution with a prebuilt MythTV install, and it is a Ubuntu that has been optimized for use with MythTV.
Ubuntu is a linux distribution that typically uses Gnome Windows Manager. MythUbuntu does not use Gnome. MythUbuntu uses Xfce as the Window Manager.
MythTV is a software that runs on Linux to virtually turn a Linux desktop system into a DVR. MythTV can run entirely on a single system, or utilize a front-end back-end configuration.
Contents
Typical Problems with MythUbuntu
- HDMI audio does not work by default
- pulseaudio server will not start
- smb/cifs not included by default
Customization
extras
Install vim editor
apt-get vim
Set VNC password
sudo x11vnc --storepasswd
To connect to windows shares you need cifs
apt-get install cifs-utils
Install Firefox, because Chromium doesn't support NoScript.
apt-get install firefox
disable screen blanking
After my computer with ubuntu 12.04 has been idle for a short while, the screen will go blank, and even enter standby mode. Drop out of MythTV frontend to Xfce and on the menu in the upper left:
- Applications, Settings, Screensaver
Change "Blank After" to 0 or any value you want.
Using VLC Player for playback
Using VideoLAN Player for playback in MythTV (otherwise known as VLC Player) for all video files or certain video files.
The subject is covered in the Official MythTV Wiki (MythTV VLC).
Troubleshooting
There's sound on line out, but not on HDMI
CORRECT IN MYTHTV SOFTWARE:
In MythTV this can be corrected easily. From the MythTV Frontend:
- Setup
- Audio
- Change "Audio output device" to "ALSA:dmix:CARD=PCH,DEV=3" (or whatever soundcard and device tag matches your system)
The default here was "PulseAudio:default". When there are problems with PulseAudio, which is common, it is better to specify your soundcard and output device specifically. For our example we had an Intel ACH audio board.
CORRECT IN X11:
If you go to console and type
aplay /usr/share/sounds/alsa/Front_Center.wav
and do not hear anything out of the TV via HDMI, but do hear if you connect speakers or headphones to the line-out jack, try this:
speaker-test -c 2 -r 48000 -D hw:0,3
Again, the test is on a system with Intel ACH audio and the HDMI puts it on hw:0,3 - yours could be on another like hw:0,7. Here is how to find out where yours is, type this:
aplay -l
Here we seen:
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
The card number and device number you need to know. Another test is to:
aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav
Substitute plughw:0,3 with the correct values for your card and HDMI based on the output of aplay -l
Now we need to edit the pulseaudio configuration file "/etc/pulse/default.pa" and uncomment, and edit a couple lines:
load-module module-alsa-sink load-module module-alsa-source device=hw:0,3
Set the "device=hw:0,3" to the appropriate values for your card that you discovered though testing above.
Now start or restart pulseaudio
killall pulseaudio start-pulseaudio-x11
If it starts, then Good! Now you need to open the PulseAudio Volume Control applet in Xfce
- Applications, MultiMedia, PulseAudio Volume Control
Now click the drop-down box named "Port" and choose "HDMI/DisplayPort"
Now the default audio is set to the HDMI into your television. Next time you reboot you might have a problem with PulseAudio again. See the troubleshooting below if this is the cause. It basically means you have to remark out those two lines in default.pa and manually start pulseaudio service "start-pulseaudio-x11"
pulseaudio: pa_context_connect() failed: Connection refused
pulseaudio does not start with system boot and you try to manually start it and get:
$ start-pulseaudio-x11 Connection failure: Connection refused pa_context_connect() failed: Connection refused
The problem may be caused by an error in one of the pulseaudio config files. Those files are located in:
- /etc/pulse
In order to get HDMI audio working, two lines that were enabled in default.pa later caused a problem after reboot.
load-module module-alsa-sink load-module module-alsa-source device=hw:0,3
Those lines were uncommented in order to get HDMI sound working. After a reboot those lines needed commented out once again so that pulseaudio would start.
Why? Who the hell knows? pulseaudio is very buggy.