A
A
Alexey Saprin2016-08-23 08:27:10
linux
Alexey Saprin, 2016-08-23 08:27:10

Raspberry pi video or picture after upload?

Hello, it is necessary that after turning on the raspberry, an image immediately appears on the screen or a video starts in full screen,
I figured out how to do it on linux, but I need to in no case see the desktop controls (or the console) I just need a picture
, isn’t it easier do it all on windows 10 IoT? write an application with a picture on the background, insert a standard player element there that will hide at the end of the video (and the background image will remain)
and set the application to autorun

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mithraen, 2016-09-01
@0crash0

Linux itself does not have "desktop controls". In x even "there is no desktop". All these elements are created and displayed by some WM (Window Manager) or DE (Desktop Environment). Such as Gnome, KDE, LXDE, ...
You need no DEs to start after X launch, but only display of the picture.
To do this, you need to place a shell script called ".xinitrc" in $HOME, and run an application in it that will display what you need on the screen.
The "startx" command starts xx and executes this script. When the script is completed, the x's will also be completed.
For example, you can use the feh utility and make this script look like this:

#!/bin/sh
feh -Z -F background.jpg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question