【转载】关闭chromeos自动更新

某位为chromeos/macos开发过核心的大佬写的

难度不高,用浏览器自带或者插件翻译一下就行了

 

在开发者模式,运行以下指令以关闭根目录写入限制

sudo /usr/share/vboot/bin/make_dev_ssd.sh --remove_rootfs_verification --partitions 2
然后下下面的内容写进 /mnt/stateful_partition/etc/lsb-release

CHROMEOS_RELEASE_VERSION=9999.9999.9999.9999
GOOGLE_RELEASE=9999.9999.9999.9999

这样会让chromeos认为它的版本是最新的

注意:这个仅在开发者模式下有效

用恢复盘重装系统即可恢复自动更新

 

 

来源:https://www.quora.com/Is-it-possible-to-turn-off-updates-on-a-Chromebook

crostini 鼠标锁定的2个flag

chrome://flags/#enable-pointer-lock-options

chrome://flags/#exo-pointer-lock

据说84版本之后会失效

已知问题(生肉):

This implementation is imperfect for several reasons:
– Historically pointer lock was only available for Arc as part of
android’s “pointer capture” (which in wayland terms is a combination
of locking, relative motion, and cursor hiding). This CL does not
change that behaviour, meaning locking will also hide the cursor.
– We do not implement UI support for unlocking the pointer. Users
assume responsibility for malicious applications if they enable the
flag. Note that users can force the pointer to unlock via alt+tab
or by bringing up the launcher.
– We do not fix the underlying limitations in aura w.r.t. relative
motion. Applications which request relative motion without locking
the pointer will be sent inaccurate information if the pointer hits
a barrier. This is a preexisting limitation and was not fixed by
this CL.
For this reason it will only be available behind a flag.

 

来源:

https://bugs.chromium.org/p/chromium/issues/detail?id=927521#c34

https://chromium.googlesource.com/chromium/src/+/e9a6744f19342093b0d62ade4892092928b69980

启动时间缩短至1s的通用脚本

注意:

  • 需要解除BIOS写入保护锁后才能运行这个脚本,否则可能会损坏您的设备
  • 部分机型在运行完这个脚本后可能无法从usb启动
  • 运行这个脚本同样存在极低的变砖风险,请谨慎操作

脚本下载地址:

群文件/常用脚本/gbb0x39.sh

使用方法:通过u盘/Fydedrop(drop.fydeos.com) 将脚本复制到下载文件夹,运行下面的代码

cd ~/Downloads ; sudo bash gbb0x39.sh

小提示:

用chromebook访问此页面(此页面地址:120.79.199.53/?p=323),直接复制上面的代码,按ctrl+alt+t打开命令行界面,输入shell再按回车进入shell,两指轻击触摸板(等同于点鼠标右键)或者按ctrl+shift+v即可粘贴,然后按回车运行