Xterm SBS-pi

Linux OS に関わる資料
返信する
アバター
mansyuu
管理人
記事: 74
登録日時: 2023年6月03日(土) 00:38

Xterm SBS-pi

投稿記事 by mansyuu »

 
ターミナルには柔軟性のある xfce4-terminal を活用する。

sudo apt-get install xfce4-terminal

xfce4-terminal SBS-pi 起動スクリプト (/home/$(whoami)/SDR/ フォルダに関連ファイルを配置した場合の例)

その1 xfce4-terminal 単独起動パラメータ window による3個ウィンドウを展開するスクリプト

#!/bin/sh
#
# xterm_win.sh
#
xfce4-terminal --hide-menubar --hide-borders --hide-toolbar -T "ModesDeco2" -e /home/$(whoami)/SDR/modesdeco2/modesdeco2.sh --window --hide-menubar --hide-borders --hide-toolbar -T "ModesMixer2" -e /home/$(whoami)/SDR/modesmixer2/modesmixer2.sh --window --hide-menubar --hide-borders --hide-toolbar -T "Fr24feed" -e /home/$(whoami)/SDR/fr24feed/fr24feed.sh

その2 xfce4-terminal 3個起動によるスクリプト

#!/bin/sh
#
# xterm_sbspi.sh
#
xfce4-terminal --hide-menubar --hide-borders --hide-toolbar -T "ModesDeco2" -e /home/$(whoami)/SDR/modesdeco2/modesdeco2.sh &
xfce4-terminal --hide-menubar --hide-borders --hide-toolbar -T "ModesMixer2" -e /home/$(whoami)/SDR/modesmixer2/modesmixer2.sh &
xfce4-terminal --hide-menubar --hide-borders --hide-toolbar -T "Fr24feed" -e /home/$(whoami)/SDR/fr24feed/fr24feed.sh

その3 xfce4-terminal 単独起動パラメータ tab による3個ウィンドウを切り替えするスクリプト

#!/bin/sh
#
# adsb_tab.sh
#
xfce4-terminal -T "ModesDeco2" -e /home/$(whoami)/SDR/modesdeco2/modesdeco2.sh --tab -T "ModesMixer2" -e /home/$(whoami)/SDR/modesmixer2/modesmixer2.sh --tab -T "Fr24feed" -e /home/$(whoami)/SDR/fr24feed/fr24feed.sh

ModesDeco2 / ModesMixer2  http://radarspotting.com/forum/index.php/topic,2978

#!/bin/sh
#
# modesdeco2.sh
#
/home/$(whoami)/SDR/modesdeco2/modesdeco2 --gain 49.6 --freq-correction 60 --avr 47805 --location xx.xx:xxx.xx --web 8088 --db /home/$(whoami)/SDR/modesdeco2/BaseStation.sqb --frdb /home/$(whoami)/SDR/modesdeco2/flightroute.sqb --silhouettes /home/$(whoami)/SDR/modesdeco2/SilhouettesLogos

#!/bin/sh
#
# modesmixer2.sh
#
sleep 5
/home/$(whoami)/SDR/modesmixer2/modesmixer2 --inConnect 127.0.0.1:47805 --outServer sbs10001:10001 --outServer msg:30003 --outConnect avr:sdrsharp.com:47806

Fr24feed  http://forum.flightradar24.com/threads/ ... ghtradar24

#!/bin/sh
#
# fr24feed.sh
#
sleep 8
/home/$(whoami)/SDR/fr24feed/fr24feed_x64_242 --fr24key=xxxxxxxxxxxxxxxxxxxxxxxx

ターミナルの共通設定

背景透過・文字色・スクロールバー無効は設定画面にて行う。

ウィンドウの操作

各ウィンドウの移動は Alt + マウスカーソル 終了(閉じる)などはパネルのウィンドウボタンにて行う。

Raspberry Pi2 にても同様なことが可能
 
返信する