In december of last year, Luke Smith uploaded a YouTube video titled "Tiling Window Management and i3wm config additions". I occasionally watch his videos as I find them extremely informative and entertaining, and they give me lots of ideas for tools to try out.
This video in particular caught my attention because I had heard some nice things about tiling window managers but I hadn't tried one out yet. In the video, he talks about the i3 window manager and how he himself has configured it. I found this really interesting, since it showcases the extent to which this window manager can be modified. The ability to make it your own is something I absolutely love in any type of software, and it reassured me that even if I didn't like the way it works out of the box I could configure it to work in a way which I do like later. I found it really interesting, looked up some other YouTube videos about it, and that kept me entertained for the night. However, at the time, I didn't really do anything with this new information.
Earlier today, I wiped my SSD clean and gave my laptop a completely fresh start. When I thought about what distribution and desktop environment I should install on it, i3 came back to mind. Considering i3 is just a window manager and doesn't come preinstalled on any distribution that I know of, I went ahead and put a terminal-only Ubuntu installation on there since I am most familiar with this distribution.
Installing the window manager itself on Ubuntu turned out to be a bit trickier than on some other distributions which are officially supported by i3, but a simple Google search led me to some posts by people who had done this before me who guided me through the process.
It's relatively simple: only one of the dependencies has to be manually built from source, all of the others are in the official repositories and can therefore all be installed with one copied and pasted apt command. Then I had to manually build i3-gaps itself from source and add a line which runs i3 at the end of the .xinitrc file.
In short, it was more than easy enough to install without any issues, but it wasn't quite as easy as the average desktop environment which can be installed with a single apt command.
Once I finished the installation, I did some basic configuration. I added a wallpaper, set the inner gaps to 15px and the outer gaps to another 15px for the look I personally like, and changed the font of the status bar. On a side note, I also changed the color scheme of xterm to one I found online which I like a lot more than the default, far too bright color scheme.
I also changed the keybindings for switching focus between windows from "j k l ;" to "h j k l", since I switch between a German and a Belgian keyboard layout which means the original vim bindings are compatible with my keyboards while the modified bindings which are the default in i3 are not. In case you didn't know, that compatibility problem is the reason why vim doesn't start with j but rather chooses to make you move your hand by one key.
Finally, I added a keybinding (mod+w) which opens a browser. The reason I chose this keybinding was simply because it is the keybinding demonstrated in Luke Smith's video and I didn't see any reason why I should use a different key for this. Setting this binding to the same key as he did could be useful because in the future I might see more use for other bindings he demonstrated and it'd be nice to be able to simply copy the bindings I want to use.
Naturally, I was very excited to get started using i3. When I use any other system, I almost always make the windows fit the entire screen. The promise of being able to do this more quickly seemed really nice.
I opened up my browser, browsed through Reddit, installed Spotify and VLC media player to provide me with background music and to play some movies and audiobooks, and generally just relaxed. This may not seem like the best way to familiarize yourself with a window manager, but I had just gone through the installation and configuration process and wanted to take it easy for a bit. The real "test" came once I started writing this blog. With two text files, a calendar and the volume mixer for my music open in one workspace, I had to use the resize feature for the first time. While I might configure the steps by which it resizes the windows to be a bit smaller in the future, I quite liked the way it felt. That was also the point at which it hit me how different a tiling window manager is from your average desktop environment: I was navigating between windows, tiling and resizing them the way I wanted them, all without touching my mouse once. In fact, I use a wireless mouse which turns itself off after not being used for a while and after a few hours I already had the habit of turning it back on whenever I do actually use it. I've never had to do that while I was actively working on the computer before.
In general, I'm very happy I decided to give i3 a shot. It's a different experience, but after just half an hour of using it, it started to feel very intuitive and I started to notice the efficiency of having windows tile automatically.
In the past I've tried many desktop environments and distros only to instantly uninstall them and go back to my old DE/distro because of just a few annoyances. That's not the feeling I'm getting now. This feels good. If you haven't tried i3 yet, give it a shot. Not only does i3-gaps look incredible, the efficiency and simplicity i3 offers are really refreshing.
This video in particular caught my attention because I had heard some nice things about tiling window managers but I hadn't tried one out yet. In the video, he talks about the i3 window manager and how he himself has configured it. I found this really interesting, since it showcases the extent to which this window manager can be modified. The ability to make it your own is something I absolutely love in any type of software, and it reassured me that even if I didn't like the way it works out of the box I could configure it to work in a way which I do like later. I found it really interesting, looked up some other YouTube videos about it, and that kept me entertained for the night. However, at the time, I didn't really do anything with this new information.
Earlier today, I wiped my SSD clean and gave my laptop a completely fresh start. When I thought about what distribution and desktop environment I should install on it, i3 came back to mind. Considering i3 is just a window manager and doesn't come preinstalled on any distribution that I know of, I went ahead and put a terminal-only Ubuntu installation on there since I am most familiar with this distribution.
Installing the window manager itself on Ubuntu turned out to be a bit trickier than on some other distributions which are officially supported by i3, but a simple Google search led me to some posts by people who had done this before me who guided me through the process.
It's relatively simple: only one of the dependencies has to be manually built from source, all of the others are in the official repositories and can therefore all be installed with one copied and pasted apt command. Then I had to manually build i3-gaps itself from source and add a line which runs i3 at the end of the .xinitrc file.
In short, it was more than easy enough to install without any issues, but it wasn't quite as easy as the average desktop environment which can be installed with a single apt command.
Once I finished the installation, I did some basic configuration. I added a wallpaper, set the inner gaps to 15px and the outer gaps to another 15px for the look I personally like, and changed the font of the status bar. On a side note, I also changed the color scheme of xterm to one I found online which I like a lot more than the default, far too bright color scheme.
I also changed the keybindings for switching focus between windows from "j k l ;" to "h j k l", since I switch between a German and a Belgian keyboard layout which means the original vim bindings are compatible with my keyboards while the modified bindings which are the default in i3 are not. In case you didn't know, that compatibility problem is the reason why vim doesn't start with j but rather chooses to make you move your hand by one key.
Finally, I added a keybinding (mod+w) which opens a browser. The reason I chose this keybinding was simply because it is the keybinding demonstrated in Luke Smith's video and I didn't see any reason why I should use a different key for this. Setting this binding to the same key as he did could be useful because in the future I might see more use for other bindings he demonstrated and it'd be nice to be able to simply copy the bindings I want to use.
Naturally, I was very excited to get started using i3. When I use any other system, I almost always make the windows fit the entire screen. The promise of being able to do this more quickly seemed really nice.
I opened up my browser, browsed through Reddit, installed Spotify and VLC media player to provide me with background music and to play some movies and audiobooks, and generally just relaxed. This may not seem like the best way to familiarize yourself with a window manager, but I had just gone through the installation and configuration process and wanted to take it easy for a bit. The real "test" came once I started writing this blog. With two text files, a calendar and the volume mixer for my music open in one workspace, I had to use the resize feature for the first time. While I might configure the steps by which it resizes the windows to be a bit smaller in the future, I quite liked the way it felt. That was also the point at which it hit me how different a tiling window manager is from your average desktop environment: I was navigating between windows, tiling and resizing them the way I wanted them, all without touching my mouse once. In fact, I use a wireless mouse which turns itself off after not being used for a while and after a few hours I already had the habit of turning it back on whenever I do actually use it. I've never had to do that while I was actively working on the computer before.
In general, I'm very happy I decided to give i3 a shot. It's a different experience, but after just half an hour of using it, it started to feel very intuitive and I started to notice the efficiency of having windows tile automatically.
In the past I've tried many desktop environments and distros only to instantly uninstall them and go back to my old DE/distro because of just a few annoyances. That's not the feeling I'm getting now. This feels good. If you haven't tried i3 yet, give it a shot. Not only does i3-gaps look incredible, the efficiency and simplicity i3 offers are really refreshing.
Comments
Post a Comment