Skip to content

Commit

Permalink
Rework apps
Browse files Browse the repository at this point in the history
  • Loading branch information
crschnick committed Feb 15, 2025
1 parent 084cf6b commit 7f0db10
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
* text=auto eol=lf
*.sh text eol=lf
29 changes: 19 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ARG TARGETPLATFORM
# prevent Ubuntu's firefox stub from being installed
COPY /root/etc/apt/preferences.d/firefox-no-snap /etc/apt/preferences.d/firefox-no-snap

RUN echo "**** install packages ****" && \
RUN echo "**** install base packages ****" && \
add-apt-repository -y ppa:mozillateam/ppa && \
apt-get update && \
DEBIAN_FRONTEND=noninteractive \
Expand All @@ -22,7 +22,6 @@ RUN echo "**** install packages ****" && \
kde-config-gtk-style \
kdialog \
kio-extras \
konsole \
kubuntu-settings-desktop \
kwin-x11 \
kwrite \
Expand All @@ -32,15 +31,8 @@ RUN echo "**** install packages ****" && \
plasma-workspace \
plymouth-theme-kubuntu-logo \
qml-module-qt-labs-platform \
alacritty \
kitty \
tilix \
kate \
gedit \
terminator \
fonts-noto \
fonts-noto-cjk \
remmina \
systemsettings && \
apt-get remove -y plasma-welcome && \
apt-get autoclean && \
Expand Down Expand Up @@ -72,6 +64,21 @@ RUN \
/kclient/public/icon.png \
https://rawcdn.githack.com/xpipe-io/xpipe/a097ae7a41131fa358b5343345557ad00a45c309/dist/logo/logo.png

RUN echo "**** install tool packages ****" && \
DEBIAN_FRONTEND=noninteractive \
apt-get install --no-install-recommends -y \
konsole \
gnome-console \
gnome-terminal \
xfce4-terminal \
alacritty \
kitty \
tilix \
kate \
gedit \
terminator \
remmina

RUN echo "**** XPipe **** ($TARGETPLATFORM)" && \
if [ "$TARGETPLATFORM" = "linux/amd64" ]; then XPIPE_ARTIFACT="xpipe-installer-linux-x86_64.deb"; else XPIPE_ARTIFACT="xpipe-installer-linux-arm64.deb"; fi && \
wget "https://github.com/$XPIPE_REPOSITORY/releases/download/$XPIPE_VERSION/${XPIPE_ARTIFACT}" && \
Expand All @@ -82,7 +89,9 @@ RUN echo "**** XPipe **** ($TARGETPLATFORM)" && \

RUN mkdir -p "/etc/xdg/autostart/" && ln -s "/usr/share/applications/$XPIPE_PACKAGE.desktop" "/etc/xdg/autostart/$XPIPE_PACKAGE.desktop"

RUN echo "**** konsole tweaks ****" && mkdir -p /config/.config && printf "\n\n[KonsoleWindow]\nUseSingleInstance=true\n\n[Notification Messages]\nCloseAllTabs=true\n" > /config/.config/konsolerc

RUN echo "**** kde tweaks ****" && \
sed -i \
"s/applications:org.kde.discover.desktop,/applications:org.kde.konsole.desktop,/g;s#preferred://browser#preferred://browser,applications:$XPIPE_PACKAGE.desktop#g" \
"s/applications:org.kde.discover.desktop,/applications:org.kde.konsole.desktop,/g;s#preferred://browser#applications:firefox.desktop,applications:code.desktop,applications:remmina-gnome.desktop,applications:$XPIPE_PACKAGE.desktop#g" \
/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/config/main.xml

0 comments on commit 7f0db10

Please sign in to comment.