Add MetalCut

This commit is contained in:
jalr 2018-05-13 02:21:06 +02:00
parent 7d9d9a27fc
commit 7b66975f6c
5 changed files with 1230 additions and 0 deletions

View file

@ -58,6 +58,9 @@
url: "https://github.com/t-oster/VisiCut/releases/download/1.7_310/visicut_1.7-310-gcf8c087-1_all.deb"
cura:
version: 3.2.1
metalcut:
socket: laser.lab.fablab-nea.de:9000
dockerimage: r.jalr.de/fablab/metalcut
debian_sections:
- main
- contrib

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 94 KiB

View file

@ -17,3 +17,6 @@
- import_tasks: visicut.yml
tags:
- fablab:visicut
- import_tasks: metalcut.yml
tags:
- fablab:metalcut

View file

@ -0,0 +1,23 @@
---
- file:
path: /usr/share/metalcut
state: directory
mode: "0755"
owner: root
group: root
- name: copy icon
copy:
src: metalcut/metalcut.svg
dest: /usr/share/metalcut/metalcut.svg
owner: root
group: root
mode: "0644"
- name: add metalcut to applications menu
template:
src: metalcut/metalcut.desktop.j2
dest: /usr/share/applications/metalcut.desktop
owner: root
group: root
mode: "0644"

View file

@ -0,0 +1,11 @@
[Desktop Entry]
Name=MetalCut
GenericName=MetalCut
Comment=Laser Cutter Job Control Application
Exec=sh -c 'docker run --rm -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY -e uid=$(id -u) -e gid=$(id -g) -v "$HOME:/home/metalcut/work" -e remote={{ fablab.metalcut.socket }} {{ fablab.metalcut.dockerimage }}'
Icon=/usr/share/metalcut/metalcut.svg
Terminal=false
Type=Application
Categories=Graphics