mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2025-12-06 16:32:47 +01:00
commit
1e55fd04b8
13 changed files with 427 additions and 449 deletions
|
|
@ -17,6 +17,7 @@ blocks:
|
|||
- '# Login to Dockerhub'
|
||||
- 'echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}" --password-stdin'
|
||||
- '# Create a version'
|
||||
- 'docker image tag devindice/cloud9-ide-vdi:latest devindice/cloud9-ide-vdi:testing'
|
||||
- 'docker push $DOCKER_USERNAME/cloud9-ide-vdi:testing'
|
||||
secrets:
|
||||
- name: Dockerhub
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
Dockerfile.amd64
|
||||
179
Dockerfile
Normal file
179
Dockerfile
Normal file
|
|
@ -0,0 +1,179 @@
|
|||
# Built with arch: amd64 flavor: lxde image: ubuntu:20.04
|
||||
#
|
||||
################################################################################
|
||||
# base system
|
||||
################################################################################
|
||||
|
||||
FROM ubuntu:20.04 as system
|
||||
|
||||
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
|
||||
|
||||
# Ca-Certificates
|
||||
RUN apt update \
|
||||
&& apt install -y -o Dpkg::Options::='--force-confold' --no-install-recommends --allow-unauthenticated \
|
||||
ca-certificates \
|
||||
&& apt autoclean -y \
|
||||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
# built-in packages
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
RUN apt update \
|
||||
&& apt install -y -o Dpkg::Options::='--force-confold' --no-install-recommends apt-utils software-properties-common curl \
|
||||
apache2-utils man-db manpages-posix manpages-dev manpages-posix-dev \
|
||||
&& apt update \
|
||||
&& apt install -y -o Dpkg::Options::='--force-confold' --no-install-recommends --allow-unauthenticated \
|
||||
supervisor nginx sudo net-tools zenity xz-utils \
|
||||
dbus-x11 x11-utils alsa-utils \
|
||||
mesa-utils libgl1-mesa-dri \
|
||||
&& apt autoclean -y \
|
||||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# install debs error if combine together
|
||||
RUN apt update \
|
||||
&& apt install -y -o Dpkg::Options::='--force-confold' --no-install-recommends --allow-unauthenticated \
|
||||
xvfb x11vnc ttf-ubuntu-font-family ttf-wqy-zenhei \
|
||||
&& apt autoclean -y \
|
||||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
#RUN apt update \
|
||||
# && apt install -y gpg-agent \
|
||||
# && curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
|
||||
# && (dpkg -i ./google-chrome-stable_current_amd64.deb || apt-get install -fy) \
|
||||
# && curl -sSL https://dl.google.com/linux/linux_signing_key.pub | apt-key add \
|
||||
# && rm google-chrome-stable_current_amd64.deb \
|
||||
# && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Desktop
|
||||
RUN apt update \
|
||||
&& apt install -y -o Dpkg::Options::='--force-confold' --no-install-recommends --allow-unauthenticated \
|
||||
xubuntu-desktop gtk2-engines-murrine gnome-themes-standard gtk2-engines-pixbuf gtk2-engines-murrine arc-theme \
|
||||
&& apt autoclean -y \
|
||||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# tini service manager
|
||||
ARG TINI_VERSION=v0.18.0
|
||||
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /bin/tini
|
||||
RUN chmod +x /bin/tini
|
||||
|
||||
# ffmpeg
|
||||
RUN apt update \
|
||||
&& apt install -y -o Dpkg::Options::='--force-confold' --no-install-recommends --allow-unauthenticated \
|
||||
ffmpeg \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& mkdir /usr/local/ffmpeg \
|
||||
&& ln -s /usr/bin/ffmpeg /usr/local/ffmpeg/ffmpeg
|
||||
|
||||
# python library
|
||||
COPY rootfs/usr/local/lib/web/backend/requirements.txt /tmp/
|
||||
RUN apt-get update \
|
||||
&& dpkg-query -W -f='${Package}\n' > /tmp/a.txt \
|
||||
&& apt-get install -y python3-pip python3-dev build-essential \
|
||||
&& pip3 install setuptools wheel && pip3 install -r /tmp/requirements.txt \
|
||||
&& ln -s /usr/bin/python3 /usr/local/bin/python \
|
||||
&& dpkg-query -W -f='${Package}\n' > /tmp/b.txt \
|
||||
&& apt-get remove -y `diff --changed-group-format='%>' --unchanged-group-format='' /tmp/a.txt /tmp/b.txt | xargs` \
|
||||
&& apt-get autoclean -y \
|
||||
&& apt-get autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& rm -rf /var/cache/apt/* /tmp/a.txt /tmp/b.txt
|
||||
|
||||
# Install Additonal Packages
|
||||
RUN mkdir /cloud9
|
||||
COPY rootfs/cloud9/apt-requirements.txt /cloud9/apt-requirements.txt
|
||||
RUN apt update \
|
||||
&& grep -v '^#' /cloud9/apt-requirements.txt | xargs apt install -y -o Dpkg::Options::='--force-confold' --no-install-recommends --allow-unauthenticated \
|
||||
&& apt autoclean -y \
|
||||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN mkdir /workspace
|
||||
|
||||
# Clone and install cloud9
|
||||
RUN git clone https://github.com/c9/core.git /cloud9/c9sdk
|
||||
#RUN mkdir -p /cloud9/c9sdk/build /workspace/.ubuntu/.standalone
|
||||
#RUN ln -sf /workspace/.ubuntu/.standalone /cloud9/c9sdk/build/standalone
|
||||
RUN /cloud9/c9sdk/scripts/install-sdk.sh
|
||||
RUN cd /cloud9/c9sdk && git reset --hard
|
||||
RUN wget -O user-install.sh https://raw.githubusercontent.com/c9/install/master/install.sh && mv user-install.sh /cloud9/
|
||||
|
||||
|
||||
################################################################################
|
||||
# builder
|
||||
################################################################################
|
||||
FROM ubuntu:20.04 as builder
|
||||
|
||||
|
||||
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
|
||||
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends curl ca-certificates gnupg patch
|
||||
|
||||
# nodejs
|
||||
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \
|
||||
&& apt-get install -y nodejs
|
||||
|
||||
# yarn
|
||||
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
|
||||
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y yarn
|
||||
|
||||
# build frontend
|
||||
COPY web /src/web
|
||||
RUN cd /src/web \
|
||||
&& yarn \
|
||||
&& yarn build
|
||||
RUN sed -i 's#app/locale/#novnc/app/locale/#' /src/web/dist/static/novnc/app/ui.js
|
||||
|
||||
|
||||
|
||||
################################################################################
|
||||
# merge
|
||||
################################################################################
|
||||
FROM system
|
||||
LABEL maintainer="info@devindice.com"
|
||||
|
||||
COPY --from=builder /src/web/dist/ /usr/local/lib/web/frontend/
|
||||
|
||||
RUN ln -sf /usr/local/lib/web/frontend/static/websockify /usr/local/lib/web/frontend/static/novnc/utils/websockify && \
|
||||
chmod +x /usr/local/lib/web/frontend/static/websockify/run
|
||||
|
||||
EXPOSE 80
|
||||
EXPOSE 9999
|
||||
|
||||
WORKDIR /workspace
|
||||
ENV HOME=/home/ubuntu \
|
||||
SHELL=/bin/bash
|
||||
HEALTHCHECK --interval=30s --timeout=5s CMD curl --fail http://127.0.0.1:6079/api/health
|
||||
ENTRYPOINT ["/startup.sh"]
|
||||
|
||||
# Install Docker
|
||||
RUN groupadd -g 281 docker
|
||||
RUN mkdir -p /etc/apt/keyrings
|
||||
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
||||
RUN echo \
|
||||
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
|
||||
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||
RUN apt-get update
|
||||
RUN apt-get -y install nautilus menulibre python3-pip keychain python3.8-venv strace gedit gvfs-backends
|
||||
RUN apt-get -y install docker-ce docker-ce-cli containerd.io docker-compose-plugin
|
||||
|
||||
RUN wget -O beyond-compare.deb https://www.scootersoftware.com/$(curl -sd "platform=linux" https://www.scootersoftware.com/download.php | grep amd64.deb | awk -F\" '{print $2}' | sed 's/\///g')
|
||||
RUN wget -O sublime-text.deb $(curl -s https://www.sublimetext.com/download_thanks?target=x64-deb#direct-downloads | grep amd64.deb | grep url | awk -F'"' '{print $2}')
|
||||
RUN wget -O sublime-merge.deb $(curl -s https://www.sublimemerge.com/download_thanks?target=x64-deb#direct-downloads | grep amd64.deb | grep url | awk -F'"' '{print $2}')
|
||||
RUN wget -O chrome.deb wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb || true
|
||||
RUN apt install -y ./beyond-compare.deb ./sublime-text.deb ./sublime-merge.deb ./chrome.deb
|
||||
|
||||
RUN npm -g install sass yuglify
|
||||
|
||||
RUN apt -y remove thunar
|
||||
|
||||
# Copy files
|
||||
COPY rootfs /
|
||||
RUN rm -rf /workspace/*
|
||||
175
Dockerfile.amd64
175
Dockerfile.amd64
|
|
@ -1,175 +0,0 @@
|
|||
# Built with arch: amd64 flavor: lxde image: ubuntu:20.04
|
||||
#
|
||||
################################################################################
|
||||
# base system
|
||||
################################################################################
|
||||
|
||||
FROM ubuntu:20.04 as system
|
||||
|
||||
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
|
||||
|
||||
# Ca-Certificates
|
||||
RUN apt update \
|
||||
&& apt install -y -o Dpkg::Options::='--force-confold' --no-install-recommends --allow-unauthenticated \
|
||||
ca-certificates \
|
||||
&& apt autoclean -y \
|
||||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
# built-in packages
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
RUN apt update \
|
||||
&& apt install -y -o Dpkg::Options::='--force-confold' --no-install-recommends apt-utils software-properties-common curl \
|
||||
apache2-utils man-db manpages-posix manpages-dev manpages-posix-dev \
|
||||
&& apt update \
|
||||
&& apt install -y -o Dpkg::Options::='--force-confold' --no-install-recommends --allow-unauthenticated \
|
||||
supervisor nginx sudo net-tools zenity xz-utils \
|
||||
dbus-x11 x11-utils alsa-utils \
|
||||
mesa-utils libgl1-mesa-dri \
|
||||
&& apt autoclean -y \
|
||||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# install debs error if combine together
|
||||
RUN apt update \
|
||||
&& apt install -y -o Dpkg::Options::='--force-confold' --no-install-recommends --allow-unauthenticated \
|
||||
xvfb x11vnc ttf-ubuntu-font-family ttf-wqy-zenhei \
|
||||
&& apt autoclean -y \
|
||||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
#RUN apt update \
|
||||
# && apt install -y gpg-agent \
|
||||
# && curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
|
||||
# && (dpkg -i ./google-chrome-stable_current_amd64.deb || apt-get install -fy) \
|
||||
# && curl -sSL https://dl.google.com/linux/linux_signing_key.pub | apt-key add \
|
||||
# && rm google-chrome-stable_current_amd64.deb \
|
||||
# && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Desktop
|
||||
RUN apt update \
|
||||
&& apt install -y -o Dpkg::Options::='--force-confold' --no-install-recommends --allow-unauthenticated \
|
||||
xubuntu-desktop gtk2-engines-murrine gnome-themes-standard gtk2-engines-pixbuf gtk2-engines-murrine arc-theme \
|
||||
&& apt autoclean -y \
|
||||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# tini service manager
|
||||
ARG TINI_VERSION=v0.18.0
|
||||
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /bin/tini
|
||||
RUN chmod +x /bin/tini
|
||||
|
||||
# ffmpeg
|
||||
RUN apt update \
|
||||
&& apt install -y -o Dpkg::Options::='--force-confold' --no-install-recommends --allow-unauthenticated \
|
||||
ffmpeg \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& mkdir /usr/local/ffmpeg \
|
||||
&& ln -s /usr/bin/ffmpeg /usr/local/ffmpeg/ffmpeg
|
||||
|
||||
# python library
|
||||
COPY rootfs/usr/local/lib/web/backend/requirements.txt /tmp/
|
||||
RUN apt-get update \
|
||||
&& dpkg-query -W -f='${Package}\n' > /tmp/a.txt \
|
||||
&& apt-get install -y python3-pip python3-dev build-essential \
|
||||
&& pip3 install setuptools wheel && pip3 install -r /tmp/requirements.txt \
|
||||
&& ln -s /usr/bin/python3 /usr/local/bin/python \
|
||||
&& dpkg-query -W -f='${Package}\n' > /tmp/b.txt \
|
||||
&& apt-get remove -y `diff --changed-group-format='%>' --unchanged-group-format='' /tmp/a.txt /tmp/b.txt | xargs` \
|
||||
&& apt-get autoclean -y \
|
||||
&& apt-get autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& rm -rf /var/cache/apt/* /tmp/a.txt /tmp/b.txt
|
||||
|
||||
# Install Additonal Packages
|
||||
RUN mkdir /cloud9
|
||||
COPY rootfs/cloud9/apt-requirements.txt /cloud9/apt-requirements.txt
|
||||
RUN apt update \
|
||||
&& grep -v '^#' /cloud9/apt-requirements.txt | xargs apt install -y -o Dpkg::Options::='--force-confold' --no-install-recommends --allow-unauthenticated \
|
||||
&& apt autoclean -y \
|
||||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN mkdir /workspace
|
||||
|
||||
# Clone and install cloud9
|
||||
RUN git clone https://github.com/c9/core.git /cloud9/c9sdk
|
||||
RUN mkdir -p /cloud9/c9sdk/build /workspace/.ubuntu/.standalone
|
||||
RUN ln -sf /workspace/.ubuntu/.standalone /cloud9/c9sdk/build/standalone
|
||||
RUN /cloud9/c9sdk/scripts/install-sdk.sh
|
||||
RUN cd /cloud9/c9sdk && git reset --hard
|
||||
RUN wget -O user-install.sh https://raw.githubusercontent.com/c9/install/master/install.sh && mv user-install.sh /cloud9/
|
||||
|
||||
|
||||
################################################################################
|
||||
# builder
|
||||
################################################################################
|
||||
FROM ubuntu:20.04 as builder
|
||||
|
||||
|
||||
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
|
||||
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends curl ca-certificates gnupg patch
|
||||
|
||||
# nodejs
|
||||
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \
|
||||
&& apt-get install -y nodejs
|
||||
|
||||
# yarn
|
||||
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
|
||||
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y yarn
|
||||
|
||||
# build frontend
|
||||
COPY web /src/web
|
||||
RUN cd /src/web \
|
||||
&& yarn \
|
||||
&& yarn build
|
||||
RUN sed -i 's#app/locale/#novnc/app/locale/#' /src/web/dist/static/novnc/app/ui.js
|
||||
|
||||
|
||||
|
||||
################################################################################
|
||||
# merge
|
||||
################################################################################
|
||||
FROM system
|
||||
LABEL maintainer="info@devindice.com"
|
||||
|
||||
COPY --from=builder /src/web/dist/ /usr/local/lib/web/frontend/
|
||||
|
||||
RUN ln -sf /usr/local/lib/web/frontend/static/websockify /usr/local/lib/web/frontend/static/novnc/utils/websockify && \
|
||||
chmod +x /usr/local/lib/web/frontend/static/websockify/run
|
||||
|
||||
EXPOSE 80
|
||||
EXPOSE 9999
|
||||
|
||||
WORKDIR /workspace
|
||||
ENV HOME=/home/ubuntu \
|
||||
SHELL=/bin/bash
|
||||
HEALTHCHECK --interval=30s --timeout=5s CMD curl --fail http://127.0.0.1:6079/api/health
|
||||
ENTRYPOINT ["/startup.sh"]
|
||||
|
||||
# Install Docker
|
||||
RUN groupadd -g 281 docker
|
||||
RUN mkdir -p /etc/apt/keyrings
|
||||
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
||||
RUN echo \
|
||||
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
|
||||
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||
RUN apt-get update
|
||||
RUN apt-get -y install docker-ce docker-ce-cli containerd.io docker-compose-plugin menulibre python3-pip keychain python3.8-venv strace gedit gvfs-backends
|
||||
|
||||
RUN wget -O beyond-compare.deb https://www.scootersoftware.com/$(curl -sd "platform=linux" https://www.scootersoftware.com/download.php | grep amd64.deb | awk -F\" '{print $2}' | sed 's/\///g')
|
||||
RUN wget -O sublime-text.deb $(curl -s https://www.sublimetext.com/download_thanks?target=x64-deb#direct-downloads | grep amd64.deb | grep url | awk -F'"' '{print $2}')
|
||||
RUN wget -O sublime-merge.deb $(curl -s https://www.sublimemerge.com/download_thanks?target=x64-deb#direct-downloads | grep amd64.deb | grep url | awk -F'"' '{print $2}')
|
||||
RUN wget -O chrome.deb wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb || true
|
||||
RUN apt install -y ./beyond-compare.deb ./sublime-text.deb ./sublime-merge.deb ./chrome.deb
|
||||
|
||||
RUN npm -g install sass yuglify
|
||||
|
||||
# Copy files
|
||||
COPY rootfs /
|
||||
129
Dockerfile.arm64
129
Dockerfile.arm64
|
|
@ -1,129 +0,0 @@
|
|||
# Built with arch: arm64 flavor: lxde image: ubuntu:18.04
|
||||
#
|
||||
################################################################################
|
||||
# base system
|
||||
################################################################################
|
||||
|
||||
# qemu helper for arm build
|
||||
FROM ubuntu:20.04 as amd64
|
||||
RUN apt update && apt install -y qemu-user-static
|
||||
FROM arm64v8/ubuntu:20.04 as system
|
||||
COPY --from=amd64 /usr/bin/qemu-aarch64-static /usr/bin/
|
||||
|
||||
|
||||
|
||||
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
|
||||
|
||||
|
||||
# built-in packages
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
RUN apt update \
|
||||
&& apt install -y --no-install-recommends software-properties-common curl apache2-utils \
|
||||
&& apt update \
|
||||
&& apt install -y --no-install-recommends --allow-unauthenticated \
|
||||
supervisor nginx sudo net-tools zenity xz-utils \
|
||||
dbus-x11 x11-utils alsa-utils \
|
||||
mesa-utils libgl1-mesa-dri \
|
||||
&& apt autoclean -y \
|
||||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
# install debs error if combine together
|
||||
RUN apt update \
|
||||
&& apt install -y --no-install-recommends --allow-unauthenticated \
|
||||
xvfb x11vnc \
|
||||
vim-tiny firefox chromium-browser ttf-ubuntu-font-family ttf-wqy-zenhei \
|
||||
&& add-apt-repository -r ppa:fcwu-tw/apps \
|
||||
&& apt autoclean -y \
|
||||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN apt update \
|
||||
&& apt install -y --no-install-recommends --allow-unauthenticated \
|
||||
lxde gtk2-engines-murrine gnome-themes-standard gtk2-engines-pixbuf gtk2-engines-murrine arc-theme \
|
||||
&& apt autoclean -y \
|
||||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
# Additional packages require ~600MB
|
||||
# libreoffice pinta language-pack-zh-hant language-pack-gnome-zh-hant firefox-locale-zh-hant libreoffice-l10n-zh-tw
|
||||
|
||||
# tini for subreap
|
||||
ARG TINI_VERSION=v0.18.0
|
||||
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-arm64 /bin/tini
|
||||
RUN chmod +x /bin/tini
|
||||
|
||||
# ffmpeg
|
||||
RUN apt update \
|
||||
&& apt install -y --no-install-recommends --allow-unauthenticated \
|
||||
ffmpeg \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& mkdir /usr/local/ffmpeg \
|
||||
&& ln -s /usr/bin/ffmpeg /usr/local/ffmpeg/ffmpeg
|
||||
|
||||
# python library
|
||||
COPY rootfs/usr/local/lib/web/backend/requirements.txt /tmp/
|
||||
RUN apt-get update \
|
||||
&& dpkg-query -W -f='${Package}\n' > /tmp/a.txt \
|
||||
&& apt-get install -y python3-pip python3-dev build-essential \
|
||||
&& pip3 install setuptools wheel && pip3 install -r /tmp/requirements.txt \
|
||||
&& ln -s /usr/bin/python3 /usr/local/bin/python \
|
||||
&& dpkg-query -W -f='${Package}\n' > /tmp/b.txt \
|
||||
&& apt-get remove -y `diff --changed-group-format='%>' --unchanged-group-format='' /tmp/a.txt /tmp/b.txt | xargs` \
|
||||
&& apt-get autoclean -y \
|
||||
&& apt-get autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& rm -rf /var/cache/apt/* /tmp/a.txt /tmp/b.txt
|
||||
|
||||
|
||||
################################################################################
|
||||
# builder
|
||||
################################################################################
|
||||
FROM ubuntu:20.04 as builder
|
||||
|
||||
|
||||
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
|
||||
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends curl ca-certificates gnupg patch
|
||||
|
||||
# nodejs
|
||||
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \
|
||||
&& apt-get install -y nodejs
|
||||
|
||||
# yarn
|
||||
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
|
||||
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y yarn
|
||||
|
||||
# build frontend
|
||||
COPY web /src/web
|
||||
RUN cd /src/web \
|
||||
&& yarn \
|
||||
&& yarn build
|
||||
RUN sed -i 's#app/locale/#novnc/app/locale/#' /src/web/dist/static/novnc/app/ui.js
|
||||
|
||||
|
||||
RUN cd /src/web/dist/static/novnc && patch -p0 < /src/web/novnc-armhf-1.patch
|
||||
|
||||
|
||||
################################################################################
|
||||
# merge
|
||||
################################################################################
|
||||
FROM system
|
||||
LABEL maintainer="fcwu.tw@gmail.com"
|
||||
|
||||
COPY --from=builder /src/web/dist/ /usr/local/lib/web/frontend/
|
||||
COPY rootfs /
|
||||
RUN ln -sf /usr/local/lib/web/frontend/static/websockify" "/usr/local/lib/web/frontend/static/novnc/utils/websockify && chmod +x /usr/local/lib/web/frontend/static/websockify/run
|
||||
RUN ln -sf /usr/local/lib/web/frontend/static/websockify /usr/local/lib/web/frontend/static/novnc/utils/websockify && \
|
||||
chmod +x /usr/local/lib/web/frontend/static/websockify/run
|
||||
|
||||
EXPOSE 80
|
||||
WORKDIR /root
|
||||
ENV HOME=/home/ubuntu \
|
||||
SHELL=/bin/bash
|
||||
HEALTHCHECK --interval=30s --timeout=5s CMD curl --fail http://127.0.0.1:6079/api/health
|
||||
ENTRYPOINT ["/startup.sh"]
|
||||
124
Dockerfile.armhf
124
Dockerfile.armhf
|
|
@ -1,124 +0,0 @@
|
|||
# Built with arch: armhf flavor: lxde image: ubuntu:18.04
|
||||
#
|
||||
################################################################################
|
||||
# base system
|
||||
################################################################################
|
||||
|
||||
# qemu helper for arm build
|
||||
FROM ubuntu:18.04 as amd64
|
||||
RUN apt update && apt install -y qemu-user-static
|
||||
FROM arm32v7/ubuntu:18.04 as system
|
||||
COPY --from=amd64 /usr/bin/qemu-arm-static /usr/bin/
|
||||
|
||||
|
||||
|
||||
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
|
||||
|
||||
|
||||
# built-in packages
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
RUN apt update \
|
||||
&& apt install -y --no-install-recommends software-properties-common curl apache2-utils \
|
||||
&& apt update \
|
||||
&& apt install -y --no-install-recommends --allow-unauthenticated \
|
||||
supervisor nginx sudo net-tools zenity xz-utils \
|
||||
dbus-x11 x11-utils alsa-utils \
|
||||
mesa-utils libgl1-mesa-dri \
|
||||
&& apt autoclean -y \
|
||||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
# install debs error if combine together
|
||||
RUN add-apt-repository -y ppa:fcwu-tw/apps \
|
||||
&& apt update \
|
||||
&& apt install -y --no-install-recommends --allow-unauthenticated \
|
||||
xvfb x11vnc=0.9.16-1 \
|
||||
vim-tiny firefox chromium-browser ttf-ubuntu-font-family ttf-wqy-zenhei \
|
||||
&& add-apt-repository -r ppa:fcwu-tw/apps \
|
||||
&& apt autoclean -y \
|
||||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN apt update \
|
||||
&& apt install -y --no-install-recommends --allow-unauthenticated \
|
||||
lxde gtk2-engines-murrine gnome-themes-standard gtk2-engines-pixbuf gtk2-engines-murrine arc-theme \
|
||||
&& apt autoclean -y \
|
||||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
# Additional packages require ~600MB
|
||||
# libreoffice pinta language-pack-zh-hant language-pack-gnome-zh-hant firefox-locale-zh-hant libreoffice-l10n-zh-tw
|
||||
|
||||
# tini for subreap
|
||||
ARG TINI_VERSION=v0.18.0
|
||||
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-armhf /bin/tini
|
||||
RUN chmod +x /bin/tini
|
||||
|
||||
# ffmpeg
|
||||
RUN mkdir -p /usr/local/ffmpeg \
|
||||
&& curl -sSL https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz | tar xJvf - -C /usr/local/ffmpeg/ --strip 1
|
||||
|
||||
# python library
|
||||
COPY rootfs/usr/local/lib/web/backend/requirements.txt /tmp/
|
||||
RUN apt-get update \
|
||||
&& dpkg-query -W -f='${Package}\n' > /tmp/a.txt \
|
||||
&& apt-get install -y python-pip python-dev build-essential \
|
||||
&& pip install setuptools wheel && pip install -r /tmp/requirements.txt \
|
||||
&& dpkg-query -W -f='${Package}\n' > /tmp/b.txt \
|
||||
&& apt-get remove -y `diff --changed-group-format='%>' --unchanged-group-format='' /tmp/a.txt /tmp/b.txt | xargs` \
|
||||
&& apt-get autoclean -y \
|
||||
&& apt-get autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& rm -rf /var/cache/apt/* /tmp/a.txt /tmp/b.txt
|
||||
|
||||
|
||||
################################################################################
|
||||
# builder
|
||||
################################################################################
|
||||
FROM ubuntu:18.04 as builder
|
||||
|
||||
|
||||
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
|
||||
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends curl ca-certificates gnupg patch
|
||||
|
||||
# nodejs
|
||||
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \
|
||||
&& apt-get install -y nodejs
|
||||
|
||||
# yarn
|
||||
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
|
||||
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y yarn
|
||||
|
||||
# build frontend
|
||||
COPY web /src/web
|
||||
RUN cd /src/web \
|
||||
&& yarn \
|
||||
&& yarn run build
|
||||
RUN sed -i 's#app/locale/#novnc/app/locale/#' /src/web/dist/static/novnc/app/ui.js
|
||||
|
||||
RUN cd /src/web/dist/static/novnc && patch -p0 < /src/web/novnc-armhf-1.patch
|
||||
|
||||
|
||||
################################################################################
|
||||
# merge
|
||||
################################################################################
|
||||
FROM system
|
||||
LABEL maintainer="fcwu.tw@gmail.com"
|
||||
|
||||
COPY --from=builder /src/web/dist/ /usr/local/lib/web/frontend/
|
||||
COPY rootfs /
|
||||
RUN ln -sf /usr/local/lib/web/frontend/static/websockify" "/usr/local/lib/web/frontend/static/novnc/utils/websockify && chmod +x /usr/local/lib/web/frontend/static/websockify/run
|
||||
RUN ln -sf /usr/local/lib/web/frontend/static/websockify /usr/local/lib/web/frontend/static/novnc/utils/websockify && \
|
||||
chmod +x /usr/local/lib/web/frontend/static/websockify/run
|
||||
|
||||
EXPOSE 80
|
||||
WORKDIR /root
|
||||
ENV HOME=/home/ubuntu \
|
||||
SHELL=/bin/bash
|
||||
HEALTHCHECK --interval=30s --timeout=5s CMD curl --fail http://127.0.0.1:6079/api/health
|
||||
ENTRYPOINT ["/startup.sh"]
|
||||
|
|
@ -11,7 +11,6 @@ sleep 5
|
|||
|
||||
DBUS_ADDRESS=$(grep -z DBUS_SESSION_BUS_ADDRESS /proc/$PID/environ|cut -d= -f2-)
|
||||
echo "DBUS Session Address: $DBUS_ADDRESS"
|
||||
echo "$DBUS_ADDRESS" > /var/log/dbus.txt
|
||||
export DBUS_SESSION_BUS_ADDRESS
|
||||
export DISPLAY=:1.0
|
||||
|
||||
|
|
|
|||
4
rootfs/etc/skel/.config/xfce4/helpers.rc
Normal file
4
rootfs/etc/skel/.config/xfce4/helpers.rc
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
FileManager=nautilus
|
||||
WebBrowser=google-chrome
|
||||
TerminalEmulator=xfce4-terminal
|
||||
|
||||
|
|
@ -50,6 +50,6 @@ command=bash -c 'while ps aux | grep user-install.sh | grep -v grep 2>&1> /dev/n
|
|||
|
||||
[program:desktop]
|
||||
priority=30
|
||||
directory=/workspace/.ubuntu/dynamic-background/active
|
||||
directory=/home/%USER%/.dynamic-background/active
|
||||
user=%USER%
|
||||
command=bash /usr/share/backgrounds/dynamic.sh
|
||||
|
|
@ -4,9 +4,9 @@
|
|||
# will be translated on a per-path-element basis into the users locale
|
||||
DESKTOP=Desktop
|
||||
DOWNLOAD=Downloads
|
||||
TEMPLATES=Workspace
|
||||
PUBLICSHARE=Workspace/Company Files
|
||||
DOCUMENTS=Documents
|
||||
#TEMPLATES=Workspace
|
||||
PUBLICSHARE=Workspace/-Shared Files-
|
||||
DOCUMENTS=Workspace
|
||||
#MUSIC="$HOME"
|
||||
#PICTURES="$HOME"
|
||||
#VIDEOS="$HOME"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ -n "$VNC_PASSWORD" ]; then
|
||||
echo -n "$VNC_PASSWORD" > /.password1
|
||||
x11vnc -storepasswd $(cat /.password1) /.password2
|
||||
|
|
@ -31,7 +32,8 @@ USER=${USER:-root}
|
|||
HOME=/root
|
||||
if [ "$USER" != "root" ]; then
|
||||
echo "* enable custom user: $USER"
|
||||
useradd --create-home --shell /bin/bash --user-group --groups adm,sudo,docker -d /workspace/.home/$USER $USER
|
||||
#useradd --create-home --shell /bin/bash --user-group --groups adm,sudo,docker -d /workspace/.home/$USER $USER
|
||||
useradd --create-home --shell /bin/bash --user-group --groups adm,sudo,docker $USER
|
||||
|
||||
if [ -z "$PASSWORD" ]; then
|
||||
echo " set default password to \"ubuntu\""
|
||||
|
|
@ -41,7 +43,8 @@ if [ "$USER" != "root" ]; then
|
|||
|
||||
PASSWORD=$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)
|
||||
fi
|
||||
HOME=/workspace/.home/$USER
|
||||
#HOME=/workspace/.home/$USER
|
||||
HOME=/home/$USER
|
||||
echo "$USER:$PASSWORD" | chpasswd
|
||||
cp -r /root/{.config,.gtkrc-2.0,.asoundrc} ${HOME}
|
||||
chown -R $USER:$USER ${HOME}
|
||||
|
|
@ -49,6 +52,13 @@ if [ "$USER" != "root" ]; then
|
|||
fi
|
||||
sed -i -e "s|%USER%|$USER|" -e "s|%HOME%|$HOME|" /etc/supervisor/conf.d/supervisord.conf
|
||||
|
||||
#mkdir -r /home/$USER/.config/
|
||||
# Set the default file manager
|
||||
#grep "FileManager" /home/$USER/.config/xfce4-helpers.rc && sed -i "/FileManager/c\FileManager=nautilus" || echo "FileManager=nautilus" >> /home/$USER/.config/xfce4-helpers.rc
|
||||
# Set the default web browser if it does not exist
|
||||
#grep "WebBrowser" /home/$USER/.config/xfce4-helpers.rc || echo "WebBrowser=google-chrome" >> /home/$USER/.config/xfce4-helpers.rc
|
||||
#chown -R $USER:$USER /home/$USER/.config
|
||||
|
||||
# nginx workers
|
||||
sed -i 's|worker_processes .*|worker_processes 1;|' /etc/nginx/nginx.conf
|
||||
|
||||
|
|
@ -86,27 +96,44 @@ if [ -n "$DOMAIN" ]; then
|
|||
fi
|
||||
|
||||
# Reduce this so its not everything
|
||||
chown -R $USER:$USER $HOME /cloud9 /workspace/.c9 /workspace/.$USER
|
||||
#chown -R $USER:$USER $HOME /cloud9 /workspace
|
||||
|
||||
# Add required packages for ubuntu user (Run as user)
|
||||
|
||||
rm -rf $HOME/.c9
|
||||
mkdir -p /workspace/.c9
|
||||
chown $USER:$USER /workspace/.c9
|
||||
sudo -H -u $USER bash -c 'bash /cloud9/user-install.sh' 2>&1> /workspace/.c9/install.log &
|
||||
#rm -rf $HOME/.c9
|
||||
#mkdir -p /workspace/.c9
|
||||
#chown $USER:$USER /workspace/.c9
|
||||
sudo -H -u $USER bash -c 'bash /cloud9/user-install.sh' 2>&1> /home/$USER/.cloud9-install.log &
|
||||
|
||||
# Only for testing while editing the menu
|
||||
chown $USER /usr/share/applications/
|
||||
#chown $USER /usr/share/applications/
|
||||
|
||||
# Setup Backgrounds
|
||||
mkdir -p /workspace/.ubuntu/dynamic-background/active/
|
||||
mkdir -p /home/$USER/.dynamic-background/active/
|
||||
for BACKGROUND in $(ls -1 /usr/share/backgrounds/dynamic-background/ | grep -v -e "active" -e "default" ); do
|
||||
cp -r /usr/share/backgrounds/dynamic-background/$BACKGROUND /workspace/.ubuntu/dynamic-background/
|
||||
cp -r /usr/share/backgrounds/dynamic-background/$BACKGROUND /home/$USER/.dynamic-background/active/
|
||||
done
|
||||
if [ ! "$(ls -A /workspace/.ubuntu/dynamic-background/active/ )" ]; then
|
||||
cp -r /usr/share/backgrounds/dynamic-background/default/* /workspace/.ubuntu/dynamic-background/active
|
||||
if [ ! "$(ls -A /home/$USER/.dynamic-background/active/ )" ]; then
|
||||
cp -r /usr/share/backgrounds/dynamic-background/default/* /home/$USER/.dynamic-background/active/
|
||||
fi
|
||||
|
||||
bash /cloud9/configure_desktop.sh &
|
||||
|
||||
exec /bin/tini -- supervisord -n -c /etc/supervisor/supervisord.conf
|
||||
mkdir -p /home/$USER/Workspace/-Shared\ Files-
|
||||
grep -qxF "/home/$USER/Workspace /workspace none defaults,bind 0 0" /etc/fstab || echo "/home/$USER/Workspace /workspace none defaults,bind 0 0" >> /etc/fstab
|
||||
mount -a
|
||||
|
||||
# Make directory for bookmarks
|
||||
mkdir -p /home/$USER/.config/gtk-3.0
|
||||
|
||||
# Keep these bookmarks
|
||||
grep "file:///home/$USER/Documents" /home/$USER/.config/gtk-3.0/bookmarks || echo "file:///home/$USER/Documents" >> /home/$USER/.config/gtk-3.0/bookmarks
|
||||
grep "file:///home/$USER/Workspace" /home/$USER/.config/gtk-3.0/bookmarks || echo "file:///home/$USER/Workspace" >> /home/$USER/.config/gtk-3.0/bookmarks
|
||||
grep "file:///home/$USER/Workspace/Shared%20Files" /home/$USER/.config/gtk-3.0/bookmarks || echo "file:///home/$USER/Workspace/-Shared%20Files-" >> /home/$USER/.config/gtk-3.0/bookmarks
|
||||
grep "file:///home/$USER/Downloads" /home/$USER/.config/gtk-3.0/bookmarks || echo "file:///home/$USER/Downloads" >> /home/$USER/.config/gtk-3.0/bookmarks
|
||||
|
||||
grep "127.0.0.1 archive.linux.duke.edu" /etc/hosts || echo "127.0.0.1 archive.linux.duke.edu" >> /etc/hosts
|
||||
|
||||
chown -R $USER:$USER /home/$USER/
|
||||
|
||||
exec /bin/tini -- supervisord -n -c /etc/supervisor/supervisord.conf
|
||||
|
|
|
|||
198
rootfs/usr/share/applications/nautilus.desktop
Normal file
198
rootfs/usr/share/applications/nautilus.desktop
Normal file
|
|
@ -0,0 +1,198 @@
|
|||
[Desktop Entry]
|
||||
Name=Nautilus File Manager
|
||||
Name[am]=ቱናር መዝገብ አስተዳዳሪ
|
||||
Name[ar]=مدير الملفات ثونار
|
||||
Name[ast]=Xestor de ficheros Nautilus
|
||||
Name[be]=Кіраўнік файлаў Nautilus
|
||||
Name[bg]=Файлов мениджър Nautilus
|
||||
Name[bn]=Nautilus ফাইল ম্যানেজার
|
||||
Name[ca]=Gestor de fitxers Nautilus
|
||||
Name[cs]=Správce souborů Nautilus
|
||||
Name[da]=Nautilus Filhåndtering
|
||||
Name[de]=Nautilus-Dateiverwaltung
|
||||
Name[el]=Διαχειριστής αρχείων Nautilus
|
||||
Name[en_AU]=Nautilus File Manager
|
||||
Name[en_GB]=Nautilus File Manager
|
||||
Name[eo]=Nautilus dosier-administrilo
|
||||
Name[es]=Gestor de archivos Nautilus
|
||||
Name[et]=Failihaldur Nautilus
|
||||
Name[eu]=Nautilus fitxategi kudeatzailea
|
||||
Name[fa_IR]=مدیر پروندههای تونار
|
||||
Name[fi]=Nautilus-tiedostonhallinta
|
||||
Name[fr]=Gestionnaire de fichiers Nautilus
|
||||
Name[gl]=Xestor de ficheiros Nautilus
|
||||
Name[he]=מנהל קבצים Nautilus
|
||||
Name[hr]=Nautilus upravitelj datotekama
|
||||
Name[hu]=Nautilus fájlkezelő
|
||||
Name[hy]=Nautilus նիշք
|
||||
Name[hy_AM]=Nautilus նիշք
|
||||
Name[id]=Manajer Berkas Nautilus
|
||||
Name[ie]=Gerente de files Nautilus
|
||||
Name[is]=Nautilus skráastjóri
|
||||
Name[it]=Il gestore dei file Nautilus
|
||||
Name[ja]=Nautilus ファイルマネージャー
|
||||
Name[kk]=Nautilus файлдар басқарушысы
|
||||
Name[ko]=투나 파일 관리자
|
||||
Name[lt]=Nautilus failų tvarkytuvė
|
||||
Name[lv]=Nautilus failu pārvaldnieks
|
||||
Name[ms]=Pengurus Fail Nautilus
|
||||
Name[nb]=Nautilus Filbehandler
|
||||
Name[nl]=Nautilus bestandbeheerder
|
||||
Name[nn]=Nautilus filhandsaming
|
||||
Name[oc]=Gestionari de Fichièrs Nautilus
|
||||
Name[pa]=ਥੰਨਰ ਫਾਇਲ ਮੈਨੇਜਰ
|
||||
Name[pl]=Menedżer plików Nautilus
|
||||
Name[pt]=Gestor de ficheiros Nautilus
|
||||
Name[pt_BR]=Gerenciador de arquivos Nautilus
|
||||
Name[ro]=Managerul de fișiere Nautilus
|
||||
Name[ru]=Файловый менеджер Nautilus
|
||||
Name[si]=Nautilus ගොනු කළමණාකරු
|
||||
Name[sk]=Správca súborov Nautilus
|
||||
Name[sl]=Upravljalnik datotek Nautilus
|
||||
Name[sq]=Përgjegjësi i Kartelave Nautilus
|
||||
Name[sr]=Тунар управник датотека
|
||||
Name[sv]=Filhanteraren Nautilus
|
||||
Name[te]=తునార్ దస్త్ర నిర్వాహకము
|
||||
Name[th]=โปรแกรมจัดการแฟ้ม Nautilus
|
||||
Name[tr]=Nautilus Dosya Yöneticisi
|
||||
Name[ug]=سۇنار(Nautilus) ھۆججەت باشقۇرغۇ
|
||||
Name[uk]=Файловий менеджер Nautilus
|
||||
Name[ur]=تھنر فائل منیجر
|
||||
Name[ur_PK]=تھنر فائل منیجر
|
||||
Name[vi]=Trình quản lý tập tin Nautilus
|
||||
Name[zh_CN]=Nautilus 文件管理器
|
||||
Name[zh_HK]=Nautilus 檔案管理員
|
||||
Name[zh_TW]=Nautilus 檔案管理員
|
||||
Comment=Browse the filesystem with the file manager
|
||||
Comment[ar]=تصفح ملفات النظام بمدير الملفات
|
||||
Comment[ast]=Restolar el sistema de ficheros col xestor de ficheros
|
||||
Comment[be]=Агляд файлавай сістэмы кіраўніком файлаў
|
||||
Comment[bg]=Преглед на файловата система с файловият мениджър
|
||||
Comment[bn]=ফাইল ম্যানেজার দিয়ে ফাইলসিস্টেম ব্রাউজ করুন
|
||||
Comment[ca]=Navegueu pel sistema de fitxers amb el gestor de fitxers
|
||||
Comment[cs]=Procházet systém souborů správcem souborů
|
||||
Comment[da]=Gennemse filsystemet med filhåndteringen
|
||||
Comment[de]=Das Dateisystem in der Dateiverwaltung anzeigen
|
||||
Comment[el]=Περιήγηση του συστήματος αρχείων με τον διαχειριστή αρχείων
|
||||
Comment[en_AU]=Browse the filesystem with the file manager
|
||||
Comment[en_GB]=Browse the filesystem with the file manager
|
||||
Comment[eo]=Rigardu dosier-sistemon per dosier-administrilo
|
||||
Comment[es]=Explore el sistema de archivos con el gestor de archivos
|
||||
Comment[et]=Failisüsteemi lehitsemine kasutades failihaldurit
|
||||
Comment[eu]=Fitxategi kudeatzaileaz fitxategi sistema arakatu
|
||||
Comment[fa_IR]=مرور سیستم پرونده با مدیر پرونده
|
||||
Comment[fi]=Selaa tiedostojärjestelmää tiedostonhallinnassa
|
||||
Comment[fr]=Parcourir le système de fichiers avec le gestionnaire de fichiers
|
||||
Comment[gl]=Explorar o sistema de ficheiros co xestor de ficheiros
|
||||
Comment[he]=סייר במערכת הקבצים בעזרת מנהל הקבצים
|
||||
Comment[hr]=Pregledaj datotečni sustav sa upraviteljem datoteka
|
||||
Comment[hu]=A fájlrendszer böngészése a fájlkezelővel
|
||||
Comment[hy]=Դիտանցնել նշահամակարգը նշերի կառավարչի հետ
|
||||
Comment[hy_AM]=Դիտանցնել նշահամակարգը նշերի կառավարչի հետ
|
||||
Comment[id]=Ramban sistem berkas dengan manajer berkas
|
||||
Comment[ie]=Navigar li sistema de files per li gerente de files
|
||||
Comment[is]=Vafra um skráarkerfið með skráarstjóranum
|
||||
Comment[it]=Esplora il file system con il gestore dei file
|
||||
Comment[ja]=ファイルマネージャーでファイルシステムを参照します
|
||||
Comment[kk]=Файлдық жүйені файлдар басқарушысымен шолу
|
||||
Comment[ko]=파일 관리자로 파일 시스템을 탐색합니다
|
||||
Comment[lt]=Naršyti failų sistemą naudojant failų tvarkytuvę
|
||||
Comment[lv]=Pārlūko failu sistēmu ar failu pārvaldnieku
|
||||
Comment[ms]=Layar sistem fail dengan pengurus fail
|
||||
Comment[nb]=Utforsk filsystemet med filbehandleren
|
||||
Comment[nl]=Blader met de bestandbeheerder door het bestandssysteem
|
||||
Comment[nn]=Bla gjennom filsystemet med filhandsamaren
|
||||
Comment[oc]=Percórrer lo sistèma de fichièrs amb lo gestionari de fichièrs
|
||||
Comment[pa]=ਫਾਇਲ ਮੈਨੇਜਰ ਨਾਲ ਫਾਇਲ ਸਿਸਟਮ ਨਾਲ ਬਰਾਊਜ਼ ਕਰੋ
|
||||
Comment[pl]=Przegląda system plików za pomocą menedżera plików
|
||||
Comment[pt]=Explorar sistema de ficheiros com o gestor de ficheiros
|
||||
Comment[pt_BR]=Navegue no sistema de arquivos com o gerenciador de arquivos
|
||||
Comment[ro]=Gestionați fișierele cu un manager dedicat
|
||||
Comment[ru]=Просмотр файловой системы с помощью файлового менеджера
|
||||
Comment[sk]=Prehliada súborový systém pomocou správcu súborov
|
||||
Comment[sl]=Brskajte po datotečnem sistemu z upravljalnikom datotek
|
||||
Comment[sq]=Shfletoni sistemin e kartelave me përgjegjësin e kartelave
|
||||
Comment[sr]=Прегледај систем датотека управником датотека
|
||||
Comment[sv]=Bläddra i filsystemet med filhanteraren
|
||||
Comment[te]=దస్త్ర వ్యవస్థని దస్త్ర నిర్వాహకముతో విహరించు
|
||||
Comment[th]=ท่องดูระบบแฟ้มด้วยโปรแกรมจัดการแฟ้ม
|
||||
Comment[tr]=Dosya sistemine dosya yöneticisi ile göz atın
|
||||
Comment[ug]=ھۆججەت باشقۇرغۇدا ھۆججەت سىستېمىسىنى كۆر
|
||||
Comment[uk]=Перегляд файлової системи менеджером файлів
|
||||
Comment[ur]=فائل سسٹم کو فائل منیجر سے دیکھیں
|
||||
Comment[ur_PK]=فائل سسٹم کو فائل منیجر سے دیکھیں
|
||||
Comment[vi]=Duyệt hê thống tập tin với trình quản lý tập tin
|
||||
Comment[zh_CN]=用文件管理器浏览文件系统
|
||||
Comment[zh_HK]=以檔案管理員瀏覽檔案系統
|
||||
Comment[zh_TW]=使用檔案管理員瀏覽檔案系統
|
||||
GenericName=File Manager
|
||||
GenericName[am]=የ ፋይል አስተዳዳሪ
|
||||
GenericName[ar]=مدير الملفات
|
||||
GenericName[ast]=Xestor de ficheros
|
||||
GenericName[be]=Кіраўнік файлаў
|
||||
GenericName[bg]=Файлов мениджър
|
||||
GenericName[bn]=ফাইল ব্যবস্থাপক
|
||||
GenericName[ca]=Gestor de fitxers
|
||||
GenericName[cs]=Správce souborů
|
||||
GenericName[da]=Filhåndtering
|
||||
GenericName[de]=Dateiverwaltung
|
||||
GenericName[el]=Διαχειριστής αρχείων
|
||||
GenericName[en_AU]=File Manager
|
||||
GenericName[en_GB]=File Manager
|
||||
GenericName[eo]=Dosier-administrilo
|
||||
GenericName[es]=Gestor de archivos
|
||||
GenericName[et]=Failihaldur
|
||||
GenericName[eu]=Fitxategi kudeatzailea
|
||||
GenericName[fa_IR]=مدیر پرونده
|
||||
GenericName[fi]=Tiedostonhallinta
|
||||
GenericName[fr]=Gestionnaire de fichiers
|
||||
GenericName[gl]=Xestor de ficheiros
|
||||
GenericName[he]=מנהל קבצים
|
||||
GenericName[hr]=Upravitelj datotekama
|
||||
GenericName[hu]=Fájlkezelő
|
||||
GenericName[hy]=Նիշք
|
||||
GenericName[hy_AM]=Նիշք
|
||||
GenericName[id]=Manajer Berkas
|
||||
GenericName[ie]=Gerente de files
|
||||
GenericName[is]=Skráastjóri
|
||||
GenericName[it]=Gestore dei file
|
||||
GenericName[ja]=ファイルマネージャー
|
||||
GenericName[kk]=Файлдар басқарушысы
|
||||
GenericName[ko]=파일 관리자
|
||||
GenericName[lt]=Failų tvarkytuvė
|
||||
GenericName[lv]=Failu pārvaldnieks
|
||||
GenericName[ms]=Pengurus Fail
|
||||
GenericName[nb]=Filbehandler
|
||||
GenericName[nl]=Bestandbeheerder
|
||||
GenericName[nn]=Filhandsamar
|
||||
GenericName[oc]=Gestionari de fichièrs
|
||||
GenericName[pa]=ਫਾਇਲ ਮੈਨੇਜਰ
|
||||
GenericName[pl]=Menedżer plików
|
||||
GenericName[pt]=Gestor de ficheiros
|
||||
GenericName[pt_BR]=Gerenciador de arquivos
|
||||
GenericName[ro]=Manager de fișiere
|
||||
GenericName[ru]=Файловый менеджер
|
||||
GenericName[sk]=Správca súborov
|
||||
GenericName[sl]=Upravljalnik datotek
|
||||
GenericName[sq]=Përgjegjës Kartelash
|
||||
GenericName[sr]=Разгледач датотека
|
||||
GenericName[sv]=Filhanterare
|
||||
GenericName[te]=దస్త్ర నిర్వాహకము
|
||||
GenericName[th]=โปรแกรมจัดการแฟ้ม
|
||||
GenericName[tr]=Dosya Yöneticisi
|
||||
GenericName[ug]=ھۆججەت باشقۇرغۇ
|
||||
GenericName[uk]=Файловий менеджер
|
||||
GenericName[ur]=فائل منیجر
|
||||
GenericName[ur_PK]=فائل منیجر
|
||||
GenericName[vi]=Trình quản lí tập tin
|
||||
GenericName[zh_CN]=文件管理器
|
||||
GenericName[zh_HK]=檔案管理員
|
||||
GenericName[zh_TW]=檔案管理員
|
||||
Exec=nautilus %F
|
||||
Icon=Nautilus
|
||||
Terminal=false
|
||||
StartupNotify=true
|
||||
Type=Application
|
||||
Categories=System;Core;GTK;FileTools;FileManager;
|
||||
MimeType=inode/directory;
|
||||
# vi:set encoding=UTF-8:
|
||||
|
|
@ -195,5 +195,5 @@ StartupNotify=true
|
|||
Type=Application
|
||||
Categories=System;Core;GTK;FileTools;FileManager;
|
||||
MimeType=inode/directory;
|
||||
|
||||
NoDisplay=true
|
||||
# vi:set encoding=UTF-8:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
OLD_FILE=""
|
||||
DBUS_FILE="/var/log/dbus.txt"
|
||||
DIR=$(pwd)
|
||||
|
||||
export DISPLAY=:1.0
|
||||
|
|
|
|||
Loading…
Reference in a new issue