Archives For jimingkui

handbrake ubuntu 14.04

HandBrake, a free and open source video transcoder, finally gets an update by releasing 0.10 beta. It has been such a long time since the last v0.9.9.

Today we are releasing the first of several beta’s for the 0.10 release with the hope of releasing a final build sometime in the next couple of months.
The 0.10 release will give us the opportunity to push out many improvements, but allow us to continue working on the new API we have planned for the 1.0 release.

Handbrake 0.10 beta in Ubuntu 14.04

Changes in HandBrake 0.10:

Core:

  • Intel QuickSync Video Encode / Decode support.(Windows only currently)
  • DXVA Hardware Decode support (Experimental and Windows only)
  • Choice of Scalers: Lanczos, Bicubic (OpenCL) (Experimental)
  • hqdn3d filter now accepts individual settings for both chroma channels (Cr, Cb)
  • New NlMeans? denoiser. This is very slow, but results are significantly better than hqdn3d.
  • Added Windows Phone 8 Preset
  • Updated Libraries: x264 r2431-ac76440, Libav v10.1, libbluray 0.5.0
  • Libavformat is now used for muxing instead of mp4v2 and libmkv
  • The LibAV AAC encoder is now the default as FAAC has been removed.
  • H.265 encoder (Experimental – available when compiled from source with –enable-x265)
  • Added VP8 Encoder (using libvpx), available in MKV files only.
  • Removed mcdeint deinterlace and decomb modes. This relied on the snow encoder in libav which has been was removed by upstream.
  • Bug fixes and Misc Improvements

Linux:

  • Automatic audio and subtitle track selection behaviours which can be stored per preset.
  • Improvements to Auto-Naming feature.
  • Batch Add to queue by list selection.
  • Russian and Czech Translations
  • Bug fixes and Misc Improvements
  • Requires GTK3

Install HandBrake 0.10 beta in Ubuntu 14.04:

The new release is available in the snapshots PPA for Ubuntu 14.04 and its derivatives. To install it, press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run the commands below one by one:

sudo add-apt-repository ppa:stebbins/handbrake-snapshots

sudo apt-get update 

sudo apt-get install handbrake-gtk

Or you can grab the .deb package directly from the launchpad page.

via: handbrake.fr

KDE 4.14 Ubuntu 14.04

The KDE Community has just announced the KDE Applications 4.14. The new release offers more software stability, with little emphasis on new and less-proven stuff.

The KDE Community announces the latest major updates to KDE Applications delivering primarily improvements and bugfixes. Plasma Workspaces and the KDE Development Platform are frozen and receiving only long term support; those teams are focused on the transition to Plasma 5 and Frameworks 5.

KDE Applications 4.14

Changes in KDE 4.14 Applications:

  • Kopete: supports for SOCKS5 proxy in ICQ protocol (before only HTTP type was supported)
  • Kopete: supports for audio calls (both protocols Google libjingle and real jingle) for *all* jabber accounts, enabled by default
  • a new Lua backend has been added to Cantor
  • the VI mode for Kate has been improved in Kate
  • Dolphin now shows thumbnails of .gpx, .kml and other file types supported by Marble, and various KML improvements have been implemented for Marble.
  • detailed changes, see the release note.

Install / Upgrade to KDE SC 4.14:

KUbuntu Backports PPA has made the packages for Ubuntu 14.04 LTS and its derivatives.

Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, paste the command below and hit enter to add the PPA:

sudo add-apt-repository ppa:kubuntu-ppa/backports

Add Kubuntu Backports PPA

After that, upgrade your system to get the latest applications:

sudo apt-get update && sudo apt-get upgrade

Or run below command if you don’t have Kubuntu desktop environment:

sudo apt-get install kubuntu-desktop

That’s it. Enjoy!

Install Gnoduino IDE Ubuntu

This simple tutorial shows how to install Gnoduino IDE, implementation of well-known Arduino IDE for GNOME, in Ubuntu 14.04 & Ubuntu 12.04.

