multiftp – a Multi-Threaded Command-Line FTP Uploader

Overview

multiftp is a multi-threaded (multiprocess) command-line FTP uploader that allows easy recursive uploading of directories. It provides an easy way to schedule fast FTP uploads via batch scripts.

Features

  • Easily script multithreaded FTP uploads
  • Works via multiprocessing to circumvent threading problems.
  • Automatic recursive uploads
  • Ideal for situations where you need to upload an entire folder in script (i.e. publishing a website via FTP).

Usage

Run mtftp.py -h for a help file.

Requirements

  • Python 2.7.x+ (not currently Python 3 ready, but the changes are probably minimal)

License

The software is licensed under the MIT license, whose text can be viewed in the program source.

Download

Get the code here.

Posted in Code | 3 Comments

Fix Dual Monitors in GNOME 3 (aka My Workspaces are Broken!)

Note: See update for GNOME 3.3/3.4 at the end of this post.

I’ve already expressed some disappointment in the default multi-monitor behavior in GNOME 3 on the dev’s blog (read: I posted an angry rant in the comments).

Basically, in GNOME 3, for some reason, they decided the typical use case was for the secondary monitor to stay fixed when switching workspaces, which is the complete wrong setup for someone using dual monitors.

Luckily, as Pascal points out in the blog’s comments, there’s a setting for this, and the other (ie correct) behavior is actually mutter’s default.

Luckily, the fix is pretty simple, and will allow workspaces to switch on multiple monitors again!

  1. Download gconf-editor – this is probably available in your distribution’s package manager.
  2. Start gconf-editor – the “Run Command” menu is still available in GNOME 3 by pressing Alt-F2.
  3. In the tree on the left, navigate to /desktop/gnome/shell/windows
  4. UNCHECK the box next to workspaces_only_on_primary

You’ll need to log out or restart to see the changes, and some commenters in the above post seem to note some small issues with the setup, but all-in-all this has been completely functional for me; and best of all, I can use both monitors again!

Update for GNOME 3.3/3.4

Cedric Briner emailed me to let me know that for GNOME 3.3/3.4, the command has been updated. The new command is (instead of gconf-editor):

gsettings set org.gnome.shell.overrides workspaces-only-on-primary false
Posted in Linux | 68 Comments

Get a Taskbar in GNOME 3/Gnome Shell

Disappointed in the lack of taskbar in GNOME 3? Well, it’s back!

Some people I talked to were disappointed in the lack of a taskbar in GNOME 3. While I’ve gotten used to it, it’s easy enough to get a taskbar back.

Tint2 is  a project that I was using for a taskbar when I was strictly using OpenBox.

I was surprised to find that it works perfectly with GNOME3 – it even respects the bar on snapping windows to the sides and maximizing.

There’s no autostart applications icon, but the Arch Wiki has a workaround so you can start tint2 automatically.

Posted in Linux | 6 Comments