Gtk3 Apps

In Ubuntu 14.04 and Ubuntu 14.10, some Gnome applications use client-side decorations which don’t work properly in the default Unity Desktop.

The applications with client-side decorations look broken in Unity and they are unresizable. Here are some examples:

Gnome Clock in Ubuntu 14.04

Gnome Clock in Ubuntu 14.04

Gthumb

The Latest gthumb 3.3.2 (gthumb from Ubuntu repositories is old and does not use CSD)

gtk3-nocsd, a hack by one of the LXDE founders, is a small module used to disable the client side decoration of gtk+ 3. It works on most, but not all CSD applications.

After disabled client side decoration, above applications will look like:

Gnome Clock with CSD disabled

Gnome Clock with CSD disabled (Picture was taken in Gnome-Shell)

gthumb with CSD disabled

gthumb with CSD disabled

How to Install & Use gtk3-nocsd

This module has been made into Webupd8 PPA, available for Ubuntu 14.10 and Ubuntu 14.04.

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

sudo add-apt-repository ppa:nilarimogard/webupd8

sudo apt-get update

sudo apt-get install gtk3-nocsd

To disable client side decoration, for gnome clock as example:

First run command to edit the application shortcut file, .desktop file under /usr/share/applications or .local/share/applications.

gksudo gedit /usr/share/applications/gnome-clocks.desktop

When the file opens, add env LD_PRELOAD=/usr/lib/gtk3-nocsd/gtk3-nocsd.so to the value of Exec as a parameter, so it looks like:

disable-csd

Save the file and done. Note that gtk3-nocsd does not work for gnome-tweak-tool, gnome-music, etc.

via: webupd8

XnConvert batch image converter

XnConvert, an image batch converter developed by XnSoft, has released the new version 1.65 that finally fixed the issues relating to the 64-bit Linux.

XnConvert is a powerful and free cross-platform batch image processor, allowing you to combine over 80 actions. Compatible with 500 formats including RAW, WebP, OpenEXR, and many others. It uses the batch processing module of XnViewMP.

XnConvert in Ubuntu 14.04

The latest XnConvert 1.6.5 was released a few days ago with many bugs fixed. For 64-bit Linux users, the non-installed version (pre-compiled binary) no longer needs lib32z1, lib32ncurses5, lib32bz2-1.0, and libqtwebkit4: i386 libraries.

Download & Install XnConvert:

For Ubuntu and derivatives, download and install (double-click to open with Software Center) the .deb package from the links below:

32-bit Deb | 64-bit Deb

You may check your OS type, 32-bit or 64-bit, by going to System Settings -> Details.

You can also (for all Linux users) download the non-installed version (Just run the executable from the extracted folder).

32-bit TGZ | 64-bit TGZ

disable login sound

This short tutorial is going to show you how to disable / remove the login drumbeat sound in Ubuntu 14.04 LTS.

The easiest way to get rid of this annoying sound is mute the volume via the top-right indicator icon when you’re at the login screen. It won’t affect the system volume after you logged in.

mute login sound in Ubuntu 14.04

If don’t want to log out right away, you can toggle the login sound via a graphical tool called Ubuntu Tweak.

Download the Ubuntu Tweak (.deb package) from the link below and double-click to open it with Ubuntu Software Center and finally install it.

https://launchpad.net/ubuntu-tweak/+download

Once installed, open Ubuntu Tweak and go to Tweaks -> Login Settings. You’ll see the switch to turn on/off ‘Play login sound’. (click the Unlock button before doing any changes)

disable-login-sound

Edit Unity Launcher Icons Context menu

Quicklist, right-click context menu of application shortcuts in left panel of Ubuntu Unity, allows to quick access common tasks for those applications.

This tutorial will show you how to edit the quicklist in Ubuntu 14.04 with Ubuntu Tweak, a popular Ubuntu configuration tool.

There will be two simple examples: add your folder to Files’ (Home icon) context menu, add a bookmark to the righ-click menu of Google Chrome icon.

1. Install Ubuntu Tweak

