commit initial de la premiere version de la AstroVisioBox

This commit is contained in:
2023-11-03 16:49:06 +01:00
parent baa755540d
commit 4fe14af91e
22 changed files with 4688 additions and 0 deletions

5
scripts/btconnect.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
export XDG_RUNTIME_DIR="/run/user/$(id -u)"
/usr/bin/bluetoothctl connect C8:7B:23:48:F6:30 >> /tmp/bluetoothConnexion.log 2>&1
/usr/bin/pacmd set-card-profile bluez_card.C8_7B_23_48_F6_30 headset_head_unit >> /tmp/bluetoothCo

26
scripts/connect.py Executable file
View File

@@ -0,0 +1,26 @@
#!/usr/bin/python3
# Copyright © 2009 Chris Jones <tortoise@tortuga>
# Copyright © 2012-2013 marmuta <marmvta@gmail.com>
#
# This file is part of Onboard.
#
# Onboard is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# Onboard is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
PYTHON_EXECUTABLE = "python3"
import subprocess
def run():
exit_code = subprocess.call('/usr/share/onboard/scripts/btconnect.sh')

6
scripts/quit.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
#pkill chromium
#chromium --kiosk --noerrdialogs --disable-translate --disable-infobars --disable-features=TranslateUI --disk-cache-dir=/dev/null --disable-pinch --overscroll-history-navigation=disabled --disable-features=TouchpadOverscrollHistoryNavigation https://talk.fdn.fr/
xdotool key alt+Left

27
scripts/quitScript.py Executable file
View File

@@ -0,0 +1,27 @@
#!/usr/bin/python3
# Copyright © 2009 Chris Jones <tortoise@tortuga>
# Copyright © 2012-2013 marmuta <marmvta@gmail.com>
#
# This file is part of Onboard.
#
# Onboard is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# Onboard is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
PYTHON_EXECUTABLE = "python3"
import subprocess
def run():
exit_code = subprocess.call('/usr/share/onboard/scripts/quit.sh')

0
scripts/typescript Normal file
View File