ubuntu技巧

virtualbox使用独立显卡

技巧出自ubuntuform
[sudo] optirun virtualbox –startvm xxx

查看

sudo lspci | grep -i vga
02:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 730M] (rev a1)
如果最后不是ff,而是a1或其他,说明独立显卡运行

virtualbox命令行

字体错误解决

命令行运行时显示和字体有关的错误,如下

Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 90: Having multiple <family> in <alias> isn't supported and may not work as expected

说明alias里包含太多个family了
把他们拆出来即可

原来的样子
    <alias>
    <family>Segoe UI</family>
    <family>Calibri</family>
    <family>Candara</family>
    </alias>

    拆完后
    <alias>
    <family>Segoe UI</family>
    </alias>
    <alias>
    <family>Calibri</family>
    </alias>
    <alias>
    <family>Candara</family>
    </alias>

你可能感兴趣的:(ubuntu技巧)