Saminnet-Search Article Wiki Forum Piwigo SNS Cloud vtiger Sugar
Raspberry LXDM

Raspberry LXDM

Ressource :ツhttp://www.waveshare.com/wiki/3.5inch_RPi_LCD_(A)#Softwareツfor important informations into the FAQ. Don't use the driver on this page if you bought the very same hardware as mine.

1) Install Volumio on the microsd, use all the available space extending the filesystem.ツYou need at least a 2GB sdcard.
A little reminder to use all available microsd space.

First you have to use fdisk to resize the partition to fill the whole SD card. You can do this by doing:

CODE:ツSELECT ALL
fdisk /dev/mmcblk0


Press "p" to show the current partitions and note down the details of the main one that RuneOS is on.
Delete it, pressing "d" and choosing the relevant partition number. (Number "3" for me).
Press "n" to make a new partition, and "p" to select a primary partition. Enter the same start block that you wrote down above, and allow it to use the default end block (the last block available on the device).
Press "t" and enter the value "82" to mark it as a Linux partition.
Press "w" to write changes and exit. You may have to reboot after this for changes to be registered. This has resized the partition, but not yet the filesystem.

CODE:ツSELECT ALL
reboot


Next, use the resize2fs command in this way:

CODE:ツSELECT ALL
resize2fs /dev/mmcblk0p3

("3" for my setup)
This will resize the filesystem to fill the whole partition, and you will have a lot more space available for stuff.


2) update RPi :

CODE:ツSELECT ALL
rpi-update
reboot

<-- several minutes, then reboot.

3) Setup display on the 3.5" LCD as primary display

CODE:ツSELECT ALL
apt-get update
apt-get install lightdm

<-- several minutes.

CODE:ツSELECT ALL
raspi-config

-> Check the configuration: Enable Boot to Desktop/Scratch -> GUI
4) Install driver :

CODE:ツSELECT ALL
cd /root
wget http://osoyoo.com/wp-content/uploads/samplecode/raspberry_35_inch_ts.rar
tar -zxvfツ raspberry_35_inch_ts.rar
tar -zxvf LCD-show.tar.gz

(you get a ready to use raspbian distro with drivers and the drivers !!)

CODE:ツSELECT ALL
tar xvf LCD-show.tar.gz

(the drivers)

CODE:ツSELECT ALL
cd LCD-show
./LCD35_v1

<-- Should take several minutes before automatic reboot. DON'T EVER REBOOT when shuting down process started, the reboot last for minutes too.

Miracle the RPi boot with display on the Touch LCD screen and display a GUI login !!

5 Install LXDE

CODE:ツSELECT ALL
apt-get install lxde



Sometime you get a GTK cannot open display error... just :

CODE:ツSELECT ALL
apt-get install xinit



Test launching startx
You may see the GUI appear. On next reboot, LXDE will automatically start logged as Pi as we choose "GUI" in raspi-config.


6 Display Volumio WebUI
To start GUI and midori on Volumio GUI automatically at boot.


CODE:ツSELECT ALL
nano ~/.config/lxsession/LXDE/autostart
Comment out everything using a '#' at the start of each line and then add the following lines

# Auto run the browser
@xset s off
@xset -dpms
@xset s noblank
@midori -e Fullscreen -a http://127.0.0.1

Comments   

 
0 #1 Guest 2018-12-19 15:46
Online gaming doesn't get any better than Real Time Gaming.

Are you able to connect with it? Now that you have learned one belonging to the
dozens of words use in poker, let us play some poker?


My web page: fishing hooks
Quote
 

Articles by Date

Category Database

TweetTweet Share on LinkedInShare on LinkedIn Share on Google+Google+ Submit to RedditReddit Publish on WordPress WordPress Send emailSend email