Archives For Howtos

DeadBeef Music PlayerIf you would like to install DeadBeef audio player in Ubuntu and its derivatives such as Linux Mint, Elementary OS. This tutorial will tell you how to do it easily

As you may kown, DeaDBeeF is a lightweight audio player for GNU/Linux systems with X11 written in C and C++. It has below features:

  • plays mp3, ogg, flac/oga, ape, wav, wv/iso.wv, aac/m4a, alac, mpc/mpp/mp+, tta, wma, shn, sid, nsf, mod, s3m, vtx, vgm/vgz, psf, midi, audio cds, all formats supported by ffmpeg, dumb, gme, libsndfile, adplug, and more!
  • light on memory and CPU use
  • expandable through plugins
  • supports cuesheets (from .cue files, and embedded), reading and writing m3u and pls playlists
  • plays internet radio (shoutcast, icecast, mms), as well as normal mp3 files over http and ftp (e.g. from podcasts)
  • global hot-keys
  • reads and writes id3v1, id3v2, apev2, vorbiscomment tags to/from all relevant formats; read-only mp4 itunes tags
  • can detect charset of bad (non-unicode) id3 tags, as well as charsets in metadata from tracker modules and chiptunes
  • user-customizable playlist columns with title-formatting
  • high quality resampling using libsamplerate
  • playback using ALSA, OSS and PulseAudio
  • last.fm/libre.fm scrobbler
  • sample-accurate seeking and gapless playback support for many formats
  • multiple playlists organized in tabs
  • album art display, fetching covers from music folders, id3v2 and apev2 tags, last.fm and albumart.org
  • 18-band equalizer with presets, with importing of fb2k eq presets
  • track grouping using title-formatting
  • album art display in playlist
  • customizable OSD notifications with album covers
  • configurable converter/transcoder
  • replay gain (playback only)
  • playing files directly from zip archives
  • supports tagging of files with custom fields, including editing custom fields added by other taggers/players
  • multichannel playback, support for integer 8, 16, 24, 32 and float 32 bit sound output
  • localized into many languages

Download & Install DeadBeef:

The easiest way to install the DeadBeef is using the DEB package. Just download and double-click to install the package from below link. You may check your OS type (32-bit or 64-bit) by System Settings -> Details

DeadBeef Ubuntu Deb 32-bit

DeadBeef Ubuntu Deb 64-bit

You can also use the PPA which supports Ubuntu 13.04, Ubuntu 12.10, Ubuntu 12.04:

sudo add-apt-repository ppa:starws-box/deadbeef-player

sudo apt-get update

sudo apt-get install deadbeef

deadbeef ubuntu 13.10

peazip-logoThis tutorial shows how to install PeaZip 5.1 in Ubuntu 13.04 and fix the dependency problem. PeaZip depends on libgmp3c2, but it’s no longer available in Ubuntu 13.04 Raring and Ubuntu 13.10 Saucy.

As you may know, PeaZip is a free Zip files utility which supports 150+ archive formats. With it, you can compress, convert, split, encrypt, secure delete, open RAR TAR 7Z ZIP ZIPX CAB ISO files.

To get started, first download and install the libgmp3c2 package from the below links. You may check 32-bit or 64-bit by System Settings -> Details.

libgmp3c2 32-bit deb

libgmp3c2 64-bit deb

NOTE: I don’t know why this package is removed from Ubuntu repository. It may conflict with other packages on your system and cause problem. Use it at your own risk!

Now, download and install the peazip_5.1.0.LINUX.GTK2-2_all.deb from Sourceforge.net

peazip ubuntu

You may need a restart to see the PeaZip icon in Unity Dash.

This tutorial will show you how to install SmartGit/HG easily via PPA in Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.04, Ubuntu 12.10 and Linux Mint.

As you may know, SmartGit/Hg is a graphical Git and Mercurial client which can also connect to SVN repositories. SmartGit/Hg runs on Linux, Mac OS X (10.5 or newer) and Windows (XP or newer). Git and Mercurial (Hg) are distributed version control system (DVCS). Read Smartgit documentation

smartgit/hg ubuntu

SmartGit/Hg depends on Java Runtime Environment. So before get started, install OpenJDK from Ubuntu Software Center or install Oracle Java via PPA.

UPDATE-2015: For Ubuntu 14.04, 14.10, 15.04 and their derivatives, run below commands instead:

sudo add-apt-repository ppa:eugenesan/ppa

sudo apt-get update

sudo apt-get install smartgit

Once Java properly installed, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below commands one by one to install the git client:

sudo add-apt-repository ppa:eugenesan/ppa

sudo apt-get update

sudo apt-get install smartgithg

smartgit/hg ubunt unity

The Grub Customizer PPA now is available for Ubuntu 13.10 Saucy Salamander and its derivatives.

grub customizer

As you may know, Grub Customizer is a graphical interface to configure the GRUB2/BURG settings and menu entries. It allows to move, remove, rename and edit the bootloader menu entries, set the default operating system, reinstallation of the bootloader to MBR, etc.

Install Grub Customizer:

Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below command to add the PPA:

sudo add-apt-repository ppa:danielrichter2007/grub-customizer

add grub customizer ppa

Then update package lists and install grub-customizer:

sudo apt-get update; sudo apt-get install grub-customizer

Once installed, open it from Unity Dash and enjoy!

grub customizer ubuntu

Gnome Subtitles is a subtitle editor for the GNOME desktop (also works in Unity). It supports the most common text-based subtitle formats, video previewing, timings synchronization and subtitle translation.

Some supported subtitle formats are: Advanced Sub Station Alpha, FAB Subtitler, MicroDVD, Mplayer 1/2, MPSub, SubRip, SubViewer 1/2.

Gnome Subtitles

The latest version has reached 1.3 which allows to set the gap between subtitles, to be used when inserting or splitting subtitles. Also there are a lot of bug fixes and other improvements.

Install Gnome Subtitles 1.3 via PPA

For Ubuntu 13.04, Ubuntu 12.04, Ubuntu 12.10 and their derivatives, such as Linux Mint and Elementary OS. Press Ctrl+Alt+T and run below commands one by one in pop-up terminal:

sudo add-apt-repository ppa:pedrocastro/ppa

sudo apt-get update

sudo apt-get install gnome-subtitles

For Ubuntu 13.10 Saucy, run below commands instead:

sudo add-apt-repository ppa:nilarimogard/webupd8

sudo apt-get update

sudo apt-get install gnome-subtitles

Once installed, open it from Unity Dash and Enjoy!

Are you using the Elementary OS instead of Ubuntu? Well, here I’ll show you how to add the ‘Open in terminal’ option to the Pantheon file manager right-click menu. So that you can quickly open terminal and automatically navigate to the current directory in Pantheon.

open in terminal for pantheon

To get started, use your favorite editor to create the config file /usr/share/contractor/openinterminal.contract and edit it. I prefer Gedit, so I install it and edit the file via below commands:

sudo apt-get install gedit

sudo gedit /usr/share/contractor/openinterminal.contract

Copy and paste below lines into the file and save it.

[Contractor Entry]
Name=Open in terminal
Icon=terminal
Description=Open in terminal
MimeType=inode;application/x-sh;application/x-executable;
Exec=pantheon-terminal -d %U
Gettext-Domain=pantheon-terminal

Log out and back in and done! Or you need a restart if it doesn’t work properly.

Light Locker is a simple session-locker for Lightdm forked from gnome-screensaver that aims to have simple, sane, secure defaults and be well integrated with the desktop while not carrying any desktop-specific dependencies.

With it, the lock screen will look identical to the LightDM greeter – the Unity default login screen.

LightDM locker

Requirements:

To use light-locker with systemd, you need at least lightdm 1.7.0. light-locker doesn’t work with lightdm version 1.7.5-1.7.9

I’ve tested in Ubuntu 13.04 with default lightdm 1.6.0. The light locker works when my laptop wakes up from suspend. But the Lock/Switch Account option in shutdown menu doesn’t work! Use it at your own risk!

Install LightDM Locker:

The Stable PPA has been created for Ubuntu 13.10 Saucy and Ubuntu 13.04 Raring.

Before getting started installing it, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run command to remove the gnome-screensaver:

sudo apt-get remove gnome-screensaver

The you can add the ppa via command:

sudo add-apt-repository ppa:light-locker/release

Finally install LightDM locker. Log out and back in to take effect.

sudo apt-get update; sudo apt-get install light-locker

As you may know, sView is a stereoscopic 3D media player which plays 3D images, videos, CAD models. For each sort of media sView provides independent application with customized user-friendly interface.

The 3D Image Viewer displays images and photos in most popular formats including JPEG, PNG, MPO, BMP, EXR, TGA, WebP and many others. Actual decoding performed by FFmpeg framework, and, optionally, DevIL and FreeImage libraries.

The supported formats of 3D Movie Player is very large thanks to FFmpeg framework including MKV, WebM, OGM, AVI, FLAC, RMVB and many others.

sview movie player

The Tiny CAD Viewer loads and displays CAD models supported by OpenCASCADE Technology framework (BREP, IGES, STEP). Viewer supports different presentation modes including orthogonal and perspective projection matrices as well as stereoscopic output.

Install sView via PPA

The official ppa repository supports Ubuntu 13.04, Ubuntu 12.04, Ubuntu 12.10, Ubuntu 10.04, Ubuntu 11.10 and their derivatives, such as Linux Mint and Elementary OS.

To install it, press Ctrl+Alt+T on your keyboard to open terminal. Run below commands one by one:

sudo add-apt-repository ppa:sview/stable

sudo apt-get update

sudo apt-get install sview

Once installed, you can open the app from Unity Dash. Or choose open with sview in files’ right-click menu.

This simple tutorial shows you how to easily change the CPU frequency via indicator applet in Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.10, Ubuntu 12.04 and their derivatives, such as Linux Mint and Elementary OS.

cpu frequency indicator

Indicator-freq is an applet for displaying and change cpu frequency on the fly. Also it allows to choose powersaving mode to save power.

To install this indicator, open Ubuntu Software Center and search for and install the indicator-cpufreq package.

install cpu frequency indicator

That’s it. Enjoy!

Want GCC 4.8 with c++11 complete feature? Well here’s how to install it in Ubuntu 12.04, Ubuntu 13.04, Ubuntu 12.10 via the PPA.

The PPA provides both GCC 4.7.3 and GCC 4.8.1 for Ubuntu users. In this tutorial, you can follow below steps to upgrade gcc version in your system.

1.) Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below commands to add the ppa:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test

2.) Then install gcc 4.8 and g++ 4.8:

sudo apt-get update; sudo apt-get install gcc-4.8 g++-4.8

3.) Once installed, run following commands one by one to use gcc 4.8 instead of previous version.

sudo update-alternatives --remove-all gcc 

sudo update-alternatives --remove-all g++

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20

sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20

sudo update-alternatives --config gcc

sudo update-alternatives --config g++

Now you have the gcc 4.8 with c++11 complete feature in your system. Check out by:

gcc --version

gcc (Ubuntu 4.8.1-2ubuntu1~13.04) 4.8.1
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.