commit initial de la premiere version de la AstroVisioBox
This commit is contained in:
5
scripts/btconnect.sh
Executable file
5
scripts/btconnect.sh
Executable 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
26
scripts/connect.py
Executable 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
6
scripts/quit.sh
Executable 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
27
scripts/quitScript.py
Executable 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
0
scripts/typescript
Normal file
Reference in New Issue
Block a user