Your Ad Here

Photoshop CS4 bugs : Fix with latest Wine 1.1.35

December 28, 2009

Few weeks ago we post a tutorial on how to install & run Adobe Photoshop CS4 using Wine 1.1.17 & wine tricks on Ubuntu Karmic Koala, turns out some kind of annoying bugs appears on menu bar [as picture].
After a few test on several different PCs, we figure out that actually these bugs can be avoided with newer version of wine ( 1.1.19 ) to latest version ( 1.1.35 ).
So if you were having the same bugs just download & install latest version Wine.

Basic Calculator - Gambas

December 23, 2009

Basic Calculator - Gambas 2
Gambas is a free development environment based on a Basic interpreter with object extensions, a bit like Visual Basic™. I made this simple calculator in Malay language for testing purpose.

This basic calculator created using same simple Visual Basic Commands.
If you interested in interface development programming here is example code for the calculator that I use, click here if you're not sure how to install Gambas2:

or download the Gambas files and Kalkulator.deb here

Gambas 2 - Visual Basic for LInux

Gambas is a development environment software based from basic interpreter and works just like Microsoft Visual Basic in windows. For those who want to learn interface programming in Linux, this might be the software that you looking for. These are simple steps installing gambas on Ubuntu Desktop

How To Install Gambas 2

  • Search for "Gambas2" in Ubuntu Software Center or Synaptic Package Manager:
Application > Ubuntu Software Center > Programming > Gambas2
  • or using command in Terminal
sudo apt-get install gambas2

Gambas 2 Screenshots

Gambas 2 contain all visual basic components which allow user to develop program by using visual basic environment.

Play file .3gp video + sound in Ubuntu : Medibuntu + Mplayer

*.3gp Apple's standard multimedia file format for mobile gadget to handle, record & play videos. However .3gp file format cannot be played by ( often with no sound ) pre-installed Movie Player in Ubuntu Desktop. These are several simple steps on how to play .3gp file using VLC media player or SMplayer (GUI of Mplayer)
  1. Add Medibuntu on repositories list
  2. Install multimedia codec required
  3. Install VLC media player / SMplayer
  4. Open *.3gp file using VLC media player / SMplayer
  • Adding Medibuntu's repository list  [copy paste command in Terminal]:
sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update
  • Install codec & media player [copy paste command in Terminal]:
sudo apt-get install w32codecs libamrnb3 amrwb amrnb libamrwb3 libamrwb-dev libamrnb-dev vlc mplayer smplayer
change w32codecs to w64codecs if you're using 64bit.
  • Open .3gp file using VLC media player or SMplayer.
Good luck.

Easy way to download flash video from Youtube, Metacafe, Vimeo : Firefox + FlashGot

December 19, 2009

How to download flash video *.flv from Youtube, Metacafe, Vimeo using Firefox & FlashGot in Ubuntu.

Couple of days ago my friend ask me if there is any simpler & faster way to download youtube, metacafe, vimeo or other flash video file [.flv]
These are the 3 optional ways:

  1. Firefox Add-ons - FlashGot + any download manager [eg. DownThemAll, Uget, etc]
  2. Video done loading, just want to save the video (coz I enjoy watching cute animal videos over & over again) - Copy from temporary folder using Nautilus
  3. No GUI / Terminal style - youtube-dl, metacafe-dl

    Download flash *.flv video using Firefox add-ons in Ubuntu
    Works with any flash video, 
    faster download use any download manager for multiple segment download.
    I use DownThemAll or Uget

    Get Add-ons
    • Search for FlashGot add-on from "Get Add-ons" in Firefox or download from here
    How to use:
    • Make sure your Firefox window displaying status bar at the bottom
    • Once you at the page containing flash video
    • Look for this icon on status bar

    Play the video if the icon did not appear. [this happen when downloading from Vimeo ]
    • Click the icon & start downloading using what ever download manager you use.
    If you use other web browser click here for 2 alternative ways to download flash videos that does not involve Firefox

    2 Alternative ways to download flash video from Youtube, Metacafe, Vimeo : youtube-dl, metacafe-dl, Nautilus

    Alternative ways to download flash *.flv video
    Besides using FlashGot add-ons for Firefox these are 2 other ways to download flash video from Metacafe, Youtube, Vimeo.

    Copy from temporary folder
    If the video is already done loading just like this video [image],

    • Just open Nautilus file browser
    • Click on pencil icon and go to temporary folder by entering /tmp/ inside the bar [image]

    • Copy the file and put it somewhere else.
    Use youtube-dl & metacafe-dl
    I don't find this method simple and fast but maybe applicable when you're using non graphical interface web browser. It works with metacafe and youtube videos only.

    • Download using Terminal:
    sudo apt-get install youtube-dl && sudo apt-get install metacafe-dl
    How to use:

    • Using this command in Terminal:
    youtube-dl -b
    [youtube url of the video]

    Tips: -b option for best quality, use "--help" to see other option.
    It goes the same for metacafe video.

    Since I use Firefox as web browser, I prefer the other method:
    Easy way to download flash video using Firefox add-ons

    Install *.rpm file in Ubuntu : Alien

    December 17, 2009

    Easy steps to install .rpm package in Ubuntu. Alien converter program that able to convert file rpm, dpkg, stampede slp, and slackware tgz to .deb package installer file format.

    Install Alien
    • Install using Terminal command:
    sudo apt-get install alien

    or using Synaptic Package Manager [image], Mark for Installation & Click Apply.

    How to Use
    By using Alien package file converter,you need to convert .rpm file to .deb file
    • Go to the folder/directory which .rpm file located using Terminal;
    cd /foldername1/foldername2
    • Convert .rpm extension to .deb extension as root;
    sudo alien -k -d filename.rpm
    *foldername2, foldername1, filename is the file and folder location of your .rpm file
    tips: use ' alien --help ' command to see option & other parameters  for converting other type of extension to .deb extension.

    Run .deb package

    • Just double click file *.deb to install the .deb fil, or
    • use this command in Terminal if your prefer typing:
    $sudo dpkg -i namafile.deb
    I've tested this method to install avg antivirus .rpm for testing purpose.


    Install & Run Photoshop CS4 using Wine on Ubuntu Karmic Koala

    December 14, 2009

    Yes, with wine 1.1.17 & winetricks you now able to use Photoshop CS4 on Ubuntu linux. Follow steps on how to do this.

    Steps :
    Install Wine 1.1.17

    • Download and install .deb wine 1.1.17 (Ubuntu/Debian Package here) find installer that suite your system. Best way to do this is with a clean Wine install by using this command at terminal
        rm -r ~/.wine winecfg
        • This will remove all of your Wine applications and libraries and set up a new environment.
        • Download winetricks, a helper script for installing Wine software and install the required software. Just follow the instructions given.
        chmod +x winetricks
        ./winetricks msxml6 gdiplus gecko vcrun2005 ie6
        Install Microsoft TTF fonts
        • Also install some Microsoft TTF fonts, command;
        sudo aptitude install msttcorefonts
        Add the atmlib.dll into Wine
        • Go to Place > Home Folder
        • then press CTRL + H to view the hidden folder of wine , which is .wine
        • then go to .wine > drive_c > windows > system32
        • and paste the atmlib.dll in the folder.
        • Run winecfg from Application > Wine > Configure wine
        • go to the Libraries tab & add atmlib.dll by typing to the .dll list.
        • Make sure it is registered as native (edit the entry if it isn’t).
        • Finish & Click OK.

        Install Photoshop CS4 :
        Using copy of Photoshop CS4 Extended, run the installer using wine, from Terminal;
        LANG=C wine Setup.exe
        example: user@ubuntu:~$ /home/user/CS4Installer/LANG=C wine Setup.exe
        At this point, just follow the installer wizard as installing CS4 on Windows.

        When the installation process is done, you should be able to run Photoshop CS4 from the Wine application menu, or by running this on Terminal:
        env WINEPREFIX="~/.wine" wine "C:\Program Files\Adobe\Adobe Photoshop CS4"

        Thunderbird 3.0 + Google Wave + Ubuntu

        December 13, 2009

        This article shows simple tutorial on how to open Google Wave using Thunderbird 3.0 content tabs. Content tabs allow users to browse in (mostly) the same way as with a browser. See test video and steps on how to make it happen.

        If you're not sure how to install package from PPA this here is an example on how I do it.
        • The code to open Google Wave tab in the new thunderbird content tabs:
        Components.classes[';1'].getService(Components.interfaces.nsIWindowMediator).getMostRecentWindow("mail:3pane").document.getElementById("tabmail").openTab("contentTab", {contentPage: ""});
        Just go to Error Console and paste line above.
        Original code are from here.

        Share / synchronize your Firefox profiles : Ubuntu and Windows 7 dual boot

        December 12, 2009

        If you're using dual boot or multi-boot ( Microsoft Windows 7 & Ubuntu ) on a single system. This is how to sync your bookmarks, password, addons, browsing, form and search history by sharing your firefox profile between different operating system.

        You need an auto-mountable partition which can be read and write by both Windows and Ubuntu in your system, commonly ntfs partition. if you're not sure how, click here for instruction.

        Steps include both sessions, Windows and Ubuntu :
        In Ubuntu session

        • Close all firefox applications.
        • Open Terminal and use this command to open Firefox Profile Manager
        firefox -profilemanager
        This window will appear:

        • Select Create Profile... & Click Next

          • Enter your profile name eg.( "SharedProfile" - image )
          • Click Choose Folder...
          • Select or Create A New Folder for firefox profile files in auto-mountable partition eg.(/media/sda1/FirefoxProfile - image)

          • Click Finish.
          • Select Start Firefox if you want to.
          In Windows 7 session

          • Click Start menu
          • type "cmd" in search box to open command promp window (image)

            • Change directory to drive to C: by typing this on command prompt
            • Go to windows firefox folder , usually at C:\Program Files\Mozilla Firefox\ using command prompt;
            cd "Program Files\Mozilla Firefox"
            • open firefox profile manager by entering this:
            firefox.exe -profilemanager

            That will bring up the profile manager window, same as in ubuntu
            • select Create Profile
            • choose folder - Choose the folder that you created for the ubuntu's firefox profile earlier on Ubuntu session (for me, the folder at C:\FirefoxProfile)
            • Enter exactly the same profile name you've made earlier on Ubuntu session (for me "SharedProfile")
            • Click Finish.
            • Click Start Firefox to run it.
            An easy way to make sure that you are using the same Firefox's profile in Windows as Ubuntu's profile is to go to
            Bookmarks [ Alt+b ]
            and "Ubuntu and Free Software links" folder should be in bookmarks folder.
            Then install your favourite extensions & add-ons and see if they synchronise with your firefox in Ubuntu.

            This works for Windows XP too.

            Change Startup/Log in Sound In Karmic Koala

            How to change startup / log in sound : Karmic Koala 
            What you need: your favourite sound file in .ogg format.
            Step 1:
            • Go to System -> Preferences -> Starup Applications
            • Look for “GNOME Login Sound” in the list. If you don’t want to hear anything at startup, uncheck this box.

            If you want to change the sound, click Edit button. You should see this:
            /usr/bin/canberra-gtk-play -–id=”desktop-login” -–description=”GNOME Login”

            • Change “desktop-login to the name of the sound file you want, without file extension. 
            example: /usr/bin/canberra-gtk-play -–id=”new-login-sound” -–description=”GNOME Login”
            • Click Save and close the startup dialog.

            Step 2:
            • Now you have to copy the new sound (.ogg file) to /usr/share/sounds/ubuntu/stereo/

            • You need root permission to copy the file into this directory which can be done by running nautilus as root.
            gksudo nautilus /usr/share/sounds/ubuntu/stereo/
            • Finally, browse to the folder and paste the file there.

            Step 3:
            • Log out and login and enjoy your the new startup sound.
            You can convert .mp3 or .wav to .ogg sound file using Sound Converter. Can be installed using software center or Terminal command :
            sudo apt-get install soundconverter

            Disable, enable & rename desktop icons

            December 11, 2009

            Enable / disable  / Rename Ubuntu Desktop Icons

            Computer, My network, Trash, Home and mounted drives  can be enable, disable or renamed using gconf-editor [ configuration editor ]. Watch video on how to:

            • Alt+F2 to open run application diaogue.
            • type in gconf-editor
            • find apps>nautilus>desktop tree and alter any of available key.

            Animated wallpaper for your desktop

            A-desk v16 animated wallpaper

            1 - Install zenity & mplayer & Unrar & Rar
            sudo apt-get install zenity mplayer unrar rar
            2 - DOWNLOAD THIS FILE!

            *and go to directory of this file.

            3- extract the a-desk file

            4- Install XWINWRAP

            *use this command on terminal based on your cpu:

            dpkg -i xwinwrapcvs.deb >> for 32 bit
            dpkg -i xwinwrapcvs64.deb >>for 64 bit

            5- execute a-desk-installer
            ( double clicks on "a-desk-installer ", choose language )

            6 - How to enable your live animated desktop?
            * right click on your desktop select > script > a-desk , then choose your favourite movie!

            that's all.. enjoy!!!

            Day of ubuntu : Universal wallpaper

            December 07, 2009

            Dynamic wallpaper that change gradually over time might save you from spending too much time in front of your screen. 

            Saves your precious time & install Day of Ubuntu wallpaper;

            sudo add-apt-repository ppa:dylanmccall/ppa
            sudo apt-get update
            sudo apt-get install day-of-ubuntu-wallpaper


            How to monitor CPU temperature in Ubuntu : Sensors-applet + Hardinfo

            December 01, 2009

            If you concern about your computer fan speed, CPU,GPU or hard disk  temperature, There are some easy ways to monitor these things from your desktop.
            This is how:

            Applications :
            • Installation - using terminal code:
            sudo apt-get install sensors-applet
            How to use [1] add applet to panel:
            • Right click on panel>add to panel>Hardware Sensors Monitor seperti gambar

            • Right click on any of those icons >preferencefor configuration

            How to use [2], using terminal command;

            contoh hasil
            • If nothing happen, try this:
            sudo -i
            • Answer all questions, [Yes]
            • reboot
            • Again, use "sensors' command to see changes.

            Hardinfo [Everest like]
            install using Synaptic Package Manager or command:
            sudo apt-get install hardinfo
            How to use: GUI, launcher lication; System Tools>System Profiler & Benchmark

            hardinfo - system profiler & benchmark