A taste of tiling with X-Tile

Off the Beat: Bruce Byfield's Blog
For years, tiling window managers have been a popular, but minority interface choice for GNU/ Linux. Ion, dwm, awesome and others differ in implementation, but what all have in common is that they divide the desktop into separate frames to avoid problems with overlapping windows. You can even mimic tiling in Windows by selecting them in the taskbar while holding the Ctrl key, then making a choice from the context menu. Now, thanks to X-Tile (http://open.vitaminap.it/en/index.htm), you can mimic tiling in GNOME as well.
Why would you want tiling? The answer is that Metacity, GNOME's default window manager, does not open windows efficiently. Although Metacity makes some effort to avoid placing new windows on top of existing ones, it does not work with every application, particularly non-GNOME ones. Instead, far too many windows open in the upper left corner. At other times, intelligent placement of windows is thwarted by the fact that Metacity remembers the last position and size of a window. Search for solutions, and you find that the most common solutions are to use a patched version of Metacity, or another window manager (not that most other window managers do much better).
Of course, there are workarounds. You can use multiple workspaces with only one or two windows open on each, but that requires some organization as well as extra keystrokes or mouse-clicks. Similarly, while using Alt+Tab to cycle through the open windows on your desktop eliminates the need to sort windows, you may dislike working against the background of other windows, to say nothing of the concealment of any icons you might have on the desktop. For such reasons, X-Tile may be a welcome solution.
X-Tile takes the shape of a GNOME panel applet. It is available as a .DEB package for Ubuntu (which doesn't work in Debian), or source code. Since it is a small package, you can install it in less than ten seconds using dpkg -i, but you have to log out and back in before it is visible in the list of available panel applets.
To use X-Tile, click its icon on the panel to open a window with a list of all windows open on the desktop. Select which windows you want to tile, then choose how you want to orient them -- vertically or horizontally -- or whether you want to maximize or minimize all of them. You also have the option of whether to keep the X-Tile window open after the selected windows are rearrange.
The one complication in this basic functionality is that, as in the Windows XP implementation of tiling that I suspect it is based on, X-Tile's choices of "Tile Horizontally" and "Tile Vertically" are confusing. For instance, if you select "Tile Vertically," then windows are stacked one above the other on the desktop, which gives each a horizontal orientation. Similarly, "Tile Horizontally" arranges windows side by side, which gives each a vertical orientation. However, once you use X-Tile a few times, this choice of terms should become less confusing.
Besides sorting windows, X-Tile is particularly useful for comparing two documents side by side. However, if you use it with more than two or three windows, then the resulting windows are likely to be too narrow or too long for you to work in any of them conveniently. Instead, you have to maximize one window or minimize the rest. The result is that, with multiple windows, X-Tile is mostly a way to sort windows to make them all visible at the same time -- and, since you already can see from the panel's Window List what windows are open, its usefulness seems limited.
As I used X-Tile, I found myself wishing that it included an option for dividing the screen into quarters, which is what most of the tiling window managers do. With this arrangement, windows arranged by X-Tile might actually have dimensions in which you could actually work without maximizing or minimizing anything. But, the way things are, X-Tile seems more a proof of concept than anything that most users will want on their desktops.
Comments
comments powered by DisqusSubscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.
News
-
The GNU Project Celebrates Its 40th Birthday
September 27 marks the 40th anniversary of the GNU Project, and it was celebrated with a hacker meeting in Biel/Bienne, Switzerland.
-
Linux Kernel Reducing Long-Term Support
LTS support for the Linux kernel is about to undergo some serious changes that will have a considerable impact on the future.
-
Fedora 39 Beta Now Available for Testing
For fans and users of Fedora Linux, the first beta of release 39 is now available, which is a minor upgrade but does include GNOME 45.
-
Fedora Linux 40 to Drop X11 for KDE Plasma
When Fedora 40 arrives in 2024, there will be a few big changes coming, especially for the KDE Plasma option.
-
Real-Time Ubuntu Available in AWS Marketplace
Anyone looking for a Linux distribution for real-time processing could do a whole lot worse than Real-Time Ubuntu.
-
KSMBD Finally Reaches a Stable State
For those who've been looking forward to the first release of KSMBD, after two years it's no longer considered experimental.
-
Nitrux 3.0.0 Has Been Released
The latest version of Nitrux brings plenty of innovation and fresh apps to the table.
-
Linux From Scratch 12.0 Now Available
If you're looking to roll your own Linux distribution, the latest version of Linux From Scratch is now available with plenty of updates.
-
Linux Kernel 6.5 Has Been Released
The newest Linux kernel, version 6.5, now includes initial support for two very exciting features.
-
UbuntuDDE 23.04 Now Available
A new version of the UbuntuDDE remix has finally arrived with all the updates from the Deepin desktop and everything that comes with the Ubuntu 23.04 base.
Windows
http://www.qssupplies.co.uk
Linux and the confusion
Anyway, I still remember my first Ubuntu install and I've been reading your magazine ever since!
--
James from http://www.mondaynightout.co.uk
Yoga and computers
u do tiles too
i am a plumber with http://www.thetiledepot.co.uk/. and found u guys while searching for <a href="http://www.thetiledepot.co.uk/">cheap floor tiles</a>.
great to hear you do tiling too in ur field. i hope its as interesting as ours lol.
take care
X-tile
horizontally or vertically. Any similarity to another OS or windows manager is coincidental
and hardly surprising
http://www.blindsuk.net/ vertical blinds are horizontal strips *arranged* vertically,
nothing confusing there...
We allow more than 2 windows to tile as for all we know your monitor could be very wide!
Its up to the user to make a sensible determination of the number of windows to tile as trying
to come up with some kind of rule to decide how many we should allow them to tile
would be at best arbitrary and at worst removes choice.
I like the idea of dividing the screen into quarters and I'm off to implement that now...
Was really excited by the headline...