Install anyremote by entering the following commands in the terminal:
sudo apt update sudo apt install anyremote
Remote control daemon for applications using Bluetooth, IrDA or WiFi
With anyRemote, arbitrary desktop applications can be remote-controlled via many modern mobile phones that support Bluetooth, IrDA or WiFi communication using a J2ME client, AT modem commands, a web interface or IR remote controllers. . anyRemote supports wide range of modern cell phones like Nokia, SonyEricsson, Motorola and others.