@paulequilibrio thanx ao seu post Eu modifiquei o seu script para obter mi IR remote next, prev e stop buttons trabalhando com o Rhythmbox sem lirc no Ubuntu 18.04, isso adicionou ao auto run o seu maravilhoso ...
device='/dev/input/by-id/usb-Formosa21_Beanbag_Emulation_Device_000052F1-event-if00'
#key_playpause='*type 1 (EV_KEY), code 164 (KEY_PLAYPAUSE), value 1*'
key_stop='*type 1 (EV_KEY), code 128 (KEY_STOP), value 1*'
key_next='*type 1 (EV_KEY), code 407 (KEY_NEXT), value 1*'
key_previous='*type 1 (EV_KEY), code 412 (KEY_PREVIOUS), value 1*'
sudo evtest "$device" | while read line; do
case $line in
# ($key_playpause) notify-send "Play/Pause" && rhythmbox-client --playpause ;;
($key_stop) notify-send "Stop" && rhythmbox-client --stop ;;
($key_next) notify-send "Next" && rhythmbox-client --next ;;
($key_previous) notify-send "Previous" && rhythmbox-client --previous ;;
esac
done