2017-03-14

partially translated

New page

{{DISPLAYTITLE:i3}}

[[Category:Tiling WMs]]

[[Category:Dynamic WMs]]

[[en:I3]]

[[ja:i3]]

[[ko:I3]]

[[ru:I3]]

[[zh-hans:I3]]

{{Related articles start}}

{{Related|Desktop environment}}

{{Related|Display manager}}

{{Related|File manager functionality}}

{{Related|Window manager}}

{{Related|Comparison of tiling window managers}}

{{Related|Clipboard}}

{{Related|Autostarting#Graphical}}

{{Related articles end}}

Az [http://i3wm.org/ i3] egy dinamikus csempéző ablakkezelő ([[Wikipedia:Tiling window manager|tiling window manager]]), amit a [[wmii]] inspirált, legfőképp fejlesztőknek, és haladó felhasználóknak tervezve.

Az i3 céljai a letisztult dokumentáció, több monitor megfelelő támogatása, fa-struktúrájú ablakkezelés, és több mód, mint ahogy a [[vim]]-ben.

== Telepítés ==

[[Install|Telepítsd]] az {{Grp|i3}} [[Pacman#Installing package groups|csoportot]]. Ez tartalmazza az {{Pkg|i3-wm}} ablakkezelőt, az {{Pkg|i3status}}-t, ami rendszerinformációkat jelenít meg a [[Wikipedia:Standard streams#Standard output (stdout)|standard kimeneten]] keresztül, és az {{Pkg|i3lock}}-ot, egy képernyőzárat.

További csomagok az [[Arch User Repository|Arch Felhasználói Tároló (AUR)]]-ban találhatóak. Lásd a [[#Patch-ek]] szakaszt példákért.

=== Display manager ===

Az {{Pkg|i3-wm}} tartalmazza a {{ic|i3.desktop}}-ot, ami [[Xsession]]-ként indítja az ablakkezelőt. {{ic|i3-with-shmlog.desktop}} engedélyezi a logokat (debugoláshoz hasznos). Az {{AUR|i3-gnome}} integrálja az {{ic|i3}}-at a [[GNOME]]-ba.

=== xinitrc ===

Add hozzá az [[Xinitrc]]-hez a következőt:

exec i3

Ha az i3 kimenetét szeretnéd egy fájlban rögzíteni, akkor a következőt kell hozzáadni:

exec i3 -V >> ~/i3log-$(date +'%F-%k-%M-%S') 2>&1

== Használat ==

Lásd a [http://i3wm.org/docs hivatalos dokumentációt] további információért, név szerint a [http://i3wm.org/docs/userguide.html felhasználók kézikönyvét].

=== Billentyűk ===

Az i3-ban a parancsok egy úgynevezett módosító billentyűvel hajthatók végre, ami {{ic|$mod}}-ként lesz említve. Ez alapértelmezetten az {{ic|Alt}} (Mod1), és a {{ic|Super}} (Mod4) egy népszerű alternatíva. A Super billentyű a billentyűzeten Windows logóval jelölt billyentyű, vagy Apple billentyűzeten a Command billentyű.

Lásd az [http://i3wm.org/docs/refcard.html i3 referencia kártyát] és az [http://i3wm.org/docs/userguide.html#_using_i3 i3 használatát] az alapértelmezett értékekért. Lásd a [http://i3wm.org/docs/userguide.html#keybindings billentyű hozzárendeléseket] új gyorsbillentyűk hozzáadásához.

A nem Querty billentyűzetet használók hasznosnak találhatják a "beállítás varázslót", [[#Konfiguráció varázsló és alternatív billentyűzetkiosztások|lásd lejjebb]].

=== Tárolók ===

Az i3 fa struktúrában kezeli az ablakokat, tárolókat használva blokkok létrehozásához. Ez a szerkezet elágazik vízszintes és függőleges kettéosztásokba. A tárolók alapértelmezésben csempézett kiosztásúak, de ez megváltoztatható füles, vagy halmozott kiosztásra, és lebegő módra is (például párbeszédablakok). A lebegő ablakok mindíg legfölül vannak.

Lásd az [http://i3wm.org/docs/userguide.html#_tree i3 fát], és [http://www.youtube.com/watch?v=AWA8Pl57UBY Konténerek és adatszerkezet]-et további részletekért.

=== Alkalmazásindító ===

Az i3 a [[dmenu]]-t használja alkalmazásindítónak, ami alapértelmezetten a {{ic|$mod+d}} billentyűkombinációhoz van beállítva.

Az {{Pkg|i3-wm}} tartalmazza az ''i3-dmenu-desktop''-ot, egy [[Wikipedia:Perl|Perl]] wrapper-t a ''dmenu''-hez ami [[desktop entries|desktop entry]]-k használatával létrehoz egy lisát a telepített alkalmazásokról. Alternatívaként a {{AUR|j4-dmenu-desktop-git}} csomag használható.

== Beállítás ==

See [http://i3wm.org/docs/userguide.html#configuring Configuring i3] for details. The rest of this article assumes the ''i3'' configuration file to be in the folder {{ic|~/.config}}.

=== Konfiguráció varázsló és alternatív billentyűzetkiosztások ===

When ''i3'' is first started, it offers to run the configuration wizard ''i3-config-wizard''. This tool creates {{ic|~/.config/i3/config}} by rewriting a template configuration file in {{ic|/etc/i3/config.keycodes}}. It makes two modifications to the default template:

# It asks the user to choose a default modifier key, which it adds to the template as a single line, like {{ic|set $mod Mod1}}; and

# it replaces all ''bindcode'' lines with ''bindsym'' lines corresponding to the user's current keyboard layout.

Step 2 is designed to ensure that the four navigation shortcuts, {{ic|j}}, {{ic|k}}, {{ic|l}} and "semicolon" on a Qwerty keyboard, will be mapped to keysyms which have the same location, e.g. {{ic|h}}, {{ic|t}}, {{ic|n}}, {{ic|s}} on a [[Dvorak]] keyboard. The side-effect of this magic is that up to fifteen other keysyms may be remapped in ways which break the mnemonics - so that, for a Dvorak user, "restart" is bound to {{ic|$mod1+p}} instead of {{ic|$mod1+r}}, "split horizontally" is bound to {{ic|$mod1+d}} instead of {{ic|$mod1+h}}, and so on.

Therefore, users of alternate keyboard layouts who want straightforward key bindings, which match the bindings given in tutorials, may prefer to circumvent the "config wizard". This can be done by just copying {{ic|/etc/i3/config}} into {{ic|~/.config/i3/config}} (or {{ic|~/.i3/config}}), and editing that file.

Note that a keycode-based configuration is also possible, e.g. for users who often switch between keyboard layouts, but want the i3 bindings to stay the same.

=== Színsémák ===

The configuration file allows for customization of window decoration colors, but the syntax makes it impractical to create or share themes. There are several projects which make this easier and include a variety of user-contributed themes.

* {{App|i3-style|Modifies your config in place from a theme stored in a JSON object, designed for frequently tweaking or changing a colorscheme|https://github.com/acrisci/i3-style|{{Aur|nodejs-i3-style}}{{Broken package link|{{aur-mirror|nodejs-i3-style}}}}}}

* {{App|j4-make-config|Merge your config with a collection of themes or personal config parts, for example host-specific configuration, allowing quick changing of the theme and flexible, dynamic customization of the configuration|https://github.com/okraits/j4-make-config|{{Aur|j4-make-config-git}}}}

=== i3bar ===

In addition to showing workspace information, i3bar can act as an input for i3status or an alternative, such as those mentioned in the next section. For example:

{{hc|~/.config/i3/config|2=

bar {

output LVDS1

status_command i3status

position top

mode hide

workspace_buttons yes

tray_output none

font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1

colors {

background #000000

statusline #ffffff

focused_workspace #ffffff #285577

active_workspace #ffffff #333333

inactive_workspace #888888 #222222

urgent_workspace #ffffff #900000

}

}

}}

See the [http://i3wm.org/docs/userguide.html#_configuring_i3bar Configuring i3bar] for details.

==== i3bar alternatívák ====

Some users may prefer panels such as those provided by conventional [[Desktop environment|Desktop Environments]]. This can be achieved within i3 by launching the panel application of choice during startup.

For the [[Xfce#Panel|XFCE panel]]{{Broken section link}}, add the following line anywhere in {{ic|~/.config/i3/config}}:

exec --no-startup-id xfce4-panel --disable-wm-check

i3bar can be disabled by commenting the {{ic|<nowiki>bar{ }</nowiki>}} section of {{ic|~/.config/i3/config}}, or defining a keybind to toggle the bar:

{{hc|~/.config/i3/config|

# bar toggle, hide or show

bindsym $mod+m bar mode toggle

}}

=== i3status ===

Copy over the default configuration files to the home directory:

$ cp /etc/i3status.conf ~/.config/i3status/config

Not all plugins are defined in the default configuration and some configuration values may be invalid for your system, so the need to be updated accordingly. See {{ic|man i3status}} for details.

==== i3status replacements ====

* {{App|[[conky]]| Highly extensible system monitor. For usage with i3bar see [http://i3wm.org/docs/user-contributed/conky-i3bar.html this tutorial] |https://github.com/brndnmtthws/conky|{{Pkg|conky}}}}

* {{App|[[i3blocks]]|Extensible via shell scripts. It can handle click events, interrupts, and defining of refresh intervals on a per-block basis.|https://github.com/vivien/i3blocks|{{AUR|i3blocks}}}}

* {{App|i3pystatus|Extensible Python 3 status bar with many plugins and configuration options by default.|https://github.com/enkore/i3pystatus i3pystatus|{{AUR|i3pystatus-git}}}}

* {{App|i3situation|Another Python 3 status bar generator.|https://github.com/HarveyHunt/i3situation|{{Aur|i3situation-git}}}}

* {{App|j4status|Provides a statusline, configurable via plugins, and written in C. Extra plugins are provided by {{Aur|j4status-plugins-git}}.|http://j4status.j4tools.org/|{{Aur|j4status-git}}}}

* {{App|goi3bar|i3status replacement written in Go. Configuration-file driven with several plugins, concurrency options, and rich plugin support.|https://github.com/denbeigh2000/goi3bar/|{{Aur|goi3bar-git}}}}

* {{App|goblocks|Fast, lightweight i3status replacement written in Go.|https://github.com/davidscholberg/goblocks|{{Aur|goblocks}}}}

* {{App|bumblebee-status|Theme-able Python status bar generator.|https://github.com/tobi-wan-kenobi/bumblebee-status|{{Aur|bumblebee-status-git}}}}

* {{App|ty3status|i3status replacement written in Typescript. Built with first class support for javascript blocks.|https://github.com/mrkmg/ty3status|{{Aur|ty3status-git}}}}

==== i3status wrappers ====

* {{App|i3cat|A [[go]] based wrapper which can concatenate inputs from multiple external sources. It can handle click events and forwarding user specified signals to its subprocesses.|http://vincent-petithory.github.io/i3cat/|{{AUR|i3cat-git}}}}

* {{App|py3status|An extensible i3status wrapper written in Python.|https://github.com/ultrabug/py3status|{{Aur|py3status}}}}

==== Iconic fonts in the status bar ====

''i3bar'' can be [[#Patches|patched]] for XBM icon support, but you can use iconic font sets instead.

* {{App|ttf-font-awesome|Scalable vector icons that can be customized with CSS. A [http://fortawesome.github.io/Font-Awesome/cheatsheet/ cheatsheet] shows the Unicode point for each glyph.|http://fortawesome.github.io/Font-Awesome/|{{AUR|ttf-font-awesome}}}}

* {{App|ttf-font-icons|Non-overlapping and consistently sized mix of Awesome and Ionicons. This also avoids minor overlapping between DejaVu Sans and Awesome.|http://kageurufu.net/icons.pdf|{{AUR|ttf-font-icons}}}}.

To combine fonts, define a font fallback sequence in your configuration file, separating fonts with {{ic|,}} like so:

{{hc|~/.config/i3/config|2=

bar {

...

font pango:DejaVu Sans Mono, Icons 8

...

}

}}

In accordance with [https://developer.gnome.org/pango/stable/pango-Fonts.html#pango-font-description-from-string pango syntax], font size is specified only once, at the end of the comma-separated list of font families. Setting a size for each font would cause all but the last font to be ignored.

Add icons to the format strings in {{ic|~/.config/i3status/config}} using the unicode numbers given in the cheatsheets linked above. The input method will vary between text editors. For instance, to insert the "heart" icon (unicode number f004):

{{Merge|Internationalization|Should be described in one place; see also [[ArchWiki:Requests#Input methods]].}}

* in various gui text editors (e.g. [[gedit]], Leafpad) and terminals (e.g. GNOME Terminal, xfce4-terminal): {{ic|ctrl+shift+u}}, {{ic|f004}}, {{ic|Enter}}

* in [[Emacs]]: {{ic|ctrl+x}}, {{ic|8}}, {{ic|Enter}}, {{ic|f004}}, {{ic|Enter}}

* in [[Vim]] (while in insert mode): {{ic|Ctrl+v}}, {{ic|uf004}}

* in [[urxvt]]: while holding {{ic|Ctrl+Shift}}, type {{ic|f004}}

=== Terminal emulator ===

By default when pressing {{ic|$mod+Return}} it launches the {{ic|i3-sensible-terminal}} which is a script that invokes a terminal. See {{ic|man i3-sensible-terminal}} for the order terminals are invoked in.

To instead launch a terminal of choice, modify this line in {{ic|~/.config/i3/config}}:

bindsym $mod+Return exec i3-sensible-terminal

Alternatively, set the {{ic|$TERMINAL}} [[environment variable]].

== Tips and tricks ==

=== Advanced window navigation ===

See [http://www.slackword.net/?p=657 i3 window Navigation Tips].

=== Jump to open window ===

*{{App|quickswitch-i3|Python utility to quickly change to and locate windows in i3|https://github.com/proxypoke/quickswitch-for-i3|{{Aur|quickswitch-i3}}}}

*{{App|i3-wm-scripts|search for and jump to windows with particular names matching regexp|https://github.com/yiuin/i3-wm-scripts||}}

*{{App|winmenupy|Launches dmenu with a list of clients, sorted after workspaces. Selecting a client jumps to that window.|https://github.com/ziberna/i3-py/blob/master/examples/winmenu.py||}}

*{{App|[[rofi]]|Search and jump to open and scratchpad window|https://davedavenport.github.io/rofi/|{{Pkg|rofi}}}}

=== Jump to urgent window ===

Add to {{ic|.i3/config}}: [https://faq.i3wm.org/question/853/how-to-jump-to-urgent-workspace/]

bindsym $mod+x [urgent=latest] focus

=== Save and restore the window layout ===

From version 4.8, and onward ''i3'' can save and restore workspace layouts. To do this, the following packages are needed: {{Pkg|perl-anyevent-i3}} and {{Pkg|perl-json-xs}} from the [[official repositories]].

{{note| This section only provides quick tutorial on how to save the current window layout of a single workspace and how to restore it for later use. Refer to the [http://i3wm.org/docs/layout-saving.html official documentation] for more details}}

==== Save the current window layout of a single workspace ====

To save the current window layout, follow these steps:

# First, execute various commands to open windows in a preferred workspace and resize them if needed. Make sure to write down each executed command for each window.

# Now, in a new workspace, open a terminal and run the following: {{bc|i3-save-tree --workspace N > ~/.i3/workspace_N.json}} where N is the number of the preferred workspace. This will save the current layout of workspace N to the file {{ic|~/.i3/workspace_N.json}}.

# The newly created file needs to be edited, however this may be done with the following commands: {{bc|<nowiki>tail -n +2 ~/.i3/workspace_N.json | fgrep -v '// splitv' | sed 's|//||g' > ~/.i3/workspace_N.json</nowiki>}}

==== Restore the window layout of the workspace ====

There are two ways to restore the layout of the workspace: by writing a script, or by editing {{ic|~/.i3/config}} to automatically load the layout. In this section only the first case will be considered, refer to the [http://i3wm.org/docs/layout-saving.html#_restoring_the_layout official documentation] for the second case.

To restore the saved layout in the previous section, write a file named {{ic|load_layout.sh}} with the following contents:

* The starting lines:

{{hc|head=~/load_layout.sh|output=

#!/bin/bash

i3-msg "workspace M; append_layout ~/.i3/workspace_N.json"

}}

where M is the number of the workspace in which you would like to load the previously saved layout and N is the number of workspace saved in the previous section.

* And the commands used in the previous section to get the preferred windows, but enclosed in parentheses and with an ampersand appended before the last parentheses.

For example, if the saved layout contained three {{ic|uxterm}} windows:

{{hc|head=~/load_layout.sh|output=

#!/bin/bash

# First we append the saved layout of worspace N to workspace M

i3-msg "workspace M; append_layout ~/.i3/workspace_N.json"

# And finally we fill the containers with the programs they had

(uxterm &)

(uxterm &)

(uxterm &)

}}

Then set the file as executable:

chmod u+x ~/load_layout.sh

And finally, the layout of worskpace N can be loaded onto to workspace M by running:

~/load_layout.sh

{{tip|Adding {{ic|bindsym $mod+g exec ~/load_layout.sh}} to {{ic|~/.i3/config}} and restarting i3 will bind Mod+g to run the above script.}}

{{note|If the above script does not work properly, refer to the [http://i3wm.org/docs/layout-saving.html#_editing_layout_files official documentation]. The ''swallows'' sections of {{ic|~/.i3/workspace_N.json}} needs to be manually edited.}}

=== Scratchpad containers ===

By default, [http://i3wm.org/docs/userguide.html#_scratchpad scratchpads] only contain a single window. However, containers can also be made a scratchpad.

Create a new container (for example, {{ic|Mod+Enter}}), split it ({{ic|Mod+v}}) and create another container. Focus the parent ({{ic|Mod+a}}), split in the opposite direction ({{ic|Mod+h}}), and create again.

Focus the first container (with focus parent as needed), make the window floating ({{ic|Mod+Shift+Space}}), and move it to the scratchpad ({{ic|Mod+Shift+-}}). You can now split containers to preference.

{{Note|Containers cannot be resized individually in floating windows. Resize the containers before making windows floating.}}

{{Tip|When only using terminal applications, consider a multiplexer such as [[tmux]] instead.}}

See also [https://faq.i3wm.org/question/138/multiple-scratchpad/i3] for multiple scratchpads.

=== Screensaver and power management ===

With [[Power management#xss-lock]] you can register a screenlocker for your i3 session. The {{ic|-time}} option locks the screen after a given time period.

xautolock -time 10 -locker "i3lock -i 'background_image.png'" &

A [[systemd]] service file can be used to lock the screen before the system is being sent to sleep or hibernation state. See [[Power management#Suspend/resume service files]]. Note that i3lock requires the type of the service to be {{ic|forking}}.

See also [[DPMS]].

=== Shutdown, reboot, lock screen ===

Key combinations for shutdown, reboot and screenlock can be added to {{ic|~/.config/i3/config}}. The below example assumes you have {{Pkg|polkit}} installed to allow unprivileged users to run [[systemd#Power_management|power management]] commands.

{{bc|

set $Locker i3lock && sleep 1

set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown

mode "$mode_system" {

bindsym l exec --no-startup-id $Locker, mode "default"

bindsym e exec --no-startup-id i3-msg exit, mode "default"

bindsym s exec --no-startup-id $Locker && systemctl suspend, mode "default"

bindsym h exec --no-startup-id $Locker && systemctl hibernate, mode "default"

bindsym r exec --no-startup-id systemctl reboot, mode "default"

bindsym Shift+s exec --no-startup-id systemctl poweroff -i, mode "default"

# back to normal: Enter or Escape

bindsym Return mode "default"

bindsym Escape mode "default"

}

bindsym $mod+Pause mode "$mode_system"

}}

Once completed, you will be presented with a prompt whenever you press {{ic|$mod+pause}}. For more complex behaviour, use a separate script, and refer to it in the mode. [https://gist.github.com/anonymous/c8cd0a59bf4acb273068]

{{Note|1=<br>

* {{ic|sleep 1}} adds a small delay to prevent possible race conditions with suspend [https://bugs.launchpad.net/ubuntu/+source/unity-2d/+bug/830348]

* The {{ic|-i}} argument for {{ic|systemctl poweroff}} causes a shutdown even if other users are logged-in (this requires {{Pkg|polkit}}), or when ''logind'' (wrongly) assumes so. [https://bugs.freedesktop.org/show_bug.cgi?id=62676]

}}

For a list of alternative screen lockers, see [[List of applications/Security#Screen lockers]].

===External displays manual management===

Thanks to [[xrandr]] there are many ways to easily manage systems displays. The below example integrates it in the i3 config file, and behave as the Power Management section above.

Here a laptop with both VGA and HDMI outputs will use a menu selection to switch them On/Off:

## Manual management of external displays

# Set the shortcuts and what they do

set $mode_display Ext Screen (v) VGA ON, (h) HDMI ON, (x) VGA OFF, (y) HDMI OFF

mode "$mode_display" {

bindsym v exec --no-startup-id xrandr --output VGA1 --auto --right-of LVDS1, mode "default"

bindsym h exec --no-startup-id xrandr --output HDMI1 --auto --right-of LVDS1, mode "default"

bindsym x exec --no-startup-id xrandr --output VGA1 --auto --off, mode "default"

bindsym y exec --no-startup-id xrandr --output HDMI1 --auto --off, mode "default"

# back to normal: Enter or Escape

bindsym Return mode "default"

bindsym Escape mode "default"

}

# Declare here the shortcut to bring the display selection menu

bindsym $mod+x mode "$mode_display"

Any window that is still open in a switched Off display will automatically come back to the remaining active display.

The simplest way to determine names of your devices is to plug the device you wish to use and run:

$ xrandr --query

which will output the available, recognized devices and their in-system names to set your config file appropriately.

Refer to the [[xrandr]] page or man page for the complete list of available options, the [http://i3wm.org/docs/userguide.html i3 userguide] and/or the [https://www.reddit.com/r/i3wm i3 FAQ on reddit] for more info.

=== Tabbed or stacked web-browsing ===

Some web-browsers intentionally do not implement tabs, since managing tabs is considered to be the task of the window manager, not the task of the browser.

To let i3 manage your tab-less web-browser, in this example for [[uzbl]], add the following line to your {{ic|~/.config/i3/config}}

for_window [class="Uzbl-core"] focus child, layout stacking, focus

This is for stacked web browsing, meaning that the windows will be shown vertically. The advantage over tabbed browsing is that the window-titles are fully visible, even if a lot of browser windows are open.

If you prefer tabbed browsing, with windows in horizontal direction ('tabs'), use

for_window [class="Uzbl-core"] focus child, layout tabbed, focus

=== Workspace variables ===

As workspaces are defined multiple times in i3, assigning workspace variables can be helpful. For example:

set $WS1 term

set $WS2 web

set $WS3 misc

set $WS4 media

set $WS5 code

Then replace workspace names with their matching variables:

bindsym $mod+1 workspace $WS1

...

bindsym $mod+Shift+1 move container to workspace $WS1

See [http://i3wm.org/docs/userguide.html#_changing_named_workspaces_moving_to_workspaces Changing named workspaces] for more information.

=== Correct handling of floating dialogs ===

While dialogs should open in floating mode by default [http://i3wm.org/docs/userguide.html#_floating], many still open in tiling mode. To change this behaviour, check the dialog's {{ic|WM_WINDOW_ROLE}} with {{pkg|xorg-xprop}} and add the correct rules to {{ic|~/.i3/config}} (using [http://www.pcre.org/ pcre] syntax):

for_window [window_role="pop-up"] floating enable

for_window [window_role="task_dialog"] floating enable

You can also use title rules and regular expressions:

for_window [title="Preferences$"] floating enable

or {{ic|WM_CLASS}}:

for_window [class="(?i)mplayer"] floating enable

=== Network Download/Upload speed on statusbar ===

You might adapt this upstream [http://code.stapelberg.de/git/i3status/tree/contrib/measure-net-speed.bash script]. For that,

* rename both network cards according to your system (use {{ic|ip addr}})

* find them on {{ic|/sys/devices}} then replace them appropriately:

$ find /sys/devices -name ''network_interface''

{{Tip|Use {{ic|/sys/class/net/''interface''/statistics/}} to not depend on PCI location.}}

Now, just save the script in a suitable place (for example {{ic|~/.config/i3}}) and point your status program to it.

== Patches ==

{{Merge|#Installation|One package does not warrant a separate section}}

Packages with patches not merged upstream are available in the [[AUR]]:

* {{App|i3-wm-iconpatch|Titlebar icon support|https://github.com/ashinkarov/i3-extras|{{AUR|i3-wm-iconpatch}}}}

== Troubleshooting ==

=== General ===

In many cases, bugs are fixed in the development versions {{AUR|i3-git}} and {{AUR|i3status-git}}, and upstream will ask to reproduce any errors with this version. [http://i3wm.org/docs/debugging.html] See also [[Debug - Getting Traces#General]].

=== Buttons in the i3 message bar do not work ===

Buttons such as "Edit config" in {{ic|i3-nagbar}} call {{ic|i3-sensible-terminal}}, so make sure your [[#Terminal_emulator|Terminal emulator]] is recognized by i3.

=== Faulty line wraps in tiled terminals ===

i3 v4.3 and higher ignore size increment hints for tiled windows [https://www.mail-archive.com/i3-discuss@i3.zekjur.net/msg00709.html]. This may cause terminals to wrap lines prematurely, amongst other issues. As a workaround, make the offending window floating, before tiling it again.

=== Mouse cursor remains in waiting mode ===

When starting a script or application which does not support startup notifications, the mouse cursor will remain in busy/watch/clock mode for 60 seconds.

To solve this for a particlar application, use the {{ic|--no-startup-id}} parameter, for example:

exec --no-startup-id ~/script

bindsym $mod+d exec --no-startup-id dmenu_run

To disable this animation globally, see [[Cursor themes#Create links to missing cursors]].

=== Unresponsive key bindings ===

Some tools such as [[Taking_a_screenshot#scrot|scrot]] may not work when used with a regular key binding (executed after key press). In those cases, execute commands after key release with the {{ic|--release}} argument [http://i3wm.org/docs/userguide.html#keybindings]:

bindsym --release Print exec --no-startup-id scrot

bindsym --release Shift+Print exec --no-startup-id scrot -s

=== Tearing ===

i3 does [https://github.com/i3/i3/issues/661 not properly implement double buffering] hence tearing or flickering may occur. To prevent this, install and configure [[compton]]. [https://faq.i3wm.org/question/3279/do-i-need-a-composite-manager-compton.1#post-id-3282]

=== Tray icons not visible ===

The {{ic|tray_output primary}} directive may require setting a primary output with ''xrandr'', specifying the output explicitly or simply removing this directive. [https://github.com/i3/i3/issues/1144] See [[Xrandr]] for details. The default configuration created by i3-config-wizard no longer adds this directive to the configuration from i3 4.12.

== See also ==

* [http://i3wm.org Official website]

* [http://www.funtoo.org/I3_Tiling_Window_Manager funtoo Wiki]

* [http://code.stapelberg.de/git/i3 i3 Source code]

* [https://github.com/ashinkarov/i3-extras i3-extras] - Collection of scripts and patches

* [https://github.com/acrisci/i3ipc-glib i3ipc-glib] - A library for i3 extensions

* [https://github.com/veelenga/i3ipc-ruby i3ipc-ruby] - An improved library for i3 extensions in Ruby

* [http://www.j4tools.org/ j4tools] - non-official tools designed to work with i3

'''Arch Linux Forums'''

* [https://bbs.archlinux.org/viewtopic.php?id=99064 The i3 thread] - A general discussion about i3

* [https://bbs.archlinux.org/viewtopic.php?id=103369 i3 desktop screenshots and config sharing]

'''Screencasts'''

* [http://www.youtube.com/watch?v=Wx0eNaGzAZU i3 window manager v4.1 screencast]

* [https://www.youtube.com/watch?v=j1I63wGcvU4&index=1&list=PL5ze0DjYv5DbCv9vNEzFmP6sU7ZmkGzcf i3 window manager v4.1X screencasts]

Show more