感謝 ubuntu-tw 論壇的 peterho
Ident 在此文 10.10 中文輸入問題
提到的解決方法
修改 /usr/share/ibus-table/engine/table.py
在 96-106 行可以看到透過 get_chinese_mode() 決定預設語系
感謝 ubuntu-tw 論壇的 peterho
Ident 在此文 10.10 中文輸入問題
提到的解決方法
修改 /usr/share/ibus-table/engine/table.py
在 96-106 行可以看到透過 get_chinese_mode() 決定預設語系
一直以來覺得奇怪,為什麼vmware player上裝的OS其3D acceleration功能都不會動
直到最近才知道原因
原來vmware player支援3D acceleration的前題是顯示晶片必須支援OpenGL的S3TC (S3 Texture compression)功能
相關資訊: VMware and 3D acceleration on Intel graphics
這功能在intel driver預設是關閉的(包含linux & windows)
原來windows上好用的免空下載器JDownloader也有PPA repository可用
JDownloader 官網
PPA repository
可用下列命令增加此套件庫
>sudo add-apt-repository ppa:jd-team/jdownloader
通常在 Open Source 的原始碼資料夾下會看到 AAAA.5 BBBB.8
副檔名1~8代表的意義可查詢 man 的說明檔得到
>man man
若要直接讀取說明檔檔案
>man -l <file>
1.
引用標頭檔 linux/ioctl.h
#include <linux/ioctl.h>
若 kernel 內有定義 CONFIG_COMPAT 這 defined constant
表示 ioctl 在 相容模式 (compatibility mode)
假設寫了一支 smalldd 的程式是一支以網路核心功能開發的程式
1.
把 smalldd.h 檔放到 include/net/ 下
2.
把 smalldd.c 檔放到 net/core/ 下
1.
安裝 vim addon 管理套件 和 vim 的 plug-ins
>sudo apt-get install vim-addon-manager vim-scripts
2.
安裝 plug-in
這是從 Joey 的 Who call me – kernel版 看來的
在 Linux kernel 中可以使用 sprint_symbol() 來查看函式指標指到的函式名稱和 stack 位址
用法相當簡單
假設有個加法函式
int add(int augend, int addend);