2009年9月6日 星期日

ubuntu9.04再一個輕量級桌面WindowMaker
















WindowMaker套件庫就有,這個滿漂亮的

1.字型依樣畫葫蘆(我寫了bash shell來一次替換 /usr/share/WindowMaker/Styles/下,所有style的字型)下載

wm.sh(sudo來執行)

-------------------------------------------------------------------------------------

#!/bin/sh
for file in `ls /usr/share/WindowMaker/Styles/*.style`
do
if [ -f "$file" ]
then
sed "/Font/s/\".*\"/\"Trebuchet MS,AR PL UKai TW MBE-1:bold:pixelsize=15\"/g" $file > $file.test
rm $file
cp $file.test $file
rm $file.test
#echo "$file"
#cat add.txt>> "$file"
fi
done

2.背景
把圖片放到
~/GNUstep/Library/WindowMaker/Backgrounds

滑鼠右鍵,工作區,外觀,backgrounds,




3.
sudo vi /etc/X11/WindowMaker/menu.hook

"Nautilus" SHEXEC /usr/bin/nautilus改成

"Nautilus" SHEXEC /usr/bin/nautilus --no-desktop

避免開啟檔案瀏覽器,跳到gnome桌面

4.登入執行指令(shell)
vi ~/GNUstep/Library/WindowMake/autostart 加入

#
# Place applications to be executed when WindowMaker is started here.
# This should only be used for non-X applications or applications that
# do not support session management. Other applications should be restarted
# by the WindowMaker session restoring mechanism. For that, you should
# either set SaveSessionOnExit=YES or select "Save Session" in the Workspace
# submenu of the root menu when all applications you want started are
# running.
#
# WindowMaker will wait until this script finishes, so if you run any
# commands that take long to execute (like a xterm), put a ``&'' in the
# end of the command line.
#
# This file must be executable.
#
wmcalclock &
wmmemload &
wmmixer -w &
wmsysmon &
wmcpuload &
wmxmms2 &
nm-applet &
xmms2d &





上面小程式套件庫都有




沒有留言: