You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Set different wallpapers for MacBook and external monitor

My setup is a MacBook and an external monitor.


I cannot find a way to have two different wallpapers, one for the MacBook and one for the external monitor:

  1. With the external monitor connected and the MacBook not closed, I set the two different wallpapers and everything clearly works
  2. If I now close the Macbook's monitor, two things can happen:
    1. If the external monitor was set as primary monitor then it's wallpaper won't change
    2. Otherwise the external monitor wallpaper will be changed to the one set on the MacBook (because now the external monitor will be the primary monitor)
  3. But if I set the external monitor as primary monitor, when I disconnect the external monitor from the MacBook, the MacBook's wallpaper will be changed to the one set for the external monitor..


It seems that the wallpaper is associated to the primary and the extended monitor, instead of the monitor itself..


Does somebody know if there is a solution that's not changing the wallpaper every time?

Thanks!

MacBook Air, macOS 13.2

Posted on Feb 27, 2023 10:50 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 30, 2023 2:43 PM

After a lot of digging, this is what I found out (if useful to anyone else, also to dig deeper into this problem):


In Settings -> Desktop & Dock -> Mission Control, I had flagged:

  • Automatically rearrange Spaces based on most recent use
  • Displays have separate Spaces


With this settings, with the macbook opened and connected to the external monitor, I couldn't use different wallpapers on the two different monitors (the external and the macbook's one, which have different ratio): as explained in the request, plugging and unplugging the external monitor caused one monitor to inherit the wallpaper that was set on the other (one way or the other, based on which monitor's Space the wallpaper was set).


The FIX I found (not a solution) is to uncheck in Settings: Displays have separate Spaces.


Doing that, you need to set the external monitor as primary monitor when connected, so the dock will appear on the external monitor and the macbook will become an extension of the external monitor.

But doing so will let you set different wallpapers on the macbook and the external monitor and keep them when plugging/unplugging the external monitor.


Said that, here are some nerdy technical stuff I figured out (using macOS Ventura).


The wallpapers settings are stored in this file:

/Users/tommy/Library/Application\ Support/Dock/desktoppicture.db


It's an SQLite database, you can open it with "DB Browser for SQLite".

Inside there are these tables:

  • Data: the currently used wallpapers paths and directories
  • Displays: the used displays (in my case the macbook's one and the external monitor)
  • Spaces: all the used spaces
  • Pictures: the mapping of spaces in displays (+ NULL ??)
  • Preferences: the mapping of pictures and data (+ key??)
  • Prefs: empty (not needed??)

If you use "DB Browser for SQLite", right click on the table columns header to show the rowID (it's all based on rowIDs).


After some tests, watching the results, my opinion is that the code managing the wallpapers needs a lot of improvements, if not fixes:

  • displays and spaces are not cleaned up when removed (maybe are cached)
  • it's not obvious the meaning of NULL in Pictures for both spaces and displays
  • the "jump" of spaces from one display (when unplugged) to another seems bugged at least
  • in Preferences, the data should be updated accordingly to which display a space is "jumped to"
2 replies
Sort By: 
Question marked as Top-ranking reply

Mar 30, 2023 2:43 PM in response to tommy_91

After a lot of digging, this is what I found out (if useful to anyone else, also to dig deeper into this problem):


In Settings -> Desktop & Dock -> Mission Control, I had flagged:

  • Automatically rearrange Spaces based on most recent use
  • Displays have separate Spaces


With this settings, with the macbook opened and connected to the external monitor, I couldn't use different wallpapers on the two different monitors (the external and the macbook's one, which have different ratio): as explained in the request, plugging and unplugging the external monitor caused one monitor to inherit the wallpaper that was set on the other (one way or the other, based on which monitor's Space the wallpaper was set).


The FIX I found (not a solution) is to uncheck in Settings: Displays have separate Spaces.


Doing that, you need to set the external monitor as primary monitor when connected, so the dock will appear on the external monitor and the macbook will become an extension of the external monitor.

But doing so will let you set different wallpapers on the macbook and the external monitor and keep them when plugging/unplugging the external monitor.


Said that, here are some nerdy technical stuff I figured out (using macOS Ventura).


The wallpapers settings are stored in this file:

/Users/tommy/Library/Application\ Support/Dock/desktoppicture.db


It's an SQLite database, you can open it with "DB Browser for SQLite".

Inside there are these tables:

  • Data: the currently used wallpapers paths and directories
  • Displays: the used displays (in my case the macbook's one and the external monitor)
  • Spaces: all the used spaces
  • Pictures: the mapping of spaces in displays (+ NULL ??)
  • Preferences: the mapping of pictures and data (+ key??)
  • Prefs: empty (not needed??)

If you use "DB Browser for SQLite", right click on the table columns header to show the rowID (it's all based on rowIDs).


After some tests, watching the results, my opinion is that the code managing the wallpapers needs a lot of improvements, if not fixes:

  • displays and spaces are not cleaned up when removed (maybe are cached)
  • it's not obvious the meaning of NULL in Pictures for both spaces and displays
  • the "jump" of spaces from one display (when unplugged) to another seems bugged at least
  • in Preferences, the data should be updated accordingly to which display a space is "jumped to"
Reply

Feb 27, 2023 3:19 PM in response to tommy_91

tommy_91 wrote:

1. My setup is a MacBook and an external monitor.

I cannot find a way to have two different wallpapers, one for the MacBook and one for the external monitor:
With the external monitor connected and the MacBook not closed, I set the two different wallpapers and everything clearly works
2. If I now close the Macbook's monitor, two things can happen:
1. If the external monitor was set as primary monitor then it's wallpaper won't change
2. Otherwise the external monitor wallpaper will be changed to the one set on the MacBook (because now the external monitor will be the primary monitor)
3. But if I set the external monitor as primary monitor, when I disconnect the external monitor from the MacBook, the MacBook's wallpaper will be changed to the one set for the external monitor..

It seems that the wallpaper is associated to the primary and the extended monitor, instead of the monitor itself..

Does somebody know if there is a solution that's not changing the wallpaper every time?
Thanks!


Call Customer Support (800) MY–APPLE (800–692–7753)

or on line https://getsupport.apple.com/



Reply

Set different wallpapers for MacBook and external monitor

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.