>>760
こんなんでいいのかな? autostart.sh で自動起動させてる前提で。

[~/es.sh] 新規作成
emulationstation

[~/.profile] の末尾に追加
CHK=`ps -ef | grep emulationstation | grep -v grep | wc -l`
if [ $CHK -eq 0 ]; then
. /home/pi/es.sh
fi