Im not just concerned with the bluray icon but all of them.. But yea, cant do jack there.
Thers 2 major threads with udev rules you can look at that address this issue and you need to go read them anyway
You will need to change the below rule it to suit your hardware.
The rule should go into /etc/udev/rules.d/ named as 95-dvd-automount.rules
Code:
ACTION!="add|change|remove", GOTO="cdrom_end"
SUBSYSTEM=="block", KERNEL=="sr*", ENV{ID_PATH}=="pci-0000:00:0b.0-scsi-1:0:0:0", ATTRS{type}=="5", ATTR{removable}=="1", ATTR{events}=="media_change"
ACTION=="add",KERNEL=="sr*", RUN+="/bin/mkdir -p /media/cd-dvd"
ACTION=="add",KERNEL=="sr*", RUN+="/bin/mount /dev/sr0 /media/cd-dvd"
ACTION=="change",KERNEL=="sr*", RUN+="/bin/mkdir -p /media/cd-dvd"
ACTION=="change",KERNEL=="sr*", RUN+="/bin/mount /dev/sr0 /media/cd-dvd"
ACTION=="change",KERNEL=="sr*", RUN+="/bin/umount /media/cd-dvd"
ACTION=="change",KERNEL=="sr*", RUN+="/bin/rmdir /media/cd-dvd"
ACTION=="remove",KERNEL=="sr*", RUN+="/bin/umount /media/cd-dvd"
ACTION=="remove",KERNEL=="sr*", RUN+="/bin/rmdir /media/cd-dvd"
LABEL="cdrom_end"
Also not sure if kodibuntu eject via remote works, but if does not also look at doing
Code:
sudo wget https://gist.github.com/uNiversaI/9290192/raw -O /etc/udev/rules.d/60-cdrom_id.rules
to review the rule before uploading it to your system just use
https://gist.github.com/uNiversaI/9290192/raw