How Cool i3 Window Manager!

2 minute read

Published:

As a Linux lover, have you ever try window manager like i3wm? If you didn’t try it yet, let me inform you how powerful it is.

i3wm

i3 is a dynamic tilling window manager inspired by wmii that is primarily targeted at developers and advanced users 1. The goal is to control the appearance and placement of windows in a windowing system. It can be used as a part of Desktop Environment like GNOME or KDE, but also it can be used as standalone applications 2. Currently I have used this window manager as a kind of standalone applications. If you want to do efficiently in your computer without worrying about the good viewer of desktop environment looks like, try it and let you enjoy to all these features!

Overview of i3 Window Manager

Overview of i3 Window Manager

Why should we use i3? 2

  1. Minimalism, you can enjoy your computer what only you want.
  2. Screen real estate, minimising a program is useless!
  3. Keyboard-driven workflow, mouse can be rarely used!
  4. Flexibility to set up by your own configuration
  5. Easy to control workspaces

Controling i3wm using Keyboard Shortcuts

That’s the point! As a user who deep in the Linux environment, terminal is everything. All of the stuffs can be done efficiently by using command lines. Okay, these are some configurations to do in i3wm. In this session, I used cheatography.com as a reference to see the default of i3 window manager keyboard shortcuts.

Controlling i3

Keyboard keyDescription
$mod+Shift+rReload i3
$mod+Shift+eExit i3

Note: Reload i3 is important if you want to reset or update the configuration file on i3 so that you can use it directly without restarting the computer.

Manage Windows

Keyboard keyDescription
$mod+Shift+qKill current window
$mod+Shift+numMove current window to workspace number num
$mod+Shift+fSet window to floating mode
$mod+jFocus on window to the left
$mod+kFocus on window above
$mod+lFocus on window below
$mod+;Focus on window to the right
$mod+Shift+jMove window left
$mod+Shift+kMove window up
$mod+Shift+lMove window down
$mod+Shift+;Move window right

Note: I am not familiar with the default kill current window, so I change the key with Ctrl+F4 in i3 config file. You can check the file in the directory ~/.config/i3/config. In addition, focusing on certain window can be done by using $mod+{arrow}. Great!

Workspaces

Keyboard keyDescription
$mod+numSwitch to workspace num
$mod+Shift+numMove current window to workspace number num

Containers

Keyboard keyDescription
$mod+eDefault container
$mod+hHorizontal split container
$mod+vVertical split container
$mod+wTabbed container
$mod+fToggle fullscreen mode
$mod+sToggle stacking mode
$mod+S­hif­t+SpaceToggle floating mode

Note: These are powerful keyboard shortcuts for managing the container.

Applications

Keyboard keyDescription
$mod+enterOpen new terminal window
$mod+dOpen dmenu

Enjoying with Git

4 minute read

Published:

I am loving to manage the codes or the works as well as possible. That’s the thing! In this blog I would like to show you about how to work with Git in general. Let’s do it!

Adding Code Snippet from Gist to Markdown

less than 1 minute read

Published:

How can we insert a code snippet from Gist to Markdown?

I guess this is the common problem for a lot of new users that jump to the website static types especially related to Github or website generator like Jekyll or the others. So, let’s do this thing!

Working on Gist Command

3 minute read

Published:

In this post, I will show you how to deal with Gist on terminal/command line. Why do we should use it? Because we have to do efficiently saving the code and managing the code snippet. That’s the idea! So that we should deal with the command line for the better work.