使用 linux 作为桌面系统会遇到的一些小问题和解决方案

安装中文字体

sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei

 

“network connection”里“add vpn”是灰色

sudo apt-get install network-connection-pptp-gnome

 

无法保存 vpn 密码

sudo apt-get install gnome-keyring

 

给 lxde 添加锁定屏幕和打开终端的快捷键

vi ~/.config/openbox/lxde-rc.xml
<keyboard>
    <!-- lock screen -->
    <keybind key="C-A-l">
        <action name="Execute">
            <command>lxlock</command>
        </action>
    </keybind>
    <keybind key="W-l">
        <action name="Execute">
            <command>lxlock</command>
        </action>
    </keybind>
    <!-- start terminal-->
    <keybind key="C-A-t">
        <action name="Execute">
            <command>lxterminal</command>
        </action>
    </keybind>
    <keybind key="W-t">
        <action name="Execute">
            <command>lxterminal</command>
        </action>
    </keybind>
</keyboard>
openbox --reconfigure

 

apt-get 提示 “警告:一些软件包无法通过验证(WARNING: The following packages cannot be authenticated)”

一般是在`aptitude`的执行过程中按`Ctrl+C`导致的,解决办法如下:

sudo apt-key update
sudo apt-get update

 

Konsole 不能使用 YaHei Consolas Hybrid 字体

原因是 Qt 库认为这个字体不是等宽字体

vi ~/.kde/share/apps/konsole/Shell.profile 

手动写入字体名称即可解决

 

2015.3 21 :都已经决定不用 linux 桌面很久了。最近因为有在 linux 下使用 gui 的需求,所以在虚拟机里装了linux桌面,一位朋友推荐安装xubuntu,经过测试确实很不错,比debian+lxde要亲切很多,而且不至于像标准 ubuntu 的 unity desktop 那样迟缓,兼容性良好。

 

主力工作站机器(特别是笔记本)因为有快捷键、散热控制、电源管理、双显卡等特殊机制,还是应该安装驱动支持良好的 Windows NT 6.x 产品作为 host system,而不是直接安装 linux 桌面,以避免一些麻烦的小问题。

 

安装 chromium 搭配的 pepperflash 插件时遇到 GPG error 提示:

# https://www.google.com/linuxrepositories/
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

导入谷歌的 GPG key 即可解决

 

---

posted @ 2014-12-23 18:08  intervention  阅读(577)  评论(0编辑  收藏  举报