Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
deskscreen
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
kowis-projects
deskscreen
Commits
8e34b98b
Commit
8e34b98b
authored
Jun 23, 2019
by
David
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating README with graphical startup info
parent
ae2c44fd
Pipeline
#28
failed with stage
in 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
0 deletions
+41
-0
README.md
README.md
+41
-0
No files found.
README.md
View file @
8e34b98b
...
...
@@ -4,14 +4,55 @@ A GUI application for my raspberry PI to show my name and other cool stuff.
## Notes
### GPIO access
Be sure to install wiringpi:
`sudo apt install wiringpi`
### Graphics
To install the embedded (egl) version of javafx, you need
[
the overlay
](
https://chriswhocodes.com/
)
for java 8.
Specifically the "OpenJFX 8 nightly for armv6hf with libbrcm fix" version
After updating or anythinging the JDK on that guy, go to the
`/usr/lib/jvm/<your java>/`
and extract the zip
to get the right things into your system.
### Systemd init script
I use the
`/etc/default/deskscreen`
to contain the environment variables to configure my application.
```
[Unit]
Description=Desk Screen Application
[Service]
EnvironmentFile=/etc/default/deskscreen
# Has to run as root to enable framebuffer and touch input stuff
User=root
WorkingDirectory=/opt/deskscreen/data
ExecStart=/opt/deskscreen/jfx
SuccessExitStatus=143
TimeoutStopSec=10
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
```
### jfx app script
```
#!/bin/bash
# Is the magic JFX runtime jar to start things with a native GUI
# /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/ext/jfxrt.jar
# Application jarfile name
JARFILE
=
deskScreen-all.jar
exec
java
-Dglass
.platform
=
Monocle
\
-Dprism
.verbose
=
true
\
-cp
/usr/lib/jvm/java-8-openjdk-armhf/jre/jre/lib/ext/jfxrt.jar:/opt/deskscreen/
${
JARFILE
}
is.kow.deskscreen.DeskScreenKt
```
### NWS Graphical forecast XML details
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment