Assigning individual wallpaper to monitors
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?
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?
Here are a couple of ways to accomplish this:
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.
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.
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!
Asked: 2015-07-03 13:40:30 +0000
Seen: 615 times
Last updated: Jul 07