DisableMonitor icon indicating copy to clipboard operation
DisableMonitor copied to clipboard

Store Settings & Load them on App Load

Open Pbryanw opened this issue 11 years ago • 12 comments
trafficstars

Hi, I've noticed that if you disable a display, the settings don't carry across sessions.

I'm just wondering if there's a way to disable a screen on startup, or if you would consider adding such an option?

Thanks, Paul

Pbryanw avatar Sep 20 '14 17:09 Pbryanw

Hi thanks four your report,

Great Idea! Next Release!

Eun avatar Sep 22 '14 09:09 Eun

Thanks, that's great news!

Pbryanw avatar Sep 22 '14 16:09 Pbryanw

Just for letting you know: Version 1.7 has console support. Cheerio!

Eun avatar Sep 25 '14 15:09 Eun

I cannot reproduce the problem you described, could you make a little step by step guide that leeds to the Problem?

Eun avatar Sep 26 '14 08:09 Eun

Hi,

  1. Firstly, I put DisableMonitor.app into my Login Items so it starts on login.
  2. Next I use the Displays Preference to put my monitors into a side-by-side arrangement. Monitors are not mirrored.
  3. Disable the monitor I'm not using in DisableMonitor App.
  4. Reboot, or logout and in again. Disabled monitor is re-enabled.

If it's possible, I'd like DisableMonitor to remember to disable my preferred monitor on startup if the App is set to start on logon. However, this is just my ideal usage model.

Pbryanw avatar Sep 26 '14 16:09 Pbryanw

Currently its just an On-The-Fly App, without storing settings. But probably I will add this later.

Eun avatar Oct 30 '14 10:10 Eun

Hi, many thanks for considering this. I accept now that it's more the unique way I use my dual-monitor setup that makes me want this feature, so hopefully it can be included in a future update, but I also accept it's probably not a feature that would get used by many users.

Pbryanw avatar Oct 30 '14 11:10 Pbryanw

+1 Also maybe adding a button to automatically load on login.

vjustov avatar May 13 '15 17:05 vjustov

+1 for automatically saving and loading on restart. Currently it forgets all settings.

iangregsondev avatar Aug 30 '15 05:08 iangregsondev

Later when, 2016?

sirNemanjapro avatar Aug 30 '15 07:08 sirNemanjapro

Just use the cli and call the settings you would like in a startup script you place in login items. Or alternatively add a plist to call a script invoking the cli during boot. You know, something like this:

#!usr/bin/bash #disables first-listed monitor /Applications/DisableMonitor.app/Contents/MacOS/DisableMonitor -d /Applications/DisableMonitor.app/Contents/MacOS/DisableMonitor -l | grep LCD | grep [A-Za-z] | head -1 | sed 's|[A-Za-z]||g' /Applications/DisableMonitor.app/Contents/MacOS/DisableMonitor -d /Applications/DisableMonitor.app/Contents/MacOS/DisableMonitor -l | grep LCD | grep [A-Za-z] | head -2 | tail -1 | sed 's|[A-Za-z]||g' #head -n | tail -1 would disable the nth monitor listed by #/Applications/DisableMonitor.app/Contents/MacOS/DisableMonitor -l #this would would disable the last listed monitor /Applications/DisableMonitor.app/Contents/MacOS/DisableMonitor -d /Applications/DisableMonitor.app/Contents/MacOS/DisableMonitor -l | grep LCD | grep [A-Za-z] | tail -1 | sed 's|[A-Za-z]||g'

You can use this method to place the primary display wherever you like on start. Just disable the other ones and then reenable the ones you want to use.

SamSpector avatar Aug 30 '15 09:08 SamSpector

Sadly this seems to be not implemented yet. Any tips so I can make that change myself?

minostauros avatar Dec 08 '16 13:12 minostauros