Showing posts with label Constantine. Show all posts
Showing posts with label Constantine. Show all posts

Tuesday, June 15, 2010

To setup java plugin for Firefox

Env:
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/libjavaplugin.so \
libjavaplugin.so.x86_64 /usr/java/default/lib/amd64/libnpjp2.so 20000

as shown in http://www.mjmwired.net/resources/mjm-fedora-f12.html#java

try
ls /usr/java/default/lib/amd64/libnpjp2.so

and make sure the file exist

for me, libnpjp2.so resides in

/usr/java/default/jre/lib/amd64/libnpjp2.so
not
/usr/java/default/lib/amd64/libnpjp2.so

so change the command to the correct path:

sudo /usr/sbin/alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so \
libjavaplugin.so.x86_64 /usr/java/default/jre/lib/amd64/libnpjp2.so 20000

Friday, June 4, 2010

AT&T Mercury on Fedora

AT&T USBConnect Mercury
ใช้กับ Fedora 12 Constantine
Kernel 2.6.32.11-99.fc12.x86_64
ได้เลย
เสียบปุ๊บติดปั๊บ

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


Fedora
======
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 >


Ref: https://wiki.archlinux.org/index.php/Compiz#XFCE


Troubleshooting
===============
wget http://blogage.de/files/70708/download -O compiz-check
chmod +x compiz-check
./compiz-check
http://forlong.blogage.de/entries/pages/Compiz-Check


Install ATI Proprietary Driver (fglrx)
==========================
http://siripong-computer-tips.blogspot.com/2011/09/ati-redeon-driver-in-linux.html


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


different wallpapers for different workspaces
===========================
with http://wiki.compiz.org/Plugins/Wallpaper
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"

Ref: linuxquestions.org