Skip to content

Commit

Permalink
Added script to run pcbnew for KiCad 6
Browse files Browse the repository at this point in the history
  • Loading branch information
set-soft committed Apr 7, 2022
1 parent 691b5f8 commit e048403
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions ki6/run_pcbnew_same_user.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh
export USER_ID=$(id -u)
export GROUP_ID=$(id -g)
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY \
--user $USER_ID:$GROUP_ID \
--env NO_AT_BRIDGE=1 \
--workdir="/home/$USER" \
--volume="/etc/group:/etc/group:ro" \
--volume="/home/$USER:/home/$USER:rw" \
--volume="/etc/passwd:/etc/passwd:ro" \
--volume="/etc/shadow:/etc/shadow:ro" \
--volume="/home/$USER:/home/$USER:rw" \
setsoft/kicad_debian:ki6 pcbnew

0 comments on commit e048403

Please sign in to comment.