When I lunch from gnome-terminal to type xgalaga, it sounds. I found that from gnome-terminal xgalaga make sub-process but from desktop menu xgalaga lunches alone.
$ ps xf | less 19036 ? S 0:26 xgalaga 18922 ? Sl 0:04 gnome-terminal 18925 ? S 0:00 \_ gnome-pty-helper 18926 pts/0 Ss 0:00 \_ bash 19067 pts/0 S+ 0:30 | \_ xgalaga 19068 pts/0 S+ 0:06 | \_ /usr/share/games/xgalaga/xgal.sndsrv.oss /usr/share/games/xgalaga/sounds/ /dev/dsp
When I lunch from gnome-terminal to type xgalaga, it sounds.
I found that from gnome-terminal xgalaga make sub-process but from desktop menu xgalaga lunches alone.
$ ps xf | less games/xgalaga/ xgal.sndsrv. oss /usr/share/ games/xgalaga/ sounds/ /dev/dsp
19036 ? S 0:26 xgalaga
18922 ? Sl 0:04 gnome-terminal
18925 ? S 0:00 \_ gnome-pty-helper
18926 pts/0 Ss 0:00 \_ bash
19067 pts/0 S+ 0:30 | \_ xgalaga
19068 pts/0 S+ 0:06 | \_ /usr/share/