Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
howtos:i3wm [2012/09/04 19:47 (UTC)] – Edded <key> tags sycamorex | howtos:i3wm [2012/09/24 14:48 (UTC)] – [i3status] fixed a link sycamorex |
---|
===== i3 Tiling Window Manager ===== | ===== i3 Tiling Window Manager ===== |
| |
i3 is a very lightweight, flexible and customisable tiling [[slackware:window_manager|window manager]] with excellent multi-monitor support. Tiling window managers aim at maximising the screen space by tiling all opened windows in a non-overlapping mode. As all the bells and whistles of traditional desktops are virtually non-existent in tiling window managers, they have a very minimalist look and are mostly keyboard-focused. If the concept of tiling window managers is still puzzling, please check the i3 official [[http://www.i3wm.org/screenshots/|screencast]]. | i3 is a very lightweight, flexible and customisable tiling [[slackware:window_manager|window manager]] with excellent multi-monitor support. Tiling window managers aim at maximising the screen space by tiling all opened windows in a non-overlapping mode. As all the bells and whistles of traditional desktops are virtually non-existent in tiling window managers, they have a very minimalist look and are mostly keyboard-focused. If the concept of tiling window managers is still puzzling, please check the official i3 [[http://www.i3wm.org/screenshots/|screencast]]. |
| |
==== i3 in Slackware==== | ==== i3 in Slackware==== |
| |
Slackware does not come with the i3 window manager. The installation process, however, is a quick an easy one. i3 is available from [[http://slackbuilds.org/repository/13.37/desktop/i3/|SlackBuilds]].You can build and install the dependencies using [[http://docs.slackware.com/howtos:lets_build_a_slackbuild|this]] tutorial or via [[http://www.sbopkg.org/|sbopkg]], a SlackBuild browser. | Slackware does not come with the i3 window manager. The installation process, however, is a quick an easy one. i3 is available from [[http://slackbuilds.org/desktop/i3/|SlackBuilds]].You can build and install the dependencies using [[http://docs.slackware.com/howtos:lets_build_a_slackbuild|this]] tutorial or via [[http://www.sbopkg.org/|sbopkg]], a SlackBuild browser. |
| |
==== i3 Dependencies ==== | ==== i3 Dependencies ==== |
All i3's dependencies are also available from [[http://slackbuilds.org|SlackBuilds]]: | All i3's dependencies are also available from [[http://slackbuilds.org|SlackBuilds]]: |
| |
* [[http://slackbuilds.org/repository/13.37/libraries/libev/|libev]] | * [[http://slackbuilds.org/libraries/libev/|libev]] |
* [[http://slackbuilds.org/repository/13.37/libraries/yajl/|yajl]] | * [[http://slackbuilds.org/libraries/yajl/|yajl]] |
* [[http://slackbuilds.org/repository/13.37/desktop/dmenu/|dmenu]] | * [[http://slackbuilds.org/desktop/dmenu/|dmenu]] |
| |
It is also highly recommended to install [[http://slackbuilds.org/repository/13.37/desktop/i3status/|i3status]] and its dependency [[http://slackbuilds.org/repository/13.37/libraries/confuse/|confuse]]. | It is also highly recommended to install [[http://slackbuilds.org/desktop/i3status/|i3status]] and its dependency [[http://slackbuilds.org/libraries/confuse/|confuse]]. |
| |
==== Starting i3 ==== | ==== Starting i3 ==== |
<ESC> to abort</code> | <ESC> to abort</code> |
| |
Use the <key>Win</key> and <key>Alt</key> keys to switch between the modifiers and choose one of them. In this tutorial I use Alt as the default modifier (I use <key>Win</key> for all sorts of custom keybindigs to avoid and clashes with i3 or other applications). | Use the <key>Win</key> and <key>Alt</key> keys to switch between the modifiers and choose one of them. In this tutorial I use <key>Alt</key> as the default modifier (I use <key>Win</key> for all sorts of custom keybindigs to avoid any clashes with i3 or other applications). |
| |
<note>Please note that if you have changed the keyboard layout since the wizard automatically generated the config file, you might have to revisit the config file and manually modify the keybindings</note> | <note>Please note that if you have changed the keyboard layout since the wizard automatically generated the config file, you might have to revisit the config file and manually modify the keybindings</note> |
=== Keybindings for Most Common Activities and Applications === | === Keybindings for Most Common Activities and Applications === |
| |
The following are some basic keybindings to help you get started. | The following are some basic keybindings to help you get started. For a full map of default keybindings see [[http://www.i3wm.org/docs/userguide.html#_default_keybindings|here]] or consult a very thoroughly commented ''config'' file located in ''~/.i3/''. |
| |
== Terminal == | == Terminal == |
== Close a Window == | == Close a Window == |
| |
<key>Alt+Shift+Q</key> | <key>Alt+Shift+q</key> |
| |
== Go to a Given Workspace == | == Go to a Given Workspace == |
== Reload the Config == | == Reload the Config == |
| |
<key>Alt+Shift+C</key> | <key>Alt+Shift+c</key> |
| |
== Restart i3 == | == Restart i3 == |
| |
<key>Alt+Shift+R</key> | <key>Alt+Shift+r</key> |
| |
== Quit i3 == | == Quit i3 == |
| |
<key>Alt+Shift+E</key> | <key>Alt+Shift+e</key> |
| |
| |
=== Adding Your Own Keybindings === | === Adding Your Own Keybindings === |
| |
If you want to launch Firefox using <key>Alt+B</key>, add the following to ''~/.i3/config'': | If you want to launch Firefox using <key>Alt+b</key>, add the following to ''~/.i3/config'': |
| |
<code>bindsym $mod+b exec /usr/bin/firefox</code> | <code>bindsym $mod+b exec /usr/bin/firefox</code> |
==== i3status ==== | ==== i3status ==== |
| |
[[http://slackbuilds.org/repository/13.37/desktop/i3status/|i3status]] is a status bar generator which will help you display all sorts of information. | [[http://slackbuilds.org/desktop/i3status/|i3status]] is a status bar generator which will help you display all sorts of information. |
| |
Once you've started i3, you should see a status bar at the bottom of the screen. To start customising it, copy /etc/i3status.conf to ~/.i3status.conf where you can place your changes. The configuration is pretty straightforward. You can comment out any modules you don't want to be displayed: | Once you've started i3, you should see a status bar at the bottom of the screen. To start customising it, copy ''/etc/i3status.conf'' to ''~/.i3status.conf'' where you can place your changes. The configuration is pretty straightforward. You can comment out any modules you don't want to be displayed: |
| |
<code># order = "ipv6" | <code># order = "ipv6" |
}</code> | }</code> |
| |
=== Custom i3status Display === | ==== Custom i3status Display ==== |
| |
By default ''i3status'' functionality is somewhat limited. The fact that the basic configuration offers only a handful of predefined functions does not, however, prevent you from customising it to include your own scripts. | By default ''i3status'' functionality is somewhat limited. The fact that the basic configuration offers only a handful of predefined functions does not, however, prevent you from customising it to include your own scripts. |
==== i3 Support ==== | ==== i3 Support ==== |
| |
Apart from excellent [[http://www.i3wm.org/docs/|documentation]] both for i3 users and developers, you can also get support: | Apart from excellent [[http://www.i3wm.org/docs/|documentation]] both for i3 users and developers, you can also get support in the following places: |
* Subscribe to the [[i3-discuss-subscribe@i3.zekjur.net|mailing list]] (Browse [[http://infra.in.zekjur.net/archives/i3-discuss/|archives]]) | * Subscribe to the [[i3-discuss-subscribe@i3.zekjur.net|mailing list]] (Browse [[http://infra.in.zekjur.net/archives/i3-discuss/|archives]]) |
* Join i3 IRC channel (#i3 on irc.twice-irc.de) | * Join i3 IRC channel (#i3 on irc.twice-irc.de) |
| |
====== Sources ====== | ====== Sources ====== |
* Originally written by [[wiki:user:sycamorex |sycamorex]] | * Originally written by [[wiki:user:sycamorex |Marcin Herda]] |
<!-- * Contrbutions by [[wiki:user:yyy | User Y]] --> | <!-- * Contrbutions by [[wiki:user:yyy | User Y]] --> |
| |
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> |
<!-- You must also remove the tag-word "template" below. Otherwise your page will not show up in the Table of Contents --> | <!-- You must also remove the tag-word "template" below. Otherwise your page will not show up in the Table of Contents --> |
{{tag>howtos i3 i3status wm software}} | {{tag>howtos i3 i3status wm software author_sycamorex}} |