SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

INTRODUCTION

Dragbox is a tool for connecting the commandline with the desktop environment. It summons a drag handle from nowhere when you are managing files or information in a shell, further empowering you in your workflow.

Dragbox accepts both drags and drops once started, and can be made to output dragged-to items to the standard output. You can also pipe text to dragbox, or a list of files using xargs.

Clicking an item copies it to the clipboard. Right-clicking opens a context menu with access to the preferences dialog.

For detailed commandline instructions, please read the included man page.

TIPS AND TRICKS

Dragging in gnome works very well, but there are some undiscoverable tricks that can make some things easier. * Pressing modifier keys can switch between different types of drags; dragging a file to nautilus normally copies it, but you can hold shift to move it, or shift-ctrl to make a symlink! * You can drag from any window without activating it by holding the altgr or super key when you drag. This is often very useful. * You can bring up a minimized or obscured window while dragging by hovering momentarily over it's button in the window list (in the gnome-panel) * If you selected something in a window and focus another window, it looks like the selection disappeared. In many cases it's still there, you can try to drag it without focusing the window (see above) * Type escape while dragging to cancel the drag

INSTALLATION

Dragbox requires Python v2.4 and the following python modules: pygtk, gtk, gtk.glade, gnomevfs, gnome, gconf, dbus (should be optional) Using Ubuntu, installing the packages python2.4-glade2 and python2.4-gnome2 should be enough

Installation is simple, just the usual:

./configure
make
make install

or perhaps preferably, checkinstall instead of make install.

There might be a problem with finding the way to the installed Python package. Dragbox uses a script to do some manual searching if needed, this should work; if not, investigate the use of PYTHONPATH. Limitation: If you install using DESTDIR, --bindir has to be "inside" --prefix, otherwise Dragbox won't find the way to its .glade datafiles. CREDITS


Dragbox is licensed under the GNU GPL
http://www.gnu.org/copyleft/gpl.html

By Ulrik Sverdrup
ulrik.sverdrup@gmail.com
http://www.student.lu.se/~cif04usv/


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.