Archives For jimingkui

charging ipad air

If you have an Apple mobile device and want to charge it through the USB port in Ubuntu Linux machine, you’ll find a little app called ipad_charge which was originally developed by Ondrej Zary from Rainbow-Software.

This simple app supports following devices:

  • iPad / iPad2 / iPad3 / iPad4 / iPad Mini
  • iPod Touch 2G/3G/4G
  • iPhone 3GS/4/4s/5

The developer of super-wingpanel has done a little tweak on the code so that iPad air is supported now. This build has been made into PPA for Ubuntu 14.04, Ubuntu 13.10, Ubuntu 12.10, Ubuntu 12.04, Linux Mint and their derivatives.

Install ipad-charge:

Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run below commands one by one:

sudo apt-add-repository ppa:heathbar/ipad-charge

sudo apt-get update

sudo apt-get install libusb-1.0-0 ipad-charge

After that, your iPad should be automatically detected and charging enabled when you plug it in. However, if it’s not you may have to troubleshoot.

Troubleshooting:

If the udev rules are not automatically enabling charging when you plug in your device, you can run the program manually.

ipad-charge

If your iPad is still not charging you can find the device IDs of all Apple products with this command.

ipad-charge -l

If more than one is listed, you may have to run it with your iPad unplugged, then plugged in to find the correct ID. Once you determine the ID, report the ID to the links below.

via: ipad_charge on github

 

Fotoxx, a free and open source photo editing software has reached version 14.02 recently with improvements and bug fixes.

As you may know, Fotoxx is a Linux program for photo editing and collection management. The goal is to meet most user needs while remaining fast and easy to use.

Version 14.02 changelog:

  • Index Image Files (aka Synchronize) runs faster. Intermixing image files with
    100K other files under /home/user/… has little effect on speed.
    Startup time is also faster for the normal case of few new image files.
  • Retouch Combo: sliders were added for fast adjustment of overall brightness,
    contrast and color. The curves can then be hand-tuned if needed.
  • Slide Show: a new transition type simulates turning a book page.
  • Slide Show: images are clipped to exactly fit the monitor if the difference
    in aspect ratio is less than a predefined limit.
  • Slide Show: optionally show captions/comments above each image.
  • The batch Rename and Convert functions were combined for convenience.
  • Batch Convert has a new option to automatically sharpen images.
  • Paint/Clone: a “shadow” paintbrush tracks the source of copied pixels.
  • Retouch Combo, Trim/Rotate and Resize can recall prior settings for easier application to multiple images needing similar treatments.
  • Mashup: resizing/rotating an overlay image with the mouse is smoother.
  • Editing in a selected area: edge blending was made a bit smoother.
  • Search Images: select a gallery (thumbnails) report or a tabular report for
    listing desired metadata along with a thumbnail image.
  • Block metadata edits for image types not supporting this (e.g. bmp, gif).
  • Bugfix: Texture function converted RGB 0/0/0 pixels into illegal values.
  • Bugfix: Bogus error message about exceeding geotag limits.
  • Bugfix: Trim function left temporary image remnants on the window.

Download:

The official download page provides the DEB packages for Ubuntu and its derivatives.

Fotoxx Download Page

Enable Global Menu in Elementary OS Luna

Last updated: February 10, 2014

Want to try the Ubuntu Unity-Style Global Menu in Elementary OS Luna? Well, it’s easy to accomplish this via super wingpanel.

Super Wingpanel, wingpanel from the elementaryos project with some additional features:

  • auto hide / intellihide / intellislim
  • slim mode a la wingpanel-slim

First take a look at the result:

NOTE: Super Wingpanel is not stable at the moment, use it at your own risk!

To install this tool, press Ctrl+Alt+T on your keyboard to open the terminal. When it opens, run the commands below one by one:

sudo apt-add-repository ppa:heathbar/super-wingpanel-daily

sudo apt-get update

sudo apt-get install super-wingpanel

To get it working, indicator-appmenu and dconf-tools are needed. Install them via:

sudo apt-get install indicator-appmenu dconf-tools

To enable Global Menu:

1. Open dconf Editor from the Applications menu.

2. Navigate to org -> pantheon -> cerbere, enable appmenu and super wingpanel by changing the value of monitored-process to:

[‘plank’, ‘slingshot-launcher –silent’, ‘env UBUNTU_MENUPROXY=0 super-wingpanel’]

3. Navigate to org -> pantheon -> desktop -> super-wingpanel, change the value of blacklist to:

[”]

Log out and back in. Done.

This is a beginners’ guide about how to install or upgrade to the latest official build of LibreOffice in Ubuntu or Linux Mint.

As you may know, the open-source office suite LibreOffice 4.2 has been released recently which is focusing on performance and interoperability, and improving the integration with Microsoft Windows. See what’s new in LibreOffice 4.2

To install LibreOffice 4.2 in Ubuntu:

1. Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run the command below to remove the previous installation:

sudo apt-get remove --purge libreoffice*

2. Check out your system type, 32 bit or 64 bit, by going to System Settings -> Details

3. Download:

LibreOffice_4.2.0_Linux_x86_deb.tar.gz (32 bit)

LibreOffice_4.2.0_Linux_x86-64_deb.tar.gz (64 bit)

Go to this page when a new release is out.

4. Right on the downloaded package and extract it. After that, you’ll see the result folder: LibreOffice_4.2.0.4_Linux_x86-64_deb.

5. In previous terminal window (or press Ctrl+Alt+T to open a new one), run the command below to navigate to LibreOffice folder:

cd ~/Downloads/LibreOffice_4.2.0*

You may replace “LibreOffice_4.2.0*” with your full folder name.

6. Now install all the debian packages under DEBS:

cd DEBS && sudo dpkg -i *.deb

After that, you can Launch LibreOffice 4.2 from Unity Dash or Menu.

Greg KH has announced the first update of Linux Kernel 3.13. If you are using the first release in the Linux kernel 3.13.x branch, you should consider an update to this build.

Linux Kernel 3.13.1 is a very small release. See the changelog:

  • staging: comedi: fix result of memdup_user for user chanlist
  • GFS2: Increase i_writecount during gfs2_setattr_chown
  • ALSA: hda – Explicitly keep codec powered up in hdmi_present_sense
  • mm: Make {,set}page_address() static inline if WANT_PAGE_VIRTUAL
  • extcon: gpio: Request gpio pin before modifying its state
  • staging: comedi: addi_apci_1032: fix subdevice type/flags bug
  • staging: comedi: adl_pci9111: fix incorrect irq passed to request_irq()
  • serial: amba-pl011: use port lock to guard control register access
  • md/raid5: fix long-standing problem with bitmap handling on write failure.
  • md/raid5: close recently introduced race in stripe_head management.

Install:

The DEB packages of this release are available in this page. Download & install them in turn:

  1. linux-headers-3.13.1-xxxxxx_all.deb
  2. linux-headers-3.13.1-xxx-generic_3.13.1-xxx_i386/amd64.deb
  3. linux-image-3.13.1-xxx-generic_3.13.1-xxx_i386/amd64.deb

For command line:

1. Download the DEBs:

For 32 bit system:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.1-trusty/linux-headers-3.13.1-031301-generic_3.13.1-031301.201401291035_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.1-trusty/linux-headers-3.13.1-031301_3.13.1-031301.201401291035_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.1-trusty/linux-image-3.13.1-031301-generic_3.13.1-031301.201401291035_i386.deb

For 64 bit system:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.1-trusty/linux-headers-3.13.1-031301-generic_3.13.1-031301.201401291035_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.1-trusty/linux-headers-3.13.1-031301_3.13.1-031301.201401291035_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.1-trusty/linux-image-3.13.1-031301-generic_3.13.1-031301.201401291035_amd64.deb

2. Install all the packages:

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

Once installed, restart your computer and done.

If you’re using a proprietary video driver, you may need to re-build or re-install to get it work with the new kernel.

If for some reason this kernel release doesn’t work properly for you, reboot into previous kernel (Grub -> Advanced -> select previous kernel) and run this command to remove Linux Kernel 3.13.1:

sudo apt-get remove linux-headers-3.13.1-* linux-image-3.13.1-*

Luminance HDR, an open source graphical user interface application that aims to provide a workflow for HDR imaging, now is at version 2.4.0.

This release introduces a few new features: automatic anti-ghosting, FITS support, integration with Windows Task Bar, improved I/O with TIFF 32 bit (which will make possible to export to third party software for high-quality post processing), redesigned merge algorithms.

To install this build in Ubuntu 13.10 or Linux Mint 16, press Ctrl+Alt+T on your keyboard to open the terminal. When it opens, run below commands one by one:

sudo add-apt-repository ppa:dhor/myway

sudo apt-get update

sudo apt-get install luminance-hdr

These commands will also install the previous version 2.3.1 in Ubuntu 13.04, Ubuntu 12.10 and Ubuntu 12.04.

Luminance HDR website.

Aptik is a new tool to simplify re-installation of packages after doing a clean installation of an Ubuntu-based distribution. It can be used while re-installing or upgrading to the next Ubuntu/Linux Mint release.

With this simple tool, you can backup & restore:

  • Software Sources (PPAs.)
  • Software selections (list of installed packages)
  • Downloaded Packages (APT Cache)
  • Themes and Icons

How to Use Aptik:

Plug-in your pen drive and create a new folder on it named ‘backups’. Start Aptik and select the new folder as the backup directory.

1. Backup PPAs:

Click on the Backup button and you’ll see a list of third-party PPAs as well as the installed packages from PPAs.

  • PPAs with a green icon are active and have some packages installed.
  • PPAs with a yellow icon are active but unused (no packages installed).

Select the PPAs to backup and click the Backup button. A file named ‘ppa.list’ will be created in the backup directory.

2. Backup Software Selections:

Click on the Backup button will display a list of installed top-level packages. These packages are top-level packages. Dependency packages will not be listed.

All packages that are a part of the Linux distribution are un-selected by default. For example, Firefox is a package that is installed by default on most Linux distributions. Since it came with the distribution, it will be un-selected by default. It can be selected if required.

A file named ‘packages.list’ will be created in the backup directory after you clicked no the backup button.

3. Click the Backup button for Downloaded Packages will paste packages from your system cache (/var/cache/apt/archives) to backup folder.

4. Similarly, all themes and icons from the directories /usr/share/themes and /usr/share/icons can be zipped and saved in the backup folder.

To restore backups:

Connect your pen drive to the new system. Install and then start Aptik and select the backup folder on the pen-drive as the backup directory. Click on the Restore buttons and select packages, PPAs, themes and restore them one by one.

About the “Fix Ownership of Home folder”:

The home folder can be manually copied to another location and then restored after doing a fresh install. However, it can sometimes cause problems if the user’s login name or UID is different from the previous one. Click the Take Ownership button to change ownership of files in your home directory to your current login ID. This is same as running the following command:

sudo chown username -R /home/username

How to Install Aptik:

Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run below commands one by one:

sudo add-apt-repository -y ppa:teejee2008/ppa

sudo apt-get update

sudo apt-get install aptik

Works for Ubuntu 14.04, Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.10, Ubuntu 12.04 and their derivatives.

via: teejee

Laptop Power Saving: Enable Laptop Mode in Ubuntu

Last updated: January 28, 2014

Laptop mode is a kernel “mode” that allows you to extend the battery life of your laptop. It does this by making disk write activity “bursty”, so that only reads of uncached data result in a disk spinup. It causes a significant improvement in battery life (for usage patterns that allow it).

