Tag Archives: Cloud

MellowPlayer is a Cross-Platform Qt Cloud Music App

MellowPlayer is a Qt cloud music app for Linux, Windows and Mac. Never heard of it? I can’t say I had, either. But a reader of this site, and a fan of MellowPlayer,  asked if I could write a few lines about its latest release. MellowPlayer is a Qt Cloud Music Player If you’ve been […]

This post, MellowPlayer is a Cross-Platform Qt Cloud Music App, was written by Joey Sneddon and first appeared on OMG! Ubuntu!.

Read More

Fix Dropbox Indicator Menu Not Working In Ubuntu 17.04 Zesty Zapus (Unity)

The Dropbox indicator is broken in Ubuntu 17.04 Zesty Zapus (currently in beta): the menu doesn’t work and Dropbox uses a different icon, probably because it tries to use the tray instead of the indicator.

Dropbox indicator menu bug Ubuntu 17.04 Zesty Zapus

This is caused by the fact that the XDG_CURRENT_DESKTOP environment variable was changed from “Unity” to “Unity:Unity7” for Ubuntu 17.04.

Until this is fixed in Dropbox, here’s a quick fix / workaround. To get the Dropbox indicator to work in Ubuntu 17.04 Zesty Zapus (with Unity), you’ll need to launch Dropbox with “env XDG_CURRENT_DESKTOP=Unity”, like this:

dropbox stop
env XDG_CURRENT_DESKTOP=Unity dropbox start -i

To get this to work automatically is a bit tricky because Dropbox overwrites any modifications to its autostart file.

Here are all the steps required to fix the Dropbox indicator menu in Ubuntu 17.04 Zesty Zapus so that Dropbox works when you login / when launched from the menu:
  • rename the Dropbox autostart file from ~/.config/autostart and edit it, changing the “Exec” line to “Exec=env XDG_CURRENT_DESKTOP=Unity dropbox start -i”;
  • disable the built-in Dropbox autostart because it automatically creates an autostart file. This can be done using the “dropbox autostart n” command;
  • optional: if you want to also fix the Dropbox menu entry (this isn’t used in most cases since Dropbox starts automatically), copy the Dropbox desktop file from /usr/share/applications/ to ~/.local/share/applications/, so it’s not overwritten by updates, and change the “Exec” line to “Exec=env XDG_CURRENT_DESKTOP=Unity dropbox start -i”

To do all this from a terminal, you can use the following commands:

cp ~/.config/autostart/dropbox.desktop ~/.config/autostart/start_dropbox.desktop
sed -i 's/^Exec=.*/Exec=env XDG_CURRENT_DESKTOP=Unity dropbox start -i/' ~/.config/autostart/start_dropbox.desktop
dropbox autostart n
mkdir -p ~/.local/share/applications/
cp /usr/share/applications/dropbox.desktop ~/.local/share/applications/
sed -i 's/^Exec=.*/Exec=env XDG_CURRENT_DESKTOP=Unity dropbox start -i/' ~/.local/share/applications/dropbox.desktop

And finally, restart the session (logout/login). The Dropbox indicator menu should now work and it should use the correct icon.

via Dropbox forums

Read More

Rclone 1.36 Released With SFTP And Local Symlinks Support, More

cloud storage

Rclone 1.36 was released recently, bringing support for SFTP, local symbolic links support, mount improvements, along with many other new features and bug fixes.
For those not familiar with Rclone, this is a cross-platform command line tool for synchronizing files and folders to multiple cloud storages, which supports Dropbox, Google Drive, Amazon S3, Amazon Drive, Microsoft One Drive, Yandex Disk, and more.

It can be used to sync files either from your machine or from one cloud storage to another.
As a reminder, Rclone doesn’t provide real-time file monitoring, and the synchronization is performed on demand (so you must run it manually or using a script, etc.)

For more about Rclone, check out our initial article.

Important changes in Rclone 1.36 include:

  • SFTP remote;
  • re-implement sync routine to work a directory at a time reducing memory usage;
  • logging revamped to be more inline with rsync;
  • implement –backup-dir and –suffix;
  • implement –track-renames;
  • add time-based bandwidth limits;
  • rclone cryptcheck: checks integrity of crypt remotes;
  • allow all config file variables and options to be set from environment variables;
  • add –buffer-size parameter to control buffer size for copy;
  • comply with XDG Base Directory specification (this moves the default location of the config file in a backwards compatible way);
  • MIPS/Linux big and little endian support;
  • local:
    • implement -L, –copy-links flag to allow rclone to follow symlinks;
    • open files in write only mode so rclone can write to an rclone mount;
  • mount:
    • implement proper directory handling (mkdir, rmdir, renaming);
    • make include and exclude filters apply to mount;
    • implement read and write async buffers – control with –buffer-size;
  • crypt:
    • add –crypt-show-mapping to show encrypted file mapping;
    • fix crypt writer getting stuck in a loop (this bug had the potential to cause data corruption when reading data from a network based remote and writing to a crypt on Google Drive).

