<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>i3 FAQ - Individual question feed</title><link>https://faq.i3wm.org/questions/</link><description>Frequently asked questions and answers about the i3 window manager</description><atom:link href="http://faq.i3wm.org/feeds/question/6/" rel="self"></atom:link><language>en</language><copyright>Copyright i3, 2012</copyright><lastBuildDate>Sat, 07 Feb 2015 07:13:49 +0000</lastBuildDate><item><title>How can I set a desktop background image in i3?</title><link>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/</link><description>How can I set a desktop background image in i3?</description><pubDate>Mon, 04 Jun 2012 13:15:49 +0000</pubDate><guid>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/</guid></item><item><title>Answer by miguel for &lt;p&gt;How can I set a desktop background image in i3?&lt;/p&gt;
 </title><link>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?answer=8#post-id-8</link><description>If you don't use a graphical login manager which usually reads `~/.xsession`, you could set your background when X starts adding a line in your `~/.xinitrc` file:

&gt; feh --bg-scale /path/to/image</description><pubDate>Mon, 04 Jun 2012 14:13:57 +0000</pubDate><guid>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?answer=8#post-id-8</guid></item><item><title>Comment by miguel for &lt;p&gt;If you don't use a graphical login manager which usually reads &lt;code&gt;~/.xsession&lt;/code&gt;, you could set your background when X starts adding a line in your &lt;code&gt;~/.xinitrc&lt;/code&gt; file:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;feh --bg-scale /path/to/image&lt;/p&gt;
&lt;/blockquote&gt;
</title><link>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?comment=24#comment-24</link><description>In that case you could use `exec --no-startup-id feh --bg-scale /path/to/image`</description><pubDate>Mon, 04 Jun 2012 17:47:09 +0000</pubDate><guid>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?comment=24#comment-24</guid></item><item><title>Comment by DasLampe for &lt;p&gt;If you don't use a graphical login manager which usually reads &lt;code&gt;~/.xsession&lt;/code&gt;, you could set your background when X starts adding a line in your &lt;code&gt;~/.xinitrc&lt;/code&gt; file:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;feh --bg-scale /path/to/image&lt;/p&gt;
&lt;/blockquote&gt;
</title><link>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?comment=23#comment-23</link><description>I've add this line to i3 config file. It works too. ;)</description><pubDate>Mon, 04 Jun 2012 17:40:48 +0000</pubDate><guid>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?comment=23#comment-23</guid></item><item><title>Comment by Benoitt for &lt;p&gt;If you don't use a graphical login manager which usually reads &lt;code&gt;~/.xsession&lt;/code&gt;, you could set your background when X starts adding a line in your &lt;code&gt;~/.xinitrc&lt;/code&gt; file:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;feh --bg-scale /path/to/image&lt;/p&gt;
&lt;/blockquote&gt;
</title><link>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?comment=37#comment-37</link><description>I use this one. Perfect !</description><pubDate>Tue, 05 Jun 2012 13:01:30 +0000</pubDate><guid>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?comment=37#comment-37</guid></item><item><title>Answer by Atmoz for &lt;p&gt;How can I set a desktop background image in i3?&lt;/p&gt;
 </title><link>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?answer=10#post-id-10</link><description>You can use **nitrogen** (simple GUI with multi-monitor support) to set wallpapers. Restore your settings on startup by adding the following line to your **~/.i3/config**:

