Archives For jimingkui

rabbitVCS

Quick tutorial shows how to install RabbitVCS, easy version control for Linux, in Ubuntu 14.04/Ubuntu 14.10 for Nautilus, Gedit, Thunar, Nem

RabbitVCS is a graphical front-end for version control systems available on Linux. It integrates into file managers to provide file context menu access to version control repositories. The project was originally called NautilusSvn, but due to the desire to support file managers in addition to Nautilus and more version control systems, it was renamed to RabbitVCS.

RabbitVCS extension for Nautilus

Install RabbitVCS in Ubuntu:

While Ubuntu repositories provide an old version of RabbitVCS, the latest release is always available in its official PPA.

1. To add the PPA, press Ctrl+Alt+T to open terminal, paste the command below and hit enter to run:

sudo add-apt-repository ppa:rabbitvcs/ppa

Type in your user password when it asks and there is no visual feed back.

2. After that, install RabbitVCS extension via Synaptic Package Manager (install it from Ubuntu Software Center), and receive future updates by running running regular updates via Software Updater.

  1. Install and then launch Synaptic from the Unity Dash or App Menu.
  2. Click the Reload button to update package lists.
  3. Search rabbitvcs
  4. Highlight rabbitvcs-nautilus3, rabbitvcs-gedit, or rabbitvcs-thunar
  5. and mark for installation.

  6. Finally click the Apply button to install it/them.

Install RabbitVCS from PPA

Once installed, log out and back in.

Install RabbitVCS extension for Nemo:

For Linux Mint Nemo file manager, you can install the extension by running the commands below one by one in terminal:

sudo add-apt-repository ppa:tsvetko.tsvetkov/cinnamon

sudo apt-get update

sudo apt-get install nemo-rabbitvcs

Supports for Linux Mint 17 and 13.

Emacs 24.4 in Ubuntu 14.04

NOTE: This post is outdated. Please read this new tutorial about compiling GNU Emacs from the source.

GNU Emacs has finally reached version 24.4 with many new features and improvements. The most notable is that the text editor brings a built-in web browser.

GNU Emacs is the most popular and most ported Emacs text editor, and it was created by Richard Stallman for the GNU Project.

The latest release Emacs 24.4 was released a few hours ago. The new release features:

  • A built-in web browser (M-x eww)
  • Improved multi-monitor and fullscreen support
  • “Electric” indentation is enabled by default
  • Support for saving and restoring the state of frames and windows
  • Emacs Lisp packages can now be digitally signed
  • A new “advice” mechanism for Emacs Lisp
  • File notification support
  • Pixel-based resizing for frames and windows
  • Support for menus in text terminals
  • A new rectangular mark mode (C-x SPC)

Emacs 24.4 in Ubuntu 14.04

How to Install Emacs 24.4 in Ubuntu:

At the moment of writing this tutorial, there’s no PPA repository that contains Emacs 24.4. Fortunately, it’s not hard to build it from the source tarball. I’ve done it successfully in 64-bit Ubuntu 14.04 LTS. Below steps will show you how:

1. If have the old Emacs 24.3 installed, you may first remove it from Ubuntu Software Center so that you can install the new version over it.

2. Press Ctrl+Alt+T on keyboard to open terminal, or open it from the Unity Dash.

Open Terminal to run commands

3. Run command below to install the build-essential:

sudo apt-get install build-essential

4. Install the required dependencies:

sudo apt-get build-dep emacs

While the installing process, you’ll be asked to configure the Postfix.

5. Now download Emacs 24.4 from its official FTP download page.

Emacs FTP download Page

6. Extract the source and go into the result folder in terminal:

cd ~/Downloads && tar -xf emacs-24.4.tar.* && cd emacs-24.4

7. Finally compile the package by running commands below one by one.

./configure

make

sudo make install

Once done, you should be able to launch Emacs by running emacs or emacs-24.4 in terminal and lock the shortcut to the Unity Launcher.

To create a launcher for Emacs 24.4. Thanks to Emad Khoury, run command to create a .desktop file and edit it with Gedit text editor:

