Implemented 'stop_hidden' configuration option for applications.#34
Open
vminko wants to merge 1 commit intodanakj:masterfrom
Open
Implemented 'stop_hidden' configuration option for applications.#34vminko wants to merge 1 commit intodanakj:masterfrom
vminko wants to merge 1 commit intodanakj:masterfrom
Conversation
This option lets user to stop application processes automatically when all
the application windows are hidden from the user. A window is considered hidden
when it's iconified or shaded or does not belong to the current desktop.
This option in intended for minimization of CPU usage and power consumption.
Some modern applications (like Web browsers) tend to consume significant amount
of CPU resources even when hidden.
There are three possible values of the option:
'no' - do not stop application when it hides (default value)
'process' - stop just the process the hidden window belongs to
'group' - stop whole process group the application belongs to; some complex
applications (like web browsers) emerge multiple child processed,
so in order to stop such applications it's not enough just to
stop one process.
Example:
<application class="Firefox">
<stop_hidden>group</stop_hidden>
</application>
Please note that Firefox does not create a new group for its child
processes. You need to run it via `setsid firefox` in order to have a separate
group for all Firefox processes.
|
Although I am not an Openbox developer I must say that this feature/idea is very interesting! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This option lets user to stop application processes automatically when all the application windows are hidden from the user. A window is considered hidden when it's iconified or shaded or does not belong to the current desktop.
This option in intended for minimization of CPU usage and power consumption. Some modern applications (like Web browsers) tend to consume significant amount of CPU resources even when hidden.
There are three possible values of the option:
no- do not stop application when it hides (default value);process- stop just the process the hidden window belongs to;group- stop whole process group the application belongs to; some complex applications (like Web browsers) emerge multiple child processed, so in order to stop such applications it's not enough just to stop one process.Example:
<application class="Firefox"> <stop_hidden>group</stop_hidden> </application>Please note that Firefox does not create a new group for its child processes. You need to run it via
setsid firefoxin order to have a separate group for all Firefox processes.