Archives For September 30, 2013

The Gnome Desktop image viewer gThumb 3.2.3 has been released for months. It brings Flickr access via Facebook / Google accounts as well as other bug fixes.

This release was built on dhor’s PPA a couple hours ago, so you can easily upgrade gThumb 3.2.3 in Ubuntu 13.04 Raring, Ubuntu 12.10 Quantal, Ubuntu 12.04 Precise and Linux Mint.

What’s New in gThumb 3.2.3:

  • Flickr: allow to use a facebook or google account. (#703534)
  • Thumbnail list: images drawn with wrong offset. (#702538)
  • Fixed the video player stopping after saving a screenshot.
  • Fixed saving of TGA images.
  • Fixed the size of the toolbar in fullscreen mode.
  • Show the cursor again after stopping the slideshow.
  • Web services: do not delete the previous account when creating a new one.
  • translations update: Russian

Upgrade gThumb 3.2.3

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

sudo add-apt-repository ppa:dhor/myway

sudo apt-get update

sudo apt-get install gthumb

gThumb 3.2.3 ubuntu

Once installed, you may want to remove this PPA because it’s ‘highly explosive’:

sudo add-apt-repository --remove ppa:dhor/myway

Rhythmbox 3.0 was released in early september, but due to the software freeze and probably the lack of manpower, this newer version did not make it into Ubuntu 13.10 Saucy.

Some PPAs has updated the packages for Ubuntu 13.10 Saucy and Ubuntu 13.04 Raring. So you can upgrade it on your system via below steps.

NOTE 1: The PPAs below are both for personal use. They may or may not work. Use it at your own risk!

NOTE 2: Because the plugins in v3.0 now use Python 3.0, your rhythmbox plugins are probably not work after upgraded.

For Ubuntu 13.10 Saucy:

A rebuild of the Debian sid rhythmbox v3.0 package has been created and updated to fossfreedom PPA. It works great!

Before installing it, press Ctrl+Alt+T on your keyboard to open terminal. Remove the default installation:

sudo apt-get purge rhythmbox rhythmbox-plugins

Then run below commands one by one:

sudo add-apt-repository ppa:fossfreedom/rhythmbox
sudo apt-get update
sudo apt-get install rhythmbox

For Ubuntu 13.04 Raring:

After removed the default installation, run below commands to install Rhythmbox v3.0 from Jacob’s PPA:

sudo add-apt-repository ppa:jacob/media

sudo apt-get update

sudo apt-get install rhythmbox

Banshee 2.9.0 Released, Now It’s based on GTK3

Last updated: October 9, 2013

Banshee 2.9.0, the first release of the 2.9 development series has been released. Now it’s based on GTK3.

What’s New in Banshee 2.9:

Banshee 2.9.0 is the first release using the 3.x version of GTK+, thanks to work that has been done in Gtk# to bind this version.

Banshee can now sync media to Symbian devices like Nokia N95. Please help testing this new feature so we can mention more Symbian devices in our release notes for Banshee 3!

Other Enhancements:

  • Add basic AppData file for inclusion in open source app stores
  • Add keywords to .desktop entry for easy find in Unity & GNOME Shell (bgo#700524)
  • Main UI: make Search textbox remember its size (bgo#653819)
  • Lastfm: avoid unnecessary wait when submitting successful scrobbles
  • DatabaseImportManager: Add .amr to import whitelist
  • PlayerEngine: Add support for accurate seek
  • GSettings: implement new, still unused, SchemaExtractor for GSettings
  • build: use the gui-thread-check profiler module by default when debugging
  • configure: better guess for the C# compiler available
  • AppleDeviceSource: use progressUpdaters for all sync operations

Bugfixes:

  • SourceManager: avoid warnings when shutting down
  • prevent wrong inclusion of null artwork_id in cache
  • libbanshee: Only call volume set callback on Mac
  • Feed: Avoid loop when podcast has date values in the future
  • PrimarySource: fix crash if 1st track had a Dap transcoding error
  • MtpSource: prevent a freeze when dealing with Windows Phone
  • Handle all values from a rowid database column as long
  • Gio: prevent a freeze when mounting a LVM volume
  • InternetRadio: refresh UI after editing station
  • StatisticsPage: Fix crash when no tracks are selected
  • DapPropertiesDialog: Make sure progress bar value is valid
  • PlaylistFileUtil: Only import playlist items that are files
  • Avoid race when using GConf and DBus with threads
  • ListView: when initializing a11y, disable instead of hanging
  • LastFM: display progress for multiple-track scrobbles
  • build: Improve MSBuild experience without autotools
  • DatabaseTrackInfo: don’t default to MusicFilePattern when null
  • Audioscrobbler: avoid 414 Request-URI Too Large
  • PrimarySource: Allow cancelling track delete job
  • InternetRadio: Previous should never mean a restart
  • InternetRadio: UI to correctly update status indicator columns
  • Dap: better check for the playing track before ejecting
  • PrimarySource: prevent AddTrackJob respawn if cancelled
  • LastFm: Avoid crashing if scrobbling response is not JSON
  • Dap.MassStorage: not import dirs twice for case-insensitive drives
  • configure: stop using obsolete AutoMake macro
  • build: test dmcs before gmcs when trying to find the compiler
  • RescanPipeline: warn about removal of many tracks
  • Mtp: Fix file type in sync with libmtp > 1.1.0
  • Dap: Settings of DAP sources are not remembered between sessions
  • Dap: Use Unicode codes for quotation marks
  • build: Make gio-hardware be enabled by default
  • build: make GIO backend be enabled by default
  • YouTube: advice about –disable-youtube configuration flag
  • configure: earlier check for glib
  • LastFm: Null check for scrobble parameters
  • Add GTK category in .desktop files to comply with spec

Known issue:

Unfortunately the major architectural change to GTK3 caused some problems:

  • No alternating colors in the ListView
  • ListView header decoration do not match regular TreeView
  • Drag and drop crash banshee on gtk3 branch
  • Ubuntu: No text on the main (left) source switching pad when selecting a source (fixed already in Ubuntu 13.10). To fix this manually in Ubuntu version 13.04 (or older?), do:
    cd /usr/share/themes &&  wget -O - -o /dev/null http://bazaar.launchpad.net/~ubuntu-art-pkg/ubuntu-themes/trunk/diff/311 | sudo patch -p0

Read the release note.

Source Tarball: banshee-2.9.0.tar.xz

How to Build on Linux, Windows & Mac: banshee.fm/download/development/

The distributed collaboration and sharing tool SparkleShare has released version 1.2 with many bugfixes. This tutorial is going to show you how to install it in Ubuntu 13.04, Ubuntu 12.04, Ubuntu 12.10 and their derivatives.

How does SparkleShare work?

SparkleShare creates a special folder on your computer. You can add remotely hosted folders (or “projects”) to this folder. These projects will be automatically kept in sync with both the host and all of your peers when someone adds, removes or edits a file.

What’s New in 1.2:

  • Fixes to the invite feature, now works when SparkleShare isn’t running yet (by Jo Shields)
  • Don’t crash, but complain when FIPS is enabled on Windows
  • Fix some interface logic in Add dialog
  • Fix some inaccurate sync state messages in the status icon
  • Fix conflict when running when TortoiseGit is installed
  • Fix blank Add dialog on OS X Snow Leopard
  • Fix crash when user cancels initial project download
  • Fix Continue button not enabling when entering encryption password
  • Fix Planio plugin name showing up as Gitorious on Linux
  • Show download speed on initial project add

Install SparkleShare via PPA:

Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run commands to add the SparkleShare PPA as well as git-core ppa (required):

sudo add-apt-repository ppa:rebuntu16/sparkleshare+unofficial

sudo add-apt-repository ppa:git-core/ppa

After added the PPA, install the tool as well as the latest git via:

sudo apt-get update; sudo apt-get install sparkleshare

Want to use ‘Extract Here’, ‘Add to Archive’, and so forth with PeaZip in Nautilus’ context menu? Well, here’s how to well integrate PeaZip into Ubuntu 13.10 Saucy & Ubuntu 13.04 Raring via Nautilus scripts.

integrate peazip into nautilus

Because PeaZip for Linux comes default with the scripts, all you need to do is move them into the correct location.

To get started, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, follow the steps below:

1. For installed version, the PeaZip should be installed under /usr/local/share/PeaZip. Run command to move the scripts:

cd /usr/local/share/PeaZip/FreeDesktop_integration/nautilus-scripts/Archiving/PeaZip/

sudo mv * ~/.local/share/nautilus/scripts

2. For portable version, just go to the PeaZip directory “FreeDesktop_integration/nautilus-scripts/Archiving/PeaZip/”, copy and paste all scripts to “user HOME/.local/share/nautilus/scripts”.

3. After that, restart Nautilus file browser and done.

nautilus -q

This tutorial is going to show you how to install Format Junkie media converter in Ubuntu 13.10 Saucy, while its PPA is not ready.

As you may know, Format Junkie is a program that can convert your media files (audio files, videos and pictures) to all the popular formats! It supports:

  • Conversion between the audio formats: mp3, mp2, wav, ogg, wma, flac, m4r, m4a and aac
  • Conversion between the video formats: avi, ogv, vob, mp4, vob, flv, 3gp, mpg, mkv, wmv
  • Conversion between the image formats: jpg, png, ico, bmp, svg, tif, pcx, pdf, tga, pnm
  • Create an iso with selected files, convert iso to cso and vice versa.
  • Encode subtitles to an avi file.

Install Format Junkie:

For Ubuntu 13.04, Ubuntu 12.10, Ubuntu 12.04, Linux Mint 13/14/15, Elementary OS Luna, you can install it from Format Junkie PPA by running below commands one by one in terminal (Ctrl+Alt+T):

sudo add-apt-repository ppa:format-junkie-team/release

sudo apt-get update

sudo apt-get install formatjunkie

For Ubuntu 13.10 Saucy, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run command to download DEB for raring:

for 32-bit system:

wget https://launchpad.net/~format-junkie-team/+archive/release/+files/formatjunkie_1.07-1~raring0.2_i386.deb

for 64-bit system

wget https://launchpad.net/~format-junkie-team/+archive/release/+files/formatjunkie_1.07-1~raring0.2_amd64.deb

Both 32-bit & 64-bit install the Deb via:

sudo dpkg -i formatjunkie_1.07-1*.deb; sudo apt-get -f install

The free multi-track recording and sequencing software Qtractor has released 0.5.11 with many improvements and bugfixes.

As you may know, Qtractor is an audio/MIDI multi-track sequencer application written in C++ with the Qt4 framework. Target platform is Linux, where the Jack Audio Connection Kit (JACK) for audio and the Advanced Linux Sound Architecture (ALSA) for MIDI are the main infrastructures to evolve as a fairly-featured Linux desktop audio workstation GUI, specially dedicated to the personal home-studio.:

What’s New in Qtractor 0.5.11:

  • Adding a track now inserts it after the current one, if any; one can also drag and move a track below the last one in the track list (main view left pane).
  • Extended Edit/Select Mode/Automation: multi-selection mode, cut, copy, paste and delete of current track’s automation curve nodes, now reached implementation ready status.
  • Another old silent bug bites the dust: changing track names were dropping any track gain/volume and panning automation curves when saving the session.
  • A primeval processing bug has been sorted out: aux-sends to audio output buses that just appear to be after the input bus where they’re inserted were being left muted and silent (on a ticket follow-up by Holger Marzen, thanks).
  • Fixed a sure crash bug exposed when processing of aux-send plugins when inserted too early on audio input buses chain (after a ticket report by Holger Marzen, thanks).
  • Allow the build system to include an user specified CFLAGS (patch by Cristian Morales Vega, thanks).
  • Shift/Ctrl keyboard modifiers now set to extend current clip selection while in main track view’s Edit/Select Mode/Range, Rectangle modes.
  • Main Edit/Select Mode/Automation icon retouched to look a bit more obvious and intuitive, hopefully ;)
  • Allow to change the velocities/values of the current selected events which have the exact same onset times and hide beyhond each other on the MIDI clip editor’s pane below the main view piano-roll (ie. the one that represents MIDI event values as a bar chart).
  • Fixed some problematic playback/export muting and annoying cleanup freezing, due on audio tracks with too many clips eg. more than hundred clip splits (hopefully fixes an issue reported by Louigi Verona, thanks).
  • LV2 UI resize feature support/control added.
  • Fixed dedicated MIDI control and MIDI metronome port connection restore conflict (thanks to jhammen catch & patch:).
  • New user preference option added: reverse middle-button role to Shift/Ctrl keyboard state, in special regard to edit-head/tail vs. play-head positioning while on the main track and MIDI clip editor (aka. piano-roll) views.

Download Qtractor:

The RPM packages for OpenSUSE, DEBs for Ubuntu, and also source code are available for downloading at qt-apps.org

This simple tutorial will show you how to add ‘Open as Administrator’ or ‘Open as root’ to Pantheon Context menu in Elementary OS Luna. So that you can easily open system files or folders with super user privilege through the default Pantheon file browser.

First take a look at the screenshots:

open file as root in elementary os

open folder as root in elementary os

Before getting started, search for and install gksu from Software Center. It is a Gtk+ frontend allows graphical programs to ask a user’s password to run another program as root / administrator.

Open files as root in Panthen Context Menu:

It’s a little different to Ubuntu Nautilus. Because I don’t know how to use if conditional statements in ‘.contractor’ files, so I divided this into two parts: Open files as root and Open folders as root.

1. Use your favorite editor to create and edit the config file. Here I use gedit (press Ctrl+Alt+T to open terminal for running commands):

sudo apt-get install gedit

sudo gedit /usr/share/contractor/scratch-openasroot.contract

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

[Contractor Entry]
Name=Open file as root
Icon=scratch-text-editor
Description=open file as root with scratch
MimeType=text
Exec=gksudo scratch-text-editor %U
Gettext-Domain=scratch-text-editor

This will add an option “Open file as root” to Pantheon context menu, which open text files as root user with Scratch Text Editor (the default editor for eOS).

Open folders as root in Panthen Context Menu:

1. Use your favorite editor to create and edit the config file:

sudo gedit /usr/share/contractor/folder-openasroot.contract

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

[Contractor Entry]
Name=Open folder as root
Icon=pantheon-files
Description=Open current folder as root privilege
MimeType=inode;
Exec=gksudo pantheon-files %U
Gettext-Domain=pantheon-files

This adds the option ‘Open folder as root’ to context menu, which open folders as root privilege.

Remember, you need a restart to get things done. Enjoy!

There’re lots of white dots on default LightDM login screen, which is quite annoying. This quick tip shows you how to remove them in Ubuntu 13.10 Saucy.

See the screenshot before and after:

login screen with white dots

login screen without white dots

To get started:

Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run:

1. Run command to allow user lightdm to create a connection to the X server:

sudo xhost +SI:localuser:lightdm

2. Then switch to user lightdm in the terminal window.

sudo su lightdm -s /bin/bash

3. Finally set draw grid (white dots) feature to false:

gsettings set com.canonical.unity-greeter draw-grid false

That’s it.

If you’re not comfortable with command console. You can use Ubuntu-Tweak, it has an option to turn off this feature under Tweaks -> Login Settings -> unlock -> turn off draw grid.

This quick tip is going to show beginners how to add ‘open as administrator’ or ‘open as root’ into Nautilus context menu in Ubuntu 13.10 Saucy.

With this feature enabled, you can quickly open files and folders in Nautilus with root (super user) privilege. This also works on Linux Mint 16 Petra if you’re using Nautilus 3.8.x.

To get started:

1. Open Ubuntu Software Center, search for and install gksu. It allows graphical programs to ask a user’s password to run program as root / administrator.

2. Open Nautilus file browser, press Ctrl+H to view hidden files & folders. Navigate to USER Home -> .local -> share -> nautilus -> scripts.

Create an empty document under this directory named ‘open-as-administrator’

3. Open this file with Gedit, copy and paste following codes into the file and save.

#!/bin/bash
#
# this code will determine exactly the path and the type of object,
# then it will decide use gedit or nautilus to open it by ROOT permission
#
# Determine the path
if [ -e -n $1 ]; then
obj="$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS"
else
base="`echo $NAUTILUS_SCRIPT_CURRENT_URI | cut -d'/' -f3- | sed 's/%20/ /g'`"
obj="$base/${1##*/}"
fi
# Determine the type and run as ROOT
if [ -f "$obj" ]; then
gksu gedit "$obj"
elif [ -d "$obj" ]; then
gksu nautilus "$obj"
fi

exit 0

4. Right-click on this file, go to Properties -> Permissions tab. Check the box which says ‘Allow executing file as program’.

Log out and back in, or restart Nautilus by nautilus -q command. Done.