sudo gedit /usr/share/applications/Emacs-24.desktop

When the file opens, paste below into it and save the file.

[Desktop Entry]
Version=1.0
Name=Emacs-24
Exec=env UBUNTU_MENUPROXY=0 /usr/local/bin/emacs
Terminal=false
Icon=emacs
Type=Application
Categories=IDE
X-Ayatana-Desktop-Shortcuts=NewWindow
[NewWindow Shortcut Group]
Name=New Window
TargetEnvironment=Unity

Depends on where you install Emacs 24, you may replace the value of Exec and Icon to the path to executable and shortcut icon file.

Audacious Audio Player

Audacious, the default audio player in Lubuntu, has just reached version 3.5.2 with updated translations and a few bug fixes.

Audacious is a free and open source audio player with a focus on low resource usage, high audio quality, and support for a wide range of audio formats. It contains built-in gapless playback and supports plugins and Winamp 2 skins.

Audacious GTK interface

Audacious GTK interface

Audacious Winamp Skin

Audacious Winamp Skin

Audacious 3.5.2 is the final release in 3.5 series. The developers are now working hard on Audacious 3.6. Bug fixes in v3.5.2:

  • Problem with single instance in Windows #457
  • build fails if faad headers are missing #458
  • When adding a SID file with multiple subtunes to playlist, only the first subtune is added. #462

Install / Upgrade Audacious in (L)Ubuntu:

Thanks to Web Upd8 Team, the binary packages have been made into PPA, available for Ubuntu 14.10, Ubuntu 14.04 and their derivatives.

To add the PPA and install Audacious, press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run commands below one by one:

sudo add-apt-repository -y ppa:nilarimogard/webupd8

sudo apt-get update

sudo apt-get install audacious audacious-plugins

Install Audacious in Ubuntu From PPA

How to Install Minecraft in Ubuntu 14.10

Last updated: October 18, 2014

minecraft ubuntu 14.10

Installing Minecraft in Ubuntu is quite easy. All we need to do is install Java, download and run the .jar executable from its official website.

1.) To get better game experience, you may first install graphics driver for your video card:

  • For Intel graphics, you’re good to go with the default open-source driver.
  • For NVIDIA or AMD graphics, it’s better to use a proprietary video driver. Open Additional Drivers utility from the Unity Dash, select the NVIDIA or AMD driver from the list and install it.

2.) For Java, you can either install OpenJDK Java 7 from Ubuntu Software Center or install Oracle Java from PPA.

To install OpenJDK Java 7, click the button below to bring up Ubuntu Software Center and click the install button.

Click to Install OpenJDK 7

To install Oracle Java, see this post or just run commands below one by one in terminal:

sudo apt-add-repository ppa:webupd8team/java

sudo apt-get update

sudo apt-get install oracle-java8-installer

3.) Once Java Runtime is installed, download the Minecraft.jar file from:

Minecraft Download Page

4.) Make the Minecraft.jar file executable.

To do so, right-click on the file in Nautilus browser and go to its Properties windows -> Permissions tab and finally check the box where it says “Allow executing file as program”.

Make Minecraft.jar executable

5.) Finally start the Minecraft Launcher:

MineCraft Launcher

When the launcher opens, log-in with your account and click the Play button. After downloading required packages, you’re finally able to play the game:

Minecraft in Ubuntu 14.10

ubuntu desktop shortcuts

This quick tutorial shows you how to easily create applications shortcut icons on your Ubuntu’s default Unity Desktop.

Due to permission issue, it’s not possible to drag and drop application shortcuts from the Unity Dash to the Desktop. You will get below error dialog when trying to do so:

Drop desktop shortcut fail

As a workaround we can directly copy and paste the application shortcuts from /usr/share/applications directory into desktop.

1.) Open “Files”, Nautilus file browser, from the left Launcher and navigate to Computer (left panel) / usr / share / applications.

You will see all the applications’ icons there.

Desktop Shortcuts

2.) Select one or more icons and press Ctrl+C to copy it/them. Then click on blank area of your desktop and press Ctrl+V to paste the icon(s). Note that drop and drop won’t work

