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!

install latest GIMP in Ubuntu

GIMP team just announced the release 2.8.14 the day after the previous release 2.8.12 with the broken library versioning fixed.

Yesterday’s 2.8.12 release had broken library versioning, so we had to roll out GIMP 2.8.14 today. The only change is the fixed libtool versioning. Please do not distribute any binaries of yesterday’s broken 2.8.12 release, and get GIMP 2.8.14 using the torrent: http://download.gimp.org/pub/gimp/v2.8/gimp-2.8.14.tar.bz2.torrent

via:gimp.org

GIMP image editor

Install / Upgrade to GIMP 2.8.14:

The GIMP PPA has been updated with the latest packages for Ubuntu 14.10, Ubuntu 14.04, and Ubuntu 12.04.

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

sudo add-apt-repository ppa:otto-kesselgulasch/gimp

After that, receive GIMP updates via Software Updater or run the commands below instead:

sudo apt-get update && sudo apt-get install gimp

hide or show desktop shortcuts in Ubuntu

Want an option in your desktop’s context menu (right-click menu) that hides or un-hides all your desktop shortcuts in Ubuntu Unity or Gnome?

Ram Vignesh, the guy sent me two simple scripts with this great idea. If you are interested, below will show you how to do it step by step.

1. How to Create Desktop Shortcuts in Ubuntu 14.04

Due to bug, you can’t drag and drop an application shortcut icon from Unity Dash result to desktop in Ubuntu 14.04 LTS.

But it’s still easy to create a desktop shortcut, all you need to do is:

  1. Open your file browser, navigate to Computer (from left sidebar)-> user -> share -> applications.
  2. Right click on a shortcut icon and select ‘Copy’
  3. Right-click on blank area of your desktop and select ‘Paste’

Create Desktop Shortcuts Ubuntu

Finally you’re able to click the desktop shortcut to launch the application without worrying about user permission issue.

2. Create the scripts to show/hide desktop shortcuts

Thanks to Ram Vignesh for the simple scripts. They are not perfect but they work!

  • Create a new folder called bin in user’s Home folder.
  • Go into bin folder and create 2 empty documents: show-desktop-shortcuts, hide-desktop-shortcuts
  • Edit 2 documents one by one and paste below contents into them. Replace handbook in red with your user name.
    • for show-desktop-shortcuts file:
      #!/bin/bash
      #
      cd /home/handbook/Desktop
      for f in `ls -a`; do 
      new=`echo "$f" | cut -c 2-`
      mv "$f" "$new"
      done
    • for hide-desktop-shortcuts file:
      #!/bin/bash
      #
      cd /home/handbook/Desktop
      for f in `ls`; do
      mv "$f" ".$f"
      done
  • show-hide-scripts

    Finally make the 2 scripts executable by going to their context menu (right-click menu) -> Properties -> Permissions tab -> check the box where it says ‘Allow executing file as program’.

    allow-execute

    3. Add The 2 Scripts As Options Into Desktop’s Context Menu

    Click the button below to bring up Ubuntu Software Center and install nautilus-actions, a graphical tool for configuring Nautilus’ context menu.

    Click install nautilus-actions

    Now open nautilus-actions from Launcher and do:

    1. Create 2 new actions in Items list, name them to Show Desktop Shortcuts & Hide Desktop Shortcuts
    2. Under Action tab of both items, check the box says “Display item in location context menu”
    3. Type a name in Context label

      create-context-menu-items

    4. Under Command tab of both items, type in (browser) path to the two scripts in Path box.
      create-context-menu-items2
    5. (Optional) Go the menu Edit -> Preferences, in first tab un-check the two boxes under Nautilus menu layout.

    Finally, your desktop’s context menu will look like below after reboot.

    desktop-context-menu

    Enjoy!

    install latest GIMP in Ubuntu

    The popular GIMP image editor has been updated to version 2.8.12 with a lot of bug fixes. Here is how to install or upgrade it in Ubuntu 14.10, Ubuntu 14.04, Ubuntu 12.04 and their derivatives.

    GIMP, GNU Image Manipulation Program, is a raster graphics editor[5] used for image retouching and editing, free-form drawing, resizing, cropping, photo-montages, converting between different image formats, and more specialized tasks.

    GIMP image editor

    Changes in GIMP 2.8.12:

    Core:

    • OSX: Fix migration code for old GIMP directories
    • Fix brush sizes when used from plug-ins
    • Windows: Allow to Explorer-open files with UTF-8 characters in the filename
    • Make XCF loading more robust against broken files

    GUI:

    • Make sure the widget direction matches the GUI language
    • Remove the option to disable the warning when closing a modified image
    • Fix canvas overlay widgets (like the text options) for tablets
    • Make DND work between images in one dockable

    Libgimp:

    • Make gimp_image_get_name() return the string used for the image title

    Plug-ins:

    • Make script-fu-server more secure by listening to 127.0.0.1 by default and add a warning about changing that IP. This breaks the procedure’s API, but for security reasons.
    • Bring back proper script-fu translations

    General:

    • Massively clean up and fix the OSX build and bundle
    • Add Jenkins tutorial
    • Documentation updates
    • Bug fixes
    • Translation updates

    Install / Upgrade GIMP in Ubuntu:

    GIMP packages are available in PPA for all current support Ubuntu releases, Ubuntu 14.10, Ubuntu 14.04, and Uubntu 12.04.

    As the PPA description says, you can always install or upgrade to the latest GIMP in Ubuntu by running below commands one by one in terminal (press Ctrl+Alt+T to open terminal):

    sudo add-apt-repository ppa:otto-kesselgulasch/gimp
    
    sudo apt-get update
    
    sudo apt-get install gimp

    GIMP PPA

    After you added the PPA, you can receive updates using Software Updater

    upgrade-gimp

    That’s it. Enjoy!