Add MetalCut
This commit is contained in:
parent
7d9d9a27fc
commit
7b66975f6c
5 changed files with 1230 additions and 0 deletions
|
|
@ -58,6 +58,9 @@
|
||||||
url: "https://github.com/t-oster/VisiCut/releases/download/1.7_310/visicut_1.7-310-gcf8c087-1_all.deb"
|
url: "https://github.com/t-oster/VisiCut/releases/download/1.7_310/visicut_1.7-310-gcf8c087-1_all.deb"
|
||||||
cura:
|
cura:
|
||||||
version: 3.2.1
|
version: 3.2.1
|
||||||
|
metalcut:
|
||||||
|
socket: laser.lab.fablab-nea.de:9000
|
||||||
|
dockerimage: r.jalr.de/fablab/metalcut
|
||||||
debian_sections:
|
debian_sections:
|
||||||
- main
|
- main
|
||||||
- contrib
|
- contrib
|
||||||
|
|
|
||||||
1190
packer/ansible/roles/fablab/files/metalcut/metalcut.svg
Normal file
1190
packer/ansible/roles/fablab/files/metalcut/metalcut.svg
Normal file
File diff suppressed because it is too large
Load diff
|
After Width: | Height: | Size: 94 KiB |
|
|
@ -17,3 +17,6 @@
|
||||||
- import_tasks: visicut.yml
|
- import_tasks: visicut.yml
|
||||||
tags:
|
tags:
|
||||||
- fablab:visicut
|
- fablab:visicut
|
||||||
|
- import_tasks: metalcut.yml
|
||||||
|
tags:
|
||||||
|
- fablab:metalcut
|
||||||
|
|
|
||||||
23
packer/ansible/roles/fablab/tasks/metalcut.yml
Normal file
23
packer/ansible/roles/fablab/tasks/metalcut.yml
Normal 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"
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue