#author("2020-05-16T07:25:26+09:00","default:regex","regex")
#freeze
#author("2020-05-16T08:23:28+09:00","default:regex","regex")
*インストール [#a36ba226]
 インストールするHDD以外のドライブのケーブルを外して置きます。(UEFIをHDD毎に1つにしたいため)~
 Ubuntu20.04Lts 日本語Remixをインストールする。~

 EFIに200MB
 /に80GB
~
*Setup Packからhomeフォルダをコピー [#pd8022ac]
○grub coutomizerでgrubを3秒表示させる設定
sudo apt install grub-customizer
設定(特に高度な設定のGRUB_TIMEOUT_STYLE hiddenのチェックを外すことにに注意)
○simplenote
snap install simplenote
memoの開始(debパッケージはgithubからのダウンロードが遅かった)
○サブディスプレイ設定
18.04時の設定等を、セットアップパックとしてファイルサーバーに残しておく。
 home/mifjpn/のうち、
  systempictures,ダウンロード,ドキュメント,ピクチャ,
  .config/variety/Favorites,.conky
 usr/shareのうち
  fonts/akubin134win,fonts/opentype/YasashisaGothic-TEGAKI
  theme/MoePinkShell2
を含みます。~
そのうちhomeフォルダを書き戻す。~
~
*grub coutomizerでgrubを3秒表示させる設定 [#i9b8a018]
 $sudo apt install grub-customizer
設定する。(特に高度な設定のGRUB_TIMEOUT_STYLE hiddenのチェックを外すことにに注意)
~
*simplenote [#i2794c88]
 $ snap install simplenote
memoの開始(debパッケージはgithubからのダウンロードが遅かった)~
~
*サブディスプレイ設定 [#oa25e27c]
設定から、ディスプレイの位置をセットする。~
~
*設定ー地域と言語ーインストールされている言語の管理 [#x7c61cf5]
サポートされる言語のインストールを終わらせる。~
~
*Firefox同期 [#c259faef]
さらに、コーデックを入れて、表示可能な動画を増やす。
 $ sudo apt-get install ubuntu-restricted-extras
~
*ここで一旦Clonezillaでバックアップ [#b8219539]

○設定ー地域と言語ーインストールされている言語の管理
サポートされる言語のインストール
*Setup packを~/にコピー [#de3e77c2]
今回のフォルダ名はpc3-ubuntu2005142127です。~

○firefox同期
コーデックを入れる
$ sudo apt-get install ubuntu-restricted-extras

○ここで一旦Clonezillaでバックアップ

○Setup packを~/にコピー
フォルダ名はpc3-ubuntu2005142127

○chromium
snap install chromium
chromeとの同期を確保

○ログイン画面を変える
参考:PC3-181103 解像度の違うデュアルディスプレイでのLogin画面の設定:https://mifmif.mydns.jp/pcpc/?PC3-181103
参考:Ubuntu20.04のgnome-shell-theme.gresource の再構成とlogin画面の変更:https://mifmif.mydns.jp/masterkudo/?p=751

解凍:20.04.chg.login.gnome-shell-theme.zipー>gnome-shell-theme.gresource
$ sudo cp /usr/share/gnome-shell/theme/Yaru/gnome-shell-theme.gresource /usr/share/gnome-shell/theme/Yaru/gnome-shell-theme.gresource.bak
$ sudo cp ~/ダウンロード/gnome-shell-theme.gresource /usr/share/gnome-shell/theme/Yaru/
*chromium [#gea80b7a]
 $ snap install chromium
ログインして。chromeとの同期を確保する。
~
*ログイン画面を変える [#bde260da]
参考:[[PC3-181103 解像度の違うデュアルディスプレイでのLogin画面の設定:https://mifmif.mydns.jp/pcpc/?PC3-181103]]~
参考:[[Ubuntu20.04のgnome-shell-theme.gresource の再構成とlogin画面の変更:https://mifmif.mydns.jp/masterkudo/?p=751]]~
~
 解凍:20.04.chg.login.gnome-shell-theme.zip→gnome-shell-theme.gresource
 $ sudo cp /usr/share/gnome-shell/theme/Yaru/gnome-shell-theme.gresource /usr/share/gnome-shell/theme/Yaru/gnome-shell-theme.gresource.bak
 $ sudo cp ~/ダウンロード/gnome-shell-theme.gresource /usr/share/gnome-shell/theme/Yaru/
~
 Setuppakのlogin画像を/usr/share/backgrounds/login.pngにする。
$ sudo cp ~/pc3-ubuntu2005142127/usr/share/theme/MoePinkShell2/gnome-shell/assets/moebuntu_bg.png /usr/share/backgrounds/login.png
$ sudo cp ~/.config/monitors.xml ~gdm/.config/monitors.xml
$ sudo chown gdm:gdm ~gdm/.config/monitors.xml
$ sudo gedit /etc/gdm3/custom.conf
WaylandEnable=false
再起動しないと反映しなかった。
・ロゴをMoebuntuに
$ sudo mv /usr/share/plymouth/ubuntu-logo.png /usr/share/plymouth/ubuntu-logo.bak.png
$ sudo cp ~/pc3-ubuntu2005142127/usr/share/theme/MoePinkShell2/ubuntu-logo.png /usr/share/plymouth/ubuntu-logo.png
 $ sudo cp ~/pc3-ubuntu2005142127/usr/share/theme/MoePinkShell2/gnome-shell/assets/moebuntu_bg.png /usr/share/backgrounds/login.png
 $ sudo cp ~/.config/monitors.xml ~gdm/.config/monitors.xml
 $ sudo chown gdm:gdm ~gdm/.config/monitors.xml
 $ sudo gedit /etc/gdm3/custom.conf
 -------以下のように変更
 WaylandEnable=false
 -------
※再起動しないと反映しなかった。~
-ロゴをMoebuntuに
 $ sudo mv /usr/share/plymouth/ubuntu-logo.png /usr/share/plymouth/ubuntu-logo.bak.png
 $ sudo cp ~/pc3-ubuntu2005142127/usr/share/theme/MoePinkShell2/ubuntu-logo.png /usr/share/plymouth/ubuntu-logo.png
~
*暫定MoePinkにする [#pdacc845]
 $ sudo apt install chrome-gnome-shell
 $ sudo apt install gnome-tweaks
Firefoxで、User Themes (https://extensions.gnome.org/extension/19/user-themes/)をONに~
[[Moe-Pink14H.tar.xz:https://drive.google.com/file/d/1wSf0QZKoVnGBV32D89tSTkEuI4yk4CrW/view]]~
[[MoePinkShell4.tar.xz:https://drive.google.com/file/d/1Er_T0RN0ez9cvQ5Jrs8YeBagmehnB6ki/view]]~
[[MoePinkIcons_181013.tar.xz:https://drive.google.com/file/d/1TCwy3rURg4iqzm2NdyQLQQM2PXQFHxgA/view]]~
をダウンロード・・・それぞれ解凍の後
 $ sudo cp -r ~/ダウンロード/Moe-Pink14H /usr/share/themes/
 $ sudo cp -r ~/ダウンロード/MoePinkShell4 /usr/share/themes/
 $ sudo cp -r ~/ダウンロード/MoePinkIcons /usr/share/icons/
-Setuppackからフォントを入れる
 $ sudo cp -r ~/pc3-ubuntu2005142127/usr/share/fonts/akubin134win /usr/share/fonts
 $ sudo cp -r ~/pc3-ubuntu2005142127/usr/share/fonts/opentype/YasashisaGothic-TEGAKI /usr/share/fonts/opentype/
-gnome-tweakで、外観ーテーマをMoe関係に設定
-gnome-tweakで、フォントであくびん設定
~
*ランダム背景の設定 [#f03c8c5e]
[[PC3-190310 varietyによる、背景の自動変更:「苺ましまろ」まとめ:https://mifmif.mydns.jp/pcpc/?PC3-190310]]~
 $ sudo apt install variety
Setup Packからhomeフォルダをコピーしたところですでに画像は入っているので設定後→次の画像で表示される。~

○暫定MoePinkに
$ sudo apt install chrome-gnome-shell
$ sudo apt install gnome-tweaks
Firefoxで、User Themes (https://extensions.gnome.org/extension/19/user-themes/)をONに
Moe-Pink14H(.tar.xz)
 :https://drive.google.com/file/d/1wSf0QZKoVnGBV32D89tSTkEuI4yk4CrW/view
MoePinkShell4(.tar.xz)
 :https://drive.google.com/file/d/1Er_T0RN0ez9cvQ5Jrs8YeBagmehnB6ki/view
MoePinkIcons_181013.tar.xz
 :https://drive.google.com/file/d/1TCwy3rURg4iqzm2NdyQLQQM2PXQFHxgA/view
それぞれ解凍
$ sudo cp -r ~/ダウンロード/Moe-Pink14H /usr/share/themes/
$ sudo cp -r ~/ダウンロード/MoePinkShell4 /usr/share/themes/
$ sudo cp -r ~/ダウンロード/MoePinkIcons /usr/share/icons/
Setuppackからフォントを入れる
$ sudo cp -r ~/pc3-ubuntu2005142127/usr/share/fonts/akubin134win /usr/share/fonts
sudo cp -r ~/pc3-ubuntu2005142127/usr/share/fonts/opentype/YasashisaGothic-TEGAKI /usr/share/fonts/opentype/
・gnome-tweakで、外観ーテーマをMoe関係に設定
・gnome-tweakで、フォントであくびん設定
*snap-store再インストールとgnome-softwareのインストールとflatpakの準備 [#k2b1c5d7]
 $ snap remove snap-store
 $ snap install snap-store
 $ sudo apt install gnome-software
 $ sudo apt install gnome-software-plugin-flatpak
※再ログインが必要だった。~

○ランダム背景の設定
PC3-190310 varietyによる、背景の自動変更:「苺ましまろ」まとめ
 https://mifmif.mydns.jp/pcpc/?PC3-190310
$ sudo apt install variety
Setup Packからhomeフォルダをコピーしたところですでに画像は入っているので設定後ー>次の画像で表示される。
*flatpak-gradioのインストール [#b13f6954]
[[flatpak-gradio:https://flathub.org/apps/details/de.haeckerfelix.gradio]]~
からインストール。~

○snap-store再インストールとgnome-softwareのインストールとflatpakの準備
$ snap remove snap-store
$ snap install snap-store
$ sudo apt install gnome-software
$ sudo apt install gnome-software-plugin-flatpak
再ログインが必要。
*デスクトップにアナログ時計、カレンダー、天気予報ガジェットを [#c53e3728]
 [[18.04のときの参考:https://mifmif.mydns.jp/pcpc/?PC3-190302]]
-cairo-clock
[[ここからダウンロード:https://launchpad.net/ubuntu/yakkety/+package/cairo-clock]]
 $ sudo dpkg -i cairo-clock_0.3.4-2ubuntu2_amd64.deb
 $ sudo apt --fix-broken install
-Rainlendar2
[[ここからダウンロード:https://www.rainlendar.net/cms/index.php?option=com_rny_download&Itemid=32]]
解凍後/optへ~
 $ sudo cp -r rainlendar2 /opt
 $ sudo apt-get install libcanberra-gtk-module
-my-weather-indicator
 $ sudo add-apt-repository ppa:atareao/atareao
 $ sudo apt install my-weather-indicator
[[萌えピンクスキン(自作)をダウンロード:http://mifmif.ddo.jp/pcpc/anotherone-pink.zip]]
スキンの設置~
 $ sudo cp -r anotherone-pink /opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/skins/
起動し設定する。~
※設定後一度終了しないでログアウトすると設定が反映しないので注意~
自動起動へ登録
 /usr/bin/cairo-clock
 /opt/rainlendar2/rainlendar2
 /opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator

○flatpak-gradioのインストール
https://flathub.org/apps/details/de.haeckerfelix.gradio
からインストール。
*CPU,RAM,NETガジェット [#t664eca0]
参考:[[PC3-190308rUBUNTU18.04のデスクトップにさらに、CPU,RAM,NETガジェットを(リベンジ):https://mifmif.mydns.jp/pcpc/?PC3-190308r]]
 $ sudo apt install fonts-takao
 (wineの文字化けのため)
 $ sudo apt-get install conky-all
Setup Packからhomeフォルダをコピーしたのでですでに.conkyフォルダがある。~
 $ chmod +x .conky/*.sh
少し下へ移動し調整した。
 Network PanelとProcess Panelのgap_yを調整
自動起動へ登録
 /home/mifjpn/.conky/conky-startup.sh

○PC3-190302 UBUNTU18.04のデスクトップにアナログ時計、カレンダー、天気予報ガジェットを
 https://mifmif.mydns.jp/pcpc/?PC3-190302
・cairo-clock:https://launchpad.net/ubuntu/yakkety/+package/cairo-clock
$ sudo dpkg -i cairo-clock_0.3.4-2ubuntu2_amd64.deb
$ sudo apt --fix-broken install
・Rainlendar2:https://www.rainlendar.net/cms/index.php?option=com_rny_download&Itemid=32
解凍後/optへ
$ sudo cp -r rainlendar2 /opt
$ sudo apt-get install libcanberra-gtk-module
・my-weather-indicator
sudo add-apt-repository ppa:atareao/atareao
sudo apt install my-weather-indicator
ダウンロード:http://mifmif.ddo.jp/pcpc/anotherone-pink.zip
sudo cp -r anotherone-pink /opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/skins/
*mcomicsのインストール(PDFも読めるようにする) [#r5918e97]
 $ sudo apt install mcomix
 $ sudo apt-get install mupdf-tools

設定
自動起動へ(設定後一度終了しないでログアウトすると設定が反映しない)
/usr/bin/cairo-clock
/opt/rainlendar2/rainlendar2
/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator

○PC3-190308rUBUNTU18.04のデスクトップにさらに、CPU,RAM,NETガジェットを(リベンジ)
 https://mifmif.mydns.jp/pcpc/?PC3-190308r
$ sudo apt install fonts-takao
(wineの文字化けのため)
$ sudo apt-get install conky-all
Setup Packからhomeフォルダをコピーしたところですでに.conkyがある。
$ chmod +x .conky/*.sh
少し下へ移動
Network PanelとProcess Panelのgap_yを調整
自動起動へ
/home/mifjpn/.conky/conky-startup.sh

○mcomicsのインストール(PDFも読めるようにする)
$ sudo apt install mcomix
$ sudo apt-get install mupdf-tools

○Adobe air を入れて、ラジコプレーヤーを動かす(Wine5.0)
*Adobe air を入れて、ラジコプレーヤーを動かす(Wine5.0) [#y571db5f]
wine-stableインストール 
$ sudo dpkg --add-architecture i386 
$ sudo apt update
 $ sudo dpkg --add-architecture i386 
 $ sudo apt update
Next, to install Wine we need to install both wine64 and wine32 Windows API implementation packages. To do so execute the following command:
$ sudo apt install wine64 wine32
 $ sudo apt install wine64 wine32
Once the installation is completed confirm the wine installation by checking for the wine version:
$ wine --version
wine-5.0 (Ubuntu 5.0-3)
 $ wine --version
 wine-5.0 (Ubuntu 5.0-3)
このままだと、0009:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated.が出るので。
$ sudo apt-get install winbind
 $ sudo apt-get install winbind
が必要です。
Windows版Adobe airのインストール 
firefoxで、Windows版をダウンロードする。
$ cd ~/ダウンロード
$ wine AdobeAIRInstaller.exe
Adobe air版 radikoのインストール 
firefoxで、ダウンロードしてnautilusでダブルクリックでいけます
-Windows版Adobe airのインストール 
Firefoxで、Windows版をダウンロードする。
 $ cd ~/ダウンロード
 $ wine AdobeAIRInstaller.exe
-Adobe air版 radikoのインストール 
Firefoxで、ダウンロードしてnautilusでダブルクリックでいけます

 ○fehでのサブディスプレイでのランダムスライドショー
$ sudo apt install feh
$ gedit ~/.local/share/applications/SubDisplaySlide.desktop
-----------
[Desktop Entry]
Name=SubDisplaySlide
Exec=/usr/bin/feh -Zxz -g 1680x1050 --zoom fill -D 300 /home/<ユーザー名>/ピクチャ/wallpapers/
Type=Application
StartupNotify=true
StartupWMClass=feh
Icon=screensaver
Name[ja]=サブディスプレイでスライドします。
------------
$ chmod a+x ~/.local/share/applications/SubDisplaySlide.desktop
*fehでのサブディスプレイでのランダムスライドショー [#wee4e3f1]
 $ sudo apt install feh
 $ gedit ~/.local/share/applications/SubDisplaySlide.desktop
 -----------以降内容
 [Desktop Entry]
 Name=SubDisplaySlide
 Exec=/usr/bin/feh -Zxz -g 1680x1050 --zoom fill -D 300 /home/<ユーザー名>/ピクチャ/wallpapers/
 Type=Application
 StartupNotify=true
 StartupWMClass=feh
 Icon=screensaver
 Name[ja]=サブディスプレイでスライドします。
 ------------
 $ chmod a+x ~/.local/share/applications/SubDisplaySlide.desktop

○トップバーへの機能追加
Datetime Format
*トップバーへの機能追加 [#jc67a4c4]
 Datetime Format

○indicator-stickynotes
$ sudo add-apt-repository ppa:umang/indicator-stickynotes
$ sudo apt install indicator-stickynotes
*indicator-stickynotes [#nda100aa]
 $ sudo add-apt-repository ppa:umang/indicator-stickynotes
 $ sudo apt install indicator-stickynotes

○マウスホイールのスクロール量を調節する
$ sudo apt install imwheel
$ gedit ~/.imwheelrc
-------
".*"
None,      Up,   Button4, 2
None,      Down, Button5, 2
-------
自動起動に
imwheel
で追加
*マウスホイールのスクロール量を調節する [#p26a03bc]
 $ sudo apt install imwheel
 $ gedit ~/.imwheelrc
 -------以下内容
 ".*"
 None,      Up,   Button4, 2
 None,      Down, Button5, 2
 -------
自動起動に登録
 imwheel
で追加~

○東雲研究所のはかせのplymouth
 :https://mifmif.mydns.jp/masterkudo/?p=794
解凍後
$ sudo cp -r ~/ダウンロード/hakase /usr/share/plymouth/themes/
$ sudo apt install galternatives
*東雲研究所のはかせのplymouth [#ke03d80c]
 [[東雲研究所のはかせのplymouth:https://mifmif.mydns.jp/masterkudo/?p=794]]ここからダウンロード~
解凍後~
 $ sudo cp -r ~/ダウンロード/hakase /usr/share/plymouth/themes/
 $ sudo apt install galternatives
galternativesで、default.plymouthに新規で、/usr/share/plymouth/themes/hakase/hakase.plymouth
を指定して、登録選択。
最期に
$ sudo update-initramfs -u -k all
を指定して、登録選択。~
最期に~
 $ sudo update-initramfs -u -k all

*NTPクライアント(Crony)の設定 [#c71d9ae3]

ntpクライアント設定~

 $ sudo apt-get install chrony

 $ sudo gedit /etc/chrony/chrony.conf
 ---以下書き換え部分
 #pool ntp.ubuntu.com iburst maxsources 4
 #pool 0.ubuntu.pool.ntp.org iburst maxsources 1
 #pool 1.ubuntu.pool.ntp.org iburst maxsources 1
 #pool 2.ubuntu.pool.ntp.org iburst maxsources 2
 server wpserver.local iburst
 ---

 $ sudo service chrony restart

 $ chronyc sources
 210 Number of sources = 1
 MS Name/IP address Stratum Poll Reach LastRx Last sample
 ===============================================================================
 ^* wpserver 2 6 17 22 +631ns[ +116us] +/- 26ms


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS