Forum Audiophonics.fr

Forum du site de vente en ligne Audiophonics.fr : Pour les amateurs de Home Audio, de Connectique et de DIY
Nous sommes actuellement le Ven 15 Déc 2017 12:54

Le fuseau horaire est UTC+1 heure




Publier un nouveau sujet Répondre au sujet  [ 81 message(s) ]  Aller vers la page Précédent  1, 2, 3, 4
Auteur Message
Message Publié : Mar 25 Avr 2017 14:00 
Hors-ligne

Inscription : Lun 15 Août 2016 03:29
Message(s) : 22
I have got Moode 3.5 looking pretty good on the RPI touchscreen. Rather than try to edit the css of Moode (I have no skill in this) I just added a couple of Chromium extensions to shrink it and remove the scrollbar. The extensions were Zoom and Minimal Scrollbar.

I haven't worked out how to get the matchbox-keyboard working yet but have found some guides so I should be able to do it.

I will reinstall it again when Moode 3.6 comes out shortly and hopefully do it smoother next time. If I think I have a clean install, I will write up a guide.

Image


Haut
 Profil  
 
Message Publié : Mar 25 Avr 2017 16:32 
Hors-ligne
Avatar de l’utilisateur

Inscription : Dim 05 Juil 2015 15:00
Message(s) : 21
morias a écrit :
I have got Moode 3.5 looking pretty good on the RPI touchscreen. Rather than try to edit the css of Moode (I have no skill in this) I just added a couple of Chromium extensions to shrink it and remove the scrollbar. The extensions were Zoom and Minimal Scrollbar.

I haven't worked out how to get the matchbox-keyboard working yet but have found some guides so I should be able to do it.

I will reinstall it again when Moode 3.6 comes out shortly and hopefully do it smoother next time. If I think I have a clean install, I will write up a guide.

Image




Thank you morias, I will follow this subject very carefully.

See you soon
Pibill


Haut
 Profil  
 
Message Publié : Dim 30 Avr 2017 13:53 
Hors-ligne

Inscription : Lun 15 Août 2016 03:29
Message(s) : 22
These are some instructions to get the screen going. To get the power button working, have a look at the Raspdac instructions. I have given up on the matchbox-keyboard for the moment. If Audiophonics comes back to these forums, perhaps they could post some instructions. I think it may be something to do with the "focus" setting in the Customize page of Moode.

My instructions are largely based on the good work on this page so credit goes to the author:

https://rataks.com/blog/raspberry-pi-to ... omium.html

Step 1 - Prepare your sd card

Write moode to your sd card
Go to http://moode.local
Go to configure system and choose to expand the sd card

Step 2 - Fix screen orientation

ssh pi@moode.local

sudo nano /boot/config.txt

Now add the following to the bottom of the config to rotate the screen

lcd_rotate=2
avoid_warnings=1

Step 3 - Install software

sudo apt update
sudo apt install xinit xorg lsb-release xserver-xorg-legacy chromium-browser
sudo sed -i "s/allowed_users=console/allowed_users=anybody/" /etc/X11/Xwrapper.config

Step 4 - Create a .xinitrc file

sudo nano /home/pi/.xinitrc

Add the following to the fie and save it

#!/bin/bash

# turn off display power management
xset -dpms &

# turn on a 10 minute screensaver
xset s 600 &

# start chromium browser
chromium-browser --kiosk --touch-events --disable-touch-drag-drop --disable-overlay-scrollbar --enable-touchview --enable-pinch --window-size=800,480 --window-position=0,0 --disable-session-crashed-bubble --disable-infobars --no-first-run --app=http://localhost/

Step 5 - Create a start-gui.sh file

sudo nano /home/pi/start-gui.sh

Add the following to the file and save it

#!/bin/bash
/usr/bin/xinit

Make executable by running the following

sudo chmod +x /home/pi/start-gui.sh

Step 6 - Create a service

sudo nano /lib/systemd/system/start-gui.service

Add the following to the file and save it

[Unit]
Description=Start Chromium GUI
After=nginx.service php5-fpm.service mpd.service

[Service]
Type=simple
ExecStart=/home/pi/start-gui.sh
User=pi

[Install]
WantedBy=multi-user.target

Step 7 - Start the service

sudo systemctl enable start-gui.service
sudo systemctl start start-gui.service

Step 8 - Modify the look of the interface

Press Ctrl tab on a keyboard connected to the Raspberry pi

Go to Chromium advance settings and set the default zoom to 75%. This can be modified to something else by "inspecting" the element. Look online for guides.

