星期一, 8月 28, 2006

Xgl Window Decorator

用Xgl之後最大的不同 就是Window manager
本來的Metacity xfwm4 或是kwm會被gnome-window-decorator或是kde-window-decorator取代

在視窗標題按右鍵就會發現原本一些On The Top 或是Send to Desktop的功能都不見了

Java需要Window Decorator的視窗都會變成灰色,其他的還是可以正常顯示

另外有一個很好用的是cgwd
它可以取代*-window-decorator 而且有theme的功能
http://xgl.compiz.info/

gcompizthemer - 設定佈景的工具

Xgl and Java

執行Xgl之後,Java的視窗都變成灰色一片

用滑鼠可以按,只是內容都不會更新


Novell的人說上了Xgl跟compiz的patch有效
http://lists.freedesktop.org/archives/compiz/2006-June/000224.html
http://lists.freedesktop.org/archives/compiz/2006-June/000227.html

可能因為我用的是cgwd不是compiz ? 感覺沒有效果

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6429775

目前的解決方法是
export AWT_TOOLKIT="MToolkit"

星期五, 8月 25, 2006

Build Xgl on Ubuntu Dapper

Hardware:
AMD SP 2800+ 64bit
Nvidia 6200TC (64MB+256TurboCache)
DDR 333 1G

Software:
Ubuntu Dapper 64bit

1.Get The Source
Fellow instructions on
http://www.freedesktop.org/wiki/Software/Xgl

Some CVS sources may be hosts by git now.You will get an error when trying to build from cvs.
To get source via git:
git clone GIT-URL LOCAL-DIR
git clone git://git.freedesktop.org/git/xorg/app/compiz app/compiz

2.Build Dependency
You have to use apt to get som -dev packages in order to build Xgl.
Install x11proto-*-dev and some other packages.

3.Install Nvidia Driver
apt-get install nvidia-glx
This package provides Nvidia Driver and also a libGL from Mesa(libGL.so.1.xlibmesa).You need this library to run compiz.

4.Try Your Xgl
Run in your current X.
Xgl :1 -ac -accel xv -accel glx:pbuffer -fp /usr/share/X11/fonts/misc/,/usr/share/X11/fonts/100dpi/,/usr/share/X11/fonts/75dpi/&
metacity &
DISPLAY=:1 /opt/Xgl/bin/compiz --replace decoration wobbly fade minimize cube rotate zoom scale move resize place switcher &
DISPLAY=:1 /usr/bin/gnome-terminal &
DISPLAY=:1 /opt/Xgl/bin/gnome-window-decorator --replace &

5.Setup GDM
http://gentoo-wiki.com/HOWTO_XGL#GDM_.28for_GNOME_users.29

6.Xgl Script
#!/bin/sh
metacity &
/opt/Xgl/bin/compiz --replace gconf decoration wobbly fade minimize cube rotate scale move resize place switcher water &
/opt/Xgl/bin/gnome-window-decorator --replace &

Add this script to your Xfce or Gnome start-up list.
You will see Xgl right after login.

To update git sources
Enter git tree which contains a .git directory
for example apps/compiz/

then git pull origin

星期三, 8月 23, 2006

Novell SUSE Linux

SUSE Linux Enterprise 10 Platform

A platform for the entire open enterprise, delivering new solutions that help you outperform competitors, cut costs, neutralize security threats and satisfy the most demanding customers. From desktops to data centers, the best Linux just got better.

Virtualization

Management

Security

Storage

A fully integrated, high-availability storage foundation composed entirely of open source components, that will run Oracle RAC straight out of the box—at no extra charge.
Learn more

Java J2EE

測試廣告
Java Platform, Enterprise Edition (Java EE) is the industry standard for developing portable, robust, scalable and secure server-side Java applications. Building on the solid foundation of Java SE, Java EE provides web services, component model, management, and communications APIs that make it the industry standard for implementing enterprise class service-oriented architecture (SOA) and Web 2.0 applications.

星期二, 8月 22, 2006

轉換到Blogger Beta

Blogger Beta終於支援Labels分類了
(怎麼好像剛剛那篇講過?)

轉換過程中遇到一些怪問題...

1.Google帳號 ksc91u@gmail.com 跟Blogger帳號 ksc91u有相同的密碼
轉換之後不管怎麼登入 都會是新的Blogger Beta

2.編輯Template目前還不行Work,雖然可以加入HTML區塊,但是Adsense廣告不會出現

3.好像還沒有Recent Comments

解法
1.
  • 從www.blogger.com登入的時候 隨便亂打一個密碼
  • 到忘記密碼的網頁,輸入你的login name
  • 圖片認證之後,就會把更新密碼的方法寄到你的信箱
  • 去填一個新密碼,注意不要用跟Google Account 一樣的密碼
  • 之後,同樣的帳號 Beta就用Google的密碼 原本的就用Blogger的密碼
  • Blogger Beta的密碼,就是Google Account的密碼,可以從Google Login頁去改變
2.
  • Adsense的HTML碼<script type="text/javascript"><!--

    google_ad_client = "pub-5332257042426892";

    google_ad_width = 728;

    google_ad_height = 90;

    google_ad_format = "728x90_as";

    google_ad_type = "text_image";

    google_ad_channel ="";

    google_color_border = "6699CC";

    google_color_bg = "003366";

    google_color_link = "FFFFFF";

    google_color_text = "AECCEB";

    google_color_url = "AECCEB";

    //--></script>

    <script type="text/javascript"

    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

    </script>
  • <!--//-->

    刪掉,中間的要保留

SolidDB for MySQL

solidDB Storage Engine for MySQL is an open source, transactional storage engine for MySQL Server. It is designed for mission-critical implementations that require a robust, transactional database. solidDB Storage Engine for MySQL is a multi-threaded storage engine that supports full ACID compliance with all expected transaction isolation levels, row-level locking, and Multi-Version Concurrency Control (MVCC) with non-blocking reads and writes. It is based on the storage engine technology of Solid EmbeddedEngine(TM). which is fully-featured relational database that is being used in over 3 million instances running in production today. They are used by applications such as network management frameworks, class 5 switches, trading room applications, retail point of sale systems, emergency location services, and storage systems.

solidDB Storage Engine for MySQL is fully aligned with MySQL's storage engine integration framework.

http://dev.soliddb.com/doc/docs/doc_html/getting_started.html

Blogger Beta

新的Blog終於支援Labels
才剛剛設定Furl沒多久...

不過現在不知道怎麼登入本來的Blogger了...
所以也沒有辦法刪掉本來的URL

可惡