embarcados:raspberry_pi
Diferenças
Aqui você vê as diferenças entre duas revisões dessa página.
Ambos lados da revisão anteriorRevisão anteriorPróxima revisão | Revisão anterior | ||
embarcados:raspberry_pi [2015/03/01 09:46] – [Custom boot up screen] Édson Kuzniewski | embarcados:raspberry_pi [2022/05/25 16:24] (atual) – edição externa 127.0.0.1 | ||
---|---|---|---|
Linha 1: | Linha 1: | ||
====== Raspberry PI ====== | ====== Raspberry PI ====== | ||
{{: | {{: | ||
- | [[http:// | + | [[http:// |
+ | |||
+ | ==== How to install XRDP and have it working ==== | ||
+ | [[http:// | ||
+ | [[http:// | ||
+ | |||
+ | < | ||
+ | sudo apt-get update | ||
+ | sudo apt-get install xrdp | ||
+ | </ | ||
+ | |||
+ | ===== Warnings Square ===== | ||
+ | [[https:// | ||
+ | **Currently the symbols are:**\\ | ||
+ | **Red square:** over-temperature\\ | ||
+ | **Rainbow square:** under-voltage\\ | ||
+ | \\ | ||
+ | As usual you can override the behaviour in '' | ||
+ | **avoid_warnings=1** removes the warning overlay.\\ | ||
+ | **avoid_warnings=2** additionally allows turbo when low-voltage is present. | ||
===== Windows Emulador ===== | ===== Windows Emulador ===== | ||
Linha 85: | Linha 104: | ||
===== Raspberry PI kiosk mode with Chromium ===== | ===== Raspberry PI kiosk mode with Chromium ===== | ||
- | [[http:// | + | [[http:// |
+ | [[http:// | ||
+ | [[http:// | ||
<WRAP center round info 60%> | <WRAP center round info 60%> | ||
MODO ANTIGO | MODO ANTIGO | ||
Linha 96: | Linha 117: | ||
</ | </ | ||
- | **2.** We need to prevent screen from going blank and disable screen saver. | + | **2.** Here they talk about running this command before starting Chrome to stop the Restore Bar from appearing: |
+ | <code bash / | ||
+ | sed -i ' | ||
+ | ~/ | ||
+ | </ | ||
+ | |||
+ | **3.** We need to prevent screen from going blank and disable screen saver. | ||
– edit ''/ | – edit ''/ | ||
<code bash> | <code bash> | ||
Linha 102: | Linha 129: | ||
@xset -dpms | @xset -dpms | ||
@xset s noblank | @xset s noblank | ||
- | @chromium --kiosk --incognito http:// | + | @chromium --kiosk --incognito |
</ | </ | ||
Done. | Done. | ||
+ | |||
+ | ===== fullscreen xinit ===== | ||
+ | [[http:// | ||
+ | '' | ||
+ | <code bash> | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | </ | ||
+ | The '' | ||
===== Raspberry PI kiosk mode with Epigraphy Browser ===== | ===== Raspberry PI kiosk mode with Epigraphy Browser ===== | ||
Linha 118: | Linha 163: | ||
- **Browser: | - **Browser: | ||
- **Splash screen:** __fbi__. Yea I know how that sounds. :P | - **Splash screen:** __fbi__. Yea I know how that sounds. :P | ||
- | |||
==== 1. Logging in automatically ==== | ==== 1. Logging in automatically ==== | ||
Linha 164: | Linha 208: | ||
<file bash / | <file bash / | ||
#!/bin/bash | #!/bin/bash | ||
- | epiphany-browser --profile=/ | + | xset s off |
+ | xset -dpms | ||
+ | xset s noblank | ||
+ | epiphany-browser --profile=/ | ||
#uzbl -u http:// | #uzbl -u http:// | ||
+ | # | ||
</ | </ | ||
That’s it. Save and close the file. What we have done is to start the uzbl browser during boot along with the Matchbox window-manager. The u stands for uri and the c stands for configuration file. uzbl uses the configuration file to lookup settings and apply them to itself. We are now going to create a configuration file to try and force uzbl to do two things 1. Not display it’s status bar and 2. Open in a maximized window. | That’s it. Save and close the file. What we have done is to start the uzbl browser during boot along with the Matchbox window-manager. The u stands for uri and the c stands for configuration file. uzbl uses the configuration file to lookup settings and apply them to itself. We are now going to create a configuration file to try and force uzbl to do two things 1. Not display it’s status bar and 2. Open in a maximized window. | ||
Linha 176: | Linha 224: | ||
< | < | ||
\\ | \\ | ||
- | < | + | < |
'' | '' | ||
#!/bin/bash | #!/bin/bash | ||
Linha 199: | Linha 247: | ||
<code bash> | <code bash> | ||
- | #! /bin/sh | + | #!/bin/sh |
do_start () { | do_start () { | ||
Linha 241: | Linha 289: | ||
**3.** Add a space in the end of the line and add '' | **3.** Add a space in the end of the line and add '' | ||
**4.** Set the following directives in the file **/ | **4.** Set the following directives in the file **/ | ||
- | <file> bash / | + | <file bash / |
BLANK_TIME=0 | BLANK_TIME=0 | ||
POWERDOWN_TIME=0 | POWERDOWN_TIME=0 | ||
</ | </ | ||
+ | |||
+ | ==== 6. Disable Black Screen ==== | ||
+ | <code bash> | ||
+ | xset -dpms # disable DPMS (Energy Star) features. | ||
+ | xset s off # disable screen saver | ||
+ | xset s noblank # don't blank the video device | ||
+ | </ | ||
===== Custom boot up screen ===== | ===== Custom boot up screen ===== | ||
[[http:// | [[http:// |
embarcados/raspberry_pi.1425213966.txt.gz · Última modificação: 2022/05/25 16:25 (edição externa)