Archives For jimingkui

This will install a package called Apticron, which is a simple script sends daily emails about pending package updates such as security updates, properly handling packages on hold both by deselect and aptitude.

Apticron is available in Ubuntu’s universe repository. You can install it via apt-get command, or just search for and install the package from Ubuntu Software Center.

email for ubuntu updates

Once installed, edit the config file /etc/apticron/apticron.conf. Enter your email address by replacing root with your email address.

# apticron.conf
#
# set EMAIL to a space separated list of addresses which will be notified of
# impending updates
#
EMAIL=”root”

Save and close the file.

When updates are available you will get an email once a day. When no updates are available, apticron doesn’t send any email.

Want to display KDE style folder view widget on your desktop? Well, here I’ll show you how to do it in Ubuntu Unity and Linux Mint Cinnamon.

FolderView screenlet in Ubuntu

The FolderView screenlet displays your favorite folder items on your desktop and allows to single click to open files or folders with default program.

To install FolderView in Ubuntu 13.04 Raring, Ubuntu 12.10 Quantal, Ubuntu 12.04 Precise, Linux Mint and Elementary OS Luna, press Ctrl+Alt+T to open terminal. When it opens, run command to download the DEB (copy code via Ctrl+C, paste in terminal via Ctrl+Shift+V):

wget https://launchpad.net/~screenlets/+archive/ppa/+files/folderview-screenlet_0.9.91%2B%2B%2B~precise1_all.deb

Then install the screenlet as well as screenlets manager indicator via below commands:

sudo dpkg -i folderview-screenlet_0.9.91*.deb; sudo apt-get -f install

FolderView screenlet unity

Open FolderView screenlet from Unity Dash. Right-click to get the menu, navigate to Properties -> Options -> Folder and set Folder path to Other and choose your favorite to display on desktop.

The bpm-tools is a command line tool to automatically calculate and tag the tempo (in beats-per-minute) of music files. It reliably detects the tempo of the vast majority of popular music I have used it with, and is a useful tool for DJs and use with xwax on Linux, and scripting on the command-line.

Right now the code serves as the best explanation of the algorithm — a relatively simple application of an autocorrelation by statistical sampling. As yet, there is no scientific comparison of the algorithm with others software.

calculate & tag audio in bmp

bmp-tools is available in Ubuntu Software Center for Ubuntu 13.10 Saucy. For Ubuntu 13.04, Ubuntu 12.04, Ubuntu 12.10, you may install it from PPA by running below 2 commands one by one in terminal (Ctrl+Alt+T):

sudo add-apt-repository ppa:dholbach/ppa

sudo apt-get update; sudo apt-get install bpm-tools

PostMan is a small utility allows to upload images to Flickr, Google+, Picasa, and Ubuntu one. This is done through a simple and modern intuitive user interface. Drag stamps to mark destinations, and drag images to select content.

postman in Ubuntu 13.04

PostMan image uploader is available for Ubuntu 12.10 and Ubuntu 12.04 in Ubuntu Software Center. Just search for and install the package. For Ubuntu 13.04 Raring, download the DEB from the below link:

PostMan-image-uploader_0.3.5_all.deb

Then press Ctrl+Alt+T to open terminal, run below command to install downloaded package:

sudo dpkg -i ~/Downloads/postman-image-uploader_*.deb; sudo apt-get -f install

Once installed, open PostMan from the Unity Dash Home. In the main window, drag and drop your services onto the envelope and then login.

Finally, drop your images onto the icon to upload:

postman upload images

How to Install Skype 4.2 in Elementary OS Luna

Last updated: August 14, 2013

This simple tutorial shows you how to install Skype in the Elementary OS 0.2 Luna. As you may know, Elementary OS is a lightweight and beautiful Linux distribution based on Ubuntu 12.04 Precise. So that you can easily install Skype in it via the Canonical Partners repository.

Skype in Elemantary OS

To get started, start the Software Center from dock, navigate to Edit -> Software Sources…

Elementary software sources

In next window, go to Other Software tab. Check the boxes to enable Canonical Partners repository:

elementary enable canonical partners repository

After that, press Ctrl+Alt+T to open a terminal window. Run below commands to update package lists and install Skype:

sudo apt-get update; sudo apt-get install skype

Install skype in Elementary OS

Once done, you can open Skype from the top-left Applications menu.

Besides Unity Webapps, Fogger is a good alternative to turns your web apps into regular desktop apps on Ubuntu or Linux Mint.

Fogger acts as a bridge between web applications and the linux desktop. It exposes an easy to use JS API to webapps which can be used to interact with the host desktop environment. It can also be used to write basic desktop apps for linux in pure web style.

Bring Integrated Web Apps to Ubuntu

This tutorial will show you how to install Fogger in Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.04, Ubuntu 11.10 and Linux Mint via PPA.

To get started, press Ctrl+Alt+T to open terminal. When it opens, run commands to add PPA:

sudo add-apt-repository ppa:loneowais/fogger

add fogger ppa ubuntu

After that, run commands to update package lists and install Fogger:

sudo apt-get update; sudo apt-get install fogger

Once done,

fogger ubuntu unity

How to Install Gloobus Preview in Ubuntu 13.04

Last updated: August 13, 2013

