Pages

Saturday, July 24, 2010

How to browsing Silverlight website with Ubuntu using Moonlight

for firefox only

accordance with the title above, here's how:

just click it
for 32bit:
http://www.go-mono.com/moonlight/downloads/2.3/novell-moonlight-2.3-i586.xpi

for 64bit:
http://www.go-mono.com/moonlight/downloads/2.3/novell-moonlight-2.3-x86_64.xpi

if you have pop-up, firefox prevented this site (www.blabladomainname.com) from asking you to install software on your computer, just click allow.

note:
Moonlight
Silverlight for Linux: a free plug-in.
Bringing a new level of interactivity wherever the Web works.
Rich Internet Applications

Moonlight is an open source implementation of Microsoft Silverlight for Unix systems. With Moonlight you can access videos, applications and content created for Silverlight on Linux.

source: http://www.go-mono.com/moonlight/

Monday, July 5, 2010

Ubuntu 10.04 : Install and set Sun JDK as default

For Ubuntu 10.04 LTS, the sun-java6  packages have been dropped from the Multiverse section of the Ubuntu archive. It is recommended that you use openjdk-6 instead.

If you can not switch from the proprietary Sun JDK/JRE to OpenJDK, you can install sun-java6 packages from the Canonical Partner Repository. You can configure your system to use this repository via command-line:
add-apt-repository “deb http://archive.canonical.com/ lucid partner”
You can also enable it from system->Administration->Software Sources, second tab “other sources” and check the “http://archive.canonical.com/ lucid partner”

to install Sun JDK back you just have to run :
sudo aptitude install sun-java6-jre sun-java6-plugin sun-java6-fonts sun-java6-jdk
 but after that, if you run java -version, it's still the openjdk version.
odus@xodus:~$ java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-0ubuntu1)
OpenJDK Server VM (build 14.0-b16, mixed mode)
You could try to remove openjdk, but you'll hit some annoying dependency issue.

Instead of removing you can configure the system to default to Sun JDK
odus@xodus:~$ sudo update-alternatives --config java
[sudo] password for odus:
There are 2 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                      Priority   Status
------------------------------------------------------------
* 0            /usr/lib/jvm/java-6-openjdk/jre/bin/java   1061      auto mode
  1            /usr/lib/jvm/java-6-openjdk/jre/bin/java   1061      manual mode
  2            /usr/lib/jvm/java-6-sun/jre/bin/java       63        manual mode

Press enter to keep the current choice[*], or type selection number: 2
update-alternatives: using /usr/lib/jvm/java-6-sun/jre/bin/java to provide /usr/bin/java (java) in manual mode.

odus@xodus:~$ java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode)
odus@xodus:~$
Source:
http://www.ubuntugeek.com/sun-java-moved-to-the-partner-repository-in-ubuntu-10-04-lucid.html
http://blog.mansonthomas.com/2010/05/ubuntu-1004-install-and-set-sun-jdk-as.html

Sunday, July 4, 2010

Update VLC 1.1.0-2

update from ppa
https://launchpad.net/~c-korn/+archive/vlc
i have trouble for update and upgrade
odus@xodus:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
gyp vlc vlc-nox
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,360kB of archives.
After this operation, 233kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ppa.launchpad.net/chromium-daily/ppa/ubuntu/ lucid/main gyp 0.1~svn836-0ubuntu1~ucd1~lucid [130kB]
Get:2 http://ppa.launchpad.net/c-korn/vlc/ubuntu/ lucid/main vlc 1.1.0-2~ppa1 [1,997kB]
Get:3 http://ppa.launchpad.net/c-korn/vlc/ubuntu/ lucid/main vlc-nox 1.1.0-2~ppa1 [3,233kB]
Fetched 5,360kB in 4min 24s (20.2kB/s)
(Reading database ... 179342 files and directories currently installed.)
Preparing to replace gyp 0.1~svn826-0ubuntu1~ucd1~lucid (using .../gyp_0.1~svn836-0ubuntu1~ucd1~lucid_all.deb) ...
Unpacking replacement gyp ...
Preparing to replace vlc 1.1.0-1~ppa1 (using .../vlc_1.1.0-2~ppa1_i386.deb) ...
Unpacking replacement vlc ...
dpkg: error processing /var/cache/apt/archives/vlc_1.1.0-2~ppa1_i386.deb (--unpack):
trying to overwrite '/usr/lib/vlc/plugins/codec/libsdl_image_plugin.so', which is also in package vlc-nox 0:1.1.0-1~ppa1
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Preparing to replace vlc-nox 1.1.0-1~ppa1 (using .../vlc-nox_1.1.0-2~ppa1_i386.deb) ...
Unpacking replacement vlc-nox ...
dpkg: error processing /var/cache/apt/archives/vlc-nox_1.1.0-2~ppa1_i386.deb (--unpack):
trying to overwrite '/usr/lib/vlc/plugins/codec/libx264_plugin.so', which is also in package vlc 0:1.1.0-1~ppa1
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Processing triggers for python-support ...
Errors were encountered while processing:
/var/cache/apt/archives/vlc_1.1.0-2~ppa1_i386.deb
/var/cache/apt/archives/vlc-nox_1.1.0-2~ppa1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
for solve your update and upgrade VLC 1.1.0-1 to VLC 1.1.0-2 :
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 7613768D
On update problems just reinstall vlc:
sudo apt-get purge vlc vlc-nox mozilla-plugin-vlc vlc-plugin-pulse
sudo apt-get install vlc vlc-nox mozilla-plugin-vlc vlc-plugin-pulse
and now you have  VLC 1.1.0-2 :) source : https://launchpad.net/~c-korn/+archive/vlc