Linux Tips Note

Note & Tips for Linux.

[Ubuntu] Xineインストール

2005-05-09 07:45:34 | Ubuntu 5.04
1)install Multimedia Codecs
sudo apt-get install gstreamer0.8-plugins
sudo apt-get install w32codecs
gst-register-0.8

2)install DVD playback capability
sudo apt-get install libdvdcss2

3)install Multimedia Player (xine-ui)
sudo apt-get install xine-ui

以上。

[Ubuntu] Skypeのインストール

2005-05-09 07:35:20 | Ubuntu 5.04
デスクトップPCとして必需品です。

1)インストール
sudo apt-get install libqt3c102-mt
wget -c http://frankandjacq.com/ubuntuguide/skype_1.1.0.3-1_i386.deb
sudo dpkg -i skype_1.1.0.3-1_i386.deb

2)起動
Applications -> Internet -> Skype

[Ubuntu] レポジトリの追加

2005-05-09 07:27:58 | Ubuntu 5.04
1)設定ファイルの編集
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
sudo gedit /etc/apt/sources.list

2)下記をコピペ
deb cdrom:[Ubuntu 5.04 _Hoary Hedgehog_ - Release i386 (20050407)]/ hoary main restricted


## Uncomment the following two lines to fetch updated software from the network
deb http://us.archive.ubuntu.com/ubuntu hoary main restricted
deb-src http://us.archive.ubuntu.com/ubuntu hoary main restricted

## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
deb http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu hoary universe
deb-src http://us.archive.ubuntu.com/ubuntu hoary universe

deb http://security.ubuntu.com/ubuntu hoary-security main restricted
deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted

deb http://security.ubuntu.com/ubuntu hoary-security universe
deb-src http://security.ubuntu.com/ubuntu hoary-security universe

deb http://archive.ubuntu.com/ubuntu hoary multiverse
deb-src http://archive.ubuntu.com/ubuntu hoary multiverse

deb ftp://ftp.nerim.net/debian-marillat stable main
deb ftp://ftp.nerim.net/debian-marillat unstable main
deb ftp://ftp.nerim.net/debian-marillat testing main

3)仕上げ
gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 1F41B907
gpg --armor --export 1F41B907 | sudo apt-key add -
sudo apt-get update

[Ubuntu] Firefox Java/flash/acrobat Plug-in

2005-05-09 07:14:36 | Ubuntu 5.04
1)Firefox
wget -c http://frankandjacq.com/ubuntuguide/jre-1_5_0_03-linux-i586.bin
sh jre-1_5_0_03-linux-i586.bin
sudo mkdir /usr/java
sudo mv jre1.5.0_03/ /usr/java/
sudo chown -R root:root /usr/java/jre1.5.0_03/
sudo ln -fs /usr/java/jre1.5.0_03/bin/java /usr/bin/java
sudo ln -fs /usr/java/jre1.5.0_03/bin/java_vm /usr/bin/java_vm
sudo ln -fs /usr/java/jre1.5.0_03/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/
sudo ln -fs /usr/java/jre1.5.0_03/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla-firefox/plugins/
java -version

2)Flash
sudo apt-get install flashplayer-mozilla

3)Acrobat
sudo apt-get install acroread
sudo apt-get install mozilla-acroread

[Ubuntu] NumlockをOnで起動する

2005-05-09 06:52:47 | Ubuntu 5.04
1)インストール
sudo apt-get install numlockx
sudo cp /etc/X11/gdm/Init/Default /etc/X11/gdm/Init/Default_backup

2)設定ファイル編集
sudo gedit /etc/X11/gdm/Init/Default
下記のラインの上に
...
exit 0

下記を追記する。

if [ -x /usr/bin/numlockx ]; then
/usr/bin/numlockx on
fi

3)Gnome再起動
アプリケーションを全て閉じて
'Ctrl + Alt + Backspace'