`exec --no-startup-id nitrogen --restore`</description><pubDate>Mon, 04 Jun 2012 15:29:04 +0000</pubDate><guid>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?answer=10#post-id-10</guid></item><item><title>Comment by Hibou57 for &lt;p&gt;You can use &lt;strong&gt;nitrogen&lt;/strong&gt; (simple GUI with multi-monitor support) to set wallpapers. Restore your settings on startup by adding the following line to your &lt;strong&gt;~/.i3/config&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;exec --no-startup-id nitrogen --restore&lt;/code&gt;&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?comment=1530#comment-1530</link><description>Why `exec` instead of `exec_always`? Is there something wrong using `exec_always` for a background handler?</description><pubDate>Wed, 03 Apr 2013 16:13:01 +0000</pubDate><guid>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?comment=1530#comment-1530</guid></item><item><title>Comment by Michael for &lt;p&gt;You can use &lt;strong&gt;nitrogen&lt;/strong&gt; (simple GUI with multi-monitor support) to set wallpapers. Restore your settings on startup by adding the following line to your &lt;strong&gt;~/.i3/config&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;exec --no-startup-id nitrogen --restore&lt;/code&gt;&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?comment=13#comment-13</link><description>I think you want to use `exec --no-startup-id nitrogen --restore` here because nitrogen doesn’t open any windows.</description><pubDate>Mon, 04 Jun 2012 15:43:51 +0000</pubDate><guid>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?comment=13#comment-13</guid></item><item><title>Comment by Atmoz for &lt;p&gt;You can use &lt;strong&gt;nitrogen&lt;/strong&gt; (simple GUI with multi-monitor support) to set wallpapers. Restore your settings on startup by adding the following line to your &lt;strong&gt;~/.i3/config&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;exec --no-startup-id nitrogen --restore&lt;/code&gt;&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?comment=16#comment-16</link><description>Thanks for the answer, now I finally know why the mouse pointer always looks like an hourglass on startup :-)</description><pubDate>Mon, 04 Jun 2012 15:53:30 +0000</pubDate><guid>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?comment=16#comment-16</guid></item><item><title>Comment by Atmoz for &lt;p&gt;You can use &lt;strong&gt;nitrogen&lt;/strong&gt; (simple GUI with multi-monitor support) to set wallpapers. Restore your settings on startup by adding the following line to your &lt;strong&gt;~/.i3/config&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;exec --no-startup-id nitrogen --restore&lt;/code&gt;&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?comment=14#comment-14</link><description>What exactly does --no-startup-id do, and what is the benefit?</description><pubDate>Mon, 04 Jun 2012 15:49:17 +0000</pubDate><guid>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?comment=14#comment-14</guid></item><item><title>Comment by Michael for &lt;p&gt;You can use &lt;strong&gt;nitrogen&lt;/strong&gt; (simple GUI with multi-monitor support) to set wallpapers. Restore your settings on startup by adding the following line to your &lt;strong&gt;~/.i3/config&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;exec --no-startup-id nitrogen --restore&lt;/code&gt;&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?comment=15#comment-15</link><description>--no-startup-id disables startup notifications for this window. They are used to properly launch windows on the right workspace when starting and to display an hourglass mouse pointer while startup is in progress. In this case you’d end up with an hourglass mouse pointer for 60 seconds.</description><pubDate>Mon, 04 Jun 2012 15:51:00 +0000</pubDate><guid>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?comment=15#comment-15</guid></item><item><title>Answer by Michael for &lt;p&gt;How can I set a desktop background image in i3?&lt;/p&gt;
 </title><link>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?answer=7#post-id-7</link><description>The background image configuration does not depend on the window manager. i3 will not touch the X11 root window (which is the window on which the background is set), so you need to set a background with an external program.

Many people use `feh`, see https://wiki.archlinux.org/index.php/Feh#As_a_desktop_wallpaper_manager

To set a static color (not an image), use

    xsetroot -solid "#333333"

You can place the `feh` or `xsetroot` call either in your `~/.xsession` before `exec`ing i3, or (in case you don’t use `~/.xsession`) in your i3 configuration file `~/.i3/config`:

    exec --no-startup-id xsetroot -solid "#333333"</description><pubDate>Mon, 04 Jun 2012 13:17:04 +0000</pubDate><guid>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?answer=7#post-id-7</guid></item><item><title>Comment by inconceivable for &lt;p&gt;The background image configuration does not depend on the window manager. i3 will not touch the X11 root window (which is the window on which the background is set), so you need to set a background with an external program.&lt;/p&gt;

&lt;p&gt;Many people use &lt;code&gt;feh&lt;/code&gt;, see &lt;a href="https://wiki.archlinux.org/index.php/Feh#As"&gt;https://wiki.archlinux.org/index.php/...&lt;/a&gt;&lt;em&gt;a&lt;/em&gt;desktop&lt;em&gt;wallpaper&lt;/em&gt;manager&lt;/p&gt;

&lt;p&gt;To set a static color (not an image), use&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;xsetroot -solid "#333333"
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;You can place the &lt;code&gt;feh&lt;/code&gt; or &lt;code&gt;xsetroot&lt;/code&gt; call either in your &lt;code&gt;~/.xsession&lt;/code&gt; before &lt;code&gt;exec&lt;/code&gt;ing i3, or (in case you don’t use &lt;code&gt;~/.xsession&lt;/code&gt;) in your i3 configuration file &lt;code&gt;~/.i3/config&lt;/code&gt;:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;exec --no-startup-id xsetroot -solid "#333333"
&lt;/code&gt;&lt;/pre&gt;
</title><link>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?comment=5434#comment-5434</link><description>I found that #002244 complements the default window focus color nicely. It's also not too bright to blind you when you close all your windows.</description><pubDate>Sat, 07 Feb 2015 07:13:49 +0000</pubDate><guid>https://faq.i3wm.org/question/6/how-can-i-set-a-desktop-background-image-in-i3/?comment=5434#comment-5434</guid></item></channel></rss>