Download the Deb package from the link below and click the package to open it with Ubuntu Software Center and finally click the install button to install Ubuntu Tweak in your system.

https://launchpad.net/ubuntu-tweak/+download

You can also install it from the developer’s PPA by running below commands one by one in terminal (Ctrl+Alt+T):

sudo add-apt-repository ppa:tualatrix/ppa

sudo apt-get update

sudo apt-get install ubuntu-tweak

Once installed, open Ubuntu Tweak and navigate to Admins tab, you’ll see an option called QuickLists Editor.

quicklist-editor

NOTE that an application need to be locked to launcher before it can be edited via QuickLists Editor.

2. Add A Folder In The Quicklist of Home Folder

Go into QuickLists Editor in Ubuntu Tweak, and do:

  1. Choose Files in the left.
  2. Click the plus icon to add a new entry.
  3. Type in name and command. nautilus Games will open the Games folder in root of my user home.
  4. Click the save button.

edit-quicklist

Result (may need a restart to take place):

edit-quicklist-files

3. Quick Access bookmarks in Context Menu of Google Chrome icon:

Also in Quicklists Editor of Ubuntu Tweak, do:

  1. Select Google Chrome in the left
  2. Click the plus icon to add an entry
  3. Type in name and command. google-chrome https://ubuntuhandbook.org will open my blog in new tab.
  4. Click the save button.

edit-quicklist-chrome

Result (may need a restart to take place):

edit-quicklist-chrome1

BitTorrent Sync 1.4 in Ubuntu

BitTorrent Sync, a p2p file syncing service, now has been updated to version 1.4 with new simplified UI and other new features.

BitTorrent Sync is a simple tool that applies p2p protocol for direct live folder sync with maximum security, network speed and storage capacity. It has native versions for Mac, Windows and Linux, as well as native NAS integration.

New in the latest 1.4:

  • New simplified UI
    UI was fully revised and now looks similar on all platforms. Also, UI was simplified significantly to make Sync use faster, convenient, and easy to use.
  • HTTPS links support
    HTTPS links are generated by Sync and shared with a remote peer to exchange Keys securely, using X.509 certificates
  • Proxy server support added
    Direct connection between peers is possible as long as one of the two peers is not behind a proxy
  • Finder / Explorer integration added
    Right-clicking on the folder in Explorer / Finder exposes “Share with BitTorrent Sync” item, which ads the folder to Sync and automatically generates a Key (Secret).
  • Moved folder support
    Sync tracks if synced folders move and automatically adjusts paths to keep the folder synced.
  • Sync performance optimization
    Improves data transfer speed, CPU consumption, peer discovery.
  • Numerous bug fixes reported by users in 1.3

Install BitTorrent Sync in Ubuntu:

The official packages are available for download at the link below, check your OS type (32-bit or 64-bit), download the appropriate package under the Linux section, and finally run the executable from the extracted folder.

Download BitTorrent Sync

Finally, you can access the web client in your Web Browser by visiting “http://localhost:8888/gui/”

BitTorrent web client

BitTorrent Sync Desktop App with Indicator Applet:

If you want an easy way to deploy BitTorrent Sync on Ubuntu, there’s a desktop GUI with Unity indicator created by community. At the moment of writing this tutorial, it is at version 1.3.1. The latest 1.4 should be available soon.

THE SOFTWARE AND THE PACKAGES BELOW ARE UNOFFICIAL AND NOT THE WORK OF BITTORRENT® INC.

btsync_gui_indicator

BitTorrent Sync Desktop GUI

BitTorrent Sync GUI

via

To install this unofficial ready to use server and desktop packages, press Ctrl+Alt+T on keyboard to open the terminal, when it opens paste the commands below and run one by one:

sudo add-apt-repository ppa:tuxpoldo/btsync

sudo apt-get update

sudo apt-get install btsync-gui

If you want to install the gtk version without the indicator, run below instead:

sudo apt-get install btsync-gui-gtk

Above commands work for Ubuntu 14.10, Ubuntu 14.04, and Ubuntu 12.04. Once you installed it, open the gui from Unity Dash and enjoy!