Go to Chrome extensions (chome://extensions) and install minimal scrollbar

sudo nano /home/pi/start-gui.sh

To hide the cursor make sure the nocursor flag is now included

#!/bin/bash
/usr/bin/xinit -- -nocursor

The display should now be working


Haut
 Profil  
 
Message Publié : Jeu 04 Mai 2017 08:13 
Hors-ligne
Avatar de l’utilisateur

Inscription : Dim 05 Juil 2015 15:00
Message(s) : 21
morias a écrit :
These are some instructions to get the screen going. To get the power button working, have a look at the Raspdac instructions. I have given up on the matchbox-keyboard for the moment. If Audiophonics comes back to these forums, perhaps they could post some instructions. I think it may be something to do with the "focus" setting in the Customize page of Moode.

My instructions are largely based on the good work on this page so credit goes to the author:

https://rataks.com/blog/raspberry-pi-to ... omium.html

Step 1 - Prepare your sd card

Write moode to your sd card
Go to http://moode.local
Go to configure system and choose to expand the sd card

Step 2 - Fix screen orientation

ssh pi@moode.local

sudo nano /boot/config.txt

Now add the following to the bottom of the config to rotate the screen

lcd_rotate=2
avoid_warnings=1

Step 3 - Install software

sudo apt update
sudo apt install xinit xorg lsb-release xserver-xorg-legacy chromium-browser
sudo sed -i "s/allowed_users=console/allowed_users=anybody/" /etc/X11/Xwrapper.config

Step 4 - Create a .xinitrc file

sudo nano /home/pi/.xinitrc

Add the following to the fie and save it

#!/bin/bash

# turn off display power management
xset -dpms &

# turn on a 10 minute screensaver
xset s 600 &

# start chromium browser
chromium-browser --kiosk --touch-events --disable-touch-drag-drop --disable-overlay-scrollbar --enable-touchview --enable-pinch --window-size=800,480 --window-position=0,0 --disable-session-crashed-bubble --disable-infobars --no-first-run --app=http://localhost/

Step 5 - Create a start-gui.sh file

sudo nano /home/pi/start-gui.sh

Add the following to the file and save it

#!/bin/bash
/usr/bin/xinit

Make executable by running the following

sudo chmod +x /home/pi/start-gui.sh

Step 6 - Create a service

sudo nano /lib/systemd/system/start-gui.service

Add the following to the file and save it

[Unit]
Description=Start Chromium GUI
After=nginx.service php5-fpm.service mpd.service

[Service]
Type=simple
ExecStart=/home/pi/start-gui.sh
User=pi

[Install]
WantedBy=multi-user.target

Step 7 - Start the service

sudo systemctl enable start-gui.service
sudo systemctl start start-gui.service

Step 8 - Modify the look of the interface

Press Ctrl tab on a keyboard connected to the Raspberry pi

Go to Chromium advance settings and set the default zoom to 75%. This can be modified to something else by "inspecting" the element. Look online for guides.

Go to Chrome extensions (chome://extensions) and install minimal scrollbar

sudo nano /home/pi/start-gui.sh

To hide the cursor make sure the nocursor flag is now included

#!/bin/bash
/usr/bin/xinit -- -nocursor

The display should now be working


Thank you for all those informations. I will try to make these changes when I return to my home. I hope version 3.6 that I will acquire will not pose a problem.
Cordially.


Haut
 Profil  
 
Message Publié : Jeu 04 Mai 2017 09:29 
Hors-ligne

Inscription : Lun 15 Août 2016 03:29
Message(s) : 22
pibill a écrit :
Thank you for all those informations. I will try to make these changes when I return to my home. I hope version 3.6 that I will acquire will not pose a problem.
Cordially.

The instructions were prepared using version 3.6.

It should work for any version and is unlikely to break based on Tim's updates.


Haut
 Profil  
 
Message Publié : Sam 08 Juil 2017 12:29 
Hors-ligne

Inscription : Lun 15 Août 2016 03:29
Message(s) : 22
I had cause to reinstall this on a new device. This time I added the "Virtual Keyboard" chromium extension.

I now have a nice onscreen keyboard if I want to do a search.


Haut
 Profil  
 
Afficher les messages publiés depuis :  Trier par  
Publier un nouveau sujet Répondre au sujet  [ 81 message(s) ]  Aller vers la page Précédent  1, 2, 3, 4

Le fuseau horaire est UTC+1 heure


Qui est en ligne ?

Utilisateur(s) parcourant ce forum : Aucun utilisateur inscrit et 2 invité(s)


Vous ne pouvez pas publier de nouveaux sujets dans ce forum
Vous ne pouvez pas répondre aux sujets dans ce forum
Vous ne pouvez pas éditer vos messages dans ce forum
Vous ne pouvez pas supprimer vos messages dans ce forum
Vous ne pouvez pas insérer de pièces jointes dans ce forum

Recherche de :
Aller vers :  
Propulsé par phpBB® Forum Software © phpBB Group
Traduction et support en français • Utiliser phpBB avec un certificat SSL