← Go back to Tips and Tricks

Opensnap (aerosnap with mouse)

Aerosnap is a lacking feature of the Openbox window
manager, which handles Lubuntu’s windows, so we need to draw upon a “keystroke trick” (see Aerosnap article) or use a 3rd party app. And there’s a handy program (thanks to lawl) that will do that, called Opensnap. Let’s go with the instructions:

  • You can add the PPA (so it will be automatically updated) and installing it from LXTerminal easy:

    sudo add-apt-repository ppa:lawl/opensnap
    sudo apt-get update && sudo apt-get install opensnap

    …or download the package for your architecture, i386 or amd64, and install it manually (not recommended).

  • Now, if we want it to execute on every startup, edit the session file. On LXTerminal type:

    sudo leafpad /etc/xdg/lxsession/Lubuntu/autostart

    …without the quotes:


    …and add the following line:

    @opensnap -d

  • Save, close and restart. Now you can control windows clicking with your mouse on the title and dragging it up, left or wherever. That’s all!

← Go back to Tips and Tricks