diff --git a/XUbuntuDesktop/Dockerfile b/XUbuntuDesktop/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..2e312db64e96e0f63b9ee9ecc3fd9fc7d21a2835 --- /dev/null +++ b/XUbuntuDesktop/Dockerfile @@ -0,0 +1,210 @@ +FROM ubuntu:18.04 +MAINTAINER Stefano Alberto Russo <stefano.russo@gmail.com> + +#---------------------- +# Basics +#---------------------- + +# Set non-interactive +ENV DEBIAN_FRONTEND noninteractive + +# Update first of all +RUN apt-get update + +# Utilities +RUN apt-get install -y nano telnet unzip wget supervisor build-essential python-dev git-core openjdk-8-jre + + +#------------------------ +# Ubuntu user +#------------------------ + +# Add group. +RUN groupadd -g 1000 ubuntu + +# Add user. +RUN useradd ubuntu -d /home/ubuntu -u 1000 -g 1000 -m -s /bin/bash + +# Add metuaser user to sudoers +RUN adduser ubuntu sudo + +# Install suodo +RUN apt-get install sudo -y + +# No pass sudo (for everyone, actually) +COPY files/sudoers /etc/sudoers + +#------------------------ +# Supervisor conf +#------------------------ + +# Supervisord conf +COPY files/supervisord.conf /etc/supervisor/ + +#------------------------ +# VNC +#------------------------ + +# Install xvfb that triggers minimal install of X base packages and xterm as sample application +RUN apt-get install xvfb xterm -y + +# Install base packages for VNC server and headless desktop (2) +#RUN cd /opt && wget https://bintray.com/tigervnc/stable/download_file?file_path=tigervnc-1.8.0.x86_64.tar.gz -O tigervnc-1.8.0.x86_64.tar.gz \ +# && tar -zxvf tigervnc-1.8.0.x86_64.tar.gz \ +# && mv tigervnc-1.8.0.x86_64 tigervnc + +# Supervisord configuration +COPY files/supervisord_kasm.conf /etc/supervisor/conf.d/ +COPY files/run_kasm.sh /etc/supervisor/conf.d/ +RUN chmod 755 /etc/supervisor/conf.d/run_kasm.sh + +# Kasm VNC (modded by gtaffoni to use a socket named by an env var) +COPY files/kasmvnc-Linux-x86_64-0.9.tar.gz /tmp +RUN sudo tar xz --strip 1 -C / -f /tmp/kasmvnc-Linux-x86_64-0.9.tar.gz && rm /tmp/kasmvnc-Linux-x86_64-0.9.tar.gz +RUN mkdir /usr/local/share/kasmvnc/certs +RUN chown ubuntu:ubuntu /usr/local/share/kasmvnc/certs +COPY files/index.html /usr/local/share/kasmvnc/www/ + +# Other utilities +RUN apt-get install -y net-tools + +# X environment setup/startup +RUN apt-get install fluxbox -y +RUN mkdir -p /ubuntu_home_vanilla/.vnc +COPY files/config /ubuntu_home_vanilla/.vnc +COPY files/xstartup /ubuntu_home_vanilla/.vnc +RUN chmod 755 /ubuntu_home_vanilla/.vnc/xstartup +RUN chown -R ubuntu:ubuntu /ubuntu_home_vanilla/.vnc + +# Prepare for logs +RUN mkdir /ubuntu_home_vanilla/.logs && chown ubuntu:ubuntu /ubuntu_home_vanilla/.logs + +# Rename ubuntu home folder as a "vanilla" home folder +#RUN mv /home/ubuntu /ubuntu_home_vanilla + +# Add fluxbox customisations +COPY files/dot_fluxbox /ubuntu_home_vanilla/.fluxbox +RUN chown -R ubuntu:ubuntu /ubuntu_home_vanilla/.fluxbox +COPY files/background.jpg /usr/share/images/fluxbox/background.jpg + + + +# Give write access to anyone to the home folder so the entrypoint will be able +# to copy over the /home/matauser_vanilla into /home/ubuntu (for Singularity) +RUN chmod 777 /home + +# Extra for 18.04 +RUN apt-get install net-tools dbus-x11 -y + +#---------------------- +# Xfce +#---------------------- + +RUN apt-get update +RUN apt-get install xfce4 xfce4-terminal mousepad ristretto tumbler firefox -y + +# Replace X startup with version that uses Xfce as Window Manager +COPY files/xstartup /opt/tigervnc/ +RUN chmod 755 /opt/tigervnc/xstartup + +# X startup +COPY files/xstartup /opt/tigervnc/ +RUN chmod 755 /opt/tigervnc/xstartup + + +#---------------------- +# Desktop +#---------------------- + +# Add some dependencies +RUN apt-get install imwheel zenity x11-xserver-utils -y + +# Create the Desktop +RUN mkdir /ubuntu_home_vanilla/Desktop && chown ubuntu:ubuntu /ubuntu_home_vanilla/Desktop + +# Add mouse scrolling script +COPY files/set_mouse_scrolling_speed /usr/bin/ +COPY files/Set_Mouse_Scrolling_Speed.desktop /ubuntu_home_vanilla/Desktop/ +RUN chmod 755 /usr/bin/set_mouse_scrolling_speed + +# Add Display Resolution stuff +#COPY add_display_resolution /usr/bin/ +#COPY add_display_resolution_gui /usr/bin/ +#COPY Set_Display_Resolution.desktop /ubuntu_home_vanilla/Desktop/ +#COPY Add_Display_Resolution.desktop /ubuntu_home_vanilla/Desktop/ +#RUN chmod 755 /usr/bin/add_display_resolution && chmod 755 /usr/bin/add_display_resolution_gui + +# Correct ownership of Desktop shortcuts +RUN chown -R ubuntu:ubuntu /ubuntu_home_vanilla/Desktop/ + +# Shorter bash prompt +#RUN echo "PS1=\"\u@XUbuntuDesktop:\W $ \"" >> /ubuntu_home_vanilla/.bashrc + + +# Default conf (mostly eyecandy) +COPY files/home_ubuntu_.config /ubuntu_home_vanilla/.config +#COPY data/desktop-cf881dd7/ubuntu_home_vanilla/.config /ubuntu_home_vanilla/.config +RUN chown -R ubuntu:ubuntu /ubuntu_home_vanilla/.config + +# Disable screensaver +COPY files/dot_xscreensaver /ubuntu_home_vanilla/.xscreensaver +RUN chown ubuntu:ubuntu /ubuntu_home_vanilla/.xscreensaver + +# Disable logout dialog +RUN chmod 000 /usr/bin/xfce4-session-logout + +# Create Downloads folder. This is "required" for showing proper spacing between icons in the filemanager a bounch +RUN mkdir /ubuntu_home_vanilla/Downloads && chown ubuntu:ubuntu /ubuntu_home_vanilla/Downloads + + +#---------------------- +# Extra SW +#---------------------- +RUN sudo apt-get install gdebi-core -y +COPY files/software/dropbox_2015.10.28_amd64.deb /root/ +RUN gdebi /root/dropbox_2015.10.28_amd64.deb -n +#RUN apt-get install libreoffice gimp -y + +# Shell for temrinal +COPY files/runshell.sh /bin/ +RUN chmod 755 /bin/runshell.sh + +#-------------------------------------- +# Jupyter, Eclipse, keybindings etc. +#-------------------------------------- + +# Download and install Eclipse and Pydev +RUN wget http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/kepler/SR2/eclipse-standard-kepler-SR2-linux-gtk-x86_64.tar.gz +RUN mv download.php* eclipse-standard-kepler-SR2-linux-gtk-x86_64.tar.gz +RUN tar -zxvf eclipse-standard-kepler-SR2-linux-gtk-x86_64.tar.gz +COPY files/PyDev_3.4.1.zip /tmp +RUN cd eclipse/dropins/ && unzip /tmp/PyDev_3.4.1.zip +RUN mv eclipse /opt/ +COPY files/eclipse128.png /opt/eclipse/eclipse128.png +COPY files/Eclipse.desktop /ubuntu_home_vanilla/Desktop/ +RUN chown -R ubuntu:ubuntu /ubuntu_home_vanilla/Desktop/ + + +# Giveagain, since xfce install "fixed" it) write access to anyone to the home folder so the entrypoint +# will be able to copy over the /home/matauser_vanilla into /home/ubuntu (for Singularity) +RUN chmod 777 /home + + +#---------------------- +# Entrypoint +#---------------------- + +# Copy entrypoint +COPY files/entrypoint.sh / + +# Give right permissions +RUN chmod 755 /entrypoint.sh + +# Set entrypoint +ENTRYPOINT ["/entrypoint.sh"] + +# Set user (mainly for Singularity) +USER ubuntu + +# To access: expose 8590/tcp and 5900/tcp +ENV CONTAINER_NAME='xubuntudesktop' diff --git a/XUbuntuDesktop/build.sh b/XUbuntuDesktop/build.sh new file mode 100755 index 0000000000000000000000000000000000000000..0876c082a3c071d8e3fb98a6f0f4c8161b691501 --- /dev/null +++ b/XUbuntuDesktop/build.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +docker build . -t xubuntudesktop diff --git a/XUbuntuDesktop/files/Add_Display_Resolution.desktop b/XUbuntuDesktop/files/Add_Display_Resolution.desktop new file mode 100755 index 0000000000000000000000000000000000000000..2c682bbdd252b8cb4581b784afec5b28a94a3dc9 --- /dev/null +++ b/XUbuntuDesktop/files/Add_Display_Resolution.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=Add Display Resolution +Comment= +Exec=add_display_resolution_gui +Icon=video-display +Path= +Terminal=false +StartupNotify=false diff --git a/XUbuntuDesktop/files/Eclipse.desktop b/XUbuntuDesktop/files/Eclipse.desktop new file mode 100755 index 0000000000000000000000000000000000000000..d1b59cd0c6996d23b7f2d4aa06f0714ce62c41c0 --- /dev/null +++ b/XUbuntuDesktop/files/Eclipse.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=Eclipse +Comment= +Exec=/opt/eclipse/eclipse +Icon=/opt/eclipse/eclipse128.png +Path= +Terminal=false +StartupNotify=false diff --git a/XUbuntuDesktop/files/PyDev_3.4.1.zip b/XUbuntuDesktop/files/PyDev_3.4.1.zip new file mode 100644 index 0000000000000000000000000000000000000000..bb87f892a68d0583c9a96b26492e78e83a511e59 Binary files /dev/null and b/XUbuntuDesktop/files/PyDev_3.4.1.zip differ diff --git a/XUbuntuDesktop/files/Set_Display_Resolution.desktop b/XUbuntuDesktop/files/Set_Display_Resolution.desktop new file mode 100755 index 0000000000000000000000000000000000000000..562a9198cbc977a1e1c52aaeba32fed40f8cc617 --- /dev/null +++ b/XUbuntuDesktop/files/Set_Display_Resolution.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=Set Display Resolution +Comment= +Exec=xfce4-display-settings +Icon=video-display +Path= +Terminal=false +StartupNotify=false diff --git a/XUbuntuDesktop/files/Set_Mouse_Scrolling_Speed.desktop b/XUbuntuDesktop/files/Set_Mouse_Scrolling_Speed.desktop new file mode 100755 index 0000000000000000000000000000000000000000..7453b70d7a4d09fd74aaa45ca4121f31f8c93490 --- /dev/null +++ b/XUbuntuDesktop/files/Set_Mouse_Scrolling_Speed.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=Set Mouse Scrolling Speed +Comment= +Exec=/usr/bin/set_mouse_scrolling_speed +Icon=input-mouse +Path= +Terminal=false +StartupNotify=false diff --git a/XUbuntuDesktop/files/add_display_resolution b/XUbuntuDesktop/files/add_display_resolution new file mode 100644 index 0000000000000000000000000000000000000000..394cbaa761b79c041b9199fe7ad76da73a74f705 --- /dev/null +++ b/XUbuntuDesktop/files/add_display_resolution @@ -0,0 +1,26 @@ +#!/usr/bin/env python + +import sys +import os + +sh = os.system + +# I don't think the refresh rate matters for VNC modes. +REFRESH_RATE = 60 +DISPLAY_NAME = 'VNC-0' + +if len(sys.argv) != 2: + print('Usage: {} <geometry>'.format(sys.argv[0])) + sys.exit(0) + +geometry = sys.argv[1] +(horz, vert) = (int(x) for x in geometry.split('x')) +pixel_freq = (horz * vert * REFRESH_RATE) / 1.0e6 + +sh('xrandr --newmode {} {} {} 0 0 {} {} 0 0 {}'.format( + geometry, pixel_freq, horz, horz, vert, vert)) +sh('xrandr --addmode {} {}'.format(DISPLAY_NAME, geometry)) + +# Local Variables: +# mode: python +# End: diff --git a/XUbuntuDesktop/files/add_display_resolution_gui b/XUbuntuDesktop/files/add_display_resolution_gui new file mode 100644 index 0000000000000000000000000000000000000000..9ebf16e5cf93b3b77c8b281530a9af4e7ef0e28b --- /dev/null +++ b/XUbuntuDesktop/files/add_display_resolution_gui @@ -0,0 +1,3 @@ +#!/bin/bash +NEWRES=$(zenity --entry --title="Add new resolution" --text="New Resolution (i.e. 1440x900):") +add_display_resolution $NEWRES \ No newline at end of file diff --git a/XUbuntuDesktop/files/background.jpg b/XUbuntuDesktop/files/background.jpg new file mode 100644 index 0000000000000000000000000000000000000000..fe623ec4ddbd6bab4d77dc0f49303d1be040be73 Binary files /dev/null and b/XUbuntuDesktop/files/background.jpg differ diff --git a/XUbuntuDesktop/files/config b/XUbuntuDesktop/files/config new file mode 100644 index 0000000000000000000000000000000000000000..c2dd62c7f8b595678f00f1fab506f0f9f9dbed40 --- /dev/null +++ b/XUbuntuDesktop/files/config @@ -0,0 +1,10 @@ +## Supported server options to pass to vncserver upon invocation can be listed +## in this file. See the following manpages for more: vncserver(1) Xvnc(1). +## Several common ones are shown below. Uncomment and modify to your liking. +## +# securitytypes=vncauth,tlsvnc +# desktop=sandbox +# geometry=2000x1200 +# localhost +# alwaysshared +username=ubuntu diff --git a/XUbuntuDesktop/files/dot_fluxbox/apps b/XUbuntuDesktop/files/dot_fluxbox/apps new file mode 100644 index 0000000000000000000000000000000000000000..7b4aeadb98c6d0d73a3958ab08e83b9b65595e30 --- /dev/null +++ b/XUbuntuDesktop/files/dot_fluxbox/apps @@ -0,0 +1,4 @@ +[app] (name=fbrun) + [Position] (WINCENTER) {0 0} + [Layer] {2} +[end] diff --git a/XUbuntuDesktop/files/dot_fluxbox/init b/XUbuntuDesktop/files/dot_fluxbox/init new file mode 100644 index 0000000000000000000000000000000000000000..17e648ce541a1e606a453cc94ec5a2773616e209 --- /dev/null +++ b/XUbuntuDesktop/files/dot_fluxbox/init @@ -0,0 +1,76 @@ +session.screen0.tabs.usePixmap: true +session.screen0.tabs.maxOver: false +session.screen0.tabs.intitlebar: true +session.screen0.clientMenu.usePixmap: true +session.screen0.iconbar.usePixmap: true +session.screen0.iconbar.iconTextPadding: 10 +session.screen0.iconbar.iconWidth: 128 +session.screen0.iconbar.alignment: Relative +session.screen0.iconbar.mode: {static groups} (workspace) +session.screen0.toolbar.visible: true +session.screen0.toolbar.height: 0 +session.screen0.toolbar.onhead: 1 +session.screen0.toolbar.widthPercent: 100 +session.screen0.toolbar.alpha: 255 +session.screen0.toolbar.maxOver: false +session.screen0.toolbar.autoHide: false +session.screen0.toolbar.layer: Dock +session.screen0.toolbar.placement: BottomCenter +#session.screen0.toolbar.tools: prevworkspace, workspacename, nextworkspace, clock, prevwindow, nextwindow, iconbar, systemtray +session.screen0.toolbar.tools: iconbar, systemtray +session.screen0.menu.alpha: 255 +session.screen0.tab.placement: TopLeft +session.screen0.tab.width: 64 +session.screen0.titlebar.left: Stick +session.screen0.titlebar.right: Minimize Maximize Close +session.screen0.window.focus.alpha: 255 +session.screen0.window.unfocus.alpha: 255 +session.screen0.slit.alpha: 255 +session.screen0.slit.maxOver: false +session.screen0.slit.placement: RightBottom +session.screen0.slit.autoHide: false +session.screen0.slit.acceptKdeDockapps: true +session.screen0.slit.onhead: 0 +session.screen0.slit.layer: Dock +session.screen0.colPlacementDirection: TopToBottom +session.screen0.tabFocusModel: ClickToTabFocus +session.screen0.autoRaise: true +session.screen0.maxDisableMove: false +session.screen0.edgeSnapThreshold: 10 +session.screen0.tooltipDelay: 500 +session.screen0.opaqueMove: true +session.screen0.windowPlacement: RowMinOverlapPlacement +session.screen0.focusNewWindows: true +session.screen0.clickRaises: true +session.screen0.maxDisableResize: false +session.screen0.windowMenu: /home/ubuntu/.fluxbox/windowmenu +session.screen0.allowRemoteActions: false +session.screen0.strftimeFormat: %d %b, %a %02k:%M:%S +session.screen0.focusSameHead: false +session.screen0.workspacewarping: true +session.screen0.fullMaximization: false +session.screen0.defaultDeco: NORMAL +session.screen0.noFocusWhileTypingDelay: 0 +session.screen0.menuDelay: 200 +session.screen0.workspaceNames: Workspace 1,Workspace 2,Workspace 3,Workspace 4, +session.screen0.rowPlacementDirection: LeftToRight +session.screen0.focusModel: ClickFocus +session.screen0.showwindowposition: false +session.screen0.maxIgnoreIncrement: true +session.screen0.workspaces: 1 +session.styleOverlay: /home/ubuntu/.fluxbox/overlay +session.keyFile: ~/.fluxbox/keys +session.cacheMax: 200 +session.tabsAttachArea: Window +session.slitlistFile: /home/ubuntu/.fluxbox/slitlist +session.forcePseudoTransparency: false +session.tabPadding: 0 +session.colorsPerChannel: 4 +session.styleFile: /usr/share/fluxbox/styles//ubuntu-light +session.autoRaiseDelay: 250 +session.cacheLife: 5 +session.appsFile: /home/ubuntu/.fluxbox/apps +session.ignoreBorder: false +session.configVersion: 13 +session.doubleClickInterval: 250 +session.menuFile: ~/.fluxbox/menu diff --git a/XUbuntuDesktop/files/dot_fluxbox/keys b/XUbuntuDesktop/files/dot_fluxbox/keys new file mode 100644 index 0000000000000000000000000000000000000000..953d08b263a8422903691069977a3aa56472391c --- /dev/null +++ b/XUbuntuDesktop/files/dot_fluxbox/keys @@ -0,0 +1,137 @@ +# click on the desktop to get menus +OnDesktop Mouse1 :HideMenus +OnDesktop Mouse2 :WorkspaceMenu +OnDesktop Mouse3 :RootMenu + +# scroll on the desktop to change workspaces +OnDesktop Mouse4 :PrevWorkspace +OnDesktop Mouse5 :NextWorkspace + +# scroll on the toolbar to change current window +OnToolbar Mouse4 :PrevWindow {static groups} (iconhidden=no) +OnToolbar Mouse5 :NextWindow {static groups} (iconhidden=no) + +# alt + left/right click to move/resize a window +OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving} +OnWindowBorder Move1 :StartMoving + +OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing NearestCorner} +OnLeftGrip Move1 :StartResizing bottomleft +OnRightGrip Move1 :StartResizing bottomright + +# alt + middle click to lower the window +OnWindow Mod1 Mouse2 :Lower + +# control-click a window's titlebar and drag to attach windows +OnTitlebar Control Mouse1 :StartTabbing + +# double click on the titlebar to shade +OnTitlebar Double Mouse1 :Shade + +# left click on the titlebar to move the window +OnTitlebar Mouse1 :MacroCmd {Raise} {Focus} {ActivateTab} +OnTitlebar Move1 :StartMoving + +# middle click on the titlebar to lower +OnTitlebar Mouse2 :Lower + +# right click on the titlebar for a menu of options +OnTitlebar Mouse3 :WindowMenu + +# alt-tab +Mod1 Tab :NextWindow {groups} (workspace=[current]) +Mod1 Shift Tab :PrevWindow {groups} (workspace=[current]) + +# cycle through tabs in the current window +Mod4 Tab :NextTab +Mod4 Shift Tab :PrevTab + +# go to a specific tab in the current window +Mod4 1 :Tab 1 +Mod4 2 :Tab 2 +Mod4 3 :Tab 3 +Mod4 4 :Tab 4 +Mod4 5 :Tab 5 +Mod4 6 :Tab 6 +Mod4 7 :Tab 7 +Mod4 8 :Tab 8 +Mod4 9 :Tab 9 + +# open a terminal +Mod1 F1 :Exec x-terminal-emulator + +# open a dialog to run programs +Mod1 F2 :Exec fbrun + +# volume settings, using common keycodes +# if these don't work, use xev to find out your real keycodes +176 :Exec amixer sset Master,0 1+ +174 :Exec amixer sset Master,0 1- +160 :Exec amixer sset Master,0 toggle + +# current window commands +Mod1 F4 :Close +Mod1 F5 :Kill +Mod1 F9 :Minimize +Mod1 F10 :Maximize +Mod1 F11 :Fullscreen + +# open the window menu +Mod1 space :WindowMenu + +# exit fluxbox +Control Mod1 Delete :Exit + +# change to previous/next workspace +Control Mod1 Left :PrevWorkspace +Control Mod1 Right :NextWorkspace + +# send the current window to previous/next workspace +Mod4 Left :SendToPrevWorkspace +Mod4 Right :SendToNextWorkspace + +# send the current window and follow it to previous/next workspace +Control Mod4 Left :TakeToPrevWorkspace +Control Mod4 Right :TakeToNextWorkspace + +# change to a specific workspace +Control F1 :Workspace 1 +Control F2 :Workspace 2 +Control F3 :Workspace 3 +Control F4 :Workspace 4 +Control F5 :Workspace 5 +Control F6 :Workspace 6 +Control F7 :Workspace 7 +Control F8 :Workspace 8 +Control F9 :Workspace 9 +Control F10 :Workspace 10 +Control F11 :Workspace 11 +Control F12 :Workspace 12 + +# send the current window to a specific workspace +Mod4 F1 :SendToWorkspace 1 +Mod4 F2 :SendToWorkspace 2 +Mod4 F3 :SendToWorkspace 3 +Mod4 F4 :SendToWorkspace 4 +Mod4 F5 :SendToWorkspace 5 +Mod4 F6 :SendToWorkspace 6 +Mod4 F7 :SendToWorkspace 7 +Mod4 F8 :SendToWorkspace 8 +Mod4 F9 :SendToWorkspace 9 +Mod4 F10 :SendToWorkspace 10 +Mod4 F11 :SendToWorkspace 11 +Mod4 F12 :SendToWorkspace 12 + +# send the current window and change to a specific workspace +Control Mod4 F1 :TakeToWorkspace 1 +Control Mod4 F2 :TakeToWorkspace 2 +Control Mod4 F3 :TakeToWorkspace 3 +Control Mod4 F4 :TakeToWorkspace 4 +Control Mod4 F5 :TakeToWorkspace 5 +Control Mod4 F6 :TakeToWorkspace 6 +Control Mod4 F7 :TakeToWorkspace 7 +Control Mod4 F8 :TakeToWorkspace 8 +Control Mod4 F9 :TakeToWorkspace 9 +Control Mod4 F10 :TakeToWorkspace 10 +Control Mod4 F11 :TakeToWorkspace 11 +Control Mod4 F12 :TakeToWorkspace 12 diff --git a/XUbuntuDesktop/files/dot_fluxbox/lastwallpaper b/XUbuntuDesktop/files/dot_fluxbox/lastwallpaper new file mode 100644 index 0000000000000000000000000000000000000000..1d3a812f04583f48292c28f5c7bec1972f75b17e --- /dev/null +++ b/XUbuntuDesktop/files/dot_fluxbox/lastwallpaper @@ -0,0 +1 @@ +$full $full|/usr/share/images/fluxbox/ubuntu-light.png|style|:0.0 diff --git a/XUbuntuDesktop/files/dot_fluxbox/menu b/XUbuntuDesktop/files/dot_fluxbox/menu new file mode 100644 index 0000000000000000000000000000000000000000..ed1edfbbf100ff08ce6cb48b958a8eb01e0520a6 --- /dev/null +++ b/XUbuntuDesktop/files/dot_fluxbox/menu @@ -0,0 +1,3 @@ +[begin] (fluxbox) +[include] (/etc/X11/fluxbox/fluxbox-menu) +[end] diff --git a/XUbuntuDesktop/files/dot_fluxbox/overlay b/XUbuntuDesktop/files/dot_fluxbox/overlay new file mode 100644 index 0000000000000000000000000000000000000000..4ddc46b04c8c8d4b357a950dc0ff246d7960cbad --- /dev/null +++ b/XUbuntuDesktop/files/dot_fluxbox/overlay @@ -0,0 +1,4 @@ +! The following line will prevent styles from setting the background. +! background: none +background: aspect +background.pixmap: /usr/share/images/fluxbox/background.jpg diff --git a/XUbuntuDesktop/files/dot_fluxbox/windowmenu b/XUbuntuDesktop/files/dot_fluxbox/windowmenu new file mode 100644 index 0000000000000000000000000000000000000000..d867b64c2299e4d714323ec3018ce3efe3a4f466 --- /dev/null +++ b/XUbuntuDesktop/files/dot_fluxbox/windowmenu @@ -0,0 +1,15 @@ +[begin] + [shade] + [stick] + [maximize] + [iconify] + [raise] + [lower] + [settitledialog] + [sendto] + [layer] + [alpha] + [extramenus] + [separator] + [close] +[end] diff --git a/XUbuntuDesktop/files/dot_xscreensaver b/XUbuntuDesktop/files/dot_xscreensaver new file mode 100644 index 0000000000000000000000000000000000000000..863f00913582f8661f7daaccf31b1d531453bf06 --- /dev/null +++ b/XUbuntuDesktop/files/dot_xscreensaver @@ -0,0 +1,281 @@ +# XScreenSaver Preferences File +# Written by xscreensaver-demo 5.36 for ubuntu on Fri Jul 13 21:09:30 2018. +# https://www.jwz.org/xscreensaver/ + +timeout: 0:10:00 +cycle: 0:10:00 +lock: False +lockTimeout: 0:00:00 +passwdTimeout: 0:00:30 +visualID: default +installColormap: True +verbose: False +timestamp: True +splash: True +splashDuration: 0:00:05 +demoCommand: xscreensaver-demo +prefsCommand: xscreensaver-demo -prefs +nice: 10 +memoryLimit: 0 +fade: True +unfade: False +fadeSeconds: 0:00:03 +fadeTicks: 20 +captureStderr: True +ignoreUninstalledPrograms:False +font: *-medium-r-*-140-*-m-* +dpmsEnabled: False +dpmsQuickOff: False +dpmsStandby: 2:00:00 +dpmsSuspend: 2:00:00 +dpmsOff: 4:00:00 +grabDesktopImages: False +grabVideoFrames: False +chooseRandomImages: False +imageDirectory: + +mode: off +selected: -1 + +textMode: url +textLiteral: XScreenSaver +textFile: +textProgram: fortune +textURL: http://feeds.feedburner.com/ubuntu-news + +programs: \ + maze -root \n\ +- GL: superquadrics -root \n\ + attraction -root \n\ + blitspin -root \n\ + greynetic -root \n\ + helix -root \n\ + hopalong -root \n\ + imsmap -root \n\ +- noseguy -root \n\ +- pyro -root \n\ + qix -root \n\ +- rocks -root \n\ + rorschach -root \n\ + decayscreen -root \n\ + flame -root \n\ + halo -root \n\ + slidescreen -root \n\ + pedal -root \n\ + bouboule -root \n\ +- braid -root \n\ + coral -root \n\ + deco -root \n\ + drift -root \n\ +- fadeplot -root \n\ + galaxy -root \n\ + goop -root \n\ + grav -root \n\ + ifs -root \n\ + unicode -root \n\ +- GL: jigsaw -root \n\ + julia -root \n\ +- kaleidescope -root \n\ +- GL: moebius -root \n\ + moire -root \n\ +- GL: morph3d -root \n\ + mountain -root \n\ + munch -root \n\ + penrose -root \n\ +- GL: pipes -root \n\ + rd-bomb -root \n\ +- GL: rubik -root \n\ +- sierpinski -root \n\ + slip -root \n\ +- GL: sproingies -root \n\ + starfish -root \n\ + strange -root \n\ + swirl -root \n\ + triangle -root \n\ + xjack -root \n\ + xlyap -root \n\ +- GL: atlantis -root \n\ + bsod -root \n\ +- GL: bubble3d -root \n\ +- GL: cage -root \n\ +- crystal -root \n\ + cynosure -root \n\ + discrete -root \n\ + distort -root \n\ + epicycle -root \n\ + flow -root \n\ +- GL: glplanet -root \n\ + interference -root \n\ + kumppa -root \n\ +- GL: lament -root \n\ + moire2 -root \n\ +- GL: sonar -root \n\ +- GL: stairs -root \n\ + truchet -root \n\ +- vidwhacker -root \n\ + blaster -root \n\ + bumps -root \n\ + ccurve -root \n\ + compass -root \n\ + deluxe -root \n\ +- demon -root \n\ +- GL: extrusion -root \n\ +- loop -root \n\ + penetrate -root \n\ + petri -root \n\ + phosphor -root \n\ +- GL: pulsar -root \n\ + ripples -root \n\ + shadebobs -root \n\ +- GL: sierpinski3d -root \n\ + spotlight -root \n\ + squiral -root \n\ + wander -root \n\ +- webcollage -root \n\ + xflame -root \n\ + xmatrix -root \n\ +- GL: gflux -root \n\ +- nerverot -root \n\ + xrayswarm -root \n\ + xspirograph -root \n\ +- GL: circuit -root \n\ +- GL: dangerball -root \n\ +- GL: engine -root \n\ +- GL: flipscreen3d -root \n\ +- GL: gltext -root \n\ +- GL: menger -root \n\ +- GL: molecule -root \n\ + rotzoomer -root \n\ + speedmine -root \n\ +- GL: starwars -root \n\ +- GL: stonerview -root \n\ + vermiculate -root \n\ + whirlwindwarp -root \n\ + zoom -root \n\ + anemone -root \n\ + apollonian -root \n\ +- GL: boxed -root \n\ +- GL: cubenetic -root \n\ +- GL: endgame -root \n\ + euler2d -root \n\ + fluidballs -root \n\ +- GL: flurry -root \n\ +- GL: glblur -root \n\ +- GL: glsnake -root \n\ + halftone -root \n\ +- GL: juggler3d -root \n\ +- GL: lavalite -root \n\ +- polyominoes -root \n\ +- GL: queens -root \n\ +- GL: sballs -root \n\ +- GL: spheremonics -root \n\ +- thornbird -root \n\ + twang -root \n\ +- GL: antspotlight -root \n\ + apple2 -root \n\ +- GL: atunnel -root \n\ + barcode -root \n\ +- GL: blinkbox -root \n\ +- GL: blocktube -root \n\ +- GL: bouncingcow -root \n\ + cloudlife -root \n\ +- GL: cubestorm -root \n\ + eruption -root \n\ +- GL: flipflop -root \n\ +- GL: flyingtoasters -root \n\ + fontglide -root \n\ +- GL: gleidescope -root \n\ +- GL: glknots -root \n\ +- GL: glmatrix -root \n\ +- GL: glslideshow -root \n\ +- GL: hypertorus -root \n\ +- GL: jigglypuff -root \n\ + metaballs -root \n\ +- GL: mirrorblob -root \n\ + piecewise -root \n\ +- GL: polytopes -root \n\ + pong -root \n\ + popsquares -root \n\ +- GL: surfaces -root \n\ + xanalogtv -root \n\ + abstractile -root \n\ + anemotaxis -root \n\ +- GL: antinspect -root \n\ + fireworkx -root \n\ + fuzzyflakes -root \n\ + interaggregate -root \n\ + intermomentary -root \n\ + memscroller -root \n\ +- GL: noof -root \n\ + pacman -root \n\ +- GL: pinion -root \n\ +- GL: polyhedra -root \n\ +- GL: providence -root \n\ + substrate -root \n\ + wormhole -root \n\ +- GL: antmaze -root \n\ +- GL: boing -root \n\ + boxfit -root \n\ +- GL: carousel -root \n\ + celtic -root \n\ +- GL: crackberg -root \n\ +- GL: cube21 -root \n\ + fiberlamp -root \n\ +- GL: fliptext -root \n\ +- GL: glhanoi -root \n\ +- GL: tangram -root \n\ +- GL: timetunnel -root \n\ +- GL: glschool -root \n\ +- GL: topblock -root \n\ +- GL: cubicgrid -root \n\ + cwaves -root \n\ +- GL: gears -root \n\ +- GL: glcells -root \n\ +- GL: lockward -root \n\ + m6502 -root \n\ +- GL: moebiusgears -root \n\ +- GL: voronoi -root \n\ +- GL: hypnowheel -root \n\ +- GL: klein -root \n\ +- lcdscrub -root \n\ +- GL: photopile -root \n\ +- GL: skytentacles -root \n\ +- GL: rubikblocks -root \n\ +- GL: companioncube -root \n\ +- GL: hilbert -root \n\ +- GL: tronbit -root \n\ +- GL: geodesic -root \n\ + hexadrop -root \n\ +- GL: kaleidocycle -root \n\ +- GL: quasicrystal -root \n\ +- GL: unknownpleasures -root \n\ + binaryring -root \n\ +- GL: cityflow -root \n\ +- GL: geodesicgears -root \n\ +- GL: projectiveplane -root \n\ +- GL: romanboy -root \n\ + tessellimage -root \n\ +- GL: winduprobot -root \n\ +- GL: splitflap -root \n\ +- GL: cubestack -root \n\ +- GL: cubetwist -root \n\ +- GL: discoball -root \n\ +- GL: dymaxionmap -root \n\ +- GL: energystream -root \n\ +- GL: hexstrut -root \n\ +- GL: hydrostat -root \n\ +- GL: raverhoop -root \n\ +- GL: splodesic -root \n\ +- GL: unicrud -root \n\ + + +pointerPollTime: 0:00:05 +pointerHysteresis: 10 +windowCreationTimeout:0:00:30 +initialDelay: 0:00:00 +GetViewPortIsFullOfLies:False +procInterrupts: True +xinputExtensionDev: False +overlayStderr: True +authWarningSlack: 20 + diff --git a/XUbuntuDesktop/files/eclipse128.png b/XUbuntuDesktop/files/eclipse128.png new file mode 100644 index 0000000000000000000000000000000000000000..f63084b43058f9f4e7561ea891f4420ac6403b41 Binary files /dev/null and b/XUbuntuDesktop/files/eclipse128.png differ diff --git a/XUbuntuDesktop/files/entrypoint.sh b/XUbuntuDesktop/files/entrypoint.sh new file mode 100644 index 0000000000000000000000000000000000000000..0724a9c84eaeee8d2bcdd66f892bf16b5987ba13 --- /dev/null +++ b/XUbuntuDesktop/files/entrypoint.sh @@ -0,0 +1,113 @@ +#!/bin/bash + + # Exit on any error. More complex thing could be done in future +# (see https://stackoverflow.com/questions/4381618/exit-a-script-on-error) +set -e + + +if [ "x$SAFE_MODE" == "xTrue" ]; then + echo "" + echo "[INFO] Not executing entrypoint as we are in safe mode, just opening a Bash shell." + exec /bin/bash +else + echo "" + echo "[INFO] Executing entrypoint..." + + if [ "x$BASE_PORT" == "x" ]; then + echo "[INFO] No task base port set, will set noVNC port 8590 and VNC port 5900 with desktop id \"0\"" + else + echo "[INFO] Task base port set, will set noVNC port $BASE_PORT and noVNC port $(($BASE_PORT+1)) with desktop id \"$(($BASE_PORT-5900+1))\"" + fi + + #--------------------- + # Setup home + #--------------------- + + if [ -f "/home/ubuntu/.initialized" ]; then + : + else + echo "[INFO] Setting up home" + mkdir -p /home/ubuntu + + # Copy over vanilla home contents + for x in /ubuntu_home_vanilla/* /ubuntu_home_vanilla/.[!.]* /ubuntu_home_vanilla/..?*; do + if [ -e "$x" ]; then cp -a "$x" /home/ubuntu/; fi + done + + # Mark as initialized + touch /home/ubuntu/.initialized + fi + + # Manually set home (mainly for Singularity) + echo "[INFO] Setting up HOME env var" + export HOME=/home/ubuntu + cd /home/ubuntu + + #--------------------- + # Save env + #--------------------- + echo "[INFO] Dumping env" + + # Save env vars for later usage (e.g. ssh) + + env | \ + while read env_var; do + if [[ $env_var == HOME\=* ]]; then + : # Skip HOME var + elif [[ $env_var == PWD\=* ]]; then + : # Skip PWD var + else + echo "export $env_var" >> /tmp/env.sh + fi + done + + + #--------------------- + # Password + #--------------------- + + if [ "x$AUTH_PASS" != "x" ]; then + echo "[INFO] Setting up VNC password..." + else + echo "[INFO] Setting up default VNC password (testpass)" + AUTH_PASS=testpass + fi + /usr/local/bin/kasmvncpasswd -f <<< $AUTH_PASS > /home/ubuntu/.kasmpasswd + chmod 600 /home/ubuntu/.kasmpasswd + export VNC_AUTH=True + + + #--------------------- + # User + #--------------------- + + if [ "x$AUTH_USER" != "x" ]; then + echo "[INFO] Setting up VNC user..." + sed -i -e "s/username=ubuntu/username=$AUTH_USER/" /home/ubuntu/.vnc/config + else + echo "[INFO] Setting up default VNC user (ubuntu)" + fi + + + echo "[INFO] Setting new prompt @$CONTAINER_NAME container" + echo 'export PS1="${debian_chroot:+($debian_chroot)}\u@$CONTAINER_NAME@\h:\w\$ "' >> /home/ubuntu/.bashrc + + + + #--------------------- + # Entrypoint command + #--------------------- + + if [ "$@x" == "x" ]; then + DEFAULT_COMMAND="supervisord -c /etc/supervisor/supervisord.conf" + echo -n "[INFO] Executing default entrypoint command: " + echo $DEFAULT_COMMAND + exec $DEFAULT_COMMAND + else + echo -n "[INFO] Executing entrypoint command: " + echo $@ + exec $@ + fi + +fi + diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/Thunar/accels.scm b/XUbuntuDesktop/files/home_ubuntu_.config/Thunar/accels.scm new file mode 100644 index 0000000000000000000000000000000000000000..148c8a73938534c26585f790072db7c12fb5309b --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/Thunar/accels.scm @@ -0,0 +1,76 @@ +; Thunar GtkAccelMap rc-file -*- scheme -*- +; this file is an automated accelerator map dump +; +; (gtk_accel_path "<Actions>/ThunarLauncher/sendto-desktop" "") +; (gtk_accel_path "<Actions>/ThunarStandardView/create-folder" "<Primary><Shift>n") +; (gtk_accel_path "<Actions>/ThunarShortcutsPane/sendto-shortcuts" "") +; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-menu" "") +; (gtk_accel_path "<Actions>/ThunarStandardView/paste-into-folder" "<Primary>v") +; (gtk_accel_path "<Actions>/ThunarWindow/open-home" "<Alt>Home") +; (gtk_accel_path "<Actions>/ThunarWindow/view-menu" "") +; (gtk_accel_path "<Actions>/ThunarLauncher/open" "<Primary>o") +; (gtk_accel_path "<Actions>/ThunarWindow/go-menu" "") +; (gtk_accel_path "<Actions>/ThunarWindow/open-file-system" "") +; (gtk_accel_path "<Actions>/ThunarWindow/zoom-out" "<Primary>minus") +; (gtk_accel_path "<Actions>/ThunarStandardView/paste" "<Primary>v") +; (gtk_accel_path "<Actions>/ThunarLauncher/open-with-menu" "") +; (gtk_accel_path "<Actions>/ThunarWindow/help-menu" "") +; (gtk_accel_path "<Actions>/ThunarWindow/file-menu" "") +; (gtk_accel_path "<Actions>/ThunarLauncher/open-with-other-in-menu" "") +; (gtk_accel_path "<Actions>/ThunarWindow/detach-tab" "") +; (gtk_accel_path "<Actions>/ThunarLauncher/open-in-new-tab" "<Primary><Shift>p") +; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-name" "") +; (gtk_accel_path "<Actions>/ThunarWindow/view-menubar" "<Primary>m") +; (gtk_accel_path "<Actions>/ThunarStandardView/back" "<Alt>Left") +; (gtk_accel_path "<Actions>/ThunarWindow/close-tab" "<Primary>w") +; (gtk_accel_path "<Actions>/ThunarWindow/view-as-compact-list" "<Primary>3") +; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-tree" "<Primary>e") +; (gtk_accel_path "<Actions>/ThunarStandardView/restore" "") +; (gtk_accel_path "<Actions>/ThunarWindow/open-network" "") +; (gtk_accel_path "<Actions>/ThunarWindow/new-tab" "<Primary>t") +; (gtk_accel_path "<Actions>/ThunarWindow/preferences" "") +; (gtk_accel_path "<Actions>/ThunarStandardView/rename" "F2") +; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-size" "") +; (gtk_accel_path "<Actions>/ThunarWindow/sendto-menu" "") +; (gtk_accel_path "<Actions>/ThunarWindow/edit-menu" "") +; (gtk_accel_path "<Actions>/ThunarLauncher/open-with-other" "") +; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-toolbar" "") +; (gtk_accel_path "<Actions>/ThunarStandardView/invert-selection" "") +; (gtk_accel_path "<Actions>/ThunarStandardView/make-link" "") +; (gtk_accel_path "<Actions>/ThunarWindow/view-as-icons" "<Primary>1") +; (gtk_accel_path "<Actions>/ThunarWindow/new-window" "<Primary>n") +; (gtk_accel_path "<Actions>/ThunarStandardView/forward" "<Alt>Right") +; (gtk_accel_path "<Actions>/ThunarStandardView/move-to-trash" "") +; (gtk_accel_path "<Actions>/ThunarStandardView/select-by-pattern" "<Primary>s") +; (gtk_accel_path "<Actions>/ThunarWindow/about" "") +; (gtk_accel_path "<Actions>/ThunarWindow/contents" "F1") +; (gtk_accel_path "<Actions>/ThunarWindow/open-desktop" "") +; (gtk_accel_path "<Actions>/ThunarWindow/close-all-windows" "<Primary><Shift>w") +; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in" "<Primary>plus") +; (gtk_accel_path "<Actions>/ThunarStandardView/duplicate" "") +; (gtk_accel_path "<Actions>/ThunarWindow/open-parent" "<Alt>Up") +; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-shortcuts" "<Primary>b") +; (gtk_accel_path "<Actions>/ThunarWindow/reload" "<Primary>r") +; (gtk_accel_path "<Actions>/ThunarWindow/open-templates" "") +; (gtk_accel_path "<Actions>/ThunarStandardView/copy" "<Primary>c") +; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-pathbar" "") +; (gtk_accel_path "<Actions>/ThunarWindow/open-trash" "") +; (gtk_accel_path "<Actions>/ThunarActions/uca-action-1531439636685867-1" "") +; (gtk_accel_path "<Actions>/ThunarStandardView/sort-descending" "") +; (gtk_accel_path "<Actions>/ThunarStandardView/properties" "<Alt>Return") +; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-type" "") +; (gtk_accel_path "<Actions>/ThunarStandardView/delete" "") +; (gtk_accel_path "<Actions>/ThunarStandardView/sort-ascending" "") +; (gtk_accel_path "<Actions>/ThunarWindow/empty-trash" "") +; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-menu" "") +; (gtk_accel_path "<Actions>/ThunarLauncher/open-in-new-window" "<Primary><Shift>o") +; (gtk_accel_path "<Actions>/ThunarStandardView/arrange-items-menu" "") +; (gtk_accel_path "<Actions>/ThunarStandardView/cut" "<Primary>x") +; (gtk_accel_path "<Actions>/ThunarWindow/close-window" "<Primary>q") +; (gtk_accel_path "<Actions>/ThunarStandardView/select-all-files" "") +; (gtk_accel_path "<Actions>/ThunarWindow/open-location" "<Primary>l") +; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-mtime" "") +; (gtk_accel_path "<Actions>/ThunarWindow/zoom-reset" "<Primary>0") +; (gtk_accel_path "<Actions>/ThunarWindow/view-statusbar" "") +; (gtk_accel_path "<Actions>/ThunarWindow/show-hidden" "<Primary>h") +; (gtk_accel_path "<Actions>/ThunarWindow/view-as-detailed-list" "<Primary>2") diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/Thunar/uca.xml b/XUbuntuDesktop/files/home_ubuntu_.config/Thunar/uca.xml new file mode 100644 index 0000000000000000000000000000000000000000..793c1c0d8609e0991dae781bb012dddc155a5906 --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/Thunar/uca.xml @@ -0,0 +1,13 @@ +<?xml encoding="UTF-8" version="1.0"?> +<actions> +<action> + <icon>utilities-terminal</icon> + <name>Open Terminal Here</name> + <unique-id>1531439636685867-1</unique-id> + <command>exo-open --working-directory %f --launch TerminalEmulator</command> + <description>Example for a custom action</description> + <patterns>*</patterns> + <startup-notify/> + <directories/> +</action> +</actions> diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/gtk-2.0/gtkfilechooser.ini b/XUbuntuDesktop/files/home_ubuntu_.config/gtk-2.0/gtkfilechooser.ini new file mode 100644 index 0000000000000000000000000000000000000000..62930e9dcc062d18fc4e5f4b8d12fa1277ac5000 --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/gtk-2.0/gtkfilechooser.ini @@ -0,0 +1,11 @@ +[Filechooser Settings] +LocationMode=path-bar +ShowHidden=false +ShowSizeColumn=true +GeometryX=-1 +GeometryY=-1 +GeometryWidth=-1 +GeometryHeight=-1 +SortColumn=name +SortOrder=ascending +StartupMode=recent diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/mimeapps.list b/XUbuntuDesktop/files/home_ubuntu_.config/mimeapps.list new file mode 100644 index 0000000000000000000000000000000000000000..82c659af4c276ee1a26d735ccd01c246e369aeed --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/mimeapps.list @@ -0,0 +1,4 @@ +[Added Associations] +x-scheme-handler/http=exo-web-browser.desktop +x-scheme-handler/https=exo-web-browser.desktop + diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/user-dirs.dirs b/XUbuntuDesktop/files/home_ubuntu_.config/user-dirs.dirs new file mode 100644 index 0000000000000000000000000000000000000000..4c2e116b8d358da5095ce583cd32b84c491cb517 --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/user-dirs.dirs @@ -0,0 +1,15 @@ +# This file is written by xdg-user-dirs-update +# If you want to change or add directories, just edit the line you're +# interested in. All local changes will be retained on the next run. +# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped +# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an +# absolute path. No other format is supported. +# +XDG_DESKTOP_DIR="$HOME/Desktop" +XDG_DOWNLOAD_DIR="$HOME/" +XDG_TEMPLATES_DIR="$HOME/" +XDG_PUBLICSHARE_DIR="$HOME/" +XDG_DOCUMENTS_DIR="$HOME/" +XDG_MUSIC_DIR="$HOME/" +XDG_PICTURES_DIR="$HOME/" +XDG_VIDEOS_DIR="$HOME/" diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/user-dirs.locale b/XUbuntuDesktop/files/home_ubuntu_.config/user-dirs.locale new file mode 100644 index 0000000000000000000000000000000000000000..96d80cd6c4e7158dbebd0849f4fb7ce513e5828c --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/user-dirs.locale @@ -0,0 +1 @@ +C \ No newline at end of file diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/desktop/icons.screen0-1331x653.rc b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/desktop/icons.screen0-1331x653.rc new file mode 100644 index 0000000000000000000000000000000000000000..76e34f2d38eee82d66ce6f9b1ca683cd41f49cc8 --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/desktop/icons.screen0-1331x653.rc @@ -0,0 +1,19 @@ +[xfdesktop-version-4.10.3+-rcfile_format] +4.10.3+=true + +[/home/ubuntu/Desktop/Set_Mouse_Scrolling_Speed.desktop] +row=3 +col=0 + +[Trash] +row=0 +col=0 + +[/] +row=1 +col=0 + +[/home/ubuntu] +row=2 +col=0 + diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/desktop/icons.screen0-1616x750.rc b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/desktop/icons.screen0-1616x750.rc new file mode 100644 index 0000000000000000000000000000000000000000..76e34f2d38eee82d66ce6f9b1ca683cd41f49cc8 --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/desktop/icons.screen0-1616x750.rc @@ -0,0 +1,19 @@ +[xfdesktop-version-4.10.3+-rcfile_format] +4.10.3+=true + +[/home/ubuntu/Desktop/Set_Mouse_Scrolling_Speed.desktop] +row=3 +col=0 + +[Trash] +row=0 +col=0 + +[/] +row=1 +col=0 + +[/home/ubuntu] +row=2 +col=0 + diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/desktop/icons.screen0-1616x795.rc b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/desktop/icons.screen0-1616x795.rc new file mode 100644 index 0000000000000000000000000000000000000000..76e34f2d38eee82d66ce6f9b1ca683cd41f49cc8 --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/desktop/icons.screen0-1616x795.rc @@ -0,0 +1,19 @@ +[xfdesktop-version-4.10.3+-rcfile_format] +4.10.3+=true + +[/home/ubuntu/Desktop/Set_Mouse_Scrolling_Speed.desktop] +row=3 +col=0 + +[Trash] +row=0 +col=0 + +[/] +row=1 +col=0 + +[/home/ubuntu] +row=2 +col=0 + diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/desktop/icons.screen0-1616x808.rc b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/desktop/icons.screen0-1616x808.rc new file mode 100644 index 0000000000000000000000000000000000000000..76e34f2d38eee82d66ce6f9b1ca683cd41f49cc8 --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/desktop/icons.screen0-1616x808.rc @@ -0,0 +1,19 @@ +[xfdesktop-version-4.10.3+-rcfile_format] +4.10.3+=true + +[/home/ubuntu/Desktop/Set_Mouse_Scrolling_Speed.desktop] +row=3 +col=0 + +[Trash] +row=0 +col=0 + +[/] +row=1 +col=0 + +[/home/ubuntu] +row=2 +col=0 + diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/desktop/icons.screen0-1664x974.rc b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/desktop/icons.screen0-1664x974.rc new file mode 100644 index 0000000000000000000000000000000000000000..76e34f2d38eee82d66ce6f9b1ca683cd41f49cc8 --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/desktop/icons.screen0-1664x974.rc @@ -0,0 +1,19 @@ +[xfdesktop-version-4.10.3+-rcfile_format] +4.10.3+=true + +[/home/ubuntu/Desktop/Set_Mouse_Scrolling_Speed.desktop] +row=3 +col=0 + +[Trash] +row=0 +col=0 + +[/] +row=1 +col=0 + +[/home/ubuntu] +row=2 +col=0 + diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/helpers.rc b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/helpers.rc new file mode 100644 index 0000000000000000000000000000000000000000..61f43d788770bd785dc90042cbcd1712543bda05 --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/helpers.rc @@ -0,0 +1,3 @@ +WebBrowser=firefox +TerminalEmulator=xfce4-terminal + diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/panel/launcher-10/15029210342.desktop b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/panel/launcher-10/15029210342.desktop new file mode 100644 index 0000000000000000000000000000000000000000..c68dc595780731bf366333dcf68853fe30adab7b --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/panel/launcher-10/15029210342.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=exo-open /home/ubuntu +Icon=system-file-manager +StartupNotify=true +Terminal=false +Categories=Utility;X-XFCE;X-Xfce-Toplevel; +OnlyShowIn=XFCE; +X-XFCE-MimeType=x-scheme-handler/file;x-scheme-handler/trash; +Name=File Manager +Comment=Browse the file system +X-XFCE-Source=file:///usr/share/applications/exo-file-manager.desktop diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/panel/launcher-11/15029210353.desktop b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/panel/launcher-11/15029210353.desktop new file mode 100644 index 0000000000000000000000000000000000000000..b6be6b438ce182a10fe9737400a81d2157e1139a --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/panel/launcher-11/15029210353.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=exo-open --launch WebBrowser %u +Icon=web-browser +StartupNotify=true +Terminal=false +Categories=Network;X-XFCE;X-Xfce-Toplevel; +OnlyShowIn=XFCE; +X-XFCE-MimeType=x-scheme-handler/http;x-scheme-handler/https; +Name=Web Browser +Comment=Browse the web +X-XFCE-Source=file:///usr/share/applications/exo-web-browser.desktop diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/panel/launcher-9/15029210341.desktop b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/panel/launcher-9/15029210341.desktop new file mode 100644 index 0000000000000000000000000000000000000000..25d9e41f3cdb97f8ded24af75d163dcf0e544b3d --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/panel/launcher-9/15029210341.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=exo-open --launch TerminalEmulator +Icon=utilities-terminal +StartupNotify=true +Terminal=false +Categories=Utility;X-XFCE;X-Xfce-Toplevel; +OnlyShowIn=XFCE; +Name=Terminal Emulator +Comment=Use the command line +X-XFCE-Source=file:///usr/share/applications/exo-terminal-emulator.desktop diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/terminal/accels.scm b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/terminal/accels.scm new file mode 100644 index 0000000000000000000000000000000000000000..457eac87c9cbd0d0d356e9c7ee2f22393d1f63e2 --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/terminal/accels.scm @@ -0,0 +1,55 @@ +; xfce4-terminal GtkAccelMap rc-file -*- scheme -*- +; this file is an automated accelerator map dump +; +(gtk_accel_path "<Actions>/terminal-window/goto-tab-1" "<Alt>1") +(gtk_accel_path "<Actions>/terminal-window/goto-tab-3" "<Alt>3") +; (gtk_accel_path "<Actions>/terminal-window/file-menu" "") +; (gtk_accel_path "<Actions>/terminal-window/close-other-tabs" "") +; (gtk_accel_path "<Actions>/terminal-window/search" "<Primary><Shift>f") +; (gtk_accel_path "<Actions>/terminal-window/next-tab" "<Primary>Page_Down") +; (gtk_accel_path "<Actions>/terminal-window/copy-html" "") +; (gtk_accel_path "<Actions>/terminal-window/show-menubar" "") +; (gtk_accel_path "<Actions>/terminal-window/zoom-reset" "<Primary>0") +; (gtk_accel_path "<Actions>/terminal-window/close-window" "<Primary><Shift>q") +; (gtk_accel_path "<Actions>/terminal-window/close-tab" "<Primary><Shift>w") +; (gtk_accel_path "<Actions>/terminal-window/save-contents" "") +; (gtk_accel_path "<Actions>/terminal-window/new-tab" "<Primary><Shift>t") +; (gtk_accel_path "<Actions>/terminal-window/show-toolbar" "") +; (gtk_accel_path "<Actions>/terminal-window/view-menu" "") +; (gtk_accel_path "<Actions>/terminal-window/paste" "<Primary><Shift>v") +; (gtk_accel_path "<Actions>/terminal-window/copy" "<Primary><Shift>c") +; (gtk_accel_path "<Actions>/terminal-window/edit-menu" "") +; (gtk_accel_path "<Actions>/terminal-window/fullscreen" "F11") +(gtk_accel_path "<Actions>/terminal-window/goto-tab-6" "<Alt>6") +; (gtk_accel_path "<Actions>/terminal-window/read-only" "") +; (gtk_accel_path "<Actions>/terminal-window/detach-tab" "<Primary><Shift>d") +(gtk_accel_path "<Actions>/terminal-window/goto-tab-8" "<Alt>8") +(gtk_accel_path "<Actions>/terminal-window/goto-tab-2" "<Alt>2") +; (gtk_accel_path "<Actions>/terminal-window/scroll-on-output" "") +(gtk_accel_path "<Actions>/terminal-window/goto-tab-5" "<Alt>5") +; (gtk_accel_path "<Actions>/terminal-window/prev-tab" "<Primary>Page_Up") +; (gtk_accel_path "<Actions>/terminal-window/move-tab-left" "<Primary><Shift>Page_Up") +; (gtk_accel_path "<Actions>/terminal-window/zoom-in" "<Primary>plus") +; (gtk_accel_path "<Actions>/terminal-window/search-prev" "") +; (gtk_accel_path "<Actions>/terminal-window/reset-and-clear" "") +; (gtk_accel_path "<Actions>/terminal-window/about" "") +; (gtk_accel_path "<Actions>/terminal-window/search-next" "") +(gtk_accel_path "<Actions>/terminal-window/toggle-menubar" "F10") +(gtk_accel_path "<Actions>/terminal-window/goto-tab-7" "<Alt>7") +; (gtk_accel_path "<Actions>/terminal-window/select-all" "<Primary><Shift>a") +; (gtk_accel_path "<Actions>/terminal-window/help-menu" "") +(gtk_accel_path "<Actions>/terminal-window/goto-tab-9" "<Alt>9") +; (gtk_accel_path "<Actions>/terminal-window/show-borders" "") +; (gtk_accel_path "<Actions>/terminal-window/new-window" "<Primary><Shift>n") +(gtk_accel_path "<Actions>/terminal-window/goto-tab-4" "<Alt>4") +; (gtk_accel_path "<Actions>/terminal-window/contents" "F1") +; (gtk_accel_path "<Actions>/terminal-window/preferences" "") +; (gtk_accel_path "<Actions>/terminal-window/move-tab-right" "<Primary><Shift>Page_Down") +; (gtk_accel_path "<Actions>/terminal-window/zoom-out" "<Primary>minus") +; (gtk_accel_path "<Actions>/terminal-window/set-title" "<Primary><Shift>s") +; (gtk_accel_path "<Actions>/terminal-window/paste-selection" "") +; (gtk_accel_path "<Actions>/terminal-window/undo-close-tab" "") +; (gtk_accel_path "<Actions>/terminal-window/tabs-menu" "") +; (gtk_accel_path "<Actions>/terminal-window/zoom-menu" "") +; (gtk_accel_path "<Actions>/terminal-window/reset" "") +; (gtk_accel_path "<Actions>/terminal-window/terminal-menu" "") diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/terminal/terminalrc b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/terminal/terminalrc new file mode 100644 index 0000000000000000000000000000000000000000..a420bcd20bf7e4e24340c45fd3949dd0949716e3 --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/terminal/terminalrc @@ -0,0 +1,23 @@ +[Configuration] +FontName=Monospace 11 +MiscAlwaysShowTabs=FALSE +MiscBell=FALSE +MiscBordersDefault=TRUE +MiscCursorBlinks=FALSE +MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK +MiscDefaultGeometry=80x24 +MiscInheritGeometry=FALSE +MiscMenubarDefault=TRUE +MiscMouseAutohide=FALSE +MiscToolbarDefault=FALSE +MiscConfirmClose=TRUE +MiscCycleTabs=TRUE +MiscTabCloseButtons=TRUE +MiscTabCloseMiddleClick=TRUE +MiscTabPosition=GTK_POS_TOP +MiscHighlightUrls=TRUE +MiscScrollAlternateScreen=TRUE +CustomCommand=/bin/runshell.sh +DefaultWorkingDir=/ubuntu +RunCustomCommand=TRUE + diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/ristretto.xml b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/ristretto.xml new file mode 100644 index 0000000000000000000000000000000000000000..c4a9ae4f5e6bf2392bde523ef925d42f3572cefd --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/ristretto.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<channel name="ristretto" version="1.0"> + <property name="window" type="empty"> + <property name="navigationbar" type="empty"> + <property name="position" type="string" value="left"/> + </property> + <property name="thumbnails" type="empty"> + <property name="show" type="bool" value="false"/> + </property> + <property name="statusbar" type="empty"> + <property name="show" type="bool" value="false"/> + </property> + <property name="toolbar" type="empty"> + <property name="show" type="bool" value="false"/> + </property> + <property name="bgcolor-override" type="bool" value="true"/> + <property name="bgcolor" type="array"> + <value type="uint" value="4228"/> + <value type="uint" value="4228"/> + <value type="uint" value="4228"/> + <value type="uint" value="65535"/> + </property> + <property name="maximize-on-startup" type="bool" value="false"/> + <property name="height" type="uint" value="440"/> + <property name="width" type="uint" value="600"/> + </property> +</channel> diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml new file mode 100644 index 0000000000000000000000000000000000000000..fab31dd0a1343b74e5084f122b594c311fbce5ce --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<channel name="thunar" version="1.0"> + <property name="last-view" type="string" value="ThunarIconView"/> + <property name="last-icon-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_NORMAL"/> + <property name="last-separator-position" type="int" value="148"/> + <property name="hidden-bookmarks" type="array"> + <value type="string" value="network:///"/> + </property> + <property name="last-window-width" type="int" value="785"/> + <property name="last-window-height" type="int" value="494"/> + <property name="last-window-maximized" type="bool" value="false"/> +</channel> diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml new file mode 100644 index 0000000000000000000000000000000000000000..e4b6f912ff6866f57649e6e9886abe548a997026 --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<channel name="xfce4-desktop" version="1.0"> + <property name="backdrop" type="empty"> + <property name="screen0" type="empty"> + <property name="monitorVNC-0" type="empty"> + <property name="workspace0" type="empty"> + <property name="color-style" type="int" value="0"/> + <property name="image-style" type="int" value="5"/> + <property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-blue.jpg"/> + </property> + <property name="workspace1" type="empty"> + <property name="color-style" type="int" value="0"/> + <property name="image-style" type="int" value="5"/> + <property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-blue.jpg"/> + </property> + <property name="workspace2" type="empty"> + <property name="color-style" type="int" value="0"/> + <property name="image-style" type="int" value="5"/> + <property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-blue.jpg"/> + </property> + <property name="workspace3" type="empty"> + <property name="color-style" type="int" value="0"/> + <property name="image-style" type="int" value="5"/> + <property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-blue.jpg"/> + </property> + </property> + </property> + </property> + <property name="last" type="empty"> + <property name="window-width" type="int" value="658"/> + <property name="window-height" type="int" value="531"/> + </property> + <property name="desktop-icons" type="empty"> + <property name="file-icons" type="empty"> + <property name="show-trash" type="bool" value="true"/> + </property> + </property> +</channel> diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml new file mode 100644 index 0000000000000000000000000000000000000000..111cba42613023d42e26223bc43f72dd9fd398fd --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml @@ -0,0 +1,148 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<channel name="xfce4-keyboard-shortcuts" version="1.0"> + <property name="commands" type="empty"> + <property name="default" type="empty"> + <property name="<Alt>F1" type="empty"/> + <property name="<Alt>F2" type="empty"> + <property name="startup-notify" type="empty"/> + </property> + <property name="<Alt>F3" type="empty"> + <property name="startup-notify" type="empty"/> + </property> + <property name="<Primary><Alt>Delete" type="empty"/> + <property name="XF86Display" type="empty"/> + <property name="<Super>p" type="empty"/> + <property name="<Primary>Escape" type="empty"/> + <property name="XF86WWW" type="empty"/> + <property name="XF86Mail" type="empty"/> + </property> + <property name="custom" type="empty"> + <property name="<Alt>F1" type="string" value="xfce4-popup-applicationsmenu"/> + <property name="<Alt>F3" type="string" value="xfce4-appfinder"/> + <property name="<Alt>F2" type="string" value="xfce4-appfinder --collapsed"/> + <property name="<Primary><Alt>Delete" type="string" value="xflock4"/> + <property name="XF86Mail" type="string" value="exo-open --launch MailReader"/> + <property name="XF86Display" type="string" value="xfce4-display-settings --minimal"/> + <property name="XF86WWW" type="string" value="exo-open --launch WebBrowser"/> + <property name="<Super>p" type="string" value="xfce4-display-settings --minimal"/> + <property name="<Primary>Escape" type="string" value="xfdesktop --menu"/> + <property name="override" type="bool" value="true"/> + </property> + </property> + <property name="xfwm4" type="empty"> + <property name="default" type="empty"> + <property name="<Alt>Insert" type="empty"/> + <property name="Escape" type="empty"/> + <property name="Left" type="empty"/> + <property name="Right" type="empty"/> + <property name="Up" type="empty"/> + <property name="Down" type="empty"/> + <property name="<Alt>Tab" type="empty"/> + <property name="<Alt><Shift>Tab" type="empty"/> + <property name="<Alt>Delete" type="empty"/> + <property name="<Primary><Alt>Down" type="empty"/> + <property name="<Primary><Alt>Left" type="empty"/> + <property name="<Shift><Alt>Page_Down" type="empty"/> + <property name="<Alt>F4" type="empty"/> + <property name="<Alt>F6" type="empty"/> + <property name="<Alt>F7" type="empty"/> + <property name="<Alt>F8" type="empty"/> + <property name="<Alt>F9" type="empty"/> + <property name="<Alt>F10" type="empty"/> + <property name="<Alt>F11" type="empty"/> + <property name="<Alt>F12" type="empty"/> + <property name="<Primary><Shift><Alt>Left" type="empty"/> + <property name="<Primary><Alt>End" type="empty"/> + <property name="<Primary><Alt>Home" type="empty"/> + <property name="<Primary><Shift><Alt>Right" type="empty"/> + <property name="<Primary><Shift><Alt>Up" type="empty"/> + <property name="<Primary><Alt>KP_1" type="empty"/> + <property name="<Primary><Alt>KP_2" type="empty"/> + <property name="<Primary><Alt>KP_3" type="empty"/> + <property name="<Primary><Alt>KP_4" type="empty"/> + <property name="<Primary><Alt>KP_5" type="empty"/> + <property name="<Primary><Alt>KP_6" type="empty"/> + <property name="<Primary><Alt>KP_7" type="empty"/> + <property name="<Primary><Alt>KP_8" type="empty"/> + <property name="<Primary><Alt>KP_9" type="empty"/> + <property name="<Alt>space" type="empty"/> + <property name="<Shift><Alt>Page_Up" type="empty"/> + <property name="<Primary><Alt>Right" type="empty"/> + <property name="<Primary><Alt>d" type="empty"/> + <property name="<Primary><Alt>Up" type="empty"/> + <property name="<Super>Tab" type="empty"/> + <property name="<Primary>F1" type="empty"/> + <property name="<Primary>F2" type="empty"/> + <property name="<Primary>F3" type="empty"/> + <property name="<Primary>F4" type="empty"/> + <property name="<Primary>F5" type="empty"/> + <property name="<Primary>F6" type="empty"/> + <property name="<Primary>F7" type="empty"/> + <property name="<Primary>F8" type="empty"/> + <property name="<Primary>F9" type="empty"/> + <property name="<Primary>F10" type="empty"/> + <property name="<Primary>F11" type="empty"/> + <property name="<Primary>F12" type="empty"/> + </property> + <property name="custom" type="empty"> + <property name="Up" type="string" value="up_key"/> + <property name="<Primary><Alt>KP_9" type="string" value="move_window_workspace_9_key"/> + <property name="<Primary><Alt>KP_8" type="string" value="move_window_workspace_8_key"/> + <property name="Left" type="string" value="left_key"/> + <property name="<Primary><Alt>KP_6" type="string" value="move_window_workspace_6_key"/> + <property name="<Alt>Insert" type="string" value="add_workspace_key"/> + <property name="<Alt>Tab" type="string" value="cycle_windows_key"/> + <property name="<Alt><Shift>Tab" type="string" value="cycle_reverse_windows_key"/> + <property name="<Primary><Alt>KP_7" type="string" value="move_window_workspace_7_key"/> + <property name="<Primary><Alt>Right" type="string" value="right_workspace_key"/> + <property name="<Primary><Shift><Alt>Right" type="string" value="move_window_right_key"/> + <property name="<Primary><Alt>d" type="string" value="show_desktop_key"/> + <property name="<Primary><Alt>Up" type="string" value="up_workspace_key"/> + <property name="<Primary>F7" type="string" value="workspace_7_key"/> + <property name="<Primary><Alt>Home" type="string" value="move_window_prev_workspace_key"/> + <property name="<Alt>F4" type="string" value="close_window_key"/> + <property name="<Primary><Shift><Alt>Left" type="string" value="move_window_left_key"/> + <property name="<Alt>F6" type="string" value="stick_window_key"/> + <property name="<Alt>F10" type="string" value="maximize_window_key"/> + <property name="<Alt>F12" type="string" value="above_key"/> + <property name="<Alt>F9" type="string" value="hide_window_key"/> + <property name="<Primary><Alt>Down" type="string" value="down_workspace_key"/> + <property name="<Alt>F8" type="string" value="resize_window_key"/> + <property name="<Super>Tab" type="string" value="switch_window_key"/> + <property name="Escape" type="string" value="cancel_key"/> + <property name="<Primary><Alt>End" type="string" value="move_window_next_workspace_key"/> + <property name="<Primary>F10" type="string" value="workspace_10_key"/> + <property name="<Primary>F11" type="string" value="workspace_11_key"/> + <property name="<Alt>F11" type="string" value="fullscreen_key"/> + <property name="<Primary><Shift><Alt>Up" type="string" value="move_window_up_key"/> + <property name="Right" type="string" value="right_key"/> + <property name="Down" type="string" value="down_key"/> + <property name="<Alt>F7" type="string" value="move_window_key"/> + <property name="<Shift><Alt>Page_Down" type="string" value="lower_window_key"/> + <property name="<Primary>F12" type="string" value="workspace_12_key"/> + <property name="<Primary>F1" type="string" value="workspace_1_key"/> + <property name="<Primary><Alt>Left" type="string" value="left_workspace_key"/> + <property name="<Primary>F2" type="string" value="workspace_2_key"/> + <property name="<Primary>F4" type="string" value="workspace_4_key"/> + <property name="<Primary>F5" type="string" value="workspace_5_key"/> + <property name="<Primary>F6" type="string" value="workspace_6_key"/> + <property name="<Alt>space" type="string" value="popup_menu_key"/> + <property name="<Primary>F8" type="string" value="workspace_8_key"/> + <property name="<Primary>F9" type="string" value="workspace_9_key"/> + <property name="<Primary><Alt>KP_1" type="string" value="move_window_workspace_1_key"/> + <property name="<Alt>Delete" type="string" value="del_workspace_key"/> + <property name="<Shift><Alt>Page_Up" type="string" value="raise_window_key"/> + <property name="<Primary>F3" type="string" value="workspace_3_key"/> + <property name="<Primary><Alt>KP_2" type="string" value="move_window_workspace_2_key"/> + <property name="<Primary><Alt>KP_3" type="string" value="move_window_workspace_3_key"/> + <property name="<Primary><Alt>KP_4" type="string" value="move_window_workspace_4_key"/> + <property name="<Primary><Alt>KP_5" type="string" value="move_window_workspace_5_key"/> + <property name="override" type="bool" value="true"/> + </property> + </property> + <property name="providers" type="array"> + <value type="string" value="commands"/> + <value type="string" value="xfwm4"/> + </property> +</channel> diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml new file mode 100644 index 0000000000000000000000000000000000000000..865c97cf4d3c9256d87891e057ddd48ced99b69e --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml @@ -0,0 +1,128 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<channel name="xfce4-panel" version="1.0"> + <property name="configver" type="int" value="2"/> + <property name="panels" type="array"> + <value type="int" value="1"/> + <value type="int" value="2"/> + <property name="panel-1" type="empty"> + <property name="position" type="string" value="p=6;x=0;y=0"/> + <property name="length" type="uint" value="100"/> + <property name="position-locked" type="bool" value="true"/> + <property name="size" type="uint" value="30"/> + <property name="plugin-ids" type="array"> + <value type="int" value="3"/> + <value type="int" value="1"/> + <value type="int" value="20"/> + <value type="int" value="13"/> + <value type="int" value="7"/> + <value type="int" value="10"/> + <value type="int" value="9"/> + <value type="int" value="11"/> + <value type="int" value="15"/> + <value type="int" value="4"/> + <value type="int" value="14"/> + <value type="int" value="12"/> + <value type="int" value="5"/> + <value type="int" value="6"/> + <value type="int" value="8"/> + </property> + <property name="background-style" type="uint" value="1"/> + <property name="background-color" type="array"> + <value type="uint" value="19555"/> + <value type="uint" value="19555"/> + <value type="uint" value="19555"/> + <value type="uint" value="65535"/> + </property> + </property> + <property name="panel-2" type="empty"> + <property name="position" type="string" value="p=10;x=0;y=0"/> + <property name="position-locked" type="bool" value="true"/> + <property name="size" type="uint" value="30"/> + <property name="length" type="uint" value="100"/> + <property name="plugin-ids" type="array"> + <value type="int" value="16"/> + <value type="int" value="19"/> + <value type="int" value="17"/> + </property> + <property name="background-style" type="uint" value="1"/> + <property name="background-color" type="array"> + <value type="uint" value="19532"/> + <value type="uint" value="19532"/> + <value type="uint" value="19532"/> + <value type="uint" value="65535"/> + </property> + </property> + </property> + <property name="plugins" type="empty"> + <property name="plugin-1" type="string" value="applicationsmenu"> + <property name="button-icon" type="string" value="xfce4-logo"/> + <property name="button-title" type="string" value="Applications Menu"/> + </property> + <property name="plugin-15" type="string" value="separator"> + <property name="expand" type="bool" value="true"/> + <property name="style" type="uint" value="0"/> + </property> + <property name="plugin-4" type="string" value="pager"> + <property name="rows" type="uint" value="1"/> + <property name="workspace-scrolling" type="bool" value="false"/> + </property> + <property name="plugin-5" type="string" value="clock"/> + <property name="plugin-6" type="string" value="systray"> + <property name="show-frame" type="bool" value="false"/> + <property name="names-visible" type="array"> + <value type="string" value="orage"/> + </property> + </property> + <property name="plugin-7" type="string" value="showdesktop"/> + <property name="plugin-9" type="string" value="launcher"> + <property name="items" type="array"> + <value type="string" value="15029210341.desktop"/> + </property> + </property> + <property name="plugin-10" type="string" value="launcher"> + <property name="items" type="array"> + <value type="string" value="15029210342.desktop"/> + </property> + </property> + <property name="plugin-11" type="string" value="launcher"> + <property name="items" type="array"> + <value type="string" value="15029210353.desktop"/> + </property> + </property> + <property name="plugin-13" type="string" value="separator"> + <property name="style" type="uint" value="1"/> + </property> + <property name="plugin-3" type="string" value="separator"> + <property name="style" type="uint" value="0"/> + </property> + <property name="plugin-8" type="string" value="separator"> + <property name="style" type="uint" value="0"/> + </property> + <property name="plugin-12" type="string" value="separator"> + <property name="style" type="uint" value="0"/> + </property> + <property name="plugin-14" type="string" value="separator"> + <property name="style" type="uint" value="0"/> + </property> + <property name="plugin-19" type="string" value="tasklist"> + <property name="show-handle" type="bool" value="false"/> + <property name="show-wireframes" type="bool" value="false"/> + <property name="window-scrolling" type="bool" value="false"/> + <property name="include-all-monitors" type="bool" value="false"/> + <property name="grouping" type="uint" value="0"/> + <property name="middle-click" type="uint" value="0"/> + <property name="flat-buttons" type="bool" value="false"/> + <property name="sort-order" type="uint" value="0"/> + </property> + <property name="plugin-20" type="string" value="separator"> + <property name="style" type="uint" value="0"/> + </property> + <property name="plugin-16" type="string" value="separator"> + <property name="style" type="uint" value="0"/> + </property> + <property name="plugin-17" type="string" value="separator"> + <property name="style" type="uint" value="0"/> + </property> + </property> +</channel> diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml new file mode 100644 index 0000000000000000000000000000000000000000..3e45361b838bba0cefd42ee99b49711fb3a598b7 --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<channel name="xfce4-settings-manager" version="1.0"> + <property name="last" type="empty"> + <property name="window-width" type="int" value="827"/> + <property name="window-height" type="int" value="657"/> + </property> +</channel> diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml new file mode 100644 index 0000000000000000000000000000000000000000..b2e6f3c4e754e52980b6d6920854562203ef029f --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<channel name="xfwm4" version="1.0"> + <property name="general" type="empty"> + <property name="activate_action" type="string" value="bring"/> + <property name="borderless_maximize" type="bool" value="true"/> + <property name="box_move" type="bool" value="false"/> + <property name="box_resize" type="bool" value="false"/> + <property name="button_layout" type="string" value="O|SHMC"/> + <property name="button_offset" type="int" value="0"/> + <property name="button_spacing" type="int" value="0"/> + <property name="click_to_focus" type="bool" value="true"/> + <property name="focus_delay" type="int" value="250"/> + <property name="cycle_apps_only" type="bool" value="false"/> + <property name="cycle_draw_frame" type="bool" value="true"/> + <property name="cycle_hidden" type="bool" value="true"/> + <property name="cycle_minimum" type="bool" value="true"/> + <property name="cycle_workspaces" type="bool" value="false"/> + <property name="double_click_time" type="int" value="250"/> + <property name="double_click_distance" type="int" value="5"/> + <property name="double_click_action" type="string" value="maximize"/> + <property name="easy_click" type="string" value="Alt"/> + <property name="focus_hint" type="bool" value="true"/> + <property name="focus_new" type="bool" value="true"/> + <property name="frame_opacity" type="int" value="100"/> + <property name="full_width_title" type="bool" value="true"/> + <property name="inactive_opacity" type="int" value="100"/> + <property name="maximized_offset" type="int" value="0"/> + <property name="move_opacity" type="int" value="100"/> + <property name="placement_ratio" type="int" value="20"/> + <property name="placement_mode" type="string" value="center"/> + <property name="popup_opacity" type="int" value="100"/> + <property name="mousewheel_rollup" type="bool" value="false"/> + <property name="prevent_focus_stealing" type="bool" value="false"/> + <property name="raise_delay" type="int" value="5"/> + <property name="raise_on_click" type="bool" value="false"/> + <property name="raise_on_focus" type="bool" value="true"/> + <property name="raise_with_any_button" type="bool" value="false"/> + <property name="repeat_urgent_blink" type="bool" value="false"/> + <property name="resize_opacity" type="int" value="100"/> + <property name="restore_on_move" type="bool" value="true"/> + <property name="scroll_workspaces" type="bool" value="false"/> + <property name="shadow_delta_height" type="int" value="0"/> + <property name="shadow_delta_width" type="int" value="0"/> + <property name="shadow_delta_x" type="int" value="0"/> + <property name="shadow_delta_y" type="int" value="-3"/> + <property name="shadow_opacity" type="int" value="50"/> + <property name="show_app_icon" type="bool" value="false"/> + <property name="show_dock_shadow" type="bool" value="true"/> + <property name="show_frame_shadow" type="bool" value="false"/> + <property name="show_popup_shadow" type="bool" value="false"/> + <property name="snap_resist" type="bool" value="false"/> + <property name="snap_to_border" type="bool" value="false"/> + <property name="snap_to_windows" type="bool" value="false"/> + <property name="snap_width" type="int" value="10"/> + <property name="sync_to_vblank" type="bool" value="false"/> + <property name="theme" type="string" value="Default"/> + <property name="tile_on_move" type="bool" value="true"/> + <property name="title_alignment" type="string" value="center"/> + <property name="title_font" type="string" value="Sans Bold 9"/> + <property name="title_horizontal_offset" type="int" value="0"/> + <property name="title_shadow_active" type="string" value="false"/> + <property name="title_shadow_inactive" type="string" value="false"/> + <property name="title_vertical_offset_active" type="int" value="0"/> + <property name="title_vertical_offset_inactive" type="int" value="0"/> + <property name="toggle_workspaces" type="bool" value="false"/> + <property name="unredirect_overlays" type="bool" value="true"/> + <property name="urgent_blink" type="bool" value="false"/> + <property name="use_compositing" type="bool" value="false"/> + <property name="workspace_count" type="int" value="4"/> + <property name="workspace_names" type="array"> + <value type="string" value="Workspace 1"/> + <value type="string" value="Workspace 2"/> + <value type="string" value="Workspace 3"/> + <value type="string" value="Workspace 4"/> + </property> + <property name="wrap_cycle" type="bool" value="true"/> + <property name="wrap_layout" type="bool" value="true"/> + <property name="wrap_resistance" type="int" value="10"/> + <property name="wrap_windows" type="bool" value="true"/> + <property name="wrap_workspaces" type="bool" value="false"/> + <property name="cycle_preview" type="bool" value="true"/> + <property name="cycle_tabwin_mode" type="int" value="0"/> + <property name="horiz_scroll_opacity" type="bool" value="false"/> + <property name="titleless_maximize" type="bool" value="false"/> + <property name="zoom_desktop" type="bool" value="true"/> + </property> +</channel> diff --git a/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml new file mode 100644 index 0000000000000000000000000000000000000000..f704efecc7f8736a437a396581859a2b40cbad32 --- /dev/null +++ b/XUbuntuDesktop/files/home_ubuntu_.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<channel name="xsettings" version="1.0"> + <property name="Net" type="empty"> + <property name="ThemeName" type="string" value="Greybird"/> + <property name="IconThemeName" type="string" value="elementary-xfce"/> + <property name="DoubleClickTime" type="empty"/> + <property name="DoubleClickDistance" type="empty"/> + <property name="DndDragThreshold" type="empty"/> + <property name="CursorBlink" type="empty"/> + <property name="CursorBlinkTime" type="empty"/> + <property name="SoundThemeName" type="empty"/> + <property name="EnableEventSounds" type="empty"/> + <property name="EnableInputFeedbackSounds" type="empty"/> + </property> + <property name="Xft" type="empty"> + <property name="DPI" type="empty"/> + <property name="Antialias" type="empty"/> + <property name="Hinting" type="empty"/> + <property name="HintStyle" type="empty"/> + <property name="RGBA" type="empty"/> + </property> + <property name="Gtk" type="empty"> + <property name="CanChangeAccels" type="empty"/> + <property name="ColorPalette" type="empty"/> + <property name="FontName" type="empty"/> + <property name="MonospaceFontName" type="empty"/> + <property name="IconSizes" type="empty"/> + <property name="KeyThemeName" type="empty"/> + <property name="ToolbarStyle" type="empty"/> + <property name="ToolbarIconSize" type="empty"/> + <property name="MenuImages" type="empty"/> + <property name="ButtonImages" type="empty"/> + <property name="MenuBarAccel" type="empty"/> + <property name="CursorThemeName" type="empty"/> + <property name="CursorThemeSize" type="empty"/> + <property name="DecorationLayout" type="empty"/> + </property> +</channel> diff --git a/XUbuntuDesktop/files/index.html b/XUbuntuDesktop/files/index.html new file mode 100644 index 0000000000000000000000000000000000000000..e663397e8792c2dde3868ab5014d6a4e562628d9 --- /dev/null +++ b/XUbuntuDesktop/files/index.html @@ -0,0 +1,12 @@ +<html> +<head> +<script type="text/javascript"> +function redirecter(){ + window.location = "./vnc.html" +} +</script> +</head> +<body onLoad="redirecter()"> +Access VNC: click <a href="./vnc.html">here</a>. +</body> +</html> \ No newline at end of file diff --git a/XUbuntuDesktop/files/kasmvnc-Linux-x86_64-0.9.tar.gz b/XUbuntuDesktop/files/kasmvnc-Linux-x86_64-0.9.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..1bc58413497aa1d9bdd071508d843ab0bf9268af Binary files /dev/null and b/XUbuntuDesktop/files/kasmvnc-Linux-x86_64-0.9.tar.gz differ diff --git a/XUbuntuDesktop/files/run_kasm.sh b/XUbuntuDesktop/files/run_kasm.sh new file mode 100755 index 0000000000000000000000000000000000000000..f108fa4343b3fa6d73d7d05583c13f89c6523c23 --- /dev/null +++ b/XUbuntuDesktop/files/run_kasm.sh @@ -0,0 +1,38 @@ +#!/bin/bash + +# Exec KasmVNC server + +if [ "x$BASE_PORT" == "x" ]; then + BASE_PORT=8590 + DESKTOP_NUMBER=1 +else + DESKTOP_NUMBER=$(($BASE_PORT-5900+1)) +fi + +if [ "x$KASMSOCK" == "xTrue" ]; then + export SOCKET_PORT=$(( $RANDOM % 50 + 1 )) +fi + +if [ "x$VNC_AUTH" == "xTrue" ]; then + echo "[INFO] Setting new certificate for VNC" + openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout /home/ubuntu/.vnc/self.pem -out /home/ubuntu/.vnc/self.pem -subj "/C=IT/ST=None/L=None/O=INAF/OU=OATs/CN=kasm/emailAddress=none@none.none" + /usr/local/bin/vncserver :$DESKTOP_NUMBER -depth 24 -geometry 1280x1050 -websocketPort $BASE_PORT -cert /home/ubuntu/.vnc/self.pem -sslOnly -FrameRate=24 -interface 0.0.0.0 +else + /usr/local/bin/vncserver :$DESKTOP_NUMBER -depth 24 -geometry 1280x1050 -websocketPort $BASE_PORT -FrameRate=24 -interface 0.0.0.0 +fi + +# Check it is running. If it is not, exit +while true +do + + #PSOUT=$(ps -ef | grep /usr/local/bin/Xvnc | grep SecurityTypes) + PSOUT=$(ps -ef | grep /usr/local/bin/Xvnc) + + if [[ "x$PSOUT" == "x" ]] ; then + exit 1 + fi + + # Sleep other 10 secs before re-checking + sleep 10 + +done diff --git a/XUbuntuDesktop/files/runshell.sh b/XUbuntuDesktop/files/runshell.sh new file mode 100644 index 0000000000000000000000000000000000000000..6e7c3faab1049919d31efb10f11e0ec6ed6f9546 --- /dev/null +++ b/XUbuntuDesktop/files/runshell.sh @@ -0,0 +1,3 @@ +#!/bin/bash +cd /home/ubuntu +exec /bin/bash diff --git a/XUbuntuDesktop/files/set_mouse_scrolling_speed b/XUbuntuDesktop/files/set_mouse_scrolling_speed new file mode 100755 index 0000000000000000000000000000000000000000..6fc1612f1118af35336173e74486351cefe58a9a --- /dev/null +++ b/XUbuntuDesktop/files/set_mouse_scrolling_speed @@ -0,0 +1,41 @@ +#!/bin/bash +# Version 0.1 Tuesday, 07 May 2013 +# Comments and complaints http://www.nicknorton.net +# GUI for mouse wheel speed using imwheel in Gnome +# imwheel needs to be installed for this script to work +# sudo apt-get install imwheel +# Pretty much hard wired to only use a mouse with +# left, right and wheel in the middle. +# If you have a mouse with complications or special needs, +# use the command xev to find what your wheel does. +# +### see if imwheel config exists, if not create it ### +if [ ! -f ~/.imwheelrc ] +then + +cat >~/.imwheelrc<<EOF +".*" +None, Up, Button4, 1 +None, Down, Button5, 1 +Control_L, Up, Control_L|Button4 +Control_L, Down, Control_L|Button5 +Shift_L, Up, Shift_L|Button4 +Shift_L, Down, Shift_L|Button5 +EOF + +fi +########################################################## + +CURRENT_VALUE=$(awk -F 'Button4,' '{print $2}' ~/.imwheelrc) + +NEW_VALUE=$(zenity --scale --window-icon=info --ok-label=Apply --title="Wheelies" --text "Mouse wheel speed:" --min-value=1 --max-value=100 --value="$CURRENT_VALUE" --step 1) + +if [ "$NEW_VALUE" == "" ]; +then exit 0 +fi + +sed -i "s/\($TARGET_KEY *Button4, *\).*/\1$NEW_VALUE/" ~/.imwheelrc # find the string Button4, and write new value. +sed -i "s/\($TARGET_KEY *Button5, *\).*/\1$NEW_VALUE/" ~/.imwheelrc # find the string Button5, and write new value. + +cat ~/.imwheelrc +imwheel -kill diff --git a/XUbuntuDesktop/files/software/dropbox_2015.10.28_amd64.deb b/XUbuntuDesktop/files/software/dropbox_2015.10.28_amd64.deb new file mode 100644 index 0000000000000000000000000000000000000000..c15b7ff26fca99754b2cbedf5cb5d78c499cacde Binary files /dev/null and b/XUbuntuDesktop/files/software/dropbox_2015.10.28_amd64.deb differ diff --git a/XUbuntuDesktop/files/sudoers b/XUbuntuDesktop/files/sudoers new file mode 100644 index 0000000000000000000000000000000000000000..47ab37c90fdec1df833409f825d2665fe7d1f899 --- /dev/null +++ b/XUbuntuDesktop/files/sudoers @@ -0,0 +1,30 @@ +# +# This file MUST be edited with the 'visudo' command as root. +# +# Please consider adding local content in /etc/sudoers.d/ instead of +# directly modifying this file. +# +# See the man page for details on how to write a sudoers file. +# +Defaults env_reset +Defaults mail_badpass +Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" + +# Host alias specification + +# User alias specification + +# Cmnd alias specification + +# User privilege specification +root ALL=(ALL:ALL) ALL + +# Members of the admin group may gain root privileges +%admin ALL=(ALL) ALL + +# Allow members of group sudo to execute any command +%sudo ALL=(ALL:ALL) NOPASSWD:ALL + +# See sudoers(5) for more information on "#include" directives: + +#includedir /etc/sudoers.d diff --git a/XUbuntuDesktop/files/supervisord.conf b/XUbuntuDesktop/files/supervisord.conf new file mode 100644 index 0000000000000000000000000000000000000000..6be33ad64fdbf72d013d59a72dc998f3f05acd6f --- /dev/null +++ b/XUbuntuDesktop/files/supervisord.conf @@ -0,0 +1,29 @@ +; supervisor config file (modified for our own purpose) + +[unix_http_server] +file=/home/ubuntu/.supervisor.sock ; (the path to the socket file) +chmod=0700 ; sockef file mode (default 0700) + +[supervisord] +logfile=/home/ubuntu/.logs/supervisord.log ; (main log file;default $CWD/supervisord.log) +pidfile=/home/ubuntu/.logs/supervisord.pid ; (supervisord pidfile;default supervisord.pid) +childlogdir=/home/ubuntu/.logs ; ('AUTO' child log dir, default $TEMP) +nodaemon=true ; Mandatory to run Supervisor in foreground and avoid Docker to exit! + +; The below section must remain in the config file for RPC +; (supervisorctl/web interface) to work, additional interfaces may be +; added by defining them in separate rpcinterface: sections +[rpcinterface:supervisor] +supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface + +[supervisorctl] +serverurl=unix:///home/ubuntu/.supervisor.sock ; use a unix:// URL for a unix socket + +; The [include] section can just contain the "files" setting. This +; setting can list multiple files (separated by whitespace or +; newlines). It can also contain wildcards. The filenames are +; interpreted as relative to this file. Included files *cannot* +; include files themselves. + +[include] +files = /etc/supervisor/conf.d/*.conf diff --git a/XUbuntuDesktop/files/supervisord_jupyter.conf b/XUbuntuDesktop/files/supervisord_jupyter.conf new file mode 100644 index 0000000000000000000000000000000000000000..d7881841b4889447dcbde7521775555b7fb7c65f --- /dev/null +++ b/XUbuntuDesktop/files/supervisord_jupyter.conf @@ -0,0 +1,23 @@ +;======================================= +; Jupyter service +;======================================= + +[program:jupyter] + +; General +command = sudo -i -u ubuntu jupyter notebook --no-browser --ip=0.0.0.0 --NotebookApp.token='' --NotebookApp.base_url='/' +user = root +numprocs = 1 +autostart = true +autorestart = true +startsecs = 10 +stopwaitsecs = 30 +process_name = jupyter + +; Standard out / error +stdout_logfile = /var/log/supervisor/%(program_name)s.log +stdout_logfile_maxbytes = 5MB +stdout_logfile_backups = 10 +stderr_logfile = /var/log/supervisor/%(program_name)s.log +stderr_logfile_maxbytes = 5MB +stderr_logfile_backups = 10 diff --git a/XUbuntuDesktop/files/supervisord_kasm.conf b/XUbuntuDesktop/files/supervisord_kasm.conf new file mode 100644 index 0000000000000000000000000000000000000000..68dc0d86d844aa8d313e0eb9b27d55ee8820f512 --- /dev/null +++ b/XUbuntuDesktop/files/supervisord_kasm.conf @@ -0,0 +1,23 @@ +;======================================= +; KasmVNC service +;======================================= + +[program:kasmvnc] + +; General +directory = / +command = /etc/supervisor/conf.d/run_kasm.sh +numprocs = 1 +autostart = true +autorestart = true +startsecs = 10 +stopwaitsecs = 30 +process_name = kasmvnc + +; Standard out / error +stdout_logfile = /home/ubuntu/.logs/%(program_name)s.log +stdout_logfile_maxbytes = 5MB +stdout_logfile_backups = 10 +stderr_logfile = /home/ubuntu/.logs/%(program_name)s.log +stderr_logfile_maxbytes = 5MB +stderr_logfile_backups = 10 diff --git a/XUbuntuDesktop/files/xstartup b/XUbuntuDesktop/files/xstartup new file mode 100644 index 0000000000000000000000000000000000000000..3b7b7ac2445edc0e179659171367ec39779512ce --- /dev/null +++ b/XUbuntuDesktop/files/xstartup @@ -0,0 +1,26 @@ +#!/bin/sh + +unset SESSION_MANAGER +unset DBUS_SESSION_BUS_ADDRESS +OS=`uname -s` +if [ $OS = 'Linux' ]; then + case "$WINDOWMANAGER" in + *gnome*) + if [ -e /etc/SuSE-release ]; then + PATH=$PATH:/opt/gnome/bin + export PATH + fi + ;; + esac +fi +if [ -x /etc/X11/xinit/xinitrc ]; then + exec /etc/X11/xinit/xinitrc +fi +if [ -f /etc/X11/xinit/xinitrc ]; then + exec sh /etc/X11/xinit/xinitrc +fi +[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources +xsetroot -solid grey +#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & +#twm & +xfce4-session & diff --git a/XUbuntuDesktop/push.sh b/XUbuntuDesktop/push.sh new file mode 100755 index 0000000000000000000000000000000000000000..b5c4241ed9b63ed9e6d61d54a5ce381927e468fc --- /dev/null +++ b/XUbuntuDesktop/push.sh @@ -0,0 +1,3 @@ +#!/bin/bash +docker tag xubuntudesktop sarusso/xubuntudesktop +dind push sarusso/xubuntudesktop diff --git a/XUbuntuDesktop/run.sh b/XUbuntuDesktop/run.sh new file mode 100755 index 0000000000000000000000000000000000000000..d06db0ba49590cf61398ac67790cc78434a6a073 --- /dev/null +++ b/XUbuntuDesktop/run.sh @@ -0,0 +1,2 @@ +#!/bin/bash +docker run -v$PWD/:/data -p8590:8590 -it xubuntudesktop diff --git a/XUbuntuDesktop/ubuntu_home/.Xauthority b/XUbuntuDesktop/ubuntu_home/.Xauthority new file mode 100644 index 0000000000000000000000000000000000000000..8bed6f6a0900534f1e0e0c4f4a449d6b1dd061fa Binary files /dev/null and b/XUbuntuDesktop/ubuntu_home/.Xauthority differ diff --git a/XUbuntuDesktop/ubuntu_home/.bash_logout b/XUbuntuDesktop/ubuntu_home/.bash_logout new file mode 100644 index 0000000000000000000000000000000000000000..de4f5f75d7ccd3a5b62bd2ce683ed678a5cb72c2 --- /dev/null +++ b/XUbuntuDesktop/ubuntu_home/.bash_logout @@ -0,0 +1,7 @@ +# ~/.bash_logout: executed by bash(1) when login shell exits. + +# when leaving the console clear the screen to increase privacy + +if [ "$SHLVL" = 1 ]; then + [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q +fi diff --git a/XUbuntuDesktop/ubuntu_home/.bashrc b/XUbuntuDesktop/ubuntu_home/.bashrc new file mode 100644 index 0000000000000000000000000000000000000000..53576e250ebc970bfa87dc9d342592627649baa1 --- /dev/null +++ b/XUbuntuDesktop/ubuntu_home/.bashrc @@ -0,0 +1,119 @@ +# ~/.bashrc: executed by bash(1) for non-login shells. +# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) +# for examples + +# If not running interactively, don't do anything +case $- in + *i*) ;; + *) return;; +esac + +# don't put duplicate lines or lines starting with space in the history. +# See bash(1) for more options +HISTCONTROL=ignoreboth + +# append to the history file, don't overwrite it +shopt -s histappend + +# for setting history length see HISTSIZE and HISTFILESIZE in bash(1) +HISTSIZE=1000 +HISTFILESIZE=2000 + +# check the window size after each command and, if necessary, +# update the values of LINES and COLUMNS. +shopt -s checkwinsize + +# If set, the pattern "**" used in a pathname expansion context will +# match all files and zero or more directories and subdirectories. +#shopt -s globstar + +# make less more friendly for non-text input files, see lesspipe(1) +[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" + +# set variable identifying the chroot you work in (used in the prompt below) +if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then + debian_chroot=$(cat /etc/debian_chroot) +fi + +# set a fancy prompt (non-color, unless we know we "want" color) +case "$TERM" in + xterm-color|*-256color) color_prompt=yes;; +esac + +# uncomment for a colored prompt, if the terminal has the capability; turned +# off by default to not distract the user: the focus in a terminal window +# should be on the output of commands, not on the prompt +#force_color_prompt=yes + +if [ -n "$force_color_prompt" ]; then + if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then + # We have color support; assume it's compliant with Ecma-48 + # (ISO/IEC-6429). (Lack of such support is extremely rare, and such + # a case would tend to support setf rather than setaf.) + color_prompt=yes + else + color_prompt= + fi +fi + +if [ "$color_prompt" = yes ]; then + PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' +else + PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' +fi +unset color_prompt force_color_prompt + +# If this is an xterm set the title to user@host:dir +case "$TERM" in +xterm*|rxvt*) + PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" + ;; +*) + ;; +esac + +# enable color support of ls and also add handy aliases +if [ -x /usr/bin/dircolors ]; then + test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" + alias ls='ls --color=auto' + #alias dir='dir --color=auto' + #alias vdir='vdir --color=auto' + + alias grep='grep --color=auto' + alias fgrep='fgrep --color=auto' + alias egrep='egrep --color=auto' +fi + +# colored GCC warnings and errors +#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' + +# some more ls aliases +alias ll='ls -alF' +alias la='ls -A' +alias l='ls -CF' + +# Add an "alert" alias for long running commands. Use like so: +# sleep 10; alert +alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' + +# Alias definitions. +# You may want to put all your additions into a separate file like +# ~/.bash_aliases, instead of adding them here directly. +# See /usr/share/doc/bash-doc/examples in the bash-doc package. + +if [ -f ~/.bash_aliases ]; then + . ~/.bash_aliases +fi + +# enable programmable completion features (you don't need to enable +# this, if it's already enabled in /etc/bash.bashrc and /etc/profile +# sources /etc/bash.bashrc). +if ! shopt -oq posix; then + if [ -f /usr/share/bash-completion/bash_completion ]; then + . /usr/share/bash-completion/bash_completion + elif [ -f /etc/bash_completion ]; then + . /etc/bash_completion + fi +fi +export PS1="${debian_chroot:+($debian_chroot)}\u@$CONTAINER_NAME@\h:\w\$ " +export PS1="${debian_chroot:+($debian_chroot)}\u@$CONTAINER_NAME@\h:\w\$ " diff --git a/XUbuntuDesktop/ubuntu_home/.fehbg b/XUbuntuDesktop/ubuntu_home/.fehbg new file mode 100755 index 0000000000000000000000000000000000000000..19c17c731c587be673abcc13f30f62dff5962770 --- /dev/null +++ b/XUbuntuDesktop/ubuntu_home/.fehbg @@ -0,0 +1,2 @@ +#!/bin/sh +'feh' '--bg-fill' '/usr/share/images/fluxbox/background.jpg' diff --git a/XUbuntuDesktop/ubuntu_home/.fluxbox/apps b/XUbuntuDesktop/ubuntu_home/.fluxbox/apps new file mode 100644 index 0000000000000000000000000000000000000000..7b4aeadb98c6d0d73a3958ab08e83b9b65595e30 --- /dev/null +++ b/XUbuntuDesktop/ubuntu_home/.fluxbox/apps @@ -0,0 +1,4 @@ +[app] (name=fbrun) + [Position] (WINCENTER) {0 0} + [Layer] {2} +[end] diff --git a/XUbuntuDesktop/ubuntu_home/.fluxbox/init b/XUbuntuDesktop/ubuntu_home/.fluxbox/init new file mode 100644 index 0000000000000000000000000000000000000000..17e648ce541a1e606a453cc94ec5a2773616e209 --- /dev/null +++ b/XUbuntuDesktop/ubuntu_home/.fluxbox/init @@ -0,0 +1,76 @@ +session.screen0.tabs.usePixmap: true +session.screen0.tabs.maxOver: false +session.screen0.tabs.intitlebar: true +session.screen0.clientMenu.usePixmap: true +session.screen0.iconbar.usePixmap: true +session.screen0.iconbar.iconTextPadding: 10 +session.screen0.iconbar.iconWidth: 128 +session.screen0.iconbar.alignment: Relative +session.screen0.iconbar.mode: {static groups} (workspace) +session.screen0.toolbar.visible: true +session.screen0.toolbar.height: 0 +session.screen0.toolbar.onhead: 1 +session.screen0.toolbar.widthPercent: 100 +session.screen0.toolbar.alpha: 255 +session.screen0.toolbar.maxOver: false +session.screen0.toolbar.autoHide: false +session.screen0.toolbar.layer: Dock +session.screen0.toolbar.placement: BottomCenter +#session.screen0.toolbar.tools: prevworkspace, workspacename, nextworkspace, clock, prevwindow, nextwindow, iconbar, systemtray +session.screen0.toolbar.tools: iconbar, systemtray +session.screen0.menu.alpha: 255 +session.screen0.tab.placement: TopLeft +session.screen0.tab.width: 64 +session.screen0.titlebar.left: Stick +session.screen0.titlebar.right: Minimize Maximize Close +session.screen0.window.focus.alpha: 255 +session.screen0.window.unfocus.alpha: 255 +session.screen0.slit.alpha: 255 +session.screen0.slit.maxOver: false +session.screen0.slit.placement: RightBottom +session.screen0.slit.autoHide: false +session.screen0.slit.acceptKdeDockapps: true +session.screen0.slit.onhead: 0 +session.screen0.slit.layer: Dock +session.screen0.colPlacementDirection: TopToBottom +session.screen0.tabFocusModel: ClickToTabFocus +session.screen0.autoRaise: true +session.screen0.maxDisableMove: false +session.screen0.edgeSnapThreshold: 10 +session.screen0.tooltipDelay: 500 +session.screen0.opaqueMove: true +session.screen0.windowPlacement: RowMinOverlapPlacement +session.screen0.focusNewWindows: true +session.screen0.clickRaises: true +session.screen0.maxDisableResize: false +session.screen0.windowMenu: /home/ubuntu/.fluxbox/windowmenu +session.screen0.allowRemoteActions: false +session.screen0.strftimeFormat: %d %b, %a %02k:%M:%S +session.screen0.focusSameHead: false +session.screen0.workspacewarping: true +session.screen0.fullMaximization: false +session.screen0.defaultDeco: NORMAL +session.screen0.noFocusWhileTypingDelay: 0 +session.screen0.menuDelay: 200 +session.screen0.workspaceNames: Workspace 1,Workspace 2,Workspace 3,Workspace 4, +session.screen0.rowPlacementDirection: LeftToRight +session.screen0.focusModel: ClickFocus +session.screen0.showwindowposition: false +session.screen0.maxIgnoreIncrement: true +session.screen0.workspaces: 1 +session.styleOverlay: /home/ubuntu/.fluxbox/overlay +session.keyFile: ~/.fluxbox/keys +session.cacheMax: 200 +session.tabsAttachArea: Window +session.slitlistFile: /home/ubuntu/.fluxbox/slitlist +session.forcePseudoTransparency: false +session.tabPadding: 0 +session.colorsPerChannel: 4 +session.styleFile: /usr/share/fluxbox/styles//ubuntu-light +session.autoRaiseDelay: 250 +session.cacheLife: 5 +session.appsFile: /home/ubuntu/.fluxbox/apps +session.ignoreBorder: false +session.configVersion: 13 +session.doubleClickInterval: 250 +session.menuFile: ~/.fluxbox/menu diff --git a/XUbuntuDesktop/ubuntu_home/.fluxbox/keys b/XUbuntuDesktop/ubuntu_home/.fluxbox/keys new file mode 100644 index 0000000000000000000000000000000000000000..953d08b263a8422903691069977a3aa56472391c --- /dev/null +++ b/XUbuntuDesktop/ubuntu_home/.fluxbox/keys @@ -0,0 +1,137 @@ +# click on the desktop to get menus +OnDesktop Mouse1 :HideMenus +OnDesktop Mouse2 :WorkspaceMenu +OnDesktop Mouse3 :RootMenu + +# scroll on the desktop to change workspaces +OnDesktop Mouse4 :PrevWorkspace +OnDesktop Mouse5 :NextWorkspace + +# scroll on the toolbar to change current window +OnToolbar Mouse4 :PrevWindow {static groups} (iconhidden=no) +OnToolbar Mouse5 :NextWindow {static groups} (iconhidden=no) + +# alt + left/right click to move/resize a window +OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving} +OnWindowBorder Move1 :StartMoving + +OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing NearestCorner} +OnLeftGrip Move1 :StartResizing bottomleft +OnRightGrip Move1 :StartResizing bottomright + +# alt + middle click to lower the window +OnWindow Mod1 Mouse2 :Lower + +# control-click a window's titlebar and drag to attach windows +OnTitlebar Control Mouse1 :StartTabbing + +# double click on the titlebar to shade +OnTitlebar Double Mouse1 :Shade + +# left click on the titlebar to move the window +OnTitlebar Mouse1 :MacroCmd {Raise} {Focus} {ActivateTab} +OnTitlebar Move1 :StartMoving + +# middle click on the titlebar to lower +OnTitlebar Mouse2 :Lower + +# right click on the titlebar for a menu of options +OnTitlebar Mouse3 :WindowMenu + +# alt-tab +Mod1 Tab :NextWindow {groups} (workspace=[current]) +Mod1 Shift Tab :PrevWindow {groups} (workspace=[current]) + +# cycle through tabs in the current window +Mod4 Tab :NextTab +Mod4 Shift Tab :PrevTab + +# go to a specific tab in the current window +Mod4 1 :Tab 1 +Mod4 2 :Tab 2 +Mod4 3 :Tab 3 +Mod4 4 :Tab 4 +Mod4 5 :Tab 5 +Mod4 6 :Tab 6 +Mod4 7 :Tab 7 +Mod4 8 :Tab 8 +Mod4 9 :Tab 9 + +# open a terminal +Mod1 F1 :Exec x-terminal-emulator + +# open a dialog to run programs +Mod1 F2 :Exec fbrun + +# volume settings, using common keycodes +# if these don't work, use xev to find out your real keycodes +176 :Exec amixer sset Master,0 1+ +174 :Exec amixer sset Master,0 1- +160 :Exec amixer sset Master,0 toggle + +# current window commands +Mod1 F4 :Close +Mod1 F5 :Kill +Mod1 F9 :Minimize +Mod1 F10 :Maximize +Mod1 F11 :Fullscreen + +# open the window menu +Mod1 space :WindowMenu + +# exit fluxbox +Control Mod1 Delete :Exit + +# change to previous/next workspace +Control Mod1 Left :PrevWorkspace +Control Mod1 Right :NextWorkspace + +# send the current window to previous/next workspace +Mod4 Left :SendToPrevWorkspace +Mod4 Right :SendToNextWorkspace + +# send the current window and follow it to previous/next workspace +Control Mod4 Left :TakeToPrevWorkspace +Control Mod4 Right :TakeToNextWorkspace + +# change to a specific workspace +Control F1 :Workspace 1 +Control F2 :Workspace 2 +Control F3 :Workspace 3 +Control F4 :Workspace 4 +Control F5 :Workspace 5 +Control F6 :Workspace 6 +Control F7 :Workspace 7 +Control F8 :Workspace 8 +Control F9 :Workspace 9 +Control F10 :Workspace 10 +Control F11 :Workspace 11 +Control F12 :Workspace 12 + +# send the current window to a specific workspace +Mod4 F1 :SendToWorkspace 1 +Mod4 F2 :SendToWorkspace 2 +Mod4 F3 :SendToWorkspace 3 +Mod4 F4 :SendToWorkspace 4 +Mod4 F5 :SendToWorkspace 5 +Mod4 F6 :SendToWorkspace 6 +Mod4 F7 :SendToWorkspace 7 +Mod4 F8 :SendToWorkspace 8 +Mod4 F9 :SendToWorkspace 9 +Mod4 F10 :SendToWorkspace 10 +Mod4 F11 :SendToWorkspace 11 +Mod4 F12 :SendToWorkspace 12 + +# send the current window and change to a specific workspace +Control Mod4 F1 :TakeToWorkspace 1 +Control Mod4 F2 :TakeToWorkspace 2 +Control Mod4 F3 :TakeToWorkspace 3 +Control Mod4 F4 :TakeToWorkspace 4 +Control Mod4 F5 :TakeToWorkspace 5 +Control Mod4 F6 :TakeToWorkspace 6 +Control Mod4 F7 :TakeToWorkspace 7 +Control Mod4 F8 :TakeToWorkspace 8 +Control Mod4 F9 :TakeToWorkspace 9 +Control Mod4 F10 :TakeToWorkspace 10 +Control Mod4 F11 :TakeToWorkspace 11 +Control Mod4 F12 :TakeToWorkspace 12 diff --git a/XUbuntuDesktop/ubuntu_home/.fluxbox/lastwallpaper b/XUbuntuDesktop/ubuntu_home/.fluxbox/lastwallpaper new file mode 100644 index 0000000000000000000000000000000000000000..a807c16b90a3f6fbcd584b9db4650ca6954215fb --- /dev/null +++ b/XUbuntuDesktop/ubuntu_home/.fluxbox/lastwallpaper @@ -0,0 +1 @@ +$aspect $full|/usr/share/images/fluxbox/background.jpg|style|:0.0 diff --git a/XUbuntuDesktop/ubuntu_home/.fluxbox/menu b/XUbuntuDesktop/ubuntu_home/.fluxbox/menu new file mode 100644 index 0000000000000000000000000000000000000000..ed1edfbbf100ff08ce6cb48b958a8eb01e0520a6 --- /dev/null +++ b/XUbuntuDesktop/ubuntu_home/.fluxbox/menu @@ -0,0 +1,3 @@ +[begin] (fluxbox) +[include] (/etc/X11/fluxbox/fluxbox-menu) +[end] diff --git a/XUbuntuDesktop/ubuntu_home/.fluxbox/overlay b/XUbuntuDesktop/ubuntu_home/.fluxbox/overlay new file mode 100644 index 0000000000000000000000000000000000000000..4ddc46b04c8c8d4b357a950dc0ff246d7960cbad --- /dev/null +++ b/XUbuntuDesktop/ubuntu_home/.fluxbox/overlay @@ -0,0 +1,4 @@ +! The following line will prevent styles from setting the background. +! background: none +background: aspect +background.pixmap: /usr/share/images/fluxbox/background.jpg diff --git a/XUbuntuDesktop/ubuntu_home/.fluxbox/windowmenu b/XUbuntuDesktop/ubuntu_home/.fluxbox/windowmenu new file mode 100644 index 0000000000000000000000000000000000000000..d867b64c2299e4d714323ec3018ce3efe3a4f466 --- /dev/null +++ b/XUbuntuDesktop/ubuntu_home/.fluxbox/windowmenu @@ -0,0 +1,15 @@ +[begin] + [shade] + [stick] + [maximize] + [iconify] + [raise] + [lower] + [settitledialog] + [sendto] + [layer] + [alpha] + [extramenus] + [separator] + [close] +[end] diff --git a/XUbuntuDesktop/ubuntu_home/.initialized b/XUbuntuDesktop/ubuntu_home/.initialized new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/XUbuntuDesktop/ubuntu_home/.profile b/XUbuntuDesktop/ubuntu_home/.profile new file mode 100644 index 0000000000000000000000000000000000000000..d89ea5a6e83a2956d7461b547fa0d7d68103b9c9 --- /dev/null +++ b/XUbuntuDesktop/ubuntu_home/.profile @@ -0,0 +1,27 @@ +# ~/.profile: executed by the command interpreter for login shells. +# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login +# exists. +# see /usr/share/doc/bash/examples/startup-files for examples. +# the files are located in the bash-doc package. + +# the default umask is set in /etc/profile; for setting the umask +# for ssh logins, install and configure the libpam-umask package. +#umask 022 + +# if running bash +if [ -n "$BASH_VERSION" ]; then + # include .bashrc if it exists + if [ -f "$HOME/.bashrc" ]; then + . "$HOME/.bashrc" + fi +fi + +# set PATH so it includes user's private bin if it exists +if [ -d "$HOME/bin" ] ; then + PATH="$HOME/bin:$PATH" +fi + +# set PATH so it includes user's private bin if it exists +if [ -d "$HOME/.local/bin" ] ; then + PATH="$HOME/.local/bin:$PATH" +fi diff --git a/XUbuntuDesktop/ubuntu_home/.vnc/config b/XUbuntuDesktop/ubuntu_home/.vnc/config new file mode 100644 index 0000000000000000000000000000000000000000..d67d45dd976cdb898480b1d6f2448ecef8db108b --- /dev/null +++ b/XUbuntuDesktop/ubuntu_home/.vnc/config @@ -0,0 +1,9 @@ +## Supported server options to pass to vncserver upon invocation can be listed +## in this file. See the following manpages for more: vncserver(1) Xvnc(1). +## Several common ones are shown below. Uncomment and modify to your liking. +## +# securitytypes=vncauth,tlsvnc +# desktop=sandbox +# geometry=2000x1200 +# localhost +# alwaysshared diff --git a/XUbuntuDesktop/ubuntu_home/logs/novnc.log b/XUbuntuDesktop/ubuntu_home/logs/novnc.log new file mode 100644 index 0000000000000000000000000000000000000000..5c0c6e6c49982b772841fb7dd14dc85f41d6b13f --- /dev/null +++ b/XUbuntuDesktop/ubuntu_home/logs/novnc.log @@ -0,0 +1,31 @@ +Warning: could not find self.pem +Using local websockify at /usr/lib/noVNC/utils/websockify/run +Starting webserver and WebSockets proxy on port 8590 +/usr/lib/noVNC/utils/websockify/websockify/websocket.py:30: UserWarning: no 'numpy' module, HyBi protocol will be slower + warnings.warn("no 'numpy' module, HyBi protocol will be slower") +WebSocket server settings: + - Listen on :8590 + - Web server. Web root: /usr/lib/noVNC + - No SSL/TLS support (no cert file) + - proxying from :8590 to localhost:5900 +172.17.0.1 - - [14/May/2020 15:23:37] 172.17.0.1: Plain non-SSL (ws://) WebSocket connection +172.17.0.1 - - [14/May/2020 15:23:37] 172.17.0.1: Path: '/websockify' +172.17.0.1 - - [14/May/2020 15:23:37] connecting to: localhost:5900 +172.17.0.1: ignoring socket not ready +172.17.0.1: ignoring socket not ready +Warning: could not find self.pem +Using local websockify at /usr/lib/noVNC/utils/websockify/run +Starting webserver and WebSockets proxy on port 8590 +/usr/lib/noVNC/utils/websockify/websockify/websocket.py:30: UserWarning: no 'numpy' module, HyBi protocol will be slower + warnings.warn("no 'numpy' module, HyBi protocol will be slower") +WebSocket server settings: + - Listen on :8590 + - Web server. Web root: /usr/lib/noVNC + - No SSL/TLS support (no cert file) + - proxying from :8590 to localhost:5900 +172.17.0.1: ignoring socket not ready +172.17.0.1 - - [14/May/2020 15:24:09] 172.17.0.1: Plain non-SSL (ws://) WebSocket connection +172.17.0.1 - - [14/May/2020 15:24:09] 172.17.0.1: Path: '/websockify' +172.17.0.1 - - [14/May/2020 15:24:09] connecting to: localhost:5900 +172.17.0.1: ignoring socket not ready +172.17.0.1: ignoring socket not ready diff --git a/XUbuntuDesktop/ubuntu_home/logs/supervisord.log b/XUbuntuDesktop/ubuntu_home/logs/supervisord.log new file mode 100644 index 0000000000000000000000000000000000000000..5eefce5a8c889cd291eb8631fe6d0a777ec3d950 --- /dev/null +++ b/XUbuntuDesktop/ubuntu_home/logs/supervisord.log @@ -0,0 +1,28 @@ +2020-05-14 15:23:25,726 INFO Included extra file "/etc/supervisor/conf.d/supervisord_novnc.conf" during parsing +2020-05-14 15:23:25,727 INFO Included extra file "/etc/supervisor/conf.d/supervisord_vnc.conf" during parsing +2020-05-14 15:23:25,743 INFO RPC interface 'supervisor' initialized +2020-05-14 15:23:25,744 CRIT Server 'unix_http_server' running without any HTTP authentication checking +2020-05-14 15:23:25,748 INFO supervisord started with pid 1 +2020-05-14 15:23:26,758 INFO spawned: 'novnc' with pid 18 +2020-05-14 15:23:26,768 INFO spawned: 'vnc' with pid 19 +2020-05-14 15:23:29,884 INFO reaped unknown pid 44 +2020-05-14 15:23:36,915 INFO success: novnc entered RUNNING state, process has stayed up for > than 10 seconds (startsecs) +2020-05-14 15:23:36,917 INFO success: vnc entered RUNNING state, process has stayed up for > than 10 seconds (startsecs) +2020-05-14 15:23:53,706 WARN received SIGINT indicating exit request +2020-05-14 15:23:53,712 INFO waiting for novnc, vnc to die +2020-05-14 15:23:54,721 INFO stopped: vnc (terminated by SIGTERM) +2020-05-14 15:23:54,723 INFO stopped: novnc (terminated by SIGTERM) +2020-05-14 15:23:57,760 INFO Included extra file "/etc/supervisor/conf.d/supervisord_novnc.conf" during parsing +2020-05-14 15:23:57,761 INFO Included extra file "/etc/supervisor/conf.d/supervisord_vnc.conf" during parsing +2020-05-14 15:23:57,776 INFO RPC interface 'supervisor' initialized +2020-05-14 15:23:57,777 CRIT Server 'unix_http_server' running without any HTTP authentication checking +2020-05-14 15:23:57,783 INFO supervisord started with pid 1 +2020-05-14 15:23:58,799 INFO spawned: 'novnc' with pid 11 +2020-05-14 15:23:58,808 INFO spawned: 'vnc' with pid 12 +2020-05-14 15:24:01,917 INFO reaped unknown pid 37 +2020-05-14 15:24:09,051 INFO success: novnc entered RUNNING state, process has stayed up for > than 10 seconds (startsecs) +2020-05-14 15:24:09,057 INFO success: vnc entered RUNNING state, process has stayed up for > than 10 seconds (startsecs) +2020-05-14 15:24:17,133 WARN received SIGINT indicating exit request +2020-05-14 15:24:17,136 INFO waiting for novnc, vnc to die +2020-05-14 15:24:18,140 INFO stopped: vnc (terminated by SIGTERM) +2020-05-14 15:24:18,145 INFO stopped: novnc (terminated by SIGTERM) diff --git a/XUbuntuDesktop/ubuntu_home/logs/vnc.log b/XUbuntuDesktop/ubuntu_home/logs/vnc.log new file mode 100644 index 0000000000000000000000000000000000000000..8cd12d5eb3cf88fe37f3bea0586f510d9aa0063e --- /dev/null +++ b/XUbuntuDesktop/ubuntu_home/logs/vnc.log @@ -0,0 +1,14 @@ +xauth: file /home/ubuntu/.Xauthority does not exist + +New '8424db806320:0 ()' desktop is 8424db806320:0 + +Creating default config /home/ubuntu/.vnc/config +Starting applications specified in /opt/tigervnc/xstartup +Log file is /home/ubuntu/.vnc/8424db806320:0.log + + +New 'f4fd1f7a7af8:0 ()' desktop is f4fd1f7a7af8:0 + +Starting applications specified in /opt/tigervnc/xstartup +Log file is /home/ubuntu/.vnc/f4fd1f7a7af8:0.log +