Skip to content

Configuration

Stephen Zhang edited this page Jan 10, 2024 · 5 revisions

Note

Configurations are typically done either via the WinHotCorner Control Panel app, or by manually editing the configuration files.

WinHotCorner Control Panel

This is the recommended (and the simplest) way to configure WinHotCorner.

This app is in developing. Please check out the manual way of configuring the app down below.

Configuration File

This is for users who would not like to install WinHotCorner Control Panel, but still wish to tweak their WinHotCorner Service.

Location & Mechanism

To support multi-user environment, your configuration file will be located at: %LOCALAPPDATA%\WinHotCorner\config.xml.
In this way, if WinHotCorner Service is installed globally for all users, each user will be able to have their own configurations for the same application.

This may look like C:\Users\[YOUR_USER_NAME]\Appdata\Local\WinHotCorner\config.xml.

Tip

To access this file, you may open "Run" dialog by pressing Win + R combination, and enter %LOCALAPPDATA%\WinHotCorner\.

If you do not find the configuration file, please manually create one, as the app will not create one if configuration is not required.

New configurations will be loaded after each trigger of hot corner, or upon first launching.

Format

The format of the configuration should looks like:

<?xml version="1.0" encoding="utf-8"?>
<WinHotCornerConfig xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Force>5</Force>
  <DisableWhenFullscreen>true</DisableWhenFullscreen>
  <DisableWhenMouseDown>true</DisableWhenMouseDown>
</WinHotCornerConfig>

This is an XML file. It consists of keys and values.

A key is defined by "<NAME>" and "</NAME>" tags, and they will typically come in pairs
Its value is defined inside the two tags, namely "<KEY>VALUE</KEY>".

Below is a table of possible configuration items and their descriptions:

Configuration Key Description Possible Values Default Value
Force The force needed to trigger hot corner, the bigger the harder to trigger Positive numbers like 1, 2, 3, etc. 5
DisableWhenFullscreen Whether it should NOT trigger when fullscreen applications are running true/false true
DisableWhenMouseDown Whether it should NOT trigger when mouse keys are pressed true/false true

Note

If you do not need to configure for an item, you do not need to include it in the configuration file. The system will automatically load its default value upon loading.

However, failure to comply with the correct format will result in all items reverting to default configuration.

Clone this wiki locally