分类 默认分类 下的文章

树莓派4B - 安卓13说明

键盘按键映射按键
F1主屏幕
F2返回键
F3多任务
F4菜单键
F11音量减
F12音量加
GPIO映射
21上拉Power
21下拉开机进入RECovery
20上拉音量减
26上拉音量加

系统时间写入硬件

hwclock -w -f /dev/rtc0

拉取ssh密钥

adb root
adb pull /data/ssh/ssh_host_ed25519_key my_private_key

修改引导顺序

编辑 /boot/config.txt

#dtoverlay=android-sdcard
dtoverlay=android-usb

修改默认分辨率避免彩虹屏 /boot/resolution.txt

解决方法:管理员身份打开PowerShell执行以下命令

该命令CMD无效,无Powershell的机器可以手动到注册表添加相关项
New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowDefaultCredentials -Name Hyper-V -PropertyType String -Value "Microsoft Virtual Console Service/*" -Force
New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowDefaultCredentialsDomain -Name Hyper-V -PropertyType String -Value "Microsoft Virtual Console Service/*" -Force
New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowFreshCredentials -Name Hyper-V -PropertyType String -Value "Microsoft Virtual Console Service/*" -Force
New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowFreshCredentialsDomain -Name Hyper-V -PropertyType String -Value "Microsoft Virtual Console Service/*" -Force
New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowFreshCredentialsWhenNTLMOnly -Name Hyper-V -PropertyType String -Value "Microsoft Virtual Console Service/*" -Force
New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowFreshCredentialsWhenNTLMOnlyDomain -Name Hyper-V -PropertyType String -Value "Microsoft Virtual Console Service/*" -Force
New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowSavedCredentials -Name Hyper-V -PropertyType String -Value "Microsoft Virtual Console Service/*" -Force
New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowSavedCredentialsDomain -Name Hyper-V -PropertyType String -Value "Microsoft Virtual Console Service/*" -Force
New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowSavedCredentialsWhenNTLMOnly -Name Hyper-V -PropertyType String -Value "Microsoft Virtual Console Service/*" -Force

原文链接: https://erwinbierens.com/rdcman-hyper-v-console/

新版罗技GHUB鼠标宏不生效时,可以右键快捷方式,兼容性选项卡选择以管理员身份运行

开机自启:选择以管理员身份运行时,开机自启会失效

解决办法:按win+r打开运行,输入regedit打开注册表
\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
理论上大概应该会有一个LGHUB的启动项,双击打开之后复制数值数据,然后删掉该启动项
打开\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
右键新建-字符串值,名字输入LGHUB,双击编辑内容,粘贴刚才的数值数据进去
如果没修改的话,数值数据应该是"C:\Program Files\LGHUB\lghub.exe" --background

2022-06-27T01:27:10.png

通过注册表参数恢复经典右键菜单,最新 Windows11 22000.556 实测有效

点此下载:Win11 经典右键菜单切换.zip

2022-04-08T20:37:10.png

动手能力强的也可以按照下面指引操作:

  1. Win+R输入regedit打开注册表
  2. 进入HKEY_CURRENT_USER\Software\Classes\CLSID\路径
  3. 新建项{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}并双击进入
  4. 新建项InprocServer32并双击进入
  5. 双击打开(默认),数值数据有的话全部删掉,点击确认保存参数

2022-04-08T20:49:04.png

  1. 重启资源管理器即可生效