修改linux系统下的字体

kang@kang-desktop:/
>$ cd etc/fonts/conf.avail

kang@kang-desktop:/etc/fonts/conf.avail
>$ sudo gedit 49-sansserif.conf

下面是49-sansserif.conf文件中的内容

If the font still has no generic name, add sans-serif
 -->
    <match target="pattern">
        <test qual="all" name="family" compare="not_eq">
            <string>sans-serif</string>
        </test>
        <test qual="all" name="family" compare="not_eq">
            <string>serif</string>
        </test>
        <test qual="all" name="family" compare="not_eq">
            <string>monospace</string>
        </test>
        <edit name="family" mode="append_last">
            <string> 文泉驿正黑</string>   //修改为<string> 文泉驿正黑</string>
        </edit>
    </match>
</fontconfig>

文件被删除后怎么恢复

一不小心,删错了,还把回收站清空了,只要三步,你就能找回你删掉并清空回收站的东西


步骤:
1、单击“开始——运行,然后输入regedit (打开注册表)


2、依次展开:HEKEY——LOCAL——MACHIME/SOFTWARE/microsoft/WINDOWS/ CURRENTVERSION/EXPLORER/DESKTOP/NAMESPACE 在左边空白外点击“新建”
,选择:“主键”,把它命名为“645FFO40——5081——101B——9F08——00AA002F954E”
再把右边的“默认”的主键的键值设为“回收站”,然后退出注册表。就OK啦。

3、要重启你的计算机。
只要你机器没有运行过磁盘整理。系统完好.任何时候的文件都可以找回来。

虚拟机启动问题VirtualBox kernel driver not installed

处理方法:

cd /etc/init.d/

sudo ./vboxdrv setup

sudo modprobe -r vboxdrv

sudo mv /etc/modprobe.d/ndiswrapper /etc/modprobe.d/ndiswrapper.conf

 

UG post builder 中安装后置处理文件

UG postbuilder 中安装后置处理文件

阅读全文

UG安装冲突处理方法

假如在UG安装完成并将许可文件Imgrd.exe文件配置好以后UG冲突无法使用,解决方法如下;

将安装目录下的UGII文件夹下面的psapi.dll改为psapi_bak.dll或者删除该文件即可。

virtualbox 网络配置

virtualbox 网络配置

阅读全文

(ubuntu9.04)源及其更新过程

(ubuntu9.04)源及其更新过程

阅读全文

编译vtk程序的makefile文件

编译vtk程序的makefile

阅读全文

ubuntu 下利用ndiswrapper安装无线网卡驱动

ubuntu 下利用ndiswrapper安装无线网卡驱动

 

 

首先 安装 ndiswrapper
ubuntu下也就是 ndisgtk   (用于安装无线网卡驱动)
sudo apt-get install ndisgtk

安装好了之后,找到你的无线网卡在windows下的驱动文件(含有.inf的目录)(可以从网上下载也可以从驱动盘中获得),将该目录中的文件拷到主目录的新建文件夹中,
执行 sudo ndiswrapper -i yourname.inf     //yourname是你驱动inf的文件名称
安装以后会在  /etc/ndiswrapper/  下面建立一个相应的目录youname,

到该目录下(cd /etc/ndiswrapper)执行  sudo ndiswrapper -l   //查看驱动安装ok了没 显示driver installed

写入配置文件:
sudo ndiswrapper -m           (让ndiswrapper在启动时自动加载,
无线网卡会在系统启动初始化hotplug subsysytem时装载(这时卡上的电源灯才会亮) )

modprobe ndiswrapper        (让linux加载ndiswrapper module)

这样就可以配置无线网卡了,在SSID中输入无线路由名,在“无线安全性”中选择“WPA及WPA2个人”,然后输入密码即可。

配置好后重启下无线网络即连接成功。

 

终端中的步骤:

sudo apt-get install ndisgtk

sudo ndiswrapper -i net8192u.inf

cd /etc/ndiswrapper/

sudo ndiswrapper -l

sudo ndiswrapper -m

sudo ndiswrapper -mi   \\保证重启之后不再设置

sudo modprobe ndiswrapper

最后设置无线网络连接。

ubuntu输入法SCI 不显示方案解决

ubuntu输入法SCI 不显示方案解决

阅读全文