Why Gnoduino?

The original Arduino IDE is written in Java however, and that makes for poor integration on the Linux platform, particularly with Ubuntu Unity. Luckily enough someone has been busy to do a simple rewrite of the original IDE in Python and GTK, making a fully Linux native IDE, and it’s called Gnoduino. This implementation is targeted at GNOME and its purpose is to be light.

Gnoduino IDE

How to Install Gnoduino IDE in Ubuntu:

Besides building from source, the IDE is available in PPA for Ubuntu 14.04 and Ubuntu 12.04.

Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, paste the command below and hit enter to run. Type in your password when prompt.

sudo add-apt-repository ppa:pmjdebruijn/gnoduino-release

This will add the Gnoduino PPA into your system.

Add Gnoduino IDE PPA

After that, run commands below to update package lists and install the IDE:

sudo apt-get update; sudo apt-get install gnoduino

Once installed, open it from menu or Unity dash and enjoy!

video-editor-icon

LiVES, a free video editing system and VJ tool, now is at version 2.2.6, which updates for gtk+ >= 3.10.0.

LiVES is designed to be simple to use, yet powerful. It is small in size, yet it has many advanced features.

  • cross-platforms.
  • Support multiple video formats via mplayer, mplayer2.
  • Extendable video and audio effects via plugins.
  • Support for remote control via OSC protocol.
  • Video capture from FireWire cameras and TV cards.
  • Lossless backup and crash recovery.

LiVES video editing system

The latest release 2.2.6 was released on Aug 16, with below changes:

  • Fix startup bug (regression) creating config file incorrectly.
  • Libav compatibility fixes.
  • Updates for gtk+ >= 3.10.0
  • Show warning when configured with gtk+ 3.10.x
  • Add support for freenect camera.
  • Minor code cleanups.

Install / Upgrade to LiVES 2.2.6 in Ubuntu:

For Ubuntu 14.04, Ubuntu 12.04 and their derivatives, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run the commands below one by one to get this release from PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/lives

sudo apt-get update

sudo apt-get install lives

(Optional) If for some reason you want to remove it, run below commands one by one:

sudo apt-get remove lives

sudo add-apt-repository -r ppa:ubuntuhandbook1/lives

sudo apt-get update

Above commands will remove LiVES as well as the PPA from your system and update the package lists.

Google Calendar desktop widget command line

Gcalcli is a command line tool for Linux users to manage Google Calendar. It allows you to get your agenda, search for, add, delete, edit events and even import those annoying ICS/vCal invites from Microsoft Exchange and/or other sources.

Additionally, gcalcli can be used as a reminder service and execute any application you want when an event is coming up.

Google Calender in Command Line

Gcalcli features:

  • OAuth2 authention with your Google account
  • list your calendars
  • show an agenda using a specified start/end date and time
  • ascii text graphical calendar display with variable width
  • search for past and/or future events
  • “quick add” new events to a specified calendar
  • “add” a new event to a specified calendar (interactively or automatically)
  • “delete” event(s) from a calendar(s) (interactively or automatically)
  • “edit” event(s) interactively
  • import events from ICS/vCal files to a specified calendar
  • support for URL shortening via goo.gl
  • easy integration with your favorite mail client (attachment handler)
  • run as a cron job and execute a command for reminders
  • work against specific calendars (by calendar name w/ regex)
  • flag file support for specifying option defaults
  • colored output and unicode character support
  • super fun hacking with shell scripts, cron, screen, tmux, conky, etc

Install Gcalcli in Ubuntu:

This python app is available in the default repositories of Ubuntu 14.04, Ubuntu 14.10, and Ubuntu 12.04. So we can easily install it by running below command (or via Software Center):

sudo apt-get install gcalcli

For Ubuntu 14.04 LTS, due to this bug, we need to download & install the latest parsedatetime 1.2 to get gcalcli work.

cd /tmp

