-
Notifications
You must be signed in to change notification settings - Fork 149
Custom Commands
Ezequiel Holzweissig edited this page Jan 2, 2021
·
3 revisions
Since 2.3.0, you can create your own custom commands to execute in your mirror RPi. Keep in mind that this is totally unsafe, so we're not taking any responsibility of what could happen to your installation or your computer.
This commands are executed inside a shell of your system, you must define them beforehand so that nobody can issue a command you don't want. To define them, you can use a custom name inside your config
file
There are a few commands that you can change in order to modify the functionality of your Remote Control:
config: {
customCommand: {
shutdownCommand: 'shell command to shutdown your pc',
rebootCommand: 'shell command to reboot your pc',
monitorOnCommand: 'shell command to turn on your monitor',
monitorOffCommand: 'shell command to turn off your monitor',
monitorStatusCommand: 'shell command to return status of monitor, must return "true" if screen is on; "false" if it is off to be recognized',
},
},