Skip to main content
replaced http://raspberrypi.stackexchange.com/ with https://raspberrypi.stackexchange.com/
Source Link

Firstly make sure you boot straight into X. For details on this, please see this question: Auto-start X-windows / gdm on the standard Debian buildAuto-start X-windows / gdm on the standard Debian build

Then edit your ~/.xinitrc file. It needs to contain the command that starts your media player:

vim ~/.xinitrc
omxplayer -p -o hdmi /home/oliver/awesome.mp4

This will make the video begin as soon as X does.

Firstly make sure you boot straight into X. For details on this, please see this question: Auto-start X-windows / gdm on the standard Debian build

Then edit your ~/.xinitrc file. It needs to contain the command that starts your media player:

vim ~/.xinitrc
omxplayer -p -o hdmi /home/oliver/awesome.mp4

This will make the video begin as soon as X does.

Firstly make sure you boot straight into X. For details on this, please see this question: Auto-start X-windows / gdm on the standard Debian build

Then edit your ~/.xinitrc file. It needs to contain the command that starts your media player:

vim ~/.xinitrc
omxplayer -p -o hdmi /home/oliver/awesome.mp4

This will make the video begin as soon as X does.

Added cross reference for booting straight into X
Source Link

Firstly make sure you boot straight into X. For details on this, please see this question: Auto-start X-windows / gdm on the standard Debian build

Then edit your ~/.xinitrc file. It needs to contain the command that starts your media player:

vim ~/.xinitrc
omxplayer -p -o hdmi /home/oliver/awesome.mp4

This will make the video begin as soon as X does.

Firstly make sure you boot straight into X.

Then edit your ~/.xinitrc file. It needs to contain the command that starts your media player:

vim ~/.xinitrc
omxplayer -p -o hdmi /home/oliver/awesome.mp4

This will make the video begin as soon as X does.

Firstly make sure you boot straight into X. For details on this, please see this question: Auto-start X-windows / gdm on the standard Debian build

Then edit your ~/.xinitrc file. It needs to contain the command that starts your media player:

vim ~/.xinitrc
omxplayer -p -o hdmi /home/oliver/awesome.mp4

This will make the video begin as soon as X does.

Source Link
Jivings
  • 22.6k
  • 11
  • 92
  • 139

Firstly make sure you boot straight into X.

Then edit your ~/.xinitrc file. It needs to contain the command that starts your media player:

vim ~/.xinitrc
omxplayer -p -o hdmi /home/oliver/awesome.mp4

This will make the video begin as soon as X does.