sindresorhus / wallpaper

Manage the desktop wallpaper
MIT License
1.05k stars 91 forks source link

Support for multiple screens on Windows #5

Open gpapin opened 9 years ago

gpapin commented 9 years ago

Hi,

I'm wondering how do you handle multiscreen configuration ? Are you setting the same image on different screen or can you assign an image as a wallpaper for a particular screen (or desktop in case of osx).

I can identify 3 use-cases :

sindresorhus commented 9 years ago

Currently I'm just setting the first screen. I'm not on a multiscreen config, so wasn't a priority.

Related: https://github.com/sindresorhus/osx-wallpaper/issues/2

dorian-marchal commented 9 years ago

I'm on Ubuntu, with a multiscreen configuration and wallpaper.set set my wallpaper on both screens (first use-case).

sindresorhus commented 9 years ago

@dorian-marchal Yeah, it's hard to preserve the same behaviour cross-platform. It only sets the wallpaper on the first screen on OS X and Windows. No idea if there's any way to do the same on Ubuntu. https://github.com/sindresorhus/linux-wallpaper/blob/master/index.js

dorian-marchal commented 9 years ago

I like it this way, I think this the desirable behaviour (unless wallpaper offers a way to change both screens independently).

sindresorhus commented 9 years ago

@dorian-marchal Yeah, I guess I could make that default for all platforms for now, but not sure, people in https://github.com/sindresorhus/osx-wallpaper/issues/2 seems to think differently.

kevva commented 9 years ago

@sindresorhus, I don't think you can have different backgrounds on Linux (Ubuntu) on different screens by default, at least not without using an external tool. It's always going to use the same one on all screens.

sindresorhus commented 6 years ago

Support for multiple screens was added for macOS in v4.

lqzhgood commented 5 years ago

this App can set multiple screens on Windows But I won't C language. Maybe it will help you

https://github.com/Phantom12/Unsplash-Wallpaper-Windows

nikolay-borzov commented 5 years ago

Apparently, in order to set wallpapers for multiple monitors images must be combined into one and result wallpaper should be tiled. See stack overflow answer