Newer
Older
# Set working directory to home directory
cd "${HOME}"
#
# Launch Xfce Window Manager and Panel
#
(
export SEND_256_COLORS_TO_REMOTE=1
export XDG_CONFIG_HOME="<%= session.staged_root.join("config") %>"
export XDG_DATA_HOME="<%= session.staged_root.join("share") %>"
export XDG_CACHE_HOME="$(mktemp -d)"
set -x
xfwm4 --compositor=off --daemon --sm-client-disable
xsetroot -solid "#D3D3D3"
xfsettingsd --sm-client-disable
xfce4-panel --sm-client-disable
) &
Matthew K Defenderfer
committed
# export SINGULARITY_BINDPATH='/data,/scratch,/local,/share'
<%= context.custom_environment.gsub(/\r\n?/, "\n") %>
# List loaded modules
module list
# Launch PyCharm
set -x
Matthew K Defenderfer
committed
# singularity exec --env \"DISPLAY=$DISPLAY\" -B \"/tmp/.X11-unix:/tmp/.X11-unix\" \
# <%= context.extra_singularity_args %> \
# <%= context.container_path %> \
# pycharm
module --ignore-cache load PyCharm/2022.3.2
pycharm.sh