sudo ubuntu-drivers list # Search for available drivers
sudo ubuntu-drivers install nvidia:535 # Install nvidia-driver-535 or other
sudo vim /etc/default/locale
添加一行 LC_CTYPE="en_US.UTF-8"
然后重启即可
xdg-open .
建议 alias start=xdg-open
(乐)
关于“应用程序”
.local/share/applications
/usr/local/share/applications
建好 .application
之后,直接拖到桌面即可。
https://askubuntu.com/questions/1049111/add-open-with-vs-code-to-context-menu-in-ubuntu
sudo apt install python3-nautilus
wget -qO- https://raw.githubusercontent.com/harry-cpp/code-nautilus/master/install.sh | bash
Ubuntu 22.04 和 Windows 时间冲突解决方案 - Ofnoname - 博客园
https://blog.csdn.net/weixin_42042056/article/details/104438687
要么 Linux 迁就 Win,要么 Win 迁就 Linux,考虑到 Win 就是一坨屎,还是迁就 Linux 吧
Reg add HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation /v RealTimeIsUniversal /t REG_DWORD /d 1
如果执行不了就 sudo 或者管理员权限,执行完重启
下面是迁就 Win 的
sudo apt install ntpdate
sudo ntpdate time.windows.com
sudo hwclock --localtime --systohc
加入 docker 组中
sudo usermod -aG docker $USER