Re: Optical Out
If you use PulseAudio, go to the "Sound Preferences" window by right clicking its icon in the top panel then switch to "Hardware" tab. Choose a device to configure (this should be your sound card) and then choose the profile that uses "digital" output. This works for me for my PC.
YaoWT - Leave no window unbroken ^_^