Laptop Mode Tools is the primary way to enable the Laptop Mode feature of the Linux kernel, which lets your hard drive spin down. In addition, it allows you to tweak a number of other power-related settings using a simple configuration file.

Laptop Mode Tools was a command line only tool until version 1.64, which introduces a GUI that lets you toggle individual power saving modules.

At the moment the version 1.64 is only available in the Ubuntu 14.04 repository. For Ubuntu 13.10, Ubuntu 12.10, Ubuntu 13.04 and Ubuntu 12.04, you can install it from the Webupd8 PPA.

Install Laptop Mode Tools:

NOTE: Laptop Mode Tools is in conflict with TLP. Don’t use them in the same time!

For Ubuntu 14.04, search for and install laptop-mode-tools from Ubuntu Software Center.

For Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.10 and Ubuntu 12.04, press Ctrl+Alt+T on your keyboard to open the terminal. When it opens, run the commands below one by one:

sudo add-apt-repository ppa:webupd8team/unstable

sudo apt-get update

sudo apt-get install laptop-mode-tools

If you don’t like the PPAs, you can manually download the deb from HERE.

Once installed, the Laptop Mode should be enabled by default. To launch the configuration tool, run the command below in terminal:

gksu lmt-config-gui

You can also find the configuration files in /etc/laptop-mode.

QupZilla is a lightweight and very fast QtWebKit browser. It has been originally started only for educational purposes. But from its start, QupZilla has grown into a feature-rich browser.

The latest version 1.6.1 added option to enable tab switching using the mouse scroll wheel; a toggle to disable inline URL completion in the address bar; and the ability to launch full-screen mode using the command line.

There are also other changes and a few bug fixes in QupZilla 1.6.1:

  • added undo/redo context menu actions in editable web elements
  • speedup loading rules from subscriptions in AdBlock dialog
  • fixed speed dial with disabled javascript
  • fixed showing tooltips on tabs when tab previews are disabled
  • fixed search shortcuts longer than one character in locationbar
  • fixed building issues on OS X and OS/2
  • fixed disabling tab previews from preferences
  • fixed building new Gnome/KDE keyring passwords
  • fixed building StatusBarIcons plugin on Windows
  • win: add new jumplist option to open private window

Install QupZilla in Ubuntu:

Press Ctrl+Alt+T on your keyboard to open the terminal. When it opens, run the commands below one by one:

sudo add-apt-repository ppa:nowrep/qupzilla

sudo apt-get update

sudo apt-get install qupzilla

These commands will install the QupZilla from its official PPA. Supports Ubuntu 14.04, Ubuntu 13.10, Ubuntu 12.10, Ubuntu 12.04, Linux Mint and their derivatives.

BTW: The developer announced in the release note that:

QupZilla will in future be ported to QtWebEngine, which will (amongst other improvements) bring multi-process architecture.
With QtWebEngine comes dependency on Qt 5, which means older platforms may not be supported.
QupZilla on QtWebEngine will be new major version 2.x.x and I hope it will be ready with Qt 5.3 (or Qt 5.4), depending on Qt devs.

Hello dear readers. As you may know, Pear Linux OS, the Ubuntu based distribution that mimics Apple’s OS X completely, is discontinued because the developer David Tavares has sold this distribution to an undisclosed company that will develop the Linux-based operating system for its own products.

All the download links have been removed from the official website, which is no longer active. Fortunately, a new team will continue the Pear OS by developing a new OS called Clementine OS.

Clementine OS 10.8 will start development in April of 2014 based on the upcoming Ubuntu 14.04 LTS. The official website is out and now provides iso images for Pear OS 8.

Clementine OS WebSite:clementineos.hj.cx.

UPDATE 1: The developer received a letter from an American company that forced him to abandon the project. He later said that it was not Apple, but another major company. He could not disclose its name, however.

UPDATE: I found that the website is down after I spread this news around. If you’re interested in this OS, you can follow the developer on Google +