wget https://launchpad.net/ubuntu/+archive/primary/+files/python-parsedatetime_1.2-1_all.deb

sudo dpkg -i python-parsedatetime_1.2-1_all.deb

How to Use Gcalcli:

Before getting started, set up your Google Account via:

nano ~/.gcalclirc

Type in below as its content:

[gcalcli]
user: GMAIL-ACCOUNT
pw: PASSWORD

gcalcli-googleaccount

After saving the changes by Ctrl+X, type y, and hit Enter, use the tool via below commands:

To get your agenda:

gcalcli agenda

To get a month agenda in a nice calendar format:

gcalcli calm

Quick add an event:

gcalcli quick 'text here'

For more, run:

gcalcli --help

Display Google Calendar as Desktop Widget:

With this command line tool, you can also display Google Calendar on your desktop through conky. To do so, first install the required packages:

sudo apt-get install conky ttf-dejavu ttf-dejavu-core ttf-dejavu-extra

Then download the conky script (thanks to lffl.org):

cd && wget https://dl.dropboxusercontent.com/u/209784349/lffl/.conkyrc.txt && mv .conkyrc.txt .conkyrc

Finally run conky from terminal or Alt+F2 command box and you’ll see something like below:

Google-Calendar-widget

via: github, lffl.org

Install Vuze bittorrent client Ubuntu
 
Vuze BitTorrent client has finally reached v5.4.0 with new features, UI changes and various bug fixes.

Vuze is a multimedia BitTorrent client based on Azureus intended for DVD and HD video. It includes some social-networking features to share videos among friends.

Vuze Bittorrent in Ubuntu

User Interface

  • Added ‘force start’ and ‘super seeding’ options to the create-torrent wizard
  • File filter added to torrent-options dialog
  • Minimum/Target share ratio setters added to column menu and torrent options view
  • Added ‘SHA1′ column to files-view
  • Added a default save directory to apply when ‘best guess’ is enabled and nothing matches
  • File path names can now be entered into the search box to open the torrent
  • New column showing the date of completion of the most recent file
  • Added ‘initial tags’ to the create-torrent wizard
  • Enabled networks can now be specified in torrent-options dialog
  • Added an ‘apply to current’ function to tags with initial-save/move-on-complete set
  • Added ‘availability’ button to torrent-options to allow a torrent’s availability to be checked before addition
  • Tag buttons can now be enabled in Library view; category buttons can be hidden
  • Added ‘pause for’ option for selected torrents in Library view via Advanced menu

Client Core

  • Added simple tag constraint language (e.g. to define a tag that contains downloads whose title matches a regex)
  • BEP 40: Canonical Peer Priority
  • Added ‘copy-on-complete’ function to tags
  • HTTPS support for web-seeds
  • Speed limit handler can now start/stop downloads assigned to particular tags

Install Vuze in Ubuntu:

The getdeb apps repository contains the latest packages for Ubuntu 14.04, see: GetDeb.net

If you don’t want to add this repository, go to the link below:

Download Vuze .DEB

Download and install below packages via Gdebi (available in Software Center):

  • azureus_5.4.0.0-1~getdeb1_all.deb
  • vuze_5.4.0.0-1~getdeb1_all.deb

Linux RSS Reader Liferea

Liferea 1.11.0, the first release of the new unstable release line, has been released with experimental InoReader and Reedah support.

Liferea is an open source feed reader and news aggregator with an embedded graphical browser (supports playing video, audio). It’s a Linux native app comes with below distinguishing Features:

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

liferea ppa

According to the release note, the latest 1.11.0 also added tray icon plugin (removed build in tray icon support), category/folder support for TheOldReader, folder auto-removal for TinyTinyRSS & TheOldReader. And support for libindicate and libnotify has been removed (to be added as plugin maybe).

