idesk

| | Comments (1)

http://idesk.sourceforge.net/
可以把 icon 放到 root desktop 上(eg. IceWM's desktop)

原始網站上的 0.3.5 版的檔案壞了(已發信通知作者)
正確檔案可到這裡下載

要 make idesk, 需要下面的 rpm
freetype2-devel
libtiff3-devel
libungif4-devel
libimlib1-devel

作如下 link
ln -fs /usr/include/freetype2/freetype /usr/include

make 的時候, /usr/include/pngconf.h
__png.h__ already includes setjmp.h;
__dont__ include it again.;
這兩行會出現錯誤, 不曉得為什麼, mark 掉即可 make, make 出的來檔案也正常

idesk 需要 /etc/fonts/fonts.conf
這個檔是給 Xlib 看的
The X-specific library 'Xft' uses fontconfig along with freetype to specify and rasterize fonts.
若沒這個檔, 會出現如下錯誤
FontConfig error: Cannot load default config file

idesk 需要 /usr/X11R6/lib/modules/extensions/libextmod.a
若沒這個檔, idesk 可以跑, 但是有 mouse 動作時會出現如下錯誤, 而且 icon 透明的部分會變成黑色
Xlib: extension "SHAPE" missing on display ":0.0".

設定檔 $HOME/.ideskrc
範例

table Config
FontName: tahoma
FontSize: 8
FontColor: #ffffff
PaddingX: 35
PaddingY: 25
Locked: false
HighContrast: false
Transparency: 150
Shadow: true
ShadowColor: #000000
ShadowX: 1
ShadowY: 2
Bold: false
end

PaddingX, PaddingY: 這個參數在 README 並沒有提到, 在新版(0.5x)也被刪除, 意義不明
Locked: 是否鎖定 icon 位置
HighContrast:是否在 text 外框用反色描繪
Transparency: 透明度, 0=不透明, 255=完全透明, 指 mouse not hover 時的狀況
Shadow: 是否描繪影子
UseDoubleClick: 是否使用 double click 啟動程式
Bold: 是否 text 粗體

設定目錄 $HOME/.idesktop (內存 icon link file)
範例:

table Icon
Caption: mozilla
Command: /usr/bin/mozilla
Icon: /usr/share/icons/mozilla.png
X: 60
Y: 200
end

1 Comments

作者有回信, 原始網站上的版的檔案已修復
http://idesk.sourceforge.net/releases/idesk-0.3.5.tar.gz

Leave a comment

March 2009

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

About this Entry

This page contains a single entry by Pank published on August 16, 2004 6:18 PM.

Windows XP SP2 4226 fix was the previous entry in this blog.

Movie player on Linux is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.