Saturday, April 27, 2024
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 39635  / 2 Years ago, sat, september 3, 2022, 6:22:19

I have a media PC connected to my TV at home. How do I install Ubuntu TV on this PC?


More From » system-installation

 Answers
6

You can install Ubuntu by downloading it, buning it on a cd/DVD or a USB.

install Ubuntu, When booted in Ubuntu follow the steps bellow.



step 1

Remove the Video Lens that comes with the YouTube scope or else there will be conflicts:



sudo apt-get remove lens-video


Install Ubuntu TV using the test PPA



sudo add-apt-repository ppa:nilarimogard/test3
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install unity-lens-video


step 2

To generate previews for your videos (which should be placed under ~/Videos/unity/local/featured ), use:
edit the ~/Videos to wherever you have your Videos



/usr/lib/unity-lens-video/create_tmb.sh ~/Videos


step 3

Logging in to Unity 2D won't work and you must run Ubuntu TV from the session you're currently logged in so open a terminal and copy/paste the following commands:



gsettings set com.canonical.Unity2d form-factor tv


if you were running Unity 2D already:



killall unity-2d-{panel,places,launcher,spread} && killall unity-2d-{panel,places,launcher,spread}


for unity 3d / Gnome-shell



metacity --replace &


to run ubuntu-tv copy/paste this in gnome-terminal



unity-2d-shell -opengl


to Close ubuntu-tv run this



for unity



unity --replace


for gnome-shell



gnome-shell --replace   


To revert the changes



sudo apt-get install ppa-purge
sudo ppa-purge ppa:nilarimogard/test3
sudo apt-get remove unity-lens-video


Source:



How To Install Ubuntu TV From A PPA ~ Web Upd8: Ubuntu / Linux blog






If you want to compile it from source(ubuntu-tv)

use this



sudo apt-get build-dep unity-2d
sudo apt-get install bzr dconf-tools ffmpeg gnome-common libdeclarative-multimedia
bzr branch lp:~s-team/ubuntutv/trunk ubuntu-tv
cd ubuntu-tv
cmake .
make
cd ..

bzr branch lp:~s-team/ubuntutv/unity-lens-video
cd unity-lens-video
./autogen.sh --prefix=/usr --sysconfdir=/etc
sudo make install
cd ..


There are four dirs to be filled with media:



- ~/Videos/unity/local/featured

- ~/Videos/unity/local/rented

- ~/Videos/unity/local/purchased

- ~/Videos/unity/local/recorded


Generate thumbnails for your videos:



/usr/lib/unity-lens-video/create_tmb.sh "~/Video's/"


To refresh the video list



cd
cd ubuntu-tv/shell/dash/epgdata
python refreshdata.py
cd


Set the formFactor D-Conf key to “tv”



GSETTINGS_SCHEMA_DIR=ubuntu-tv/data gsettings set com.canonical.Unity2d form-factor tv


Prepare your environment
if you’re running unity-2d, you need to kill unity-2d-panel, unity-2d-places, unity-2d-launcher, unity-2d-spread (twice):



killall unity-2d-{panel,places,launcher,spread} && killall unity-2d-{panel,places,launcher,spread}


Run it like so:



metacity --replace &
cd ubuntu-tv
./shell/app/unity-2d-shell -opengl

[#41048] Monday, September 5, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fieldcheon

Total Points: 24
Total Questions: 105
Total Answers: 109

Location: Western Sahara
Member since Tue, Feb 16, 2021
3 Years ago
fieldcheon questions
Fri, Apr 1, 22, 05:58, 2 Years ago
Wed, Feb 2, 22, 03:31, 2 Years ago
Sat, Aug 14, 21, 01:24, 3 Years ago
;