Archives For Howtos

How to Install the Flash Plugin in Elementary OS Luna

Published: September 7, 2013 — Last updated: November 28, 2013

The Elementary OS Luna – Ubuntu 12.04 Precise based system – comes with lightweight browser Midori. To get Flash working for it, you’ll need to install ndiswrapper and do some tweaking. It’s not difficult, just folow the below steps, copy and paste commands into terminal and hit enter to run.

1.) To get started, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run command to install the flashplugin-installer.

sudo apt-get install flashplugin-installer nspluginwrapper

install flash for eos

2.) Then run below commands one by one to get the flash working.

sudo nspluginwrapper -i /usr/lib/flashplugin-installer/libflashplayer.so

nspluginwrapper -v -a -n -i

enable flash for eos

That’s it. Restart your browser and enjoy!

UPATE: As KW said, if previous commands does not work, just move the libflashplayer.so file to the /usr/lib/mozilla/plugins folder

As you may know, Aegisub is a free, cross-platform open source tool for creating and modifying subtitles. Aegisub makes it quick and easy to time subtitles to audio, and features many powerful tools for styling them, including a built-in real-time video preview.

Aegisub-logo

Aegisub is available in Ubuntu Software Center since Ubuntu 12.10 Quantal, but it’s old. At the moment, the latest version is 3.0.4 and it’s available for downloading at the below links:

aegisub_3.0.4-1_i386.deb

aegisub_3.0.4-1_amd64.deb

Or you can check out all Debs from the official ftp download page.

Once downloaded, you can install it in Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.04 and their deviratives such as Linux Mint and Elementary by running below commands in terminal (Ctrl+Alt+T):

sudo dpkg -i ~/Downloads/aegisub_*.deb; sudo apt-get -f install

Or you can directly double-click to install the Deb if there’s no dependency problem.

aegisub subtitle editor

This tutorial shows how to install Light Table IDE in Ubuntu 13.10, Ubuntu 13.04,12.10, 12.04 and manually create launcher for Unity Desktop.

As you may know, Light Table is a new interactive IDE that lets you modify running programs and embed anything from websites to games. It provides the real time feedback we need to not only answer questions about our code, but to understand how our programs really work.

LightTable IDE Ubuntu

Install Light Table IDE:

1.) Download Light Table from its homepage

2.) For global use, extract the download package and put the result folder to /opt/.

3.) You need to open Nautilus file browser as root to copy and paste Light Table Folder to /opt/. To do so, press Alt+F2 on your keyboard and type to run gksudo nautilus

open nautilus as root

Once done, you can open the IDE via command terminal:

/opt/LightTable/LightTable

NOTE: If you have problem launching it in Ubuntu 13.04 Raring Ringtail, run below command to fix:

  • for 32-bit:
    sudo ln -sf /lib/i386-linux-gnu/libudev.so.1 /lib/i386-linux-gnu/libudev.so.0
  • for 64-bit:
    sudo ln -sf /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0

Create Launcher for Light Table

1.) Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below commands to install required package:

sudo apt-get install gnome-panel --no-install-recommends

2.) Bring up the ‘Create Launcher’ dialog via below command:

sudo gnome-desktop-item-edit /usr/share/applications/ --create-new

Type in:

Name: Light Table
command: /opt/LightTable/LightTable
choose icon from /opt/LightTable/core/img/lticon.png

Light Table in Ubuntu unity

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.

Install SmartGit via PPA in Ubuntu 13.10/13.04/12.04/Linux Mint

Published: September 1, 2013 — Last updated: June 17, 2015

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

Install Gnome Subtitles 1.3 in Ubuntu 13.10/13.04/12.10/12.04

Published: August 31, 2013 — Last updated: March 21, 2019

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!

Add ‘Open in Terminal’ to Pantheon Context menu in Elementary OS

Published: August 30, 2013 — Last updated: September 28, 2013

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