For a complete changelog, see THIS page.

To use Rclone with a graphical user interface, you may want to check out RcloneBrowser (WebUpd8 provides an Ubuntu PPA for RcloneBrowser so you can easily installing updates).

Download Rclone

(binaries available for Linux: 32bit, 64bit, arm, arm64 and mips big and little endian, Windows :32bit and 64bit, MacOS: 32bit and 64bit, FreeBSD: 32bit, 64bit and arm, and more)

In Linux distributions that support snap packages (Ubuntu and many others), you can install rclone using the following command:

sudo snap install rclone --classic

If you already had Rclone installed using a snap, it should already be up to date (this depends on the snapd version you’re using). Alternatively, you can update it using the following command:

sudo snap refresh rclone --classic

For how to use Rclone, you may want to check out its documentation.

Important: if you use the Rclone snap package, you won’t be able to mount any cloud storage (bug report). When attempting to mount Google Drive, Dropbox, etc., you’ll get an error similar to the following:
Fatal error: failed to mount FUSE fs: fusermount: exec: "fusermount": executable file not found in $PATH
The solution, at least for now, use the Rclone binary downloaded from its website.

To download the source, report bugs, etc., see the Rclone GitHub page.

Read More

Rclone Is Now Available As A Snap Package [Quick Update]

cloud storage

[Quick Update] Rclone is now available as a snap package, making it easy to install and update on a wide range of Linux distributions which support Snaps, like Ubuntu, Debian, Fedora, Gentoo, Arch Linux, openSUSe and more.

Rclone is a command line tool for synchronizing files and folders to multiple cloud storages (either from your machine or from one cloud storage to another). It supports Dropbox, Google Drive, Amazon S3, Amazon Drive, Microsoft One Drive, Yandex Disk, and more.

For more information about Rclone, as well as a GUI for it, see the following articles:

To install the Rclone (currently the snap provides a development version, 1.3.5-dev) snap package, use the following command:
sudo snap install rclone --classic

This should install the Rclone binary under /snap/bin/. The “–classic” argument is used because it puts the snap in classic mode and disables the security confinement. This is required for Rclone to work, or else it won’t be able to access some user files.

Later on, if you want to update the Rclone snap, use:

sudo snap refresh rclone

You can update all the installed snaps using:

sudo snap refresh

For the “snap” command to work, you need the “snapd” package. This should be installed by default in recent Ubuntu versions, like 16.04 and 16.10 or 17.04. For Ubuntu 14.04, you can install it from the repositories:
sudo apt install snapd

For other Linux distributions, installing snapd is detailed on the Rclone installation page @ GitHub.

I should also mention that there’s currently only one Rclone version – 1.35-dev -, available as a snap, no matter what channel you choose (stable / candidate / beta / etc/):
$ snap info rclone
name: rclone
summary: ""rsync for cloud storage" "
publisher: fireeye
description: |
"rsync for cloud storage" - Google Drive, Amazon Drive, S3, Dropbox, Backblaze
B2, One Drive, Swift, Hubic, Cloudfiles, Google Cloud Storage, Yandex Files
- rclone
tracking: stable
installed: 1.35 (55) 5MB -
refreshed: 2017-02-15 22:00:31 +0200 EET
stable: 1.35 (55) 5MB -
candidate: 1.35 (55) 5MB -
beta: 1.35 (55) 5MB -
edge: 1.35 (55) 5MB -

Read More

Jam: Listen To Google Play Music From The Console

A couple of weeks ago I wrote about GPMDP, a Google Play Music desktop application that integrates Google Play Music with the desktop and adds various features on top. If you don’t need all those desktop features and all you need is a lightweight, console Google Play Music client, you can try Jam.

Jam Google Play Music console player

Jam is a new Google Play Music console player for Linux and Windows. The application, which is written in Go, had its first alpha release about two weeks ago, and it’s currently at version 0.4.0.

Jam features a console interface very similar to that of Cmus, with easy keyboard navigation. While the interface is easy to use, it currently lacks a help screen, so for a list of keyboard shortcuts, see the Jam GitHub page.

Jam features:

  • console interface inspired by Cmus;
  • Last.fm scrobbling;
  • play, pause (this is buggy), stop, previous / next track;
  • populates a local database with the artists and albums you saved through the web interface (or by any other means) and allows searching artists in this database.

Jam is still very new, so it lacks a few features, but its developer hopes to improve it further, by making its interface detachable like MOC or to allow controlling the playback via command line arguments. If there’s some feature you’d like to see in Jam, you can submit a bug report.
It’s important to mention for Jam to work, you need to login using the same account used for Google Music on your mobile device. Without this, you will get a “no valid devices” error when trying to login with Jam.
If you use the Google two-factor authentication, you’ll need to generate an app password for Jam. You can do this by visiting THIS link.

Download Jam (64bit binary)

