Skip to content
This repository was archived by the owner on Jul 12, 2023. It is now read-only.

Commit fdcd053

Browse files
committed
Remove all parts that aren't just XFCE
- Move everything to base directory, since this repo is only for jupyter-desktop - Remove packages not needed for base functionality from apt.txt and environment.yml - Remove extra desktop shortcuts
1 parent 953b8e7 commit fdcd053

12 files changed

+38
-210
lines changed

binder/apt.txt apt.txt

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
1-
curl
21
dbus-x11
32
firefox
4-
less
5-
net-tools
6-
openjdk-8-jre
7-
unzip
8-
vim
93
xfce4
104
xfce4-panel
115
xfce4-session
126
xfce4-settings
137
xorg
14-
xubuntu-icon-theme
8+
xubuntu-icon-theme

binder/environment.yml

-36
This file was deleted.

binder/postBuild

-74
This file was deleted.

environment.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
channels:
2+
- manics
3+
dependencies:
4+
- websockify
5+
- pip:
6+
- https://github.com/jupyterhub/jupyter-server-proxy/archive/0e67e1afd0bab1342443f13bd147a2f8c682e9e0.zip
File renamed without changes.

jupyter_desktop/share/Fiji.desktop

-14
This file was deleted.

jupyter_desktop/share/OMERO.insight.desktop

-13
This file was deleted.

napari.ipynb

-66
This file was deleted.

postBuild

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#!/bin/bash
2+
set -eux
3+
4+
env
5+
6+
VNC_APPLICATION_DIR=$CONDA_DIR/vnc
7+
mkdir $VNC_APPLICATION_DIR
8+
pushd $VNC_APPLICATION_DIR
9+
10+
# Novnc: just want web files
11+
curl -sSfL https://github.com/novnc/noVNC/archive/v1.1.0.tar.gz | tar -zxf -
12+
13+
14+
# Install tigervnc
15+
curl -sSfL 'https://bintray.com/tigervnc/stable/download_file?file_path=tigervnc-1.9.0.x86_64.tar.gz' | tar -zxf - --strip=2
16+
17+
# Patch novnc to use correct path to websockify (defaults to /)
18+
# Note if you use vnc.html you will need to patch ui.js to use the correct path
19+
# and also to override localstorage which may store an incorrect path from a
20+
# different session
21+
# Also resize server instead of scaling client
22+
sed -i.bak \
23+
-e "s%\('path', 'websockify'\)%'path', window.location.pathname.replace(/[^/]*$/, '').substring(1) + 'websockify'); console.log('websockify path:' + path%" \
24+
-re "s%rfb.scaleViewport = .+%rfb.resizeSession = readQueryVariable('resize', true);%" \
25+
noVNC-1.1.0/vnc_lite.html
26+
27+
28+
cp $REPO_DIR/share/xstartup .
29+
chmod +x xstartup
30+
31+
pip install $REPO_DIR

jupyter_desktop/setup.py setup.py

File renamed without changes.
File renamed without changes.

binder/start start

File renamed without changes.

0 commit comments

Comments
 (0)