コンピューターにUbuntuTVをインストールするにはどうすればよいですか?



How Do I Install Ubuntu Tv My Computer



解決:

すべての情報はwikiにあります。これらは今後数週間で進化すると思われるので、ここではコピーして貼り付けません。

  • https://wiki.ubuntu.com/UbuntuTV/Contributing

WebUpd8のAlinAndreiからのPPAがあります。 11.10でのみ機能し、パッチが適用されていますunity-2dパッケージと新しいunity-video-lensパッケージ。あなたがしなければならないのは、PPAを追加し、新しいパッケージを更新、アップグレード、インストールすることだけです。



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

Note this is a personal PPA. As ever you should note that there may be stability and security implications of using it. If you're oblivious to the risks, you probably shouldn't be using it.

  • What are PPAas and how do I use them?

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   

Please read the below note first if you are on 12.04!

Note: Ubuntu TV is in an 'experimental' state for 12.04 right now; install it at your own risk. No currently working (with 12.04) PPA is available, and you must build from source.

It only functions on 11.10; it does not fully work on 12.04, and is not designed to. Its current state is in flux because 'Unity 2D, on which it is based, is being decommissioned.'

The instructions below were adapted in part from two now-somewhat-obsolete sources: the Community/Contributing page, and blade19899 's old answer above.

  • Install the prerequisites and build dependencies:

    sudo apt-get build-dep unity-2d sudo apt-get install bzr dconf-tools ffmpeg gnome-common libdeclarative-multimedia 
  • 公式のUbuntuTVトランクは、2011年11月以降更新されておらず、12.04ではコンパイルされません。したがって、2012年6月に更新されたリード開発者MichałSawiczの最新のブランチと思われるものからソースを取得し、それを構築します。

    mkdir ~/ubutvsrc && cd ~/ubutvsrc bzr branch lp:~saviq/ubuntutv/precise_merge cd precise_merge cmake . make cd .. 
  • 代替をインストールしますunity-lens-video:

    bzr branch lp:~ubuntutv-dev-team/ubuntutv/unity-lens-video cd unity-lens-video ./autogen.sh --prefix=/usr --sysconfdir=/etc sudo make install cd .. 
  • ビデオサブディレクトリを作成します。

    mkdir -p ~/Videos/unity/local/featured mkdir -p ~/Videos/unity/local/rented mkdir -p ~/Videos/unity/local/recorded mkdir -p ~/Videos/unity/local/purchased 
  • サムネイルと設定を作成します。

    /usr/lib/unity-lens-video/create_tmb.sh ~/Videos/
  • をセットする dconf 鍵:

    GSETTINGS_SCHEMA_DIR=~/ubutvsrc/precise_merge/data gsettings set com.canonical.Unity2d form-factor tv
  • Ubuntu TVインターフェースを起動します!

    • あなたがすでにいる場合 Ubuntu2Dを使用する 、最初にこれらのプロセスを次のように強制終了します。
    killall unity-2d-{panel,places,launcher,spread} && killall unity-2d-{panel,places,launcher,spread}

    次に、Ubuntu TVUIを次のコマンドで起動します。./shell/app/unity-2d-shell -opengl

    • 使用している場合 Unity(Ubuntu 3D)またはGnome-Shell 代わりに、最初に次の方法でデフォルトのウィンドウマネージャーを無効にします。
    metacity --replace &

    次に、Ubuntu TVUIを次のコマンドで起動します。./shell/app/unity-2d-shell -opengl

  • あなたはそれを閉じることができますAlt + F4、または親端末のCtrl-C。

  • デフォルトのデスクトップ環境を復元するには:

    • 走るsudo apt-get --reinstall install unity-lens-video
    • UnityまたはGnome-shellを使用していた場合は、unity--replaceまたはgnome-shell --replace
    • すでにUbuntu2Dを使用している場合は、最初に実行しますgsettingsはcom.canonical.Unity2dフォームファクターをリセットしてから、ログアウトまたは再起動します。必要に応じてsudoを再起動します。

ここに画像の説明を入力してください