Download Jam (64bit binaries are available for Linux and Windows)

To install the 64bit binary on Linux, download it from GitHub (it’s the first one, called simply “jam”) and place it in your home folder. Then to install it to /usr/local/bin/ (so it’s available in your PATH), use the following command:
sudo install jam /usr/local/bin/

How to install Jam from source

Note: the instructions below were tested on Ubuntu 16.04+ / Linux Mint 18.x and may not work on older Ubuntu versions (golang-go may be too old).

To install Jam from source, you’ll need Go, Git and libpulse-dev. Install these in Ubuntu / Debian / Linux Mint using the following command:

sudo apt install golang-go git libpulse-dev

Next, you’ll need to set the GOPATH environment variable and make the GOPATH/bin folder available in your PATH. To do this (and use ~/.go as GOPATH), use the commands below:
mkdir ~/.go
echo "export GOPATH=$HOME/.go" >> ~/.bashrc
echo "export PATH=$PATH:$GOROOT/bin:$GOPATH/bin" >> ~/.bashrc
source ~/.bashrc

And finally, install Jam from source (the binary will be available in ~/.go/bin/) using the following command:

go get github.com/budkin/jam

If you encounter bugs, report them @ GitHub.

Read More

RcloneBrowser (Rclone GUI) Lets You Manage Multiple Cloud Storage Services From A Single Desktop App

RcloneBrowser is a Qt5 Rclone graphical user interface, available for Linux, Mac and Windows.

Rclone Browser

In case you’re not familiar with Rclone, this is a command line tool for synchronizing files from or to cloud storage services, which supports Google Drive, Google Cloud Storage, Dropbox, Microsoft One Drive, Amazon S3, Amazon Drive, Openstack Swift / Rackspace cloud files / Memset Memstore, Hubic, Yandex Disk, and Backblaze B2. 
Rclone can synchronize files either directly between these cloud services, or to / from your local filesystem.

For more about Rclone, check out our article: Rclone Synchronizes Files Between Multiple Cloud Storage Services (Command Line)

RcloneBrowser allows browsing and modifying (upload / download / remove, etc.) remote repositories, such as Google Drive, Dropbox, oneDrive and so on, including encrypted ones, using the same configuration file as Rclone, so you don’t have to configure remote services twice.

Besides performing various operations on your cloud files, RcloneBrowser can also mount and unmount your remote cloud storage, and it can stream media files with an external player, such as mpv.

Rclone Browser

Note that Rclone (and thus, RcloneBrowser too) performs the synchronization on demand, without any real-time file monitoring and automatic uploading / downloading of changed files.

RcloneBrowser features:

  • allows to browse and modify any Rclone remote, including encrypted ones;
  • allows to upload, download, create new folders, rename or delete files and folders;
  • uses same configuration file as Rclone, no extra configuration required;
  • supports encrypted .rclone.conf configuration file;
  • simultaneously navigate multiple repositories in separate tabs;
  • lists files hierarchically with file name, size and modify date;
  • all Rclone commands are executed asynchronously, no freezing GUI;
  • file hierarchy is lazily cached in memory for faster traversal of folders;
  • can process multiple upload or download jobs in background;
  • drag & drop support for dragging files from local file browser for uploading;
  • streaming media files for playback in players like mpv or similar;
  • mount and unmount folders on macOS and GNU/Linux;
  • optionally minimizes to tray, with notifications when upload/download finishes.
While RcloneBrowser integrates pretty much all the Rclone features in its user interface, adding a new remote storage service is not supported by it, and the configuration must be performed via command line. However, for most, the configuration is as easy as entering “y” a few times in a terminal.

RcloneBrowser does add easy access to the Rclone configuration – simply click “Config” on the RcloneBrowser “Remotes” tab, and it will launch a new terminal window with the Rclone configuration.

Tip: The RcloneBrowser user interface lets you select a local file or folder when uploading to a cloud storage service, however, it can also copy / move / sync files from one cloud storage to another. To do this, you must enter the exact path to the file from the other remote source, like this:

Rclone Browser

Rclone Browser

Download RcloneBrowser

To make it easier to install, I’ve uploaded RcloneBrowser to the main WebUpd8 PPA, for Ubuntu 16.04 and 16.10.

To add the PPA and install RcloneBrowser in Ubuntu 16.10 or 16.04 / Linux Mint 18.x, use the following commands:

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install rclone-browser

If you don’t want to add the PPA, you can grab the deb from HERE.

Important: the WebUpd8 package only includes RcloneBrowser, but you’ll also need Rclone for this to work. You can download precompiled Rclone binaries @ GitHub. To use it, simply extract the downloaded binary archive, then from RcloneBrowser Preferences select Rclone binary location.
Arch Linux users can install RcloneBrowser via AUR.
For other Linux distributions, Windows and Mac, see the Rclone Browser GitHub page.

Those new to Rclone may also want to check out its documentation.

Read More