Giter Club home page Giter Club logo

stand-bye's Introduction

Stand-Bye!

Stand-Bye! is a free tool which offers useful extra ways to put your PC in standby. Stand-Bye can:

  • prevent the sleep mode while a certain process is running
  • prevent the sleep mode while your downloading something
  • prevent the sleep mode while your playing games or watching a movie
  • prevent the sleep mode and display timeout while you're doing a presentation

The next generation: Econap

We have completely redesigned Stand-Bye! and renamed it "Econap". This word game is a mixture of Ecological and Powernap. Download the version here: www.econap.de

Included are more indicators if the PC is working to capacity, a more user-friendly UI and many bug fixes.

Econap Screenshot

Put your pc to sleep when it's really idle

Backup, download, synchronization: Windows computers always automatically switch to standby mode after a while, no matter whether media have been downloaded completely or the most important data saved. As a result, many users deactivate the energy saving mode and thus use more electricity than necessary. Stand-Bye! puts your pc to sleep when it's REALLY idle!

This puts an end to tedious waiting at the computer. Moreover, the free open source software protects the environment, the wallet, and the user's nerves.

Contact

If you found a bug or want a new feature contact us at: contact (at) econap.de

Screenshots of the open source version

Stand-Bye! Screenshot

Stand-Bye! Screenshot

Stand-Bye! Screenshot

License

Copyright (c) 2015 Florian Baader, http://github.com/flobaader

Copyright (c) 2015 Stephan Le, https://github.com/stephanLe

Copyright (c) 2015 Matthias Weirich, https://github.com/vavido

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

stand-bye's People

Contributors

flobaader avatar vavido avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

stand-bye's Issues

Files corrupted on sleep/wake

Hi SelectCodeDE,

Stand-Bye is great! I have been using it for a few weeks and it's (*almost) exactly what I was looking for to get my computers to sleep at the appropriate time.

There's just one problem. It appears that if a file is held open in read/write mode by an app when the computer is put to sleep, that file may become corrupted.

I think the scenario you might need to address is when files are held open-write that reside on a network share. In my scenario the file was virtual disk residing on a file share on a local LAN server. But no worries I was able to restore the file from backup and didn't lose much. However I can't continue to use Stand-Bye until this issue is addressed.

Your 'Exception Processes' setting gets close to what I need. I think what you need is a similar 'Exception Files' feature, where if files of a given file-spec (regex or wildcard defined) are open R/W the computer will not sleep to prevent data corruption.

I suggest you take a look at utilities like Handle (https://docs.microsoft.com/en-us/sysinternals/downloads/handle), etc. Source: (https://github.com/xcud/sysinternals-source/blob/master/download.sysinternals.com/Files/Handle.zip) or if that doesn't work out perhaps Stand-Bye could shell-out to this or a similar utility in the background and parse the results looking for matching files before deciding to go to sleep.

Another more general approach that could be useful for this issue as well as others might be an "execute app before sleep" (checks result code before proceeding to sleep) and an "execute app on wake". This would give me the hooks I need to at least implement some workarounds.

Or, if I get the time, I might be able to implement the feature myself. But it doesn't look like you're accepting outside contributions and reading your license it looks like I can't fork & distribute myself so it's probably not worth the effort. (??)

Thanks for building a great utility. I hope you continue to support and improve it!

Mehrerinstanzen funktionieren nicht richtig.

Sobald ich Stand-Bye sofern es bereits gestartet ist unter Windows 7 64bit nochmal starte öffnet sich das Programmfenster und Windows meldet das Stand-bye nicht mehr reagiert. Funktionieren tut es trotzem.


MinorTom

Error message

Ich habe diese Fehlermeldung bekommen: image

anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.InvalidOperationException: Indikatornamensdaten können nicht geladen werden, da ein ungültiger Index "" aus der Registrierung gelesen wurde.
   bei System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)
   bei System.Diagnostics.PerformanceCounterLib.get_NameTable()
   bei System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
   bei System.Diagnostics.PerformanceCounterLib.CounterExists(String category, String counter, Boolean& categoryExists)
   bei System.Diagnostics.PerformanceCounterLib.CounterExists(String machine, String category, String counter)
   bei System.Diagnostics.PerformanceCounter.InitializeImpl()
   bei System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)
   bei System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName)
   bei SystemAccess..ctor(SettingsProvider* p)
   bei mainApplication.startMetricWatcher()
   bei InputMonitor.Monitor(Object sender, EventArgs e)
   bei System.Windows.Forms.Timer.OnTick(EventArgs e)
   bei System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Geladene Assemblys **************
mscorlib
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2115.0 built by: NET47REL1LAST.
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll.
----------------------------------------
StandBye
    Assembly-Version: 0.6.0.0.
    Win32-Version: 0.7.0.4.
    CodeBase: file:///F:/Program%20Files%20(x86)/Stand-Bye!/StandBye.exe.
----------------------------------------
System
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2110.0 built by: NET47REL1LAST.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Configuration
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2046.0 built by: NET47REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Core
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2116.0 built by: NET47REL1LAST.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll.
----------------------------------------
System.Xml
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2102.0 built by: NET47REL1LAST.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
System.Windows.Forms
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2110.0 built by: NET47REL1LAST.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System.Drawing
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2046.0 built by: NET47REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
MetroFramework
    Assembly-Version: 1.4.0.0.
    Win32-Version: 1.4.0.0.
    CodeBase: file:///F:/Program%20Files%20(x86)/Stand-Bye!/MetroFramework.DLL.
----------------------------------------
StandBye.resources
    Assembly-Version: 0.6.0.0.
    Win32-Version: 0.6.0.0.
    CodeBase: file:///F:/Program%20Files%20(x86)/Stand-Bye!/de/StandBye.resources.DLL.
----------------------------------------
mscorlib.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2046.0 built by: NET47REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.
----------------------------------------
System.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2046.0 built by: NET47REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.resources.dll.
----------------------------------------
System.Windows.Forms.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.7.2046.0 built by: NET47REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------

************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.```

C# and WPF

Last message about a code rewrite was two years ago.
New version ever coming? Or is this project deprecated?

Prevent sleep on XInput activity

Hi. First of all thank you for the app, it's really useful and a lot more reliable than Windows' own energy profiles in my specific setup.

So, a bit of context first. I have the app installed in the gaming/HTPC machine in my living room. It runs Steam Big Picture mode 90% of the time, controlled by an Xbox One gamepad. The whole reason I'm using Stand-Bye to replace the standard Windows energy settings is because Steam Big Picture blocks sleep by default (not sure if intentionally or a bug), so if left unattended, the computer will stay awake the whole day. With Stand-Bye though, it goes to sleep properly.

But the problem I have is, if I'm browsing Steam's UI with my gamepad, eventually Stand-Bye will pop-up with its sleep countdown and put the computer to sleep. That doesn't happen when I'm browsing with a mouse and keyboard. So I believe Stand-Bye does not detect input from the Xbox controller, and thinks the computer is idle (even though I'm actively using it).

Would it be possible to update the app to properly detect input from peripherals other than a mouse and keyboard, such as XInput and DirectInput controllers, as to avoid putting the computer to sleep when it shouldn't?

Thanks in advance for the attention.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.