That’s it, just so easy!

3.) For those who want to place Home, Network, Trash, and Devices icons on desktop, open Unity Tweak Tool (available in Ubuntu Software Center) from the Unity Dash and enable them from Desktop Icons utility.

desktop-shortcuts-1

Tor Browser Ubuntu

Tor Browser 4.0 has been released recently with important security updates to Firefox and SSLv3 disabled due to the POODLE attack.

The first release of the 4.0 series is available from the Tor Browser Project page and also from our distribution directory.

This release features important security updates to Firefox. Additionally, due to the POODLE attack, we have also disabled SSLv3 in this release.

The primary user-facing change since the 3.6 series is the transition to Firefox 31-ESR.

More importantly for censored users who were using 3.6, the 4.0 series also features the addition of three versions of the meek pluggable transport.

via the official announcement

Tor Browser 4.0 in ubuntu

Thanks to Web Upd8 Team, the binary packages have been made into PPA, available for Ubuntu 14.10, Ubuntu 14.04, Ubuntu 12.04 and their derivatives.

To install Tor Browser, press Ctrl+Alt+T to open terminal. When it opens, run the commands below one by one:

sudo add-apt-repository -y ppa:webupd8team/tor-browser 

sudo apt-get update

sudo apt-get install tor-browser

If you don’t want to add the PPA, grab the .deb installer directly from the Launchpad page.

Install Tor Browser from PPA

Once installed, open Tor Browser from Unity Dash or menu and enjoy!

Liferea RSS Feed Reader

Liferea, a web feed reader and news aggregator, has reached version 1.10.12 with a few bug fixes. PPA’s ready for Ubuntu 14.10, Ubuntu 14.04, Ubuntu 12.04.

Liferea is a free and open-source RSS reader for Linux that features:

  • Read articles when offline.
  • Synchronizes with InoReader, Reedah, TheOldReader, TinyTinyRSS,
  • Permanently save headlines in news bins.
  • Match items using search folders.
  • Play Podcasts in Liferea.

Liferea Feed Reader

The last release 1.10.12 fixed below bugs:

  • Support HTTP content negotiation (suggested by DanMan)
  • Problems with dark Adwaita theme in GTK 3.14
  • Stop calling Atom person constructs w/ URI invalid (patch by Aristotle Pagaltzis)

Install or Upgrade Liferea in Ubuntu:

The latest packages have been made into PPA, available for Ubuntu 14.10, Ubuntu 14.04, Ubuntu 12.04 and their derivatives such as Linux Mint 13 / 17, Elementary OS Luna.

To add the PPA, press Ctrl+Alt+T to open terminal. When it opens, paste the command below and hit run:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

Type in user password when it asks – no visual feed back – and finally install or upgrade the RSS reader via command:

sudo apt-get update; sudo apt-get install liferea

After that you can receive future updates from the PPA by running regular updates via Software Updater.

Latest 0 A.D. in Ubuntu

0 A.D. Alpha 17 Quercus, an open-source game of ancient warfare, has been released recently. Here’s how to install it from the official PPA and receive future updates.

0 A.D. is a free, open-source, cross-platform real-time strategy game under development by Wildfire Games. It is a historical war and economy game focusing on the years between 500 B.C. and A.D. 500. The game aims to be entirely free and open-source, using the GPL 2+ license for the game engine and the CC-BY-SA for the game art.

0 A.D. Alpha 17 Quercus features a major gameplay rebalance, units on walls, trigger support, improved mod support and more!

For the detailed changes, see the official release note.

How to Install & Upgrade 0 A.D. in Ubuntu:

An official Ubuntu PPA has been created for Ubuntu 14.10, Ubuntu 14.04, Ubuntu 12.04, Linux Mint 13, and Linux Mint 17.

To add the PPA and install 0 A.D., press Ctrl+Alt+T to open terminal and run below commands one by one:

sudo add-apt-repository -y ppa:wfg/0ad

sudo apt-get update

sudo apt-get install 0ad

Install 0 A.D. from PPA

After that, you can receive future updates by running regular updates via Software Updater utility.