The new release has fixed below bugs:

  • Mistakenly claims “TinyTinyRSS source is not self-updating”
  • Crash on font resize at startup.
  • Honor preferences when opening links
  • Selecting last unread item in reduced feed list jumps to next feed
  • Fixed missing “Via” metadata type
  • Fixed incorrect new count reset handling in item_state.c and some of the node source implementations.
  • missing installation of liferea.convert file
  • liferea-add-feed doesn’t process feed:https//
  • startup race with LifereaHtmlView
  • Parsing errors not visible with dark themes
  • Do not use bold text for feeds/folders with unread items in the leftmost treeview
  • Liferea does not update feeds with TinyTinyRSS
  • subscription prop/source: not all fields and buttons visible
  • RTL comments appear incorrectly
  • Images do not autosize to fit the available space
  • Add TinyTinyRSS Enclosure Support
  • “Any of the following” search condition doesn’t work
  • Some dialogs scrolling areas do not request enough height
  • Doesn’t automatically update feed name and favicon for new feed
  • Update to new libxml2 buffer API
  • Avoid copying list in itemset_merge_items
  • Make Liferea use ETags and send If-None-Match
  • Support NOCONFIGURE for RPM builds

Known Bugs:

issue #48: Need to start Liferea twice simultaneously before it shows the window.

Install Liferea 1.11.0 in Ubuntu:

As an unstable release line it might have bugs. I’ve uploaded it into a new PPA, available for Ubuntu 14.10, Ubuntu 14.04 and Ubuntu 12.04.

To add the PPA, press Ctrl+Alt+T to open the terminal and run:

sudo add-apt-repository ppa:ubuntuhandbook1/liferea-unstable

If you want the latest stable release (1.10.10 so far), remove the previous PPA by running above command with parameter -r and then add the below one:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

After added an appropriate PPA, install or upgrade Liferea via Synaptic or Software Updater after checking for updates. Or just run below commands one by one:

sudo apt-get update

sudo apt-get install liferea

(Optional) To purge the PPA as well as downgrade Liferea, run:

sudo apt-get install ppa-purge

sudo ppa-purge ppa:ubuntuhandbook1/liferea-unstable

Nvidia 340.32 ubuntu 14.04

Nvidia Team has announced the latest Linux driver 340.32 a few hours ago with new GPUs support, various OpenGL, G-SYNC monitor, and other important bug fixes.

According to the release highlights, the new driver added support for Quadro K420, Quadro K620, Quadro K2200, Quadro K4200, Quadro K5200 GPUs. Also there are various important fixes:

  • Fixed a regression that prevented the internal stereo infrared emitter built into some 3D Vision monitors from working.
  • Fixed a bug that could cause some Java-based OpenGL applications using JOGL to crash on startup on systems with Xinerama enabled.
  • Fixed a bug that could prevent OpenGL Framebuffer Objects (FBOs) from being properly redrawn after a modeswitch.
  • Fixed a memory leak that occurred when starting OpenGL applications.
  • Fixed a bug that prevented the EDID-Like Data (ELD) of audio-capable displays from being updated when hotplugged/unplugged.
  • Fixed a bug that caused Xid errors when using stereo mode 12 (HDMI 3D) on Quadro boards without an onboard stereo DIN connector.
  • Fixed a video corruption issue for VDPAU decoding of VC-1 and WMV video streams utilizing range remapping on Maxwell GPUs.
  • Fixed a “black window” bug in Ubuntu 14.04 when using the Xinerama and Composite extensions.
  • Fixed a bug that caused the screen’s contents to be shifted downward when a G-SYNC monitor is unplugged and replaced by a non-G-SYNC monitor.
  • Fixed a bug that prevented G-SYNC from working when a G-SYNC monitor was unplugged and plugged back in without a modeset.

Install Nvidia 340.32 in Ubuntu:

For Ubuntu 14.04 and Ubuntu 14.10, this driver has been made into the Xorg Edgers PPA. Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run the commands below one by one:

sudo add-apt-repository ppa:xorg-edgers/ppa

sudo apt-get update

sudo apt-get install nvidia-340

