忍者ブログ

hirano.xxxxxxxx.jp

自分用のメモ置き場
MENU

ENTRY NAVI

[PR]

×

[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。

Ubuntu Studio

(・ω・`)

ubuntustudio.jpg

http://ubuntustudio.org/

最初からリアルタイムカーネルが採用されていて、音楽・映像系のソフトばっかり入っている
ubuntuの派生ディストリビューションです。

※使わなくなったdellのノートマシン(Inspiron8600)にインストールしました。

そもそもLinuxの音声・映像まわりの設定は難しいのでこれが特別ってわけではないのかもしれませんが
十分に難しいです。(なにそれ)

以下、導入時の思いだしメモ。

(1)日本語ローカライズ

http://www.ubuntulinux.jp/products/JA-Localized

※入力はSCIM-anthyに変更。(iBus-anthyはお話にならんですね・・・。)

※wineで日本語入力するためのおまじない

${WINEPREFIX}/user.reg
-------------------------------------------
[Software\\Wine\\X11 Driver]
"InputStyle"="root"
-------------------------------------------

オリジナル版のCDでインストールを行った環境に、次の手順でJapanese Teamのリポジトリを追加することができます。
  1. [アプリケーション]-[アクセサリ]-[端末]を開きます。サーバ版を使用している場合は、ログインしてコマンドプロンプトを表示させます。

  2. 以下のコマンドを実行し、GPG鍵とレポジトリを追加します。

    • Ubuntu 9.10の場合:
      wget -q https://www.ubuntulinux.jp/ubuntu-ja-archive-keyring.gpg -O- | sudo apt-key add -
      wget -q https://www.ubuntulinux.jp/ubuntu-jp-ppa-keyring.gpg -O- | sudo apt-key add -
      sudo wget https://www.ubuntulinux.jp/sources.list.d/karmic.list -O /etc/apt/sources.list.d/ubuntu-ja.list
      sudo apt-get update

    • Ubuntu 9.04の場合:
      wget -q https://www.ubuntulinux.jp/ubuntu-ja-archive-keyring.gpg -O- | sudo apt-key add -
      wget -q https://www.ubuntulinux.jp/ubuntu-jp-ppa-keyring.gpg -O- | sudo apt-key add -
      sudo wget https://www.ubuntulinux.jp/sources.list.d/jaunty.list -O /etc/apt/sources.list.d/ubuntu-ja.list
      sudo apt-get update

    • Ubuntu 8.10の場合:
      wget -q https://www.ubuntulinux.jp/ubuntu-ja-archive-keyring.gpg -O- | sudo apt-key add -
      sudo wget https://www.ubuntulinux.jp/sources.list.d/intrepid.list -O /etc/apt/sources.list.d/ubuntu-ja.list
      sudo apt-get update

    • Ubuntu 8.04 LTSの場合:
      wget -q https://www.ubuntulinux.jp/ubuntu-ja-archive-keyring.gpg -O- | sudo apt-key add -
      sudo wget https://www.ubuntulinux.jp/sources.list.d/hardy.list -O /etc/apt/sources.list.d/ubuntu-ja.list
      sudo apt-get update

    • Ubuntu 7.10の場合:
      wget -q https://www.ubuntulinux.jp/ubuntu-ja-archive-keyring.gpg -O- | sudo apt-key add -
      sudo wget https://www.ubuntulinux.jp/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/ubuntu-ja.list
      sudo apt-get update

    • Ubuntu 6.06 LTSの場合:
      wget -q https://www.ubuntulinux.jp/ubuntu-ja-archive-keyring.gpg -O- | sudo apt-key add -
      sudo wget https://www.ubuntulinux.jp/sources.list.d/dapper.list -O /etc/apt/sources.list.d/ubuntu-ja.list
      sudo apt-get update

  3. 以下のコマンドを実行し、パッケージをアップグレードします。
    sudo apt-get upgrade

  4. デスクトップ環境を利用している場合は、[システム]-[システム管理]-[言語サポート]を開きます。標準の言語が設定されていることを確認します。設定されていなければ、利用したい言語のチェックをONにし、標準の言語を選択してください。

  5. 日本語 Remix CDに追加されているパッケージと同じものをインストールする場合は、以下のコマンドを実行します。
    sudo apt-get install ubuntu-desktop-ja



(2)日本語のフォルダ名を英語に戻す

※お約束。(笑)

$ LANG=C xdg-user-dirs-gtk-update

(3)NASのマウント

※CentOSと同じで/etc/fstabに書いておけばOK。

//XXX.XXX.XXX/hoge /mnt/hoge cifs default,codepage=cp932,iocharset=utf8,gid=hoge,uid=hoge,username=hoge,password=hoge 0 0

(4)medibuntuレポジトリ

http://www.ubuntumini.com/2009/07/medibuntu-for-ubuntu-910-karmic-koala.html

※9.10はなぜか英語の情報しかひっかからなかった。

Ubuntu 9.10 Karmic Koala can not play encrypted DVDs or use certain Windows codecs out of the box. This guide will show you how to install the Medibuntu repository and these codecs.

To add the Medibuntu Repository:
In a terminal type:
sudo wget http://www.medibuntu.org/sources.list.d/karmic.list --output-document=/etc/apt/sources.list.d/medibuntu.list
- This will show ubuntu where to download the packages from

To add the Medibuntu keyring:
In a terminal type:
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
- You may be asked to accept this package even though it cannot be authenticated. This is normal; typing "Yes" means you trust Medibuntu.

Download the encrypted DVD playback codecs
In a terminal type:
sudo apt-get install libdvdcss2

Download the Window codecs
In a terminal type:
sudo apt-get install w32codecs

(5)音声

デフォルトはPulseAudio(http://pulseaudio.org/)でubuntuでは削除不可。
一方、音声系のアプリはJack Audio Connection Kit(http://jackaudio.org/)を必要としている。
Ubuntu StudioにはJack1が最初から入っているのでJackが必要なアプリの起動前に
手動でJackを起動しておくというお約束らしい。

※僕の環境ではリアルタイムスケジューリング(RT)はまともに動かなかったので切りました。

Jackを起動するとJackがALSAをぶんどるので

「PulseAudio経由のアプリから音が鳴らなくなる仕様」

らしい。(・ω・`)

(あまりにひどいので設定変更)

・Ubuntu Studioと同じバージョン(0.9.19)のソースを持ってきて、Jackサポートを有効にして
ローカルの適当なところにコンパイル&インストール。
※動かすわけではないのでローカルに。JackサポートだけYesになっていればOK。

・${prefix}/lib/pulse-0.9.19/modulesに「module-jack-sink.so」「module-jack-source.so」が
あるので/usr/pulse-0.9.19/modulesにコピーする。

・/etc/pulse/default.pa

ALSAモジュールのロードをやめてかわりにJackモジュールをロードさせる。
自動判定のモジュールをロードさせない。

### Load audio drivers statically (it's probably better to not load
### these drivers manually, but instead use module-hal-detect --
### see below -- for doing this automatically)
load-module module-jack-sink
load-module module-jack-source
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0

#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink

### Automatically load driver modules depending on the hardware available
#.ifexists module-udev-detect.so
#load-module module-udev-detect
#.else
### Alternatively use the static hardware detection module (for systems that
### lack udev support)
#load-module module-detect
#.endif

 

これで音の流れは以下のように。

・Jack対応のアプリ

アプリ → Jack → ALSA → デバイス

・Jack非対応アプリ

アプリ → PulseAudio → Jack → ALSA → デバイス

(6)nvidiaのビデオカード

インストールまでは自動でやってくれます。
が・・・解像度とか変えたら情報が保存できないというバグ。

(・ω・`)

いろいろ検索してみた結果・・・

・/etc/X11/xorg.confの「Screenセクションを削除する」
・sudo nvidia-settingsで設定アプリ機動→保存

が正解みたいです。

ところでCentOSのときは1920x1200で字が小さいとは思わなかったんだけども
Ubuntuだと小さい気がしたので1680x1050に変更しますた。

PR

× CLOSE

カレンダー

02 2024/03 04
S M T W T F S
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31

最新CM

[09/19 Gatu]
[06/08 石井弘明]
[03/04 yama]
[02/15 ひらの]
[02/14 魔]

最新記事

最新TB

ブログ内検索

最古記事

(12/30)
(01/03)
(01/04)
(01/04)
(01/04)

NINJATOOLS

× CLOSE

Copyright © hirano.xxxxxxxx.jp : All rights reserved

TemplateDesign by KARMA7

忍者ブログ [PR]