I wanted to configure a Cinnamon desktop that used optirun so I created a new .desktop file in /usr/share/xsessions.
However, this option is not being shown as a desktop on the login screen. I've tried killall lightdm and also restarting the computer.
What do I need to do to get my new desktop to come up as an option?