摘要:
1. gaim 可以很輕鬆的傳送檔案 (有 win32 版本,想要用的人,推薦這款軟體)
2. protocol 本來就無差別
那麼,結論就是: google 工程師很懶。


svn co https://OpenSVN.csie.org/twradio/trunk twradio
make
./twradio
# 只相依 mplayer
BUILT-IN KEY AND MOUSE BINDINGS The following commands are built-in to fvwm: Key Help R A Popup MenuFvwmRoot Key F1 R A Popup MenuFvwmRoot Key Tab A M WindowList Root c c NoDeskSort Key Escape A MC EscapeFunc Mouse 1 R A Menu MenuFvwmRoot Mouse 1 T A FuncFvwmRaiseLowerX Move Mouse 1 FS A FuncFvwmRaiseLowerX Resize Mouse 2 FST A FuncFvwmRaiseLowerX Move AddToFunc FuncFvwmRaiseLowerX + I Raise + M $0 + D Lower The Help and F1 keys invoke a built-in menu that fvwm creates. This is primarily for new users that have not created their own configuration file. Either key on the root (background) window pops up an menu to help you get started. The Tab key pressed anywhere with the Meta key (same as the Alt key on PC keyboards) held down pop-ups a window list. Mouse button 1 on the title-bar or side frame can move, raise or lower a window. Mouse button 1 on the window corners can resize, raise or lower a window. You can override or remove these bindings. To remove the window list binding, use this: Key Tab A M -很簡單的給你例子: Key KeyName A M FunctionName 如果你要做一堆東西,就用 Function 串這些動作。 如果你要移除這個 Key Bind ,請用 Key KeyName A M - 就可以。 嗯,問題來了: Q: KeyName List 在哪裡? Q: A M 是什麼東西? 第一個答案,在 comment 裡面有寫到:
SelectOnRelease takes an optional key name as an argument. If the given key is released in a menu using this style, the current menu item is selected. This is intended for Alt-Tab WindowList navigation. The key name is a standard X11 key name as defined in /usr/include/X11/keysymdef.h, (without the XK_ prefix), or the keysym database /usr/X11R6/lib/X11/XKeysymDB. To disable this behavior, omit the key name.簡單的說,"請參考 /usr/include/X11/keysymdef.h" ,但是相信我,如果你去那裡看就能看得懂,那你真是個天才!!! 正解(?)應該是請參考 xmodmap ,用 xmodmap -pk 顯示目前 X 使用的 xmodmap list 來加入 keyname ,並且這個 keyname 應該符合 /usr/include/X11/keysymdef.h 的定義。 另外在 A M 的定義上面: A 且當它是 And 的意思。(心虛) M 是 Modifiers 的意思:
# Here you can easily change modifier keys: # N - no modifier (none pressed) # A - any modifier (0 or more) # S - Shift key (Shift_L) # M - Meta or Alt key (Alt_L) # C - Control key (Control_L) # 4 - Windows left key (Super_L)
svn co https://svn.sourceforge.net/svnroot/pidgin/trunk pidgin
caption always "%{= bk} %{= bY} [%n]%t @ %H %{-} %= %{= bR} %l %{-} | %{= KG} %Y-%m-%d %{-} "
hardstatus alwayslastline " %-Lw%{= Bw}%n%f %t%{-}%+Lw %=| %0c:%s "
#include
#include
#include
#include
// A full list of available codes can be found in /usr/include/X11/keysymdef.h
// Function to create a keyboard event
XKeyEvent createKeyEvent(Display *display, Window &win,
Window &winRoot, bool press,
int keycode, int modifiers)
{
XKeyEvent event;
event.display = display;
event.window = win;
event.root = winRoot;
event.subwindow = None;
event.time = CurrentTime;
event.x = 1;
event.y = 1;
event.x_root = 1;
event.y_root = 1;
event.same_screen = True;
event.keycode = XKeysymToKeycode(display, keycode);
event.state = modifiers;
if(press)
event.type = KeyPress;
else
event.type = KeyRelease;
return event;
}
main(int argc, char *argv[])
{
int keycode;
// Obtain the X11 display.
Display *display = XOpenDisplay(0);
if(display == NULL)
return -1;
keycode = atoi(argv[1]);
if (keycode>65535||keycode<=0) return -1;
// Get the root window for the current display.
Window winRoot = XDefaultRootWindow(display);
// Find the window which has the current keyboard focus.
Window winFocus;
int revert;
XGetInputFocus(display, &winFocus, &revert);
// Send a fake key press event to the window.
XKeyEvent event = createKeyEvent(display, winFocus, winRoot, true, keycode, 0);
XSendEvent(event.display, event.window, True, KeyPressMask, (XEvent *)&event);
// Send a fake key release event to the window.
event = createKeyEvent(display, winFocus, winRoot, false, keycode, 0);
XSendEvent(event.display, event.window, True, KeyPressMask, (XEvent *)&event);
// Done.
XCloseDisplay(display);
return 0;
}
#Launch ivman
+ I Test (x ivman) Exec pidof ivman || exec ivman
AddToFunc InitFunction
+ I Exec exec /usr/local/bin/gaim
+ I Exec exec xmodmap -e "pointer = 3 2 1"
+ I Exec exec /usr/bin/xfce-mcs-manager
設字型像這樣設...
XFT
代碼:
*FvwmIconMan-Windows: Font "xft:AR PL ShanHeiSun Uni:pixelsize=12:encoding=iso10646-1"
或用 XLFD
代碼:
*FvwmIconMan-Windows: Font "-arphic-ar pl shanheisun uni mbe-medium-r-normal--12-*-iso10646-1"
Mounting a remote filesystem with sshfs allows you to do anything on the files, just like local files. Because it is an SSH connection, it is secure (encrypted, two-way authenticated), and it works with almost any ssh server.
在 subversion repository 目錄裡面有 conf, dav, db, hooks, locks 等目錄。其中 hooks 目錄就是用來存放 hooks 的地方。總共有 5 種 hook:
* start-commit: 在 commit 開始之前執行,常用來檢查使用者是否有權執行動作。
* pre-commit: 在 transaction 完成而未真正 commit 之前執行,常用來檢查 commit 動作的有效性。可以在這個地方對 commit 時的 log 訊息進行要求。
* post-commit: 在 transaction 完成而 commit 結束,建立了新的 revision 之後執行,常用來寄送 e-mail 通知訊息。
* pre-revprop-change: subversion 的 revision property 並不會存入 repository,這個 hook 可以在 revision property 變更之前作一些處理,譬如把更新的資訊存到外部的紀錄檔裡面。
* post-revprop-change: 用途與 pre-revprop-change 類似,但會在revision property 變更之後執行。
SquashFS是一個即時解壓縮的檔案系統,如同Cloop、CramFS一般。只是,SquashFS的壓縮比更高、速度更快,又不像CramFS有單一檔案大小或整體檔案系統大小的限制,在LiveCD的應用上非常有用。
5.1 Ubuntu liveCD compression results
ext3 uncompressed size 1.4 GB
ISO9660 uncompressed size 1.3 GB
Zisofs compressed size 589.81 MB
Cloop compressed size 471.89 MB
Squashfs2.0 compressed size 448.58 MB
Squashfs2.1 compressed size 448.58 MB
5.2 Damn Small Linux liveCD compression results
ext3 uncompressed size 126 MB
CRAMFS compressed size 52.19 MB
Squashfs2.0 compressed size 46.52 MB
Squashfs2.1 compressed size 46.52 MB
Yes, an intelligent algorithm decides that if the underlying compression
algorithm used produces no results, it just marks the block as
uncompressed and stores it as such. ZLIB does this if the block gets
bigger. LZMA might not; but higher level intrinsics (block headers)
could handle that easy (as you said).
squashfs default use gzip, but you can try to patch it to use lzma,
of course you have to change mksquashfs to use lzma too.
siyou.
$ xlsfonts |head -n 10
-adobe-courier-bold-o-normal--0-0-100-100-m-0-iso10646-1
-adobe-courier-bold-o-normal--0-0-100-100-m-0-iso8859-1
-adobe-courier-bold-o-normal--0-0-75-75-m-0-iso10646-1
-adobe-courier-bold-o-normal--0-0-75-75-m-0-iso8859-1
-adobe-courier-bold-o-normal--10-100-75-75-m-60-iso10646-1
-adobe-courier-bold-o-normal--10-100-75-75-m-60-iso8859-1
-adobe-courier-bold-o-normal--11-80-100-100-m-60-iso10646-1
-adobe-courier-bold-o-normal--11-80-100-100-m-60-iso8859-1
-adobe-courier-bold-o-normal--12-120-75-75-m-70-iso10646-1
-adobe-courier-bold-o-normal--12-120-75-75-m-70-iso8859-1
因為太長了,所以我只露一點點出來,說明是這樣用的。
Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/usr/share/fonts/X11/misc"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/usr/local/share/fonts/"
EndSection
「Save Session」實用的地方在於,它讓你可以手動決定關閉前要不要儲存目前的頁面,讓下次開啟 Firefox 時可以回復目前瀏覽狀態。
根據外電報導,由於三星過度高估微軟(Microsoft)Vista出貨所帶來PC升級需求,加上PC記憶體售價自2007年起持續重挫高達56%,對三星營收及獲利更是雪上加霜,並侵蝕三星在手機、TFT LCD面板及電視等領域的獲利。
三星電子第一季淨利遽減至1.6兆韓元(約17億美元),較2006年同期衰退15%;該季營業利益1.18兆韓元,大幅衰退27%。就個別部門來看,三星半導體事業營業利益5,400億韓元,TFT LCD事業營業利益700億韓元,電信事業(含手機部門)營業利益6,000億韓元。其中,主要獲利來源半導體事業佔三星電子2006年營運收入高達比重 73%,但2007年卻急轉直下,儘管半導體事業第一季營收4.48兆韓元,微幅成長3%,然營業利益反而慘滑52%,僅有5,400億韓元。
■ [源碼報報] 開放源碼人士指稱 微軟自導自演 OOXML 請願書
謝良奇/編譯 2007/04/06
微軟網站上一封表達支持 Office Open XML 文件格式(OOXML)成為
ISO 標準的請願書,開放源碼界人士指出是微軟自導自演的戲碼,假
造出 OOXML 已獲得草根支持的形象,除了引來批評不斷,同時也曝
露出微軟擔憂競爭對手 OpenDocument 可能搶先成為業界共同標準的
焦慮。
這一份 3 月 29 日上傳到微軟英國網站上的請願書,希望支持 OOXML
的企業體能聲援 OOXML 的 ISO 快速審議申請(fast track appli-
cation)。事實上,去年 12 月,OOXML 已經通過標準組織 ECMA 的
審核,ECMA 隨後就將 OOXML 提交國際標準組織與國際電工技術委員
會(ISO/IEC)進入標準化審議程序。
稍早,OOXML 已進入 ISO/IEC 的快速審議,接下來將是為期 5 個月
的投票期,之後則有長達 1 個月的時間,讓國家標準團體提出異議
與意見。目前已有 20 個國家表達反對意見。
由 IBM、Sun Microsystems 與 Adobe 等多家廠商支持的 OpenDocu-
ment 是 OOXML 的主要競爭對手,也是開放源碼辦公室軟體套件
OpenOffice 的檔案交換格式,OpenOffice 提供了許多類似微軟
Office 的功能,部份版本的 OpenOffice 也支援了 OOXML。
Gartner 分析師 Rita Knox 表示,OOXML 與 OpenDocument 間的爭
議已經延燒許久,之前雖然有過整合兩套標準的討論,然而微軟似乎
真的相信他們推出的格式要優於對手。
開放源碼聯盟(Open Source Consortium)創辦人 Mark Taylor 認
為,這份請願書想為 OOXML 塑造草根形象,這也是微軟從開放源碼
學到的其中一課,不過卻是經由自導自演來打造這個形象。他說,假
如 OOXML 真的如此草根化,這種請願書不會等到今天才出現。
Taylor 表示,既然已經有了 OpenDocument 這套國際標準,各國政
府也逐漸採用此一標準,完全沒有必要再產生第 2 套標準。此外,
Taylor 對請願書出現的時間點也有看法,他認為在校園復活節假期
前夕丟出這樣一份請願書,顯然是有意藉此減低外界對這種宣傳手法
可能發起的抵制。Taylor 認為這份請願書曝露出,推動 OOXML 成為
國際標準面臨的困難,已經讓微軟感到焦慮。
自由資訊基礎基金會(Foundation for Free Information Infra-
structure,FFII)總監 Rufus Pollock 同意 Taylor 的說法,他認
為,微軟推動快速審議的理由,是擔心短期內藉由 OpenOffice 的普
及,OpenDocument 的使用率也會因此大幅提升。此外,快速審議是
否適用於像 OOXML 這樣一個規格書多達 6000 頁的複雜規格,也是
Pollock 指出的另外一個問題。
他認為規格書內可能隱藏了像專利等問題,需要時間仔細審查。Pol-
lock 說,讓這樣一個過份複雜的規格書草率過關,除了微軟之外,
對任何人都沒有好處。
相關網址:
1.微軟 Open XML 請願書遭批評
2.微軟請願書被視為博取 OOMXL 支持的手段
3.Office Open XML 快速審議遭反對
4.微軟 Open XML 快速審議請願飽受批評
市場已從微軟(Microsoft)等地方,聽到不少有關新款Windows Vista作業系統將為企業與其他用戶所帶來的好處,但是這款新作業系統真的沒有缺點嗎?以下是CMP旗下的媒體CRN經實際測試之後所列出的25個使用與銷售Vista應注意的事項。
1. SMB2
Vista採用了SMB協議的新版本SMB2,這可能會給那些連接到非微軟網路例如Linux的Samba伺服器上的電腦產生問題。
2. 硬體
要讓Vista能夠執行良好,電腦可能需要進行硬體升級。(參考文章迎接Vista 你跟你的PC心臟都夠力嗎?)
3. 防毒軟體
Vista並未配備防毒軟體,而市面上大多數防毒軟體尚未支援Vista。
4. 驅動支援
Vista具有數千種驅動程式,但大都是由微軟直接開發的,很多硬體製造商還未具備支援Vista的驅動程式。
5. 相容性
Vista能夠順利執行大多數應用程式,但很多他廠牌應用程式還不支援Vista。
6. 記憶體
Vista對RAM情有獨鍾,容量越大越好。2Gb的RAM才能滿足現實需要。
7. 五個版本
Vista有很多個版本,各版本之間如何升級還是未知數。
8. 啟用
Vista需要透過網路在線上啟用,在大規模推廣的過程中,這無疑會浪費太多時間。
9. 儲存空間
Vista佔據約10G的硬碟空間,因此採用Vista的電腦需要有一個大容量的硬碟。
10. 備份
從第9點就可以看出,備份會佔據很大的硬碟空間。
11. 需要的急迫性
和Window XP和Windows 95不一樣,Vista似乎沒有讓人必須擁有的理由。
12. 學習曲線
Vista和XP差別太大,不管是技術人員還是一般使用都需要進行培訓才能學會如何使用。
13. 成本
考慮到硬體需要升級,升級到Vista作業系統的成本肯定不低。
14. 硬體供應商的支援
無論是一線還是二線的硬體供應商,似乎在提供支援Vista產品的腳步上十分緩慢。
15. Windows備份
Vista的備份程式比XP的還要差勁,使用者可能不得不選擇他牌備份軟體。
16. Windows Meeting Space
功能不全。沒有VoIP功能和共享白板功能。
17. 使用者帳戶控制中心(User Access Control Center)
智慧化程度不夠,讓使用者不得不接受一些原生應用程式,例如工作排程(task scheduler)和磁碟重組(disk defragmenter)。
18. 隱藏控制選項
很多控制選項都隱藏了,要查看的話就得多勞動使用者的滑鼠。使用網路設置和顯示螢幕設置竟然被認為是非法入侵。
19. 安裝
安裝Vista有時需要數個小時,而升級的速度就更慢了。
20. 硬碟
使用混合型硬碟(Hybrid Hard Drives);這本可能成為Vista的一個性能優勢,卻沒有提供足夠的資訊或支援。
21. 500萬行程式碼
儘管Vista的開發前後持續了5年,而且對試用版進行了長期測試,未發現的bug仍必將持續出現。
22. Volume Activation 2.0 (VA2)
新的授權技術限制了安裝,並要求專用的密鑰管理伺服器來啟動系統。
23. 遺失的功能
當初微軟曾宣稱Vista將擁有一個新的文件系統(WinFS)、虛擬文件夾和很多其它功能,但這些功能現在都沒有了。
24. 不支援一些協議
Vista不支援IPX、Gopher、WebDAV、NetDDE和AppleTalk。
25. Wordpad
Wordpad不再能打開word格式(.doc)的文件。
Gimmie 將新的組織桌面的方式帶入 Gnome,給人一種全新的感覺。Gimmie 有一個被稱為 Bar 的東西,其中包括應用程序、文檔、聯繫人和計算機四大部分。通過這幾個部分,用戶能夠實現方便而快速地訪問。如果你想嘗試 Gimmie,可以參閱 Ubuntu 論壇的 Building Gimme 一文。
這個東西能否取代現有的 Gnome 面板,在 Gnome 3 中實現呢?
Archive signing key
The release files are signed by an automatic archive signing key. The 2007/etch key can be downloaded here
wget http://ftp-master.debian.org/archive-key-4.0.asc -O - | sudo apt-key add -
The Debian Project http://www.debian.org/
Debian GNU/Linux 4.0 released press@debian.org
April 8th, 2007 http://www.debian.org/News/2007/20070408
------------------------------------------------------------------------
Debian GNU/Linux 4.0 released
The Debian Project is pleased to announce the official release of Debian
GNU/Linux version 4.0, codenamed "etch", after 21 months of constant
development. Debian GNU/Linux is a free operating system which supports
a total of eleven processor architectures and includes the KDE, GNOME
and Xfce desktop environments. It also features cryptographic software
and compatibility with the FHS v2.3 and software developed for version
3.1 of the LSB.
更新 0 個套件,新安裝 0 個套件,刪除 0 個套件,另不更新 274 個套件。
[test:/]
* = none
@admin = rw
[test:/]
* =
@admin = rw
Failed to load the AuthzSVNAccessFile: The character 'e' in rule '*' is not allowed in authz rules
許多年前,這個計畫剛開始的時候,曾被稱做 "GTK+ AOL Instant Messenger" 不久 AOL 向我們提出了抱怨,然後 Mark Spencer 把名字改做 Gaim 。 AOL 平息了怒火之後不久的今天,AOL 把 AIM 的名字註冊成為商標,並且重新使用這個名字在他們的 IM 服務上面。他們重新提出了抱怨,這件事情在 slashdot 上面又挑起了戰火, gaim 的發展成員雖然獲得了些法律上的支持,但是…
因為工作轉到 Windows 平台上的關係,所以很多工具改到 Windows 上面運作,跟著在 TortoiseGit 底下使用 git-bash 來維護自己的專案原始碼。結果就是裝了前面提過的 auto-hotkey 使用熱鍵來提昇自己的平台操作速度; 但除了 hotkey...