From 3925e44d43b2bd307a2b8bca82c2f73a6dd435a6 Mon Sep 17 00:00:00 2001 From: Seungmin Kim <8457324+ehfd@users.noreply.github.com> Date: Fri, 22 Dec 2023 22:43:07 -0800 Subject: [PATCH] Edit KDE environment --- Dockerfile | 4 ++++ README.md | 7 +++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9bc1720..5008b76 100644 --- a/Dockerfile +++ b/Dockerfile @@ -237,6 +237,10 @@ RUN curl -fsSL -O "https://github.com/VirtualGL/virtualgl/releases/download/${VI # Install KDE and other GUI packages ENV XDG_CURRENT_DESKTOP KDE +ENV XDG_SESSION_DESKTOP KDE +ENV XDG_SESSION_TYPE x11 +ENV DESKTOP_SESSION plasma +ENV KDE_FULL_SESSION true ENV KWIN_COMPOSE N ENV KWIN_X11_NO_SYNC_TO_VBLANK 1 # Use sudoedit to change protected files instead of using sudo on kate diff --git a/README.md b/README.md index 4ba4e29..577d97a 100644 --- a/README.md +++ b/README.md @@ -174,10 +174,9 @@ If you checked everything here, scroll down. **Use the option `--appimage-extract-and-run` or `--appimage-extract` with your AppImage to run them in a container. Alternatively, set `export APPIMAGE_EXTRACT_AND_RUN=1` to your current shell. For controlling PulseAudio, use `pactl` instead of `pacmd` as the latter corrupts the audio system within the container. Use `sudoedit` to edit protected files in the desktop instead of using `sudo` followed by the name of the editor.** -
- Open Long Answer -For `systemd`, `polkit`, FUSE mounts, or other sandboxed application distribution systems, do not use them with containers. You can use them if you add unsafe capabilities to your containers, but it will break the isolation of the containers. This is especially bad if you are using Kubernetes. For controlling PulseAudio, use `pactl` instead of `pacmd` as the latter corrupts the audio system within the container. Because `polkit` does not work, use `sudoedit` to edit protected files with the GUI instead of using `sudo` followed by the name of the editor. There will likely be an alternative way to install the applications, including [Personal Package Archives](https://launchpad.net/ubuntu/+ppas). For some applications, there will be options to disable sandboxing when running or options to extract files before running. -
+#### Long Answer + +For `systemd`, `polkit`, FUSE mounts, or sandboxed application distribution systems, do not use them with containers. You can use them if you add unsafe capabilities to your containers, but it will break the isolation of the containers. This is especially bad if you are using Kubernetes. For controlling PulseAudio, use `pactl` instead of `pacmd` as the latter corrupts the audio system within the container. Because `polkit` does not work, use `sudoedit` to edit protected files with the GUI instead of using `sudo` followed by the name of the editor. There will likely be an alternative way to install the applications, including [Personal Package Archives](https://launchpad.net/ubuntu/+ppas). For some applications, there will be options to disable sandboxing when running or options to extract files before running. ### OpenGL does not work for certain applications.