Showing posts with label raspberry. Show all posts
Showing posts with label raspberry. Show all posts

Wednesday, October 12, 2016

Playing videos with double click in raspberry pi

install xterm

sudo apt-get install xterm

go to a video

type xterm -fullscreen -fg black -bg black -e omxplayer -o hdmi -r %f in custom command line


press ok

enjoy

Using Real Vnc PIXEL Raspberry PI ( screen resolution)

 I have installed a new OS (PIXEL)  on my Raspberry PI (https://www.raspberrypi.org/blog/introducing-pixel/)

It comes pre-installed with Real vnc server . You have to enable it and update your raspberry
with
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade




 So on my window machine I  just download vnc viewer (https://www.realvnc.com/download/viewer/).


start vnc viewer
give ip adress of raspberry
fill username and password

and You can get it connected.


Screen resolution  becomes a problem  sometimes

crontab is a scheduler for pi which can be used to correct it


In terminal type

crontab -e


add the this line at the end of scheduled task for 1920 x 1080 resolution 


@reboot /bin/fbset -g 1920 1080 1920 1080 16





and save the file and reboot


enjoy