Downloads:

58

Downloads of v 1.0:

58

Last Update:

3/24/2019

Package Maintainer(s):

Software Author(s):

  • Matt Whitlock

Tags:

powerdimmer dimmer screensaver darken embedded

Power Dimmer Screensaver

1.0 | Updated: 3/24/2019

Downloads:

58

Downloads of v 1.0:

58

Maintainer(s):

Software Author(s):

  • Matt Whitlock

Power Dimmer Screensaver 1.0

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install Power Dimmer Screensaver, run the following command from the command line or from PowerShell:

>

To upgrade Power Dimmer Screensaver, run the following command from the command line or from PowerShell:

>

To uninstall Power Dimmer Screensaver, 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 powerdimmer -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 powerdimmer -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 powerdimmer installed
  win_chocolatey:
    name: powerdimmer
    state: present
    version: 1.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 'powerdimmer' do
  action    :install
  version  '1.0'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: powerdimmer,
    Version: 1.0,
    Source: STEP 3 URL
);

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


cChocoPackageInstaller powerdimmer
{
   Name     = 'powerdimmer'
   Ensure   = 'Present'
   Version  = '1.0'
   Source   = 'STEP 3 URL'
}

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


package { 'powerdimmer':
  provider => 'chocolatey',
  ensure   => '1.0',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install powerdimmer version="1.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.

This package was approved by moderator gep13 on 3/26/2019.

Description

Power Dimmer is a Windows screen saver application that, once activated, will gradually dim your screen, fading it from full brightness to a final brightness level that you set. While the screen is dimmed, you can still see all of your windows, as well as any on-screen activity. Move the mouse or press a key and your screen will be restored to full brightness. To install this screen saver, download and unzip the file to your Windows folder and then select WhitSoft Power Dimmer from the list of screen savers in your Display Options control panel.


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'

$ToolsDir   = Split-Path -parent $MyInvocation.MyCommand.Path

$installArgs = @{
   packageName  = $env:ChocolateyPackageName
   FileFullPath = (Get-ChildItem $ToolsDir -Filter "*.zip").FullName
   Destination  = Join-Path $env:SystemRoot 'system32'
}

Get-ChocolateyUnzip @installArgs
tools\chocolateyuninstall.ps1
$File = Join-Path $env:SystemRoot 'system32\powerdimmer.scr'
 
if ([System.IO.File]::Exists($File)) {
    Write-Debug "Found the Power Dimmer screensaver file. Deleting it..."
    [System.IO.File]::Delete($File)
}
tools\LICENSE.txt
From: http://www.whitsoftdev.com/help/about.php

LICENSE

Unless clearly stated otherwise, all WhitSoft programs are freeware, and 
as such are freely distributable. The one condition is that the program 
file itself must not be modified from its original form; however, it may 
be packaged or bundled with other software. If you are distributing a 
WhitSoft program, I'd appreciate a short email and a copy of the 
distributed package if possible.
tools\powerdimmer.zip
md5: 7CD48C3BE44B689CD7D14E688EE2775D | sha1: 148C9837A472D2A7A02EF31F8D34A0765110989F | sha256: 427F8340D3BACA57989DEBA2311C5B5D0500E720B8A351D92AD56B66AA95A32B | sha512: 7CB565BDF39ABC93536FE2D096C6E3F346EEA4C863C9E2C9F527AD0E18F4CCAE3E72D9C814B0327F8E86CD11A2D8F37900289E3A7A940142D834E29CFB3824AD
tools\VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.
 
The Power Dimmer zip file can be downloaded from its home site:
  http://www.whitsoftdev.com/powerdimmer/
  
Direct Download:
URL      : http://www.whitsoftdev.com/files/powerdimmer.zip
Checksum : 427F8340D3BACA57989DEBA2311C5B5D0500E720B8A351D92AD56B66AA95A32B

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

This package has no dependencies.

Discussion for the Power Dimmer Screensaver Package

Ground Rules:

  • This discussion is only about Power Dimmer Screensaver and the Power Dimmer Screensaver 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 Power Dimmer Screensaver, 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