-
-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pi] Add new scripts to enable easily running under VNC and minimal p…
…latform plugins
- Loading branch information
Showing
4 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash -eux | ||
|
||
# This script will run ossia score as a CLI only version. | ||
# Most features will not be available but it will be more efficient. | ||
|
||
DIR=$(realpath "${BASH_SOURCE[0]}") | ||
DIR=$(dirname "$DIR") | ||
|
||
export MESA_GLES_VERSION_OVERRIDE=3.2 | ||
export MESA_GLSL_VERSION_OVERRIDE=320 | ||
export LD_LIBRARY_PATH="$DIR/lib" | ||
export QT_QPA_PLATFORM=minimal | ||
|
||
"$DIR/bin/ossia-score" --no-gui --no-restore $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash -eux | ||
|
||
# This script will expose an internal VNC server on port 5900, | ||
# allowing remote desktops to connect and edit scores easily through | ||
# any VNC client, e.g. Remmina on Linux. | ||
|
||
DIR=$(realpath "${BASH_SOURCE[0]}") | ||
DIR=$(dirname "$DIR") | ||
|
||
export MESA_GLES_VERSION_OVERRIDE=3.2 | ||
export MESA_GLSL_VERSION_OVERRIDE=320 | ||
export LD_LIBRARY_PATH="$DIR/lib" | ||
export QT_QPA_PLATFORM="vnc:size=1280x720" | ||
|
||
"$DIR/bin/ossia-score" $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters