Archives For November 30, 1999

educational-pack-for-kids

pySioGame – is a set of pretty simple activities aiming to teach children some of the basic skills. It turned out that pySioGame focuses mainly on teaching maths but it also covers areas such as abc, reading, writing, colors, memory and more.

It’s hard to put age range on this but children as young as 3 can start playing with some of the activities.

Building this project itself is author’s learning tool in stepping into hobbyist programming world so it isn’t polished as well as you would expect from commercial games, but hey, it’s only one amateur, self taught person coding it in his scarce spare time.

pySioGame Video Tutorial:

pySioGame is available in Debian repository and we can download the .DEB package from this page and double-click to install it on Ubuntu. The only requirement is python-pygame which is available in Ubuntu Software Center.

Once installed, open the game from Unity Dash or menu:

The lightweight Midori browser recently released version 0.5.6 with lots of changes, it fixed Ubuntu 12.04 building and Ubuntu 13.10 saucy menu issues and many other bugs.

This tutorial shows you how to upgrade Midori in Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.04 and Elementary OS Luna.

See Changelog in Midori 0.5.6:

  • instead of creating devpet status icon on extension load, create it only to show new messages
  • Open speed dial or homepage according to preference
  • handle tab duplication
  • Add copyright note to appdata file
  • Tweak searching for resources when running from build folder
  • Swap NULL-check with main frame check
  • Use correct signal when clearing the trash
  • Hide WEbGL preference if it is unavailable
  • Remove stored popup sessions from the database
  • Check all browsers for opened sessions and whether they’re popups
  • removed unused preference dialog and related code
  • Fix check for found valac and mention VALAC variable
  • Fix autoscrolling if page contains a frame with our custom error page
  • Don’t use context-menu signal in WebKitGTK+
  • Fix building on Ubuntu 12.04
  • Reset item ids when re-importing bookmarks
  • Check path being NULL in export before trying to inspect it
  • restore the last closed sessions if no session is opened
  • Cast WebKitDOMHtmlElement for getting source content
  • Use font-set signal and font family for GTK+ 3.2 font chooser
  • add function to view dom source
  • remove unused variable
  • Resolve compiler warnings in current trunk
  • Update win32-release script for cmake, move unused docs/scripts to old folder
  • Try to handle previous runs of cmake in configure wrapper
  • Correct view source assertions in tab unit test
  • Build fix: found undeclared in midori_bookmarks_db_remove_item_recursive
  • Cache bookmark items to avoid their recreation on database reads
  • allow “view source” on about pages
  • Enable old target policy on cmake
  • Re-arrange data file installing to be more explicit
  • option to modify the number of tabs which will be restored in each idle callback
  • Implement MidoriBookmarksDatabase class by inheritence from MidoriDatabase
  • Ensure tab spinners update as often as the menubar spinner to avoid desync
  • Use tabby sorting increment when importing session.xbel tabs
  • Only install config files to /etc if prefix equals /usr
  • handle urls as argument when starting midori
  • Make tabby compile with Webkit2
  • Drop waf build system and provide cmake-based “configure” script
  • midori_panel_action_activate_cb forgot to update the action group
  • Fixes bug where certificate Security overlay failed to close
  • handle tab movement
  • add tab sorting
  • Untangle implicit GTK+3 for Granite and WebKit2
  • Allow running test under debug tools with cmake
  • Install config files to /etc when install prefix is /usr
  • Add missing PO_FILES argument to GETTEXT_PROCESS_PO_FILES
  • Add USE_APIDOCS to build API docs with CMake
  • Rasterize SVG to PNG with rsvg-convert
  • fix bookmarks test regression after fix-1179200-4
  • Add CMakeLists.txt for config directory
  • Install mo files in locale dir
  • don’t change uri/title if the tab isn’t loaded
  • use a separate signal to store the tab title
  • Check if execinfo.h header exists on BSD
  • fix endless loop in Midori.Database.init
  • Use destructive-action style class in ClearPrivateData
  • Initialize priv->element to avoid crash when freeing
  • Introduces KatzeArray::update-item to handle metadata changes
  • Refactor excuting schema from file into a function
  • Use stock as string in liststore
  • Drop needless (and wrong) HAVE_LIBNOTIFY in preferences
  • Flip horizontal position of the overlay when hit by the mouse
  • Add Midori.URI.get_base_domain and use it in NoJS
  • Introduce Midori.Database and use for history and tabby
  • ctrl+shift+w should trigger a delete-event
  • Implement dialog windows opened via javascript
  • Make get_res_filename work with different hierarchies
  • fix check for new database
  • Speed up session import
  • Import tab title from old sessions
  • Separate CFLAGS for C and add missing HAVE_
  • Install top-level text files and FAQ html/ css to doc dir
  • Provide and install .appdata.xml file for app stores
  • Move bookmarks db handling to midori-bookmarks-db
  • Add XSS to OPTS_LIBRARIES
  • Update condition for UBUNTU_MENUPROXY to work on Saucy
  • Introduce tabby, the new session manager
  • Fix typo in katze_item_set_meta_integer call
  • Allow bookmark bar update on additions resulting from imports
  • Re-work midori_array_query_recursive to not include folder items twice
  • Fix syntax of icon sizes passed to foreach
  • Add bzr revision number to version if available
  • Unify nojs and cookie policy dialogs, make policy changeable within the list
  • Drop all G_ENABLE_DEBUG guards
  • Add -g to CFLAGS to enable debugging symbols
  • Adjust cmake build for Win32
  • Implement CMake build setup
  • Port MidoriApp from Unique/ sockets to GApplication
  • New signal about-content to provide content for about uris
  • Check if browser is NULL in midori_view_get_tab_menu to prevent a crash. Fixes bug #1215652.
  • Ensure proxy setting widgets callbacks don’t outlive the widgets themselves
  • Fix webkit2 build error
  • Show the bookmarks import location combobox.
  • Rename internal completion URLs to avoid confusion
  • Install Midori 0.5.6

    The new release has been made into Midori PPA for Ubuntu and its derivatives (failed to build in Ubuntu 12.04 64 bit).

    To get started, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run commands below one by one:

    sudo add-apt-repository ppa:midori/ppa
    
    sudo apt-get update
    
    sudo apt-get install midori

    midori web browser in ubuntu 13.10

    Want to draw PCB, Perfboard or Stripboard layouts on your Ubuntu or Linux Mint machine? Well, there is a free, open source application called DIY Layout Creator which works on Linux, Windows, and Mac OS X.

    DIY Layout Creator (DIYLC in short) is freeware drawing tool developed with help of a large online community of DIY electronics enthusiasts.

    The goal is to provide a simple interface and enough power to let the user draw schematics, board/chassis layouts and guitar wiring diagrams quickly and without a steep learning curve. Also, it is build around the flexible open source framework that may be used to draw pretty much anything.

    Below is a sample board layout drawn in DIYLC3 (Click to enlarge).

    Features:

    • platform independence, will run on any machine having Java JRE/JDK 1.6.0_10 or newer
    • easy to use interface, most of the operations can be done using mouse
    • draws schematics, board layouts and chassis layouts
    • high flexibility, has the API to allow plug-ins and new components to be added without much trouble
    • improved performance and reduced memory consumption compared to the previous versions
    • save default values for each property of a component individually
    • group components together and treat them as one, e.g. move, edit or delete
    • export the output to image, PDF or printer
    • export PCB trace mask suitable for toner transfer
    • create a Bill of Materials as a part of the project or export it to few different file formats
    • zoom in/out feature
    • configurable grid spacing on the project level
    • auto update checks for new versions
    • import files created with older versions of the application
    • create and load project templates
    • [pending] integration with online project library, sharing your drawings with ease

    Install DIY Layout Creator in Ubuntu:

    We can easily install DIYLC in Ubuntu 14.04, Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.04, Linux Mint from its repository.

    To get started, press Ctrl+Alt+T on keyboard to open terminal. When it open, copy and paste the code below and run to add the repository:

    sudo sh -c 'echo "deb http://www.diy-fever.com/diylc_repository binary/">/etc/apt/sources.list.d/diylc.list'

    Then you can install the app after checking for updates. To do so, run:

    sudo apt-get update; sudo apt-get install diylc

    Once installed, open it from Unity Dash or Menu.

    DIY Layout Creator Main window

    The free and reliable P2P bittorrent client qBittorrent released 3.1.3 with speed improvements, new key shortcut, and more bug fixes. This tutorial shows how to upgrade in Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.04. and Linux Mint.

    Changes in qBittorrent 3.1.3:

    • Add a key shortcut to “Add link to torrent…”
    • Make all columns and headers use the same text alignment in the transferlist.
    • Fix build system for Unix/Linux.
    • Case insensitive sort in Peers list. Closes #1066.
    • Small optimization of WebUI responses when there isn’t a data payload.
    • Hide empty folders after filtering. Closes #74.
    • Expand folders when filtering files. Closes #1076.
    • Updated search plugin’s URL
    • Strip some png to fix incorrect sRGB profiles.
    • Fixed font issues on OSX Mavericks
    • Improve text in the About dialog
    • Always show a peer IP address as a tool tip
    • Fix inhibit system functionality. Closes #766.
    • WebUI: Don’t gzip too small payloads.
    • Correctly detect if the browser supports gzip compression.
    • Fix WebUI link to ‘Anonymous mode’ explanation. Closes #1093.
    • Correctly update tracker tier number in the trackers tab. Closes #1075.
    • Speed improvements.
    • Updated translations.

    To get started upgrading process, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command below to add the qBittorrent PPA:

    sudo add-apt-repository -y ppa:qbittorrent-team/qbittorrent-stable

    NOTE: I found that the PPA failed to build the packages for Ubuntu 13.10 Saucy. It may be fixed soon, check out at the launchpad page.

    After added the PPA, check for updates and install or upgrade qBittorrent from Ubuntu Software Center. Or run below commands instead:

    sudo apt-get update; sudo apt-get install -y qbittorrent

    The latest Linux Kernel LTS 3.10.20 has been released recently. All users of the 3.10 kernel series must upgrade. This tutorial shows how to upgrade it in Ubuntu 13.04, Ubuntu 12.04, and Linux Mint.

    Kernel 3.10.20 LTS contains mostly USB, AlSA, Network fixes and drivers updates. For details, read the official announcement.

    Install / Upgrade kernel 3.10.20

    First, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run commands below one by one to Download the DEBs from kernel.ubuntu.com/~kernel-ppa:

    For 32 bit system:

    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.20-saucy/linux-headers-3.10.20-031020-generic_3.10.20-031020.201311201536_i386.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.20-saucy/linux-headers-3.10.20-031020_3.10.20-031020.201311201536_all.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.20-saucy/linux-image-3.10.20-031020-generic_3.10.20-031020.201311201536_i386.deb

    For 64 bit system:

    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.20-saucy/linux-headers-3.10.20-031020-generic_3.10.20-031020.201311201536_amd64.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.20-saucy/linux-headers-3.10.20-031020_3.10.20-031020.201311201536_all.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.20-saucy/linux-image-3.10.20-031020-generic_3.10.20-031020.201311201536_amd64.deb

    After that, install them via:

    sudo dpkg -i linux-headers-3.10.20-*.deb linux-image-3.10.20-*.deb

    Restart your computer and done.

    If for some reason this kernel does not work properly, boot into previous kernel and run command to remove Linux Kernel 3.10.20:

    sudo apt-get purge linux-headers-3.10.20-* linux-image-3.10.20-*

    Are you running Kernel 3.11 series on Ubuntu? Well, the latest Linux Kernel 3.11.9 has released and you may upgrade this kernel in Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.04, Linux Mint by following this tutorial.

    Linux Kernel 3.11.9 brings lots of driver updates (USB, wireless, etc), as well as ALSA fix, USB fix, and ipv6 network fix. For more details, see the official announcement.

    Install / Upgrade Kernel 3.11.9

    The DEB packages for Ubuntu and its diratives has made into Ubuntu kernel download page. Press Ctrl+Alt+T on keyboard to open terminal. When it opens, run commands below one by one to download and install them.

    1. Download the DEBs:

    For 32 bit system:

    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.9-saucy/linux-headers-3.11.9-031109-generic_3.11.9-031109.201311201635_i386.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.9-saucy/linux-headers-3.11.9-031109_3.11.9-031109.201311201635_all.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.9-saucy/linux-image-3.11.9-031109-generic_3.11.9-031109.201311201635_i386.deb

    For 64 bit system:

    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.9-saucy/linux-headers-3.11.9-031109-generic_3.11.9-031109.201311201635_amd64.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.9-saucy/linux-headers-3.11.9-031109_3.11.9-031109.201311201635_all.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.9-saucy/linux-image-3.11.9-031109-generic_3.11.9-031109.201311201635_amd64.deb

    2. Install this Kernel:

    sudo dpkg -i linux-headers-3.11.9-*.deb linux-image-3.11.9-*.deb

    Once done, restart your computer.

    If for some reason this new kernel does not work properly. Boot into the previous kernel and run command below to remove Linux Kernel 3.11.9:

    sudo apt-get purge linux-headers-3.11.9-* linux-image-3.11.9-*

    Kernel 3.11.9 DEBs can be also downloaded at kernel.ubuntu.com

    The latest Linux Kernel 3.12.1 has been released recently. If you’re using Kernel 3.12 series, here’s how to install or upgrade it in Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.04, Linux Mint and their derivatives.

    Linux kernel 3.12.1 is a small release that contains mostly updated drivers (networking, USB and video), as well as an ALSA fix, and a few networking fixes for IPv4 and IPv6. In numbers, Linux kernel 3.12.1 changes 22 files, with 135 insertions and 50 deletions.

    For details of this kernel release, see the official announcement.

    Install / Upgrade Kernel 3.12.1:

    The Ubuntu Kernel team has made the DEB packages for this kernel. We can download & install them by running commands (Ctrl+Alt+T) below one by one:

    1. Download the Kernel DEBs:

    For 32 bit system:

    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.1-trusty/linux-headers-3.12.1-031201-generic_3.12.1-031201.201311201654_i386.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.1-trusty/linux-headers-3.12.1-031201_3.12.1-031201.201311201654_all.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.1-trusty/linux-image-3.12.1-031201-generic_3.12.1-031201.201311201654_i386.deb

    For 64 bit system:

    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.1-trusty/linux-headers-3.12.1-031201-generic_3.12.1-031201.201311201654_amd64.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.1-trusty/linux-headers-3.12.1-031201_3.12.1-031201.201311201654_all.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.1-trusty/linux-image-3.12.1-031201-generic_3.12.1-031201.201311201654_amd64.deb

    2. Install the kernel DEB:

    sudo dpkg -i linux-headers-3.12.1-*.deb linux-image-3.12.1-*.deb

    Once done, restart your computer.

    If for some reason this kernel does not work properly for you. Reboot and select to boot with previous kernel from Grub boot loader (Advance). Then remove Linux Kernel 3.12.1 via:

    sudo apt-get purge linux-headers-3.12.1-* linux-image-3.12.1-*

    The Whisker Menu for Xfce recently released version 1.2.1 with bug fixes and improvements.

    As you may know, Whisker Menu is an alternate application launcher for Xfce. With it, you can browser, search, and marked as favorites through all of your installed applications. Changes in version 1.2.1:

    • Fix incorrect comparison for checking icon sizes
    • Add window title to allow identifying menu window
    • Add tips to README for popup script and compiz workaround
    • Improve build system files
    • Translation updates: Asturian, Catalan, Chinese (Taiwan), Czech, German, Estonian, French, Hungarian, Indonesian, Persian, Russian, Spanish, Turkish

    whisker menu in Ubuntu 13.10 Xfce4

    For Ubuntu 14.04, Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.10, Ubuntu 12.04, Linux Mint and their derivatives you can easily install or upgrade to this release by running commands below one by one in terminal (Ctrl+Alt+T):

    sudo add-apt-repository ppa:gottcode/gcppa
    
    sudo apt-get update
    
    sudo apt-get install xfce4-whiskermenu-plugin

    For Arch Linux, OpenSUSE, Debian, Fedora, and other Linux, get the Whisker Menu from its website

    Shotwell 0.15.1 has been released recently with important bug fixes. Here are the details and how to install or upgrade it in Ubuntu 13.04, Ubuntu 12.10, Linux Mint 15, 14.

    Shotwell 0.15.1 fixes:

    • Install Tumblr plugin resources (Tumblr plugin failed to work without them)
    • Fix crash when video thumbnails are being inspected and created

    Yorba strongly recommends all users upgrade to this release.

    For Ubuntu 13.04 Raring, Ubuntu 12.10 Quantal and their derivatives, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run commands below one by one to upgrade from Yorba PPA:

    sudo add-apt-repository -y ppa:yorba/ppa
    
    sudo apt-get update
    
    sudo apt-get install -y shotwell

    The tarball for Shotwell 0.15.1 is available at github page.

    For Ubuntu 13.10 Saucy, due to the dependencies has updated to libgphoto2-6 while the Shotwell required version libgphoto2-2. Yorba team wrote in the announcement:

    We hope that a version for Saucy will be available soon in Ubuntu’s repositories.

    shotwell 0.15.1 in pear os 8

    How to Convert VCD to mp3 in Ubuntu Linux

    Last updated: November 20, 2013

    This simple tutorial shows how to rip your Video CD to mp3 in Ubuntu, it also works on other Linux include Debian, OpenSUSE, Fedora.

    Here I use the K3b burning tool to rip VCD to video files and SoundConverter to convert video files to mp3 files.

    1. Rip Video CD to mpeg videos

    First install K3b CD/DVD burning tool which is available in most Linux distributions. For Ubuntu, install K3b from Ubuntu Software Center.

    Insert your VCD and then open K3b, double click on the Video CD listed in the burning tool and click Start Ripping

    ripping VCD to mpeg in Ubuntu

    Once done, you’ll see video files in the target folder:

    mpg videos from VCD

    2. Convert mpeg to mp3

    Install SoundConverter, which is available in Debian repository. For Ubuntu and its derivatives, we can install SoundConverter from getdeb repository, see this tutorial for details.

    Once installed, start the app and click on Add file button. Press Ctrl+A to select all videos and click Open to add them.

    Click Preferences to choose the result folder and result format, quality, etc.

    Finally click on Convert to start the process:

    When done, you’ll see all music files in result folder: