Ubuntu 22.04 + Chrome Remote Desktop Use Current Session

Chrome Remote Desktop 在 Ubuntu (其他 Linux 應該也是), 預設是開新的 Session ,但是這並不符合我們的使用習慣

1. 先下載這個 use_existing_session.patch patch file ,先上好 patch

2. 執行完之後

執行以下命令並重新啟動 chrome remote desktop service

export FIRST_X_DISPLAY_NUMBER = 0
echo "0" > ~/.config/chrome-remote-desktop/Xsession
systemctl restart chrome-remote-desktop@"your_user".service

目前在 Dell Notebook + Ubuntu 22.04 沒有問題,雙螢幕也可以支援

鶯歌的天空

自由時報大樓

猩球衛士小米 Xaiomi 13 Pro手機殼

非廣宣文

首購時,原廠會送 Hoda 的手機殼,這殼不錯,品質很好也很堅固,唯一的缺點就是強化玻璃,如果不小心摔到很容易就破掉

剛好我貼的 UV 膜也裂了(還真快),剛好最近逛淘寶,想說就換個殼試一下。

Read more »

Kubuntu NetworkManager No Available Network

When using Ubuntu ARM64 server to install the server version before installing Kubuntu, the NetworkManager doesn’t work and shows no available networks. Regardless of your attempts to restart NetworkManager or change Netplan configurations, none of them seem to work.

The reason for this issue is that the ‘renderer: NetworkManager’ line is missing from the network YAML configuration file. To resolve this problem, you should edit your YAML file and add the following line.

renderer: NetworkManager 

to /etc/netplan/00-installer-config.yaml (my example), then restart network manager will fix it.

ref.

https://ubuntuforums.org/showthread.php?t=2473217
https://ubuntu.com/core/docs/networkmanager/networkmanager-and-netplan

2023 Youtube 禁止使用廣告攔劫器 block adblocker

如果有用 ublock origin 加上以下敘述,又可以將廣告計數器歸零(視窗還是會跳出來)

如果有用 ublock origin 加上以下敘述,又可以擋廣告了

youtube.com##+js(set, yt.config_.openPopupConfig.supportedPopups.adBlockMessageViewModel, false)
youtube.com##+js(set, Object.prototype.adBlocksFound, 0)
youtube.com##+js(set, ytplayer.config.args.raw_player_response.adPlacements, [])
youtube.com##+js(set, Object.prototype.hasAllowedInstreamAd, true)

If it doesn’t work, try to remove this line

youtube.com##+js(set, yt.config_.openPopupConfig.supportedPopups.adBlockMessageViewModel, false)

後記:這方式似乎不是很穩定

廣告加速器

另一個思路是廣告加速器 fadblock ,不能停止廣告就加速廣告,這個會加速到 50ms 就撥完廣告。這是 chrome 連結,其他平台(firefox)也有

https://chrome.google.com/webstore/detail/fadblock/mdadjjfmjhfcibgfhfjbaiiljpllkbfc?utm_source=ext_sidebar&hl=zh-TW

ref.
https://twitter.com/endermanch/status/1713129854818742684

華為天通衛星電話服務短評

華為這家公司總是能讓人驚訝,這次 Mate 60 Pro 使用的是 9000s ,使用 DUV 全國產,效果約略等於 TSMC 5nm~7nm 的水準,雖然不是最高規格,但是在如此短的時間可以突破如此多的技術障礙,實屬讓人驚訝,不過這部份文章很多,不再贅述

前二天網友貼了一份天通衛星和華為的簡報影片,這也讓我很驚訝,他們能在二年之內從構想到商用化完成這整個案子,雖然不像 IC 設計被制裁那樣驚訝,但是以他們的內容到商用化,這個執行力和效率非常強。

以下是我對這份簡報的畫出的重點和短評

Read more »

Install phpIPAM on Kubernetes

This article is talking about how to install phpIPAM on Kubernetes, some thought might be used on other package .

It used the helm to install the phpipam(helm version) on K8s.

Read more »

ARM64 Kubernetes Qemu Metallb Linkerd Numa

Sometime I feelt hat k8s make me frustrated, Latest time I wrote this document is 4 years ago, that’s old version, but when I want to use k8s as container manager again, seems that something different and network won’t work, original document cannot work anymore, it needs to have new document to record that.

My hardware also different, if you don’t have such powerful machine, it can skip numa part, that’s only for high end ARM64 machine.
The hardware is Ampere Mt. Collins which has 2*Ampere Altra 80 Cores CPU and 8*32G Memory, my experiment is run different VM on different CPU, to seperate them and lock it on different numa node.

Read more »

樓上鄰居小孩,打擾了我的寧靜,也帶我走進了別人的世界

本篇是生活雜記,記錄了我在某個特別時刻的感受。這篇文章是從 Plurk 上摘錄下來的,如果文章內容有些零散和混亂,敬請見諒。我想把這篇文章當作我人生中的一個片段。本來這篇文章放了很久沒完成,後來又懶得動筆,直到看到這樣一個新聞

Read more »