upgrade Firefox in Ubuntu

Mozilla Firefox has reached version 33.0. It has been made into main repositories for Ubuntu 14.04, Ubuntu 12.04, and derivatives.

See what’s new in the Firefox 33:

  • OpenH264 support (sandboxed)
  • Improved search experience through the location bar
  • Slimmer and faster JavaScript strings
  • Search suggestions on the Firefox Start (about:home) and new tab (about:newtab) pages
  • Windows: OMTC enabled by default
  • New CSP (Content Security Policy) backend
  • Support for connecting to HTTP proxy over HTTPS
  • Improved reliability of the session restoration
  • Azerbaijani [az] locale added
  • Proprietary window.crypto properties/functions removed
  • JSD (JavaScript Debugger Service) removed in favor of the Debugger interface
  • @counter-style rule from CSS3 Counter Styles specification implemented
  • DOMMatrix interface implemented
  • Cubic-bezier curves editor
  • Display which elements have listeners attached
  • New sidebar which displays a list of shortcuts to every @media rule in the current stylesheet
  • Paint flashing for browser content repaints
  • Editable @keyframes rules in the Rules section of the Inspector
  • CSS transform highlighter in the style-inspector
  • Fix incomplete downloads being marked as complete by detecting broken HTTP1.1 transfers (237623)
  • Various security fixes

How to Upgrade Firefox:

Just run regular updates via Software Updater will bring you to the latest Firefox 33. You can choose only upgrade Firefox from the utility if you don’t want to upgrade all your system.

Upgrade Firefox in Ubuntu

If you don’t see Firefox in the update list, change the download server to Main Server from Software & Updates or Software Sources utility.

LXQt 0.8.0 Released with Full Qt 5 Compatibility

Last updated: October 20, 2014

LXQt DE

LXQt, the next generation of LXDE, has just reached release 0.8.0, which brings full Qt 5 compatibility, two beautiful new themes, and a lot of new features.

LXQt is the Qt port and the upcoming version of LXDE, the Lightweight Desktop Environment. It is the product of the merge between the LXDE-Qt and the Razor-qt projects.

lxqt-session

According to the release note, LXQt 0.8.0 brings below changes:

  • Full Qt 5 support. Run cmake with -DUSE_QT5 to enable it.
  • New component: lxqt-admin. This brings an optional set of basic admin tools such as configuration for date & time as well as users and groups.
  • New theme: Plasma Next. Based on KDE Plasma Next theme.
  • New theme: Dark Alpha, by Inti Alonso.
  • Much improved support for multiple displays.
  • Support for RGBA transparency if compositing is available.
  • lxqt-config-randr has been removed. It has been replaced by lxqt-config-monitor.
  • pcmanfm-qt: Support single-click to activate items
  • pcmanfm-qt: Support drag & drop on the desktop
  • pcmanfm-qt: Implement integration with the ark archive manager
  • pcmanfm-qt: Improve readability in icon view
  • lxqt-panel: Support reordering of taskbar buttons
  • lxqt-panel: Support “urgency” hint
  • lxqt-panel: Add support for OSS in volume control, if available
  • lxqt-powermanagement: Improved compatibility with systemd/logind
  • Integrate with compton if available (disabled by default)
  • Add support for setting a default UI font
  • Lots of performances improvements.
  • Lots and lots of bugfixes.
How to install LXQt in Ubuntu:

A daily build PPA is available in ppa:lubuntu-dev/lubuntu-daily, so far it supports Ubuntu 14.10, Ubuntu 14.04 and derivatives.

Press Ctrl+Alt+T to open terminal and run below commands one by one to add the PPA and install LXQt session:

sudo add-apt-repository ppa:lubuntu-dev/lubuntu-daily

sudo apt-get update

sudo apt-get upgrade

sudo apt-get install lxqt-metapackage lxqt-session lxsession

Once installed, log out or restart. When you’re at the Unity Greeter choose log in with a LXQt session.

(Optional) To remove this Desktop Environment, run below command in terminal:

sudo apt-get remove lxqt-metapackage lxqt-session && sudo apt-get autoremove