As you may know, Gloobus Preview is a simple application based on Apple’s “Quicklook”, designed to enable a full screen preview of any kind of file.

Its is very easy to use, just select a file in Nautilus file browser, press SPACE and the file will open in a less than a second. Then you can press again on SPACE on your keyboard to close it.

File types supported:

  • Images: jpeg / png / icns / bmp / svg / gif / psd / xcf
  • Documents: pdf / cbr / cbz / doc / xls / odf / ods / odp / ppt
  • Source Code: c++ / c# / java / javascript / php / xml / log / sh / python
  • Audio: mp3 / ogg / midi / 3gp / wav
  • Vídeo: mpg /avi / ogg / 3gp / mkv / flv
  • Other: folders / ttf / srt / plain text
  • Install Gloobus Preview:

    Gloobus Preview is available for Ubuntu 13.04, Ubuntu 12.04, Ubuntu 12.10, and Ubuntu 11.10 from the PPA repository.

    Press Ctrl+Alt+T to open terminal. When it opens, run below commands to add the PPA. Copy the code via Ctrl+C and paste in terminal via Ctrl+Shift+V.

    sudo add-apt-repository ppa:gloobus-dev/gloobus-preview

    Then update package lists and install the packages:

    sudo apt-get update; sudo apt-get install gloobus-preview gloobus-sushi

    For the oppenoffice documents preview to work, install:

    sudo apt-get install unoconv

    That’s it! Restart Nautilus by running command nautilus -q if it doesn’t work instantly.

    Want to install Wunderlist 2 on Ubuntu or Linux Mint Desktop? Well, here I’ll show you how to do it via fogger, which will install the Wunderlist 2 web app on your desktop.

    Wunderlist 2 in Ubuntu

    UPDATE: It seems that the Wunderlist 2 is not working properly with fogger now, you may use Wunderlist 2 with your web browser by visiting http://www.wunderlist.com/.

    Fogger is a simple application which turns your web apps into into regular Linux desktop apps. It’s kinda similar to Unity Webapps. Fogger uses WebKitGtk as its web interface. It acts as a bridge between web applications and the linux desktop. It exposes an easy to use JS API to webapps which can be used to interact with the host desktop environment. It can also be used to write basic desktop apps for linux in pure web style.

    Install Fogger:

    Fogger is available for Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.04 and Linux Mint 13, 15, 16 via its PPA.

    Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below 3 commands one by one. Copy the codes via Ctrl+C and paste in terminal via Ctrl+Shift+V:

    sudo add-apt-repository ppa:loneowais/fogger
    
    sudo apt-get update
    
    sudo apt-get install fogger

    Install Wunderlist 2

    Search fog app from Unity Dash home and open Create a new fog app,

    Create Wunderlist 2 desktop app

    Copy and paste below line into URL, and type Wunderlist in Name area.

    https://www.wunderlist.com/#/lists/inbox

    Click Create. After that, you can launch Wunderlist 2 from Unity Dash Home. For first time, you need to type username and password to login.

    Wunderlist in Ubuntu Unity

    Man Page Editor GUI on Ubuntu Linux

    Last updated: January 23, 2015

    Man Page Editor is a simple graphical tool for writing the manpage. The developer of Xfce Theme Manager wrote this GTK app and here’s why:

    “I write a number of my own programs, and have always had a bit of a problem writing the manpage, I have used the excellent ‘ManEdit’ but development on this has been stalled for a number of years.

    So I finally decided to write my own and this is the result. This is only the first draft and there is LOTS to be done, so bugs and suggestions are welcome, please click on the ‘About’ button in the program for my email address.”

    Man Page Editor

    Man Page Editor homepage: keithhedger.hostingsiteforfree.com

    Source code can be downloaded from homepage.

    Download the debian packages from this page

    The latest stable Linux Kernel 3.10.6 has been released. All users of the 3.10 kernel series must upgrade. Here’s how to install / upgrade in Ubuntu 13.04 Raring, 12.04 Precise and 12.10 Quantal.

    Kernel 3.10.6 in Ubuntu

    The Linux Kernel 3.10.6 comes with lots of fixes and improvements, such as updated Radeon, i915 vedio drivers, update RAID, Wireless, drivers and so forth. See the announcement.

    Install / Upgrade Kernel 3.10.6

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

  • For 32-bit system:
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.6-saucy/linux-headers-3.10.6-031006-generic_3.10.6-031006.201308112316_i386.deb 
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.6-saucy/linux-headers-3.10.6-031006_3.10.6-031006.201308112316_all.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.6-saucy/linux-image-3.10.6-031006-generic_3.10.6-031006.201308112316_i386.deb
  • For 64-bit system:
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.6-saucy/linux-headers-3.10.6-031006-generic_3.10.6-031006.201308112316_amd64.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.6-saucy/linux-headers-3.10.6-031006_3.10.6-031006.201308112316_all.deb
    
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.6-saucy/linux-image-3.10.6-031006-generic_3.10.6-031006.201308112316_amd64.deb
  • After downloading the packages, both 32-bit & 64-bit can run below commands to install them:

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

    Once installed, update grub to apply changes and you’re done!

    sudo update-grub

    (Optional) To remove Linux Kernel 3.10.6, run this command in terminal:

    sudo apt-get purge linux-image-3.10.6*