Skip to content

Commit

Permalink
Permissions Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zimmra committed Sep 5, 2023
1 parent 12d3597 commit c606ff6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 7 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ RUN apt update && apt install -y --no-install-recommends --allow-unauthenticated
fonts-noto-core fonts-noto-hinted fonts-noto-ui-core libblosc1 \
libboost-chrono1.74.0 libboost-filesystem1.74.0 libboost-iostreams1.74.0 \
libboost-locale1.74.0 libboost-log1.74.0 libboost-regex1.74.0 \
libboost-thread1.74.0 libglew2.2 libilmbase25 liblog4cplus-2.0.5 libnlopt0 \
libnotify4 libopenvdb8.1 libtbb2 libtbbmalloc2 libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5 nautilus jq curl git \
libboost-thread1.74.0 libglew2.2 libilmbase25 liblog4cplus-2.0.5 libnlopt0 *gtk3-0v5\
libnotify4 libopenvdb8.1 libtbb2 libtbbmalloc2 libwxbase3.0-0v5 nautilus jq curl git \
&& add-apt-repository ppa:mozillateam/ppa \
&& apt update \
&& apt install firefox-esr -y \
Expand All @@ -61,10 +61,12 @@ RUN chmod +x /slic3r/get_latest_prusaslicer_release.sh \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get autoclean \
&& mkdir -p /slic3r \
&& mkdir -p /config \
&& mkdir -p /config/.config \
&& mkdir -p /config/.config/PrusaSlicer \
&& mkdir -p /prints \
&& chown -R abc:abc /slic3r /prints /config \
&& ln -s /config/.config/PrusaSlicer /config/PrusaSlicer
&& ln -s /config/.config/PrusaSlicer /config/PrusaSlicer \
&& chown -R kasm-user:kasm-user /slic3r /prints /config


# Create the script and make it executable
RUN echo '#!/bin/bash' > /usr/local/bin/prusa-slicer && \
Expand Down
3 changes: 2 additions & 1 deletion root/defaults/menu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
<openbox_menu xmlns="http://openbox.org/3.4/menu">
<menu id="root-menu" label="MENU">
<item label="PrusaSlicer"><action name="Execute"><command>/usr/local/bin/prusa-slicer</command></action></item>
<item label="xterm" icon="/usr/share/pixmaps/xterm-color_48x48.xpm"><action name="Execute"><command>/usr/bin/xterm</command></action></item>
<item label="Files"><action name="Execute"><command>/usr/bin/nautilus</command></action></item>
<item label="Terminal" icon="/usr/share/pixmaps/xterm-color_48x48.xpm"><action name="Execute"><command>/usr/bin/xterm</command></action></item>
<item label="Reload OB"><action name="Reconfigure"/></item>
</menu>
</openbox_menu>

0 comments on commit c606ff6

Please sign in to comment.