The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

Assigning individual wallpaper to monitors

asked 2015-07-03 13:40:30 +0000

a_flamethrowing_duck gravatar image

I usually use feh --bg-scale wallpaper.png to choose my wallpaper, but I do now have a multimonitor setup with different resolutions.

How do I assign individual wallpapers to the specified monitors?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2015-07-06 03:47:31 +0000

Serp_C gravatar image

updated 2015-07-07 02:08:44 +0000

Here are a couple of ways to accomplish this:

  1. You could use Nitrogen. A dropdown menu in its Preferences window lets you select which screen's wallpaper to change. See the information here. Note that you'll need to add exec --no-startup-id nitrogen --restore to your .i3/config to have your wallpaper settings restored every time you login.

  2. Alternatively, you could use the X display's DISPLAY environment variable. As described here, if you change the DISPLAY variable when you launch feh, you can set the wallpaper for that display. If you have multiple screens set up in xorg.conf, you can change the wallpaper on the first screen with:

    DISPLAY=:0.0 feh --bg-scale /path/to/wallpaper.png
    

    and change the second screen's wallpaper with:

    DISPLAY=:0.1 feh --bg-scale /path/to/wallpaper.png
    

Note that neither of these are specific to i3.

edit flag offensive delete link more

Comments

I know it's ridiculous that I answer now, but the DISPLAY method doesn't work, as it states DISPLAY=0.1 can't be opened and when I set the wallpaper for DISPLAY=0.0 both screen's wallpapers change. Nitrogen works fine though!

a_flamethrowing_duck gravatar imagea_flamethrowing_duck ( 2015-07-27 14:12:13 +0000 )edit

Question Tools

1 follower

Stats

Asked: 2015-07-03 13:40:30 +0000

Seen: 615 times

Last updated: Jul 07