a>

Zorin OS Core 17.2 Install & Setup

chenge theme desktop lite

$ sudo apt install zorin-os-lite-desktop
gdm or lightdm → select gdm
$ sudo reboot
autologin OK
gdm or lightdm → select lightdm
autologin NG
Create new file
$ sudo vim /etc/lightdm/lightdm.conf
[Seat:*]
autologin-user=username
autologin-user-timeout=0
$ sudo reboot

NTP Setup

$ cat /etc/systemd/timesyncd.conf
#NTP=
$ sudo sed -i 's/#NTP=/NTP=ntp.nict.jp/g' /etc/systemd/timesyncd.conf
$ cat /etc/systemd/timesyncd.conf
NTP=ntp.nict.jp

$ sudo systemctl restart systemd-timesyncd
$ timedatectl

Local Time UTC →JST
$ sudo timedatectl set-timezone Asia/Tokyo

Virtual Box Share Folder Access(sf_share) Setup

$ sudo gpasswd -a (username) vboxsf
$ sudo reboot

Date Setup

右クリックメニューからプロパティを選択
時計タグ画面の「外観」-「レイアウト」-「デジタル」、「ツールチップの形式」-「xxxx年xx月xx日」
「時計のオプション」-「表示形式」-「カスタム」、「 %y/%m/%d 半角スペース %R」に変更
表示形式「xx(year)/xx(month)/xx(day) 半角スペース time(hour:minute)
time(時刻)を%Bにすると秒(second)まで表示される

change pulseaudio→pipewire

$ sudo apt list pipewire
一覧表示... 完了
pipewire/jammy-updates,now 0.3.48-1ubuntu3 amd64 [インストール済み、自動]
pipewire/jammy-updates 0.3.48-1ubuntu3 i386

$ sudo apt install pipewire-media-session-
以下のパッケージは「削除」されます:
pipewire-media-session
以下のパッケージが新たにインストールされます:
liblua5.3-0 libwireplumber-0.4-0 pipewire-pulse wireplumber
$ sudo apt install pipewire-audio-client-libraries pipewire-pulse wireplumber libspa-0.2-bluetooth libspa-0.2-jack
以下のパッケージが新たにインストールされます:
libldacbt-abr2 libldacbt-enc2 libspa-0.2-bluetooth libspa-0.2-jack pipewire-audio-client-libraries

$ LANG=C pactl info | grep '^Server Name'
Server Name: pulseaudio

$ systemctl --user --now enable wireplumber.service
Created symlink /home/alice/.config/systemd/user/pipewire-session-manager.service → /usr/lib/systemd/user/wireplumber.service.
Created symlink /home/alice/.config/systemd/user/pipewire.service.wants/wireplumber.service → /usr/lib/systemd/user/wireplumber.service.

$ sudo cp /usr/share/doc/pipewire/examples/alsa.conf.d/99-pipewire-default.conf /etc/alsa/conf.d/
$ sudo cp /usr/share/doc/pipewire/examples/ld.so.conf.d/pipewire-jack-*.conf /etc/ld.so.conf.d/
$ sudo ldconfig
$ sudo apt remove pulseaudio-module-bluetooth
$ sudo reboot

$ LANG=C pactl info | grep '^Server Name'
Server Name: PulseAudio (on PipeWire 0.3.48)
$ alsamixer
$ sudo alsactl store

NAS auto mount

$ sudo apt install cifs-utils
ネットワークドライブ「HDD2」のマウントするフォルダを作成 ここではユーザ名は「alice」
$ mkdir -p /home/alice/HDD2
ネットワークドライブの使用者の「uid」と「gid」を確認
$ cat /etc/passwd alice:x:1000:1000:---[uid:1000 gid:1000]

【Manual】

$ sudo mount -t cifs -o username=AAAAA,password=BBBBB,dir_mode=0775,uid=1000,gid=1000 //192.168.11.2/HDD-2 /home/alice/HDD2
ネットワークドライブのホスト名「AAAAA」、バスワード「BBBBB」、接続先のIPアドレス「192.168.11.2」
「samba」で設定した共有フォルダ名「HDD-2」、マウントするフォルダを指定
$ mount -a 間違いなければメッセージ表示なし

【Auto】

$ sudo vim /etc/fstab
//192.168.11.250/HDD-2 /home/alice/HDD2 cifs idername=AAAAA,password=BBBBB,file_mode=0775,dir_mode=0775,uid=1000,gid=1000 0 0

*** 最初のページに戻る ***

Youtube & TV'er Downloader install

$ sudo apt install build-essential pkg-config openssl libssl-dev git
$ sudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp
$ sudo chmod a+rx /usr/local/bin/yt-dlp
ダウロードコマンド「$ yt-dlp -f b URL」
バージョン確認コマンド「$ yt-dlp --version」
アップデートコマンド「$ sudo yt-dlp -U」
ファイルリストコマンド「$ yt-dlp -F URL」
ファイル指定ダウンロード【例】ファイルリストコマンドから140「m4a」をダウンロード「yt-dlp -f 140 URL」

ffmpeg install (youtube & TV'er)

FDK-AAC install

$ sudo apt install build-essential pkg-config openssl libssl-dev git
$ wget https://sourceforge.net/projects/opencore-amr/files/fdk-aac/fdk-aac-2.0.3.tar.gz
$ tar -xf fdk-aac-2.0.3.tar.gz
$ cd fdk-aac-2.0.3
$ ./configure --prefix=/usr --disable-static
$ make
$ sudo make install
$ cd ..

FLAC install

$ wget https://ftp.osuosl.org/pub/xiph/releases/flac/flac-1.4.3.tar.xz
$ tar -xf flac-1.4.3.tar.xz
$ cd flac-1.4.3
$ ./configure
$ make
$ sudo make install
libtool: warning: relinking 'libFLAC++.la' 問題なし
$ cd ..

LAME install

$ wget https://sourceforge.net/projects/lame/files/lame/3.100/lame-3.100.tar.gz
$ tar -xf lame-3.100.tar.gz
$ cd lame-3.100
$ ./configure
$ make
$ sudo make install
$ cd ..

H264 install

$ git clone https://code.videolan.org/videolan/x264.git
$ cd x264
$ ./configure --enable-shared --disable-asm
$ make
$ sudo make install
$ cd ..

FFMPEG install (Youtube & TV'er)

$ wget https://ffmpeg.org/releases/ffmpeg-7.1.tar.xz
$ tar -xf ffmpeg-7.1.tar.xz
$ cd ffmpeg-7.1
$ ./configure --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libmp3lame --enable-decoder=flac --enable-openssl --enable-libx264 --disable-x86asm
$ make
$ sudo make install
$ cd ..

node(node.js) install

nvmのinstall
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
$ sudo reboot
$ nvm install 20
Downloading and installing node v20.18.0...
Downloading https://nodejs.org/dist/v20.18.0/node-v20.18.0-linux-x64.tar.xz...
############################################################################################# 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v20.18.0 (npm v10.8.2)
Creating default alias: default -> 20 (-> v20.18.0)
$ node -v
v20.18.0
$ npm -v
10.8.2

*** 最初のページに戻る ***