# Adjust keymap to run custom command?

**URL:** <https://forums.plex.tv/t/adjust-keymap-to-run-custom-command/106821>\
**Category:** Apps & Creations\
**Created:** [June 22, 2015, 3:08pm UTC](https://forums.plex.tv/t/adjust-keymap-to-run-custom-command/106821 "2015-06-22T15:08:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MACscr](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/macscr/32/201511_2.png) [@MACscr](https://forums.plex.tv/u/MACscr)\
**Post date:** [June 22, 2015, 3:08pm UTC](https://forums.plex.tv/t/adjust-keymap-to-run-custom-command/106821/1 "2015-06-22T15:08:19Z")

</div>

Ive created my own custom hardware and program for controlling my tv, but I would like to remap some of the buttons on my multimedia keyboard so that they run the particular commands. For example, I want the Volume Up key to run the command: /root/tv\_control.sh volup. Any suggestions on how I can make such an adjustment that runs a program?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 8, 2020, 7:00pm UTC](https://forums.plex.tv/t/adjust-keymap-to-run-custom-command/106821/2 "2020-01-08T19:00:32Z")

</div>


