forked from yuvipanda/jupyter-desktop-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
12 changed files
with
38 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,8 @@ | ||
curl | ||
dbus-x11 | ||
firefox | ||
less | ||
net-tools | ||
openjdk-8-jre | ||
unzip | ||
vim | ||
xfce4 | ||
xfce4-panel | ||
xfce4-session | ||
xfce4-settings | ||
xorg | ||
xubuntu-icon-theme | ||
xubuntu-icon-theme |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
channels: | ||
- manics | ||
dependencies: | ||
- websockify | ||
- pip: | ||
- https://github.com/jupyterhub/jupyter-server-proxy/archive/0e67e1afd0bab1342443f13bd147a2f8c682e9e0.zip |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
set -eux | ||
|
||
env | ||
|
||
VNC_APPLICATION_DIR=$CONDA_DIR/vnc | ||
mkdir $VNC_APPLICATION_DIR | ||
pushd $VNC_APPLICATION_DIR | ||
|
||
# Novnc: just want web files | ||
curl -sSfL https://github.com/novnc/noVNC/archive/v1.1.0.tar.gz | tar -zxf - | ||
|
||
|
||
# Install tigervnc | ||
curl -sSfL 'https://bintray.com/tigervnc/stable/download_file?file_path=tigervnc-1.9.0.x86_64.tar.gz' | tar -zxf - --strip=2 | ||
|
||
# Patch novnc to use correct path to websockify (defaults to /) | ||
# Note if you use vnc.html you will need to patch ui.js to use the correct path | ||
# and also to override localstorage which may store an incorrect path from a | ||
# different session | ||
# Also resize server instead of scaling client | ||
sed -i.bak \ | ||
-e "s%\('path', 'websockify'\)%'path', window.location.pathname.replace(/[^/]*$/, '').substring(1) + 'websockify'); console.log('websockify path:' + path%" \ | ||
-re "s%rfb.scaleViewport = .+%rfb.resizeSession = readQueryVariable('resize', true);%" \ | ||
noVNC-1.1.0/vnc_lite.html | ||
|
||
|
||
cp $REPO_DIR/share/xstartup . | ||
chmod +x xstartup | ||
|
||
pip install $REPO_DIR |
File renamed without changes.
File renamed without changes.
File renamed without changes.