Thursday, June 17, 2010

install certificate to jre

Unable to read repository at PKIX path building failed: unable to find valid certification path to requested target
ที่เกิดขึ้นตอนสั่งให้ eclipse update patch

certificate ของ proxy ที่บริษัทใช้
ถูกสร้างขึ้นเอง sign เอง
ไม่ได้ส่งไปให้ well-known CA ทำการ sign ให้
+ eclipse ไม่มีที่ให้ set cert

install certificate to jre

ปล. มีหลากหลายวิธีที่ทำได้

วิธีที่ 1 มีขั้นตอนดังนี้
1) d/l into /temp
2) cd /temp
3) javac
4) java InstallCert {proxy-server-name}
5) [Enter]
6) cp jssecacerts /usr/java/jdk1.6.0_18/jre/lib/security/
7) (re)start eclipse to take effect

eclipse 3.5.2


Tuesday, June 15, 2010

To setup java plugin for Firefox

64-bit Fedora 12 Constantine
Firefox 3.5.9
java version 1.6.0_18

before execute

sudo /usr/sbin/alternatives --install /usr/lib64/mozilla/plugins/ \ /usr/java/default/lib/amd64/ 20000

as shown in

ls /usr/java/default/lib/amd64/

and make sure the file exist

for me, resides in


so change the command to the correct path:

sudo /usr/sbin/alternatives --install /usr/lib64/mozilla/plugins/ \ /usr/java/default/jre/lib/amd64/ 20000

Sunday, June 13, 2010

OpenID by Gmail

My email is
(สิริพงษ์ พงศ์ภิญโญภาพ)

So my id is

ตัวอย่าง web ที่ทดลองใช้

more info:

Friday, June 4, 2010

AT&T Mercury on Fedora

AT&T USBConnect Mercury
ใช้กับ Fedora 12 Constantine

Thursday, June 3, 2010

to enable compiz fusion on xfce

fusion-icon = tray icon to launch and manage Compiz Fusion
install and start it

remember to enable window decarations, otherwise all windows will not have title bars.

Debian squeeze
sudo apt-get install compiz compizconfig-settings-manager fusion-icon compiz-fusion-plugins-main
# compiz-fusion-plugins-main : static application switcher
# compiz-fusion-plugins-extra : fade to desktop

sudo yum install -y fusion-icon

To Start Compiz directly through the XFCE session manager without loading Xfwm
cd /etc/xdg/xfce4/xfconf/xfce-perchannel-xml
sudo cp xfce4-session.xml xfce4-session-Xfwm.xml
sudo vi xfce4-session.xml

Replace the xfwm startup command,

< property name="Client0_Command" type="array" >
   <value type="string" value="xfwm4" / >
< /property >

with the following:

< property name="Client0_Command" type="array" >
    <value type="string" value="compiz" / >
    < value type="string" value="ccp" / >
< /property >


wget -O compiz-check
chmod +x compiz-check

Install ATI Proprietary Driver (fglrx)

No title bar after enable Compiz
Go to CompizConfig Setting Manager (ccsm) -> Effects
and enable "Window Decoration"

different wallpapers for different workspaces
allows you to assign multiple wallpapers to your workspaces
- sudo apt-get install compiz-fusion-plugins-extra
- Enable this option and click on the title “Wallpaper” to open the preferences for this plugin.
- click New and browse for the image that you want to upload. In the order that you have them in the list is the order they will be in the cube.
- to kill xfdesktop
xfdesktop --quit

in case slow response when enabling compiz.
right click on compiz-fusion icon (on the panel)
choose "Compiz Options"
and enable "Loose Binding" and "Indirect Rendering"