Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Thursday

How to install and run BlueGriffon WYSIWYG HTML editor on Ubuntu 12.04?


BlueGriffon is one of the good WYSIWYG HTML editors to edit web pages based on Gecko, the rendering engine of Firefox. It can be used to create and edit HTML 5, CSS 3, SVG, and MathML documents.

To install and run this WYSIWYG HTML editor on Ubuntu 12.04 LTS, do the following:
  • Download BlueGriffon installer from http://bluegriffon.org/freshmeat/1.5.2/BlueGriffon-1.5.2-Ubuntu11.10-i686-Install.
  • Right-click the downloaded installer file, select Properties, tab on Permissions and then tick the box “Allow executing file as program”.
  • Click Close button.
  • Double click on the installer file to install. Make sure the “Create Desktop Shortcut” box is ticked. Default destination folder will be at “/home/user1/BlueGriffon”.
  • To run BlueGriffon program, double click the BlueGriffon icon from the Ubuntu desktop.
  • To test BlueGriffon program, go to Menu and then select File > Open > Choose File > Open > OK to open a HTML file. Edit the file. After you have done with your editing, press Ctrl+S to save the HTML file. Press Ctrl+W to close current tab. Quit BlueGriffon program by selecting Menu > File > Quit.
  • Finally, to view the edited HTML file use Firefox browser.

Tuesday

How to install OpenJDK Java 7 plugin for Firefox browser in Ubuntu 12.04?

You need to install Icedtea Java Plugin package to execute Java Applets in Firefox browser. Just by installing OpenJDK package will not be enough.

Use the following steps:
  • Hit windows key to open the Dash Home.
  • Search for ubuntu.
  • Select Ubuntu Software Center under Applications.
  • Check if you have removed openjdk-6-jdk and icedtea6-plugin. If not, remove them from the Ubuntu Software Center.
  • Check if you have installed OpenJDK Java 7 Runtime (openjdk-7-jre) and OpenJDK Java 7 Development Kit (openjdk-7-jdk). If not, install them from the Ubuntu Software Center.
  • Search for icedtea-plugin in the Ubuntu Software Center.
  • Select Icedtea Java Plugin and click the Install button.
  • Restart your Firefox browser if you have opened the browser before.
  • Finally, test your Java Applet.

Wednesday

Create keyboard shortcut to open OpenOffice program

  • Click Ubuntu Start Menu | System | Preferences | Keyboard Shortcuts at the upper left.
  • The Keyboard Shortcuts dialog box appears.
  • Click Add button.
  • Custom Shortcut dialog box will be opened.
    • Type: Name:  OpenOffice odt (w=word)
    • Type: Command: ooffice -writer
  • Click Apply button to close Custom Shortcut dialog box.
  • To edit the OpenOffice shortcut key, click on the corresponding row and type a new key combination, for example, “Ctrl+Alt+W”, or press backspace to clear.
  • Click Close button to close Keyboard Shortcuts dialog box.

Saturday

Steps on how to Install Ubuntu Java for FireFox and Google Chrome web browsers

Firefox web browser is included in the Ubuntu Desktop Edition 10.04 LTS operating system by default.

Install Google Chrome web browser (Chromium, codename) using the following steps:
Top Panel | System | Administration | Software Sources | make sure "http://archive.canonical.com/ lucid partner" is checked under "Other Software" tab
Top Panel | System | Administration | Synaptic Package Manager  | apply to install "Chrome"
Wait while downloading Chrome package files
Test: Top Panel | Applications | Internet | click to open Chromium Web Browser

Install Java JDK using the following steps:
Ctrl+Alt+T to open Terminal, Ctlr+Shift+T to open new tab
// $ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
// $ sudo apt-get update
// $ sudo apt-get install sun-java6-jdk sun-java6-jre sun-java6-plugin sun-java6-fonts
$ sudo apt-get install openjdk-6-jdk
// $ find /usr/lib/jvm -name '*.so'
$ find /etc/alternatives -name 'mozilla*'
/etc/alternatives/mozilla-javaplugin.so
/etc/alternatives/mozilla-flashplugin
$

Install Java Plugin for Firefox browser using the following steps:
$ cd /usr/lib/mozilla/plugins
Create soft link: $ sudo ln -s /etc/alternatives/mozilla-javaplugin.so libjavaplugin.so
// $ sudo rm libjavaplugin2.so
Reload your Firefox web browser.
Test Java on Firefox browser: http://www.java.com/en/download/testjava.jsp

Install Java Plugin for Google Chrome browser using the following steps:
// $ cd /opt/google/chrome, if you install from http://www.google.com/chrome?platform=linux
$ locate IcedTeaPlugin.so
/usr/lib/jvm/java-6-openjdk/jre/lib/i386/IcedTeaPlugin.so
$ cd /usr/lib/chromium-browser/plugins
Create soft link: $ sudo ln -s /usr/lib/jvm/java-6-openjdk/jre/lib/i386/IcedTeaPlugin.so libjavaplugin.so
Close and reopen your Google Chrome web browser.
Test Java on Google Chrome browser: http://www.java.com/en/download/testjava.jsp

Note:
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.32-21 linux-headers-2.6.32-21-generic
Use 'sudo apt-get autoremove' to remove them.

Monday

PyBrain v0.3 Installation on Ubuntu Linux


Download and extract http://www.pybrain.org/files/PyBrain-0.3.zip to user directory

Download and copy http://peak.telecommunity.com/dist/ez_setup.py to the PyBrain directory

$ sudo apt-get install python-scipy
$ sudo apt-get install python-numpy
$ sudo apt-get install python-matplotlib
$ sudo apt-get install python-setuptools
$ sudo python ez_setup.py
$ sudo python setup.py install
$ python --version
Python 2.6.5
$ python
>>> import numpy
>>> numpy.__version__
'1.3.0'
>>> import scipy
>>> scipy.__version__
'0.7.0'
>>> import matplotlib
>>> matplotlib.__version__
'0.99.1.1'
>>> quit( )
// test it
PyBrain-0.3/examples/supervised/evolino$ ls -al
-rwxr-xr-x   superimposed_sine.py
PyBrain-0.3/examples/supervised/evolino$ python superimposed_sine.py
// wait for ½ hour

References:
1. http://www.pybrain.org/docs/
2. https://github.com/pybrain/pybrain/wiki/installation
3. https://github.com/pybrain/pybrain/wiki/Dependencies

Multiple Languages in Spoken Words

Lax lah. - English, Malay.   Sik Zo Mei, Chi1, Simi Lay. = Chinese1, Chinese2, Chinese3. This barang is cikai one lah. = English, Malay, Chi...