(2023.03)
Slack向けやFirefoxの様なtxzが無いが、deb(Debian向けpkg)がある場合は、それを展開して使う。
SlackBuildがある場合は参考にする。無い場合は適当にdir構成だけ合わせて動かしてみる。
Google-Chrome:
$ sudo mount -t iso9660 -o loop slackware64-15.0-install-dvd.iso /mnt2
(最近は-tも-oも不要らしい)
/mnt2/extra/google-chrome/google-chrome.SlackBuild を参考に、
Debianのchromeのpkgを展開する。
chrome download for linux、でググった:
https://www.google.com/chrome/?platform=linux
$ sudo touch /etc/default/google-chrome (Googleのリポジトリを追加しない。自動更新しない)
$ ar x google-chrome-stable_current_amd64.deb
$ tar xf control.tar.gz ./control (controlの中身を見てVersionを確認した)
$ mkdir package-google-chrome; cd package-google-chrome
$ tar xJf ../data.tar.xz
$ sudo chown -R root:root .
$ sudo chmod -R u+w,go+r-w,a-s .
$ sudo chmod 0755 .
$ sudo chmod 4711 opt/google/chrome/chrome-sandbox
$ ll etc/cron.daily/
合計 0
lrwxrwxrwx 1 root root 37 ?月 ? ??:?? google-chrome -> /opt/google/chrome/cron/google-chrome
$ sudo rm -rf etc (なるほど要らないな)
$ sudo mv -i usr/share/man usr/
$ sudo mkdir -p install
$ sudo cp -a /mnt2/extra/google-chrome/slack-desc install/
$ sudo makepkg ../google-chrome-111.0.5563.64-x86_64-1.txz
$ sudo installpkg ../google-chrome-111.0.5563.64-x86_64-1.txz
$ LD_LIBRARY_PATH=/opt/google/chrome find /opt/google/chrome -type f -exec ldd \{\} \; | grep ‘not\ found’
\ libQt5Widgets.so.5 => not found
\ libQt5Gui.so.5 => not found
\ libQt5Core.so.5 => not found
Qt要るのかぁ。Chromeは必要になったらWin10で動かすか。と思ったが、試しに動かしたら、
$ GTK_IM_MODULE=fcitx /opt/google/chrome/chrome &
$ [17837:17837:0314/144129.711287:ERROR:browser_dm_token_storage_linux.cc(100)] Error: /etc/machine-id contains 0 characters (32 were expected).
[17837:17859:0314/144129.792467:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are “tcp” and on UNIX “unix”)
[17837:17859:0314/144129.792528:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are “tcp” and on UNIX “unix”)
[17837:17859:0314/144129.810216:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are “tcp” and on UNIX “unix”)
[17837:17859:0314/144129.810322:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are “tcp” and on UNIX “unix”)
[17837:17859:0314/144129.855252:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are “tcp” and on UNIX “unix”)
[17837:17859:0314/144129.855318:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are “tcp” and on UNIX “unix”)
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
\
[17837:17925:0314/144135.101774:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[17837:17925:0314/144135.101983:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[17837:17925:0314/144135.102158:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
\
ERROR出るが一応動いたので、入れておくことにした。あと、以下が必要だった。起動時だけ使うようなので
敢えてstkビットは立てないでおくか。/etcのrcファイル変更するか?。ついでに/dev/shm/tmpも追加して。
$ sudo chmod a+rwx /dev/shm
やっぱ、Cygwinとの共通化も考えて、普段使い環境の起動手順 https://seesaawiki.jp/lifewithslackzaurus_15_0/d/64bit%20PC/AT%b5%a1%20%a4%ce%b4%c4%b6%ad
に入れておこう。Cygwinではstkビットも立てていた。合わせるか。
\
VSCode https://seesaawiki.jp/lifewithslackzaurus_15_0/d/VSCode の時と似た感じでしばらくすると
メニュー(設定)開けない。タブを開くかCtl+oでファイル開くと開けるようになる。何かlib足りない?
右クリックでメニュー出ないので新タブで開く場合はCtl+クリックとやる。
\
原因が分かった。https://seesaawiki.jp/lifewithslackzaurus_15_0/d/%b4%ca%c1%c7%a4%caWindowManager%20twm%20%a4%cb%a5%af%a5%bb%a4%ac%a4%a2%a4%c3%a4%bf
DLして更新: 2023.09
$ ar x google-chrome-stable_current_amd64.deb
$ tar xf control.tar.xz (controlの中身を見てVersionを確認した)
$ mkdir package-google-chrome; cd package-google-chrome
$ tar xf ../data.tar.xz
$ sudo chown -R root:root .
($ sudo chmod -R u+w,go+r-w,a-s . メンドクサで省略した)
($ sudo chmod 0755 . メンドクサで省略した)
$ sudo chmod 4711 opt/google/chrome/chrome-sandbox
$ sudo rm -rf etc
$ sudo mv -i usr/share/man usr/
($ sudo mkdir -p install メンドクサで省略した)
($ sudo cp -a /mnt2/extra/google-chrome/slack-desc install/ メンドクサで省略した)
$ sudo makepkg ../google-chrome-116.0.5845.179-1-x86_64-1.txz
$ sudo removepkg /var/log/packages/google-chrome-111.0.5563.64-x86_64-1
$ sudo installpkg ../google-chrome-116.0.5845.179-1-x86_64-1.txz
$ GTK_IM_MODULE=fcitx /opt/google/chrome/chrome &
特に問題なく動いた。addonは自動で引き継がれた。メモリーセイバーをONにしてみた。
DLして更新: 2023.10
前回と同じ事をやった。
$ sudo removepkg /var/log/packages/google-chrome-116.0.5845.179-1-x86_64-1
$ sudo installpkg ../google-chrome-117.0.5938.149-1-x86_64-1.txz
$ GTK_IM_MODULE=fcitx /opt/google/chrome/chrome &
特に問題なく動いた。が、リンクやファイルを開かないとメニューが開けないのは変わらない。
以後の更新は変化が無ければメモ省略。(2023.10)
DLして更新: 2024.01
前回と同じ事をやった。状況は同じ。
$ sudo installpkg ../google-chrome-120.0.6099.216-1-x86_64-1.txz
$ sudo find opt/google/chrome/ -type f -exec ldd \{\} \; | grep found
\ libQt6Widgets.so.6 => not found
\ libQt6Gui.so.6 => not found
\ libQt6Core.so.6 => not found
\ libQt5Widgets.so.5 => not found
\ libQt5Gui.so.5 => not found
\ libQt5Core.so.5 => not found
が出るが、chrome,chrome-management-service,chrome-sandbox ではないのでまあいいか。
\
今さらだが、/opt/google/chrome/chromeではなく、/opt/google/chrome/google-chromeが正しい
起動順か。
$ GTK_IM_MODULE=fcitx /opt/google/chrome/google-chrome &
[4744:4770:0111/090709.748999:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are “tcp” and on UNIX “unix”)
[4744:4805:0111/090709.833105:ERROR:object_proxy.cc(577)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
[4784:4784:0111/090711.752523:ERROR:gl_utils.cc(412)] [.WebGL-0x1e38002cea00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[4784:4784:0111/090711.759538:ERROR:gl_utils.cc(412)] [.WebGL-0x1e38002cea00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[4784:4784:0111/090711.767667:ERROR:gl_utils.cc(412)] [.WebGL-0x1e38002cea00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[4784:4784:0111/090711.770597:ERROR:gl_utils.cc(412)] [.WebGL-0x1e38002cea00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels (this message will no longer repeat)
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
[4744:4777:0111/090919.759754:ERROR:cert_verify_proc_builtin.cc(705)] CertVerifyProcBuiltin for oldcygwin.web.fc2.com failed:
\—– Certificate i=0 (CN=sample.jp,OU=system,O=SampleOrg,L=Sendai,ST=Miyagi,C=JP) —–
ERROR: No matching issuer found
[4785:4801:0111/090919.774324:ERROR:ssl_client_socket_impl.cc(975)] handshake failed; returned -1, SSL error code 1, net_error -202
\
テーマが有効になったり、起動時にイロイロ説明がついたり。前の方がシンプルでよかったか?
Chrome で表示される広告プライバシーの強化について
ユーザーの選択の幅が広がる新たなプライバシー機能がリリースされます。
Chrome では、ユーザーの最近の閲覧履歴に基づいて興味 / 関心のあるトピックを記録します。また、アクセスしたウェブサイトの情報からユーザーの好みを決定します。その後、ユーザーが訪れた別のウェブサイトにてパーソナライズド広告を表示させるために、これらの情報が求められます。ユーザーは、その際に提供するトピックやウェブサイトの情報を選択できます。
また、広告効果を測定するため、広告が表示された日時など、限られた種類のデータがウェブサイト間で共有されます。
Chrome で表示される広告の詳細
また、これらは Chrome の設定で変更できます
\
このVersionを入れたら一定時間でSSDアクセスするようになった。
topコマンド diskへのアクセス監視、でググった:
Linux負荷監視コマンドまとめ
https://qiita.com/aosho235/items/c4d6995743dd1dac16e1
$ vmstat -t 2
\procs ———–memory———- —swap– —–io—- -system– ——cpu—– —–timestamp—–
\ r b swpd free buff cache si so bi bo in cs us sy id wa st JST
\ 1 0 53940 1796948 169496 2861488 0 1 9 108 17 43 49 24 26 0 0 2024-01-10 13:15:39
\ 2 0 53940 1796948 169496 2861348 0 0 0 709 3431 10793 5 3 90 3 0 2024-01-10 13:15:41
\ 1 0 53940 1796948 169496 2861268 0 0 0 668 3437 10833 5 3 90 3 0 2024-01-10 13:15:43
\ 4 0 53940 1812920 169496 2861140 0 0 0 505 3543 11097 5 3 89 2 0 2024-01-10 13:15:45
\ 4 0 53940 1813676 169496 2856860 0 0 0 339 3277 10436 5 3 91 1 0 2024-01-10 13:15:47
\ 0 0 53940 1798052 169496 2856896 0 0 0 349 3846 11500 7 5 88 1 0 2024-01-10 13:15:49
\ 0 0 53940 1798052 169496 2856980 0 0 0 337 3295 10524 5 3 91 1 0 2024-01-10 13:15:51
\ 1 0 53940 1802056 169496 2857236 0 0 0 347 3701 11683 6 3 89 1 0 2024-01-10 13:15:53
\ 1 0 53940 1802056 169496 2851716 0 0 0 446 3295 10463 5 3 91 2 0 2024-01-10 13:15:55
\ 1 0 53940 1801808 169496 2851888 0 0 0 340 3522 10785 5 3 91 1 0 2024-01-10 13:15:57
\
chromeを落としたら、
\
$ vmstat -t 2
\procs ———–memory———- —swap– —–io—- -system– ——cpu—– —–timestamp—–
\ r b swpd free buff cache si so bi bo in cs us sy id wa st JST
\ 1 0 53940 5308188 169624 2169732 0 1 9 108 19 6 49 24 26 0 0 2024-01-10 13:18:53
\ 0 0 53940 5308188 169624 2169796 0 0 0 0 39 56 0 0 100 0 0 2024-01-10 13:18:55
\ 0 0 53940 5308188 169624 2169796 0 0 0 0 52 75 0 0 100 0 0 2024-01-10 13:18:57
\ 0 0 53940 5308188 169624 2169860 0 0 0 0 53 82 0 0 100 0 0 2024-01-10 13:18:59
\ 0 0 53940 5308188 169624 2169860 0 0 0 0 83 119 0 0 100 0 0 2024-01-10 13:19:01
\ 0 0 53940 5317140 169624 2165764 0 0 0 0 66 102 0 0 100 0 0 2024-01-10 13:19:03
\ 0 0 53940 5317140 169624 2165764 0 0 0 0 56 85 0 0 100 0 0 2024-01-10 13:19:05
\ 0 0 53940 5315632 169624 2165764 0 0 0 0 101 179 0 0 100 0 0 2024-01-10 13:19:07
\
boを行わなくなった。chromeか、SSD書き込みやってたのは。
\
$ vmstat -t 2
\procs ———–memory———- —swap– —–io—- -system– ——cpu—– —–timestamp—–
\ r b swpd free buff cache si so bi bo in cs us sy id wa st JST
\ 2 0 53564 1957528 172924 3238500 0 0 0 195 4550 15078 10 4 84 2 0 2024-01-11 08:17:04
\ 4 0 53564 1957280 172924 3233964 0 0 0 0 4509 15231 9 4 85 2 0 2024-01-11 08:17:06
\ 0 1 53564 1957280 172924 3233964 0 0 0 0 4416 14606 9 4 84 2 0 2024-01-11 08:17:08
\ 0 1 53564 1965212 172924 3238656 0 0 0 17 4560 15123 9 4 84 2 0 2024-01-11 08:17:10
\ 1 1 53564 1964736 172924 3233972 0 0 0 0 4673 15021 10 5 84 2 0 2024-01-11 08:17:12
\ 0 0 53564 1964488 172924 3233972 0 0 0 0 4704 14853 10 4 84 2 0 2024-01-11 08:17:14
\ 0 0 53564 1959412 172924 3238512 0 0 0 17 4780 15397 10 5 83 2 0 2024-01-11 08:17:16
\ 3 0 53564 1959160 172924 3233976 0 0 0 148 4582 15083 10 4 84 2 0 2024-01-11 08:17:18
\ 1 0 53564 1958936 172924 3233980 0 0 0 0 4379 14600 9 4 85 2 0 2024-01-11 08:17:20
\ 3 1 53564 1961968 172924 3238436 0 0 0 3 4421 14951 10 5 84 2 0 2024-01-11 08:17:22
\ 0 1 53564 1950076 172924 3234224 0 0 0 13 4603 15250 11 5 82 2 0 2024-01-11 08:17:24
\ 0 1 53564 1949828 172924 3234224 0 0 0 0 4424 14808 10 4 84 2 0 2024-01-11 08:17:26
\
PCを再起動してもchromeが起動するとSSDに書き込みを行うのは変わらなかった。必要な時しか起動しない
様にする。次のVerUpまで様子見。
\
原因は、qiita.comだった。何故かqiita.comにアクセスするとブラウザのSSD書き込みが増える。
DLして更新: 2024.10
前回と同じ事をやった。状況は同じ。
参考情報:
ブラウザは本家のを使う – https://shirakawa.weblike.jp/blog-page/2022/03/07…
chromeが頻繁にhddにアクセス、でググった:
Chromeが固定ドライブにアクセスし続けるせいでパソコンが動かなくなる
https://support.google.com/chrome/thread/215795998…
【緊急警告】人気となったchromeの拡張機能が一転「極悪」へ。全ての画面キャプチャが盗み撮られている。Googleの穴をついた身元不明の開発者。
https://www.youtube.com/watch?v=Uh49Snp1x-E