<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ivica Paleka</title>
    <description>The latest articles on DEV Community by Ivica Paleka (@ipaleka).</description>
    <link>https://dev.to/ipaleka</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F205247%2F1ca7888f-77c1-4583-bf05-943fdcc29be2.png</url>
      <title>DEV Community: Ivica Paleka</title>
      <link>https://dev.to/ipaleka</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ipaleka"/>
    <language>en</language>
    <item>
      <title>arrangeit is now open source and released under GPLv3</title>
      <dc:creator>Ivica Paleka</dc:creator>
      <pubDate>Thu, 01 Aug 2019 16:34:26 +0000</pubDate>
      <link>https://dev.to/ipaleka/arrangeit-is-now-open-source-and-released-under-gplv3-1n2d</link>
      <guid>https://dev.to/ipaleka/arrangeit-is-now-open-source-and-released-under-gplv3-1n2d</guid>
      <description>&lt;p&gt;TL; DR end users, Pythonistas, graphic designers and proofreaders are invited to join a brand new open-source multi-platform Python project&lt;/p&gt;

&lt;p&gt;&lt;a href="https://vimeo.com/351440620"&gt;arrangeit v0.3alpha in action&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  About
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;arrangeit&lt;/strong&gt; - cross-platform desktop utility for easy windows management&lt;/p&gt;

&lt;p&gt;Version &lt;a href="https://github.com/ipaleka/arrangeit/tree/master/assets"&gt;0.91&lt;/a&gt; was the last published version of a Win95/98 desktop utility named ArrangeIt.&lt;/p&gt;

&lt;p&gt;Twenty years later, new software with the name &lt;strong&gt;arrangeit&lt;/strong&gt; is born. It has been developed from the scratch in Python and the &lt;a href="https://github.com/ipaleka/arrangeit/releases/tag/v0.3alpha"&gt;initial public release v0.3alpha&lt;/a&gt; is now available to download from the Github. Please bear in mind that this version is alpha software and it's not suitable for production.&lt;/p&gt;

&lt;h2&gt;
  
  
  Installation
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Binary distribution
&lt;/h3&gt;

&lt;p&gt;Version 0.3alpha is available as the binary distribution for Debian/Ubuntu and MS Windows (32 and 64-bit versions).&lt;/p&gt;

&lt;p&gt;In Ubuntu, you should have at least Python version 3.5 installed. Extract the archive in temporary directory and run the following commands:&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ sudo apt-get install python3-pil.imagetk python3-xlib
$ cd tmp_directory
$ sudo dpkg -i python3-pynput_1.4.2_all.deb
$ sudo dpkg -i arrangeit_0.3alpha_all.deb

# run the program with
$ arrangeit
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;In Windows, just extract the archive and run the &lt;code&gt;arrangeit.exe&lt;/code&gt; executable inside it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Source distribution
&lt;/h3&gt;

&lt;p&gt;You should have Python 3 installed to run &lt;strong&gt;arrangeit&lt;/strong&gt; from the source. For the other dependencies, you may find instructions for various platforms &lt;a href="https://arrangeit.readthedocs.io/en/latest/development.html"&gt;in the documentation&lt;/a&gt;. To prepare a start on Ubuntu you may run the following command:&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ sudo apt-get install python3-dev git gcc libcairo2-dev pkg-config
$ sudo apt-get install libgirepository1.0-dev gir1.2-gtk-3.0 gir1.2-wnck-3.0
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Download source archive as a compressed file or clone the git repository with:&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ cd ~/projects
$ git clone https://github.com/ipaleka/arrangeit.git
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;You should create and activate a separate virtual environment for arrangeit:&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ mkdir venvs
$ python3 -m venv venvs/arrangeit
$ source venvs/arrangeit
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;And from the activated virtual environment run the following commands to install Python dependencies:&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;(arrangeit) $ cd arrangeit
(arrangeit) $ python -m pip install -r requirements/linux.txt  # windows.txt/darwin.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Run arrangeit with:&lt;/p&gt;


&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;(arrangeit) $ python -m arrangeit&lt;br&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;h2&gt;
&lt;br&gt;
  &lt;br&gt;
  &lt;br&gt;
  Basic usage&lt;br&gt;
&lt;/h2&gt;

&lt;p&gt;Move your mouse to set the future position of the window. You may change the active corner either manually, by pressing the &lt;strong&gt;Ctrl&lt;/strong&gt; key on your keyboard, or dynamically through the snapping functionality (when a moving window snaps to some window with a side not connected to the currently active corner).&lt;/p&gt;

&lt;p&gt;By pressing the left mouse button (or by pressing the &lt;strong&gt;Enter&lt;/strong&gt; key on your keyboard) you set the future position of the window and moving the mouse afterward resizes the main window. Press the left mouse button again to confirm the future size.&lt;/p&gt;

&lt;p&gt;To move the current window on another workspace you should press the wanted workspace number on your keyboard. As an alternative, you may first release the mouse by clicking the middle mouse button or by pressing the &lt;strong&gt;Shift&lt;/strong&gt; key on the keyboard, and then click the wanted workspace box with your mouse.&lt;/p&gt;

&lt;p&gt;Click a window title in the listed windows area to start operating from some other window.&lt;/p&gt;

&lt;p&gt;Click the minimize/restore icon inside the title box to change the minimized state of the current window.&lt;/p&gt;

&lt;p&gt;Click the fixed/resizable icon if you want to change just the position of the current window, without changing its size (and vice versa).&lt;/p&gt;

&lt;h2&gt;
  
  
  Known issues
&lt;/h2&gt;

&lt;p&gt;The list of issues can be found on &lt;a href="https://github.com/ipaleka/arrangeit/issues"&gt;Github pages&lt;/a&gt;. Please feel free to add a new issue for any purpose connected with the arrangeit development beside praising and condemning - for such purposes please use this thread. xD&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;arrangeit&lt;/strong&gt; in GNU/Linux works under X Window System only - Wayland is not supported yet and you're all welcome to propose possible guidelines in the &lt;a href="https://github.com/ipaleka/arrangeit/issues/5"&gt;related issue&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Mac OS X functionality is planned for the next release &lt;strong&gt;0.4beta&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;X-mouse under Windows 10 is sometimes preventing the binary distribution executable to start&lt;/li&gt;
&lt;li&gt;no workspaces/virtual desktops functionality for the older versions of Windows. Windows 10 is the first version having an official API for virtual desktops -  if some custom implementation has been quite popular for the previous Windows versions then please let me know about it&lt;/li&gt;
&lt;li&gt;current graphic design is kind of MVPish; all suggestions are welcome&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>python</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