If you would like to install it from the official package. Download the installer from:

Nvidia Driver for Unix

You may check out your OS type via System Settings -> Details and download the right package matches your os type.

  • 64-bit os – Linux x86_64/AMD64/EM64T
  • 32-bit os – Linux x86/IA32

Finally you can install the official .run installer by following this guide (skip step2, and replace the package name in the codes).

Map Network Drive

This simple tutorial shows you how to map a network drive, Windows share as example, onto Ubuntu 14.04 LTS with read and write permission permanently.

UPDATE-2024: This tutorial is outdated, and no longer works in current Ubuntu releases!!

All things will be done in a terminal window. Not familiar with Linux command? Don’t be afraid, just paste the command into terminal and hit enter to run one by one. There will be a few pictures to make things more clear.

Preparation:

There are a few preliminary actions we need to do before we can start mounting using cifs.

1. Press Ctrl+Alt+T on keyboard to open the terminal. Paste the command below and run to create a mount point, you can replace ‘Ji-share’ to what you want.

sudo mkdir /media/Ji-share

Create a mount point for network share

2. Install cifs-utils, which provides support for cross-platform file sharing with Microsoft Windows, OS X and other Unix systems.

Install it from Ubuntu Software Center, or via below command:

sudo apt-get install cifs-utils

3. Edit the /etc/nsswitch.conf:

sudo gedit /etc/nsswitch.conf

Find the line looks like:

hosts: files mdns4_minimal [NOTFOUND=return] dns

change it into:

hosts: files mdns4_minimal [NOTFOUND=return] wins dns

Ubuntu resolve Windows Hostname

4. Run below command so that your Ubuntu can resolve Windows computer name on a DHCP network.

sudo apt-get install libnss-winbind winbind

Reboot Ubuntu, or restart your network.

Mount (map) network drive:

Now edit the fstab file to mount network share on start up.

1. Make a backup by running the command below:

sudo cp /etc/fstab /etc/fstab_old

If you need to restore your backup, run:

sudo mv /etc/fstab_old /etc/fstab

2. Create a credentials file via:

gedit ~/.smbcredentials

insert the username and password for accessing the remote share. Replace “Ji” & “741852963” with yours and save the file.

username=Ji
password=741852963

create-credentials

3. Run command to get your gid and uid. Replace handbook with your user name.

id handbook

Get Ubuntu user id

4. Now edit the fstab by running the command:

sudo gedit /etc/fstab

Add below line (one line) to the end and save it. REPLACE WORDS IN RED!

//192.168.1.5/share /media/Ji-share cifs credentials=/home/handbook/.smbcredentials,iocharset=utf8,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 0 0

Map Network Share in Ubuntu

Finally run sudo mount -a in terminal and you’ll get the network share mapped in Unity Launcher and Nautilus file browser:

Map network share Ubuntu 14.04

stunt rally 2.4 ubuntu 14.04

 

Open source racing game Stunt Rally just reached 2.4 release with lots of updates.

According to the changelog, the new release comes with all 147 tracks (6 new, 12 old deleted, some renewed), 2 new sceneries (Crystals, GreeceWhite), 3 new cars (4 renewed, 2 old deleted). Also there are a few improvements on UI and game experiences.

For detailed changes, refer to the project page.

Stunt Rally Open Source Racing Game

Install Stunt Rally in Ubuntu:

For 64-bit Linux so far (as well as Windows .exe) download the latest release from the link below and run the executable from its bin folder.

Download Stunt Rally

For Ubuntu 14.04 and Linux Mint 17, you can also get it from Playdeb repository. To do so, do below steps:

1. Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, paste the command below and hit enter. Type in your password when prompt.

sudo add-apt-repository "deb http://archive.getdeb.net/ubuntu trusty-getdeb games"

2. Also run command to get the key:

wget -q -O- http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -

3. Finally install the game from Synaptic Package Manager (available in Software Center) after clicking reload button to update package lists:

install-stunt-rally