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 &
上面小程式套件庫都有
read more...
2009年9月5日 星期六
ubuntu9.04再一個輕量級桌面icewm
icewm套件庫中就有,linux還有好幾個桌面有空再來完看看,比較低階電腦用這些桌面很適合(大約使用100M的RAM,上上網,聽音樂,看一般電影,超好用的)
1.中文字型,依樣畫葫蘆(根據前面找到字型),這次我寫了一個小bash shell來替換,一次把主題全改成中文
icewm.sh(用sudo來執行)下載
=============================================================================
#!/bin/sh
for directory in `ls /usr/share/icewm/themes/ `
do
if [ -d "/usr/share/icewm/themes/$directory" ]
then
for file in `ls /usr/share/icewm/themes/$directory/*.theme`
do
if [ -f "$file" ]
then
#echo "$file"
cat add.txt>> "$file"
fi
done
fi
done
add.txt檔放字型下載
==============================================================
#FONTS#########################################################
TitleFontName="-*-AR PL UKai TW MBE-bold-r-normal-*-*-120-*-*-p-*--*-*"
TitleFontNameXft="AR PL UKai TW MBE:size=15:medium"
MenuFontName="-*-sans-bold-r-normal-*-*-110-*-*-p-*--*-*"
MenuFontNameXft="AR PL UKai TW MBE:size=15:medium"
NormalTaskBarFontName="-*-AR PL UKai TW MBE-medium-r-normal-*-*-100-*-*-p-*--*-*"
NormalTaskBarFontNameXft="AR PL UKai TW MBE:size=10:medium"
ActiveTaskBarFontName="-*-AR PL UKai TW MBE-bold-r-normal-*-*-100-*-*-p-*--*-*"
ActiveTaskBarFontNameXft="AR PL UKai TW MBE:size=10:bold"
NormalButtonFontName="-*-AR PL UKai TW MBE-medium-r-normal-*-*-100-*-*-p-*--*-*"
NormalButtonFontNameXft="AR PL UKai TW MBE:size=10:medium"
ActiveButtonFontName="-*-AR PL UKai TW MBE-bold-r-normal-*-*-100-*-*-p-*--*-*"
ActiveButtonFontNameXft="AR PL UKai TW MBE:size=10:bold"
LabelFontName="-AR PL UKai TW MBE-bold-r-normal-*-*-120-*-*-p-*--*-*"
LabelFontNameXft="AR PL UKai TW MBE:size=12:bold"
ToolTipFontName="-*-AR PL UKai TW MBE-medium-r-normal-*-*-100-*-*-p-*--*-*"
ToolTipFontNameXft="sans:size=10:medium"
ClockFontName="-*-AR PL UKai TW MBE-medium-r-normal-*-*-100-*-*-p-*--*-*"
ClockFontNameXft="AR PL UKai TW MBE:size=10:medium"
ApmFontName="-*-AR PL UKai TW MBE-medium-r-normal-*-*-120-*-*-p-*--*-*"
ApmFontNameXft="AR PL UKai TW MBE:size=12:medium"
InputFontName="-*-AR PL UKai TW MBE-medium-r-normal-*-*-120-*-*-p-*--*-*"
InputFontNameXft="AR PL UKai TW MBE:size=12:medium"
moveSizeFontName="-AR PL UKai TW MBE-bold-r-normal-*-*-120-*-*-p-*--*-*"
moveSizeFontNameXft="AR PL UKai TW MBE:size=12:bold"
QuickSwitchFontName="-AR PL UKai TW MBE-bold-r-normal-*-*-120-*-*-p-*--*-*"
QuickSwitchFontNameXft="AR PL UKai TW MBE:size=12:bold"
ListBoxFontName="-*-AR PL UKai TW MBE-medium-r-normal-*-*-120-*-*-p-*--*-*"
ListBoxFontNameXft="AR PL UKai TW MBE:size=11:medium"
NormalWorkspaceFontName="-*-AR PL UKai TW MBE-bold-r-normal-*-*-120-*-*-p-*--*-*"
NormalWorkspaceFontNameXft="AR PL UKai TW MBE:size=12:bold"
ActiveWorkspaceFontName="-*-AR PL UKai TW MBE-bold-r-normal-*-*-120-*-*-p-*--*-*"
ActiveWorkspaceFontNameXft="AR PL UKai TW MBE:size=12:bold"
StatusFontName="-AR PL UKai TW MBE-bold-r-normal-*-*-120-*-*-p-*--*-*"
StatusFontNameXft="AR PL UKai TW MBE:size=12:bold"
ToolButtonFontName="-*-AR PL UKai TW MBE-bold-r-normal-*-*-120-*-*-p-*--*-*"
ToolButtonFontNameXft="AR PL UKai TW MBE:size=12:bold"
FxFontName="-*-AR PL UKai TW MBE-bold-r-normal-*-*-120-*-*-p-*--*-*"
FxFontNameXft="AR PL UKai TW MBE:size=12:bold"
MinimizedWindowFontName="-*-AR PL UKai TW MBE-medium-r-normal-*-*-120-*-*-p-*--*-*"
MinimizedWindowFontNameXft="AR PL UKai TW MBE:size=12:medium"
2.再工具列放幾個執行圖
vi ~/.icewm/toolbar加入
# This is an example for IceWM's toolbar definition file.
#
# Place your variants in /etc/X11/icewm or in $HOME/.icewm
# since modifications to this file will be discarded when you
# (re)install icewm.
#
prog XTerm xterm x-terminal-emulator
#prog FTE fte fte
#prog Netscape netscape netscape
prog "Mozilla Firefox" /usr/share/pixmaps/firefox-3.0.png firefox
prog "nm-applet" /usr/share/pixmaps/gnome-nettool.xpm nm-applet
prog "gnome-screenshot" /usr/share/pixmaps/gnome-qeye.png gnome-screenshot
prog "Home Folder" /usr/share/icons/gnome/16x16/places/user-home.png /usr/bin/nautilus --no-desktop
3.登入執行shell(or指令)
vi ~/.icewm/startup加入
gkrellm -w &
存檔後
chmod u+x ~/.icewm/startup
4.讓背景放大整個桌面
sudo vi /usr/share/icewm/preferences
DesktopBackgroundScaled =1
read more...
2009年9月3日 星期四
ubuntu9.04輕量級桌面e16(支援3D特效)
linux有很多桌面管理程式,再介紹一個e16,套件中就有e16(用synaptic安裝)
1.中文設定,根據上篇字型設定
vi /usr/share/e16/config/fonts.cfg.xft修改
/* Xft font example */
#include
__E_CFG_VERSION 1
__FONTS __BGN
font-default "xft:AR PL UKai TW MBE-15:bold"
font-border "xft:AR PL UKai TW MBE-15:bold"
font-border-italic "xft:AR PL UKai TW MBE-15:italic"
font-border-small "xft:AR PL UKai TW MBE-15"
font-coords "xft:AR PL UKai TW MBE-15:bold"
font-dialog "xft:AR PL UKai TW MBE-15"
font-dialog-hilite "xft:AR PL UKai TW MBE-15:bold"
font-dialog-italic "xft:AR PL UKai TW MBE-15:italic"
font-epplet "xft:AR PL UKai TW MBE-15"
font-epplet-small "xft:AR PL UKai TW MBE-15"
font-epplet-medium "xft:AR PL UKai TW MBE-15"
font-epplet-large "xft:AR PL UKai TW MBE-15"
font-focus "xft:AR PL UKai TW MBE-15:bold"
font-iconbox "xft:AR PL UKai TW MBE-15:bold"
font-init "xft:AR PL UKai TW MBE-15:bold"
font-menu "xft:AR PL UKai TW MBE-15"
font-pager "xft:AR PL UKai TW MBE-15:bold"
font-tooltip "xft:AR PL UKai TW MBE-15:bold"
__END
2.啟動e16執行shell
vi /usr/share/e16/scripts/starte16加入
nm-applet & #啟動nm-applet
gkrellm -w & #啟動gkrellm
3.背景
將圖片放到
~/.e16/backgrounds
再桌面,滑鼠右鍵,設背景
4.其他設定
再桌面,滑鼠右鍵,enlightenment seting,areas,off關掉邊界功能
再桌面,滑鼠右鍵,enlightenment seting,transparency,glass透明度,滿炫的
又是一個Linux超漂亮桌面,好用又省資源
read more...
2009年9月1日 星期二
ubuntu9.04輕量級桌面fluxbox
1.
sudo apt-get install fluxbox #安裝fluxbox桌面
sudo apt-get install feh # 安装背景的工具
vi ~/.fluxbox/startup加入下面指令,每次登入產生不同桌布背景,目錄只能放圖檔
fbsetbg -F -R /home/yplin66/圖片/ &
2.修正中文字型,fluxbox本身就能顯示中文,只是字型不對
[XXXXXXX]$ fc-list找使用字型3.
....................
AR PL UKai TW MBE:style=Book
文鼎PL简报宋,AR PL SungtiL GB:style=Regular
文泉驛正黑,WenQuanYi Zen Hei,文泉驿正黑:style=中等,Medium
Nimbus Mono L:style=Regular
FreeSans:style=Oblique,ležeče
Umpush:style=Book
Umpush:style=Bold
Norasi:style=Regular
Bitstream Charter:style=Italic
Petra:style=Regular
.........................
找到
AR PL UKai TW MBE
字型
vi ~/.fluxbox/overlay加入,會蓋掉styles裡的font
menu.frame.font: AR PL UKai TW MBE-15
menu.title.font: AR PL UKai TW MBE-15
window.font: AR PL UKai TW MBE-15
*font: AR PL UKai TW MBE-15
/usr/share/fluxbox/styles有關font移除,上面雖然會蓋掉,最好拿掉
4.修正一下,檔案開啟menu,會跑到gnome桌面
vi /etc/X11/fluxbox/fluxbox-menu,多加參數--no-desktop
[exec] (Nautilus) {/usr/bin/nautilus --no-desktop}
read more...
訂閱:
文章 (Atom)