Downloads:

1,555

Downloads of v 0.7.0.0:

532

Last Update:

03 Jan 2018

Package Maintainer(s):

Software Author(s):

  • Martin Krämer

Tags:

monitorswitcher monitorprofileswitcher monitor monitors resolution taskbar

Monitor Profile Switcher

0.7.0.0 | Updated: 03 Jan 2018

Downloads:

1,555

Downloads of v 0.7.0.0:

532

Maintainer(s):

Software Author(s):

  • Martin Krämer

Monitor Profile Switcher 0.7.0.0

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install Monitor Profile Switcher, run the following command from the command line or from PowerShell:

>

To upgrade Monitor Profile Switcher, run the following command from the command line or from PowerShell:

>

To uninstall Monitor Profile Switcher, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade monitorswitcher -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade monitorswitcher -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure monitorswitcher installed
  win_chocolatey:
    name: monitorswitcher
    state: present
    version: 0.7.0.0
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'monitorswitcher' do
  action    :install
  version  '0.7.0.0'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: monitorswitcher,
    Version: 0.7.0.0,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller monitorswitcher
{
   Name     = 'monitorswitcher'
   Ensure   = 'Present'
   Version  = '0.7.0.0'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'monitorswitcher':
  provider => 'chocolatey',
  ensure   => '0.7.0.0',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install monitorswitcher version="0.7.0.0" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 02 Nov 2019.

Description

Save multi monitor configurations of Windows 7 and easily switch between them with a click in a popup menu of your taskbar.

The tool is designed for users with two or more monitors who in certain situations would like to quickly change their monitor setup for performing a certain tasks (e.g. enable/disable a TV which is attached to the HDMI port, make an attached TV the primary display to get rid of tearing problems, switch which monitor is on the left/right...). Along the monitor state and setup (right, left, extended, disabled) the resolution is also saved and restored.

The program works by saving a current monitor setup as configured using the windows control panel to an xml file. Once saved the configuration can be quickly restored at any time. Requires .NET 4.0 Framework to be installed.

The program is quite simple and in an early development stage. It is provided without any warranty. If you accidentally disable all your monitors boot into safe mode to fix the problem.


tools\chocolateyInstall.ps1
$packageName= 'monitorswitcher'
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url        = 'http://prdownloads.sourceforge.net/monitorswitcher/MonitorProfileSwitcher_v0700.zip'
$checksum      = '118F36BDCF47617B6A4BEC9C190965CDB7A5FE51559EEAB07F6F1CAA0A738B9B'
$checksumType  = 'sha256'
$fileName = "MonitorSwitcherGUI.exe"
$linkName = "Monitor Profile Switcher.lnk"

Install-ChocolateyZipPackage $packageName $url $toolsDir -checksum $checksum -checksumType $checksumType
 
#install start menu shortcut
$programs = [environment]::GetFolderPath([environment+specialfolder]::Programs)
$shortcutFilePath = Join-Path $programs $linkName
$targetPath = Join-Path $toolsDir $fileName
Install-ChocolateyShortcut -shortcutFilePath $shortcutFilePath -targetPath $targetPath
tools\chocolateyUninstall.ps1
$linkName = "Monitor Profile Switcher.lnk"
$programs = [environment]::GetFolderPath([environment+specialfolder]::Programs)
$shortcutFilePath = Join-Path $programs $linkName
 
if(Test-Path $shortcutFilePath) {
    del $shortcutFilePath
}
tools\MonitorSwitcherGUI.exe.gui
 

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Monitor Profile Switcher 0.6.0.0 274 Sunday, June 11, 2017 Approved
Monitor Profile Switcher 0.5.2.0 272 Tuesday, January 17, 2017 Approved
Monitor Profile Switcher 0.4.0.1 254 Sunday, February 28, 2016 Approved
Monitor Profile Switcher 0.4.0.0 223 Monday, December 21, 2015 Approved

This package has no dependencies.

Discussion for the Monitor Profile Switcher Package

Ground Rules:

  • This discussion is only about Monitor Profile Switcher and the Monitor Profile Switcher package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Monitor Profile Switcher, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus