Run eagle in xvfb

parent b7e19979
......@@ -5,6 +5,7 @@ cd ../..
pwd
GIT="git"
XVFB="xvfb-run -a "
function check {
echo checking $1
......@@ -16,7 +17,8 @@ function check {
function brd {
if check $1
then
eagle -C "set confirm yes;
$XVFB eagle -C "edit .brd;
set confirm yes;
display None;
display Top Bottom Pads Vias Unrouted Dimension tPlace bPlace tName bNames Measures Document tDocu bDocu;
ratsnest;
......@@ -30,7 +32,8 @@ function brd {
function sch {
if check $1
then
eagle -C "set confirm yes;
$XVFB eagle -C "edit .sch;
set confirm yes;
export image $1.png 300;
set confirm no;
quit;" $1
......@@ -44,5 +47,10 @@ function sch {
fi
}
#export DISPLAY=:1
#export TMUX=
#tmux new-session -d -s xvfb "Xvfb :1 -screen 0 1024x768x16"
brd "HW/DevBoard/DevBoard.brd"
sch "HW/DevBoard/DevBoard.sch"
#tmux kill-session -t xvfb
#killall Xvfb
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment