Distinctive factor of Clear Linux is
But there is trade-off. Although desktop edition of Clear Linux is provided, this is not their focused area, and available application packages are also limited.
Clear Linux OS is not intended to be a general-purpose Linux distribution, suitable for novice end-users. While we ship common applications, our purpose isn’t to make an OS for routine desktop tasks and provide immunity from all security threats in all situations.
Then, how about this idea? Clear Linux works as container host rather than desktop client, and run container with other ease-to-use distro on it for desktop.
Example, running Ubuntu container with MID on Clear Linux, and directly login it through Clear Linux login screen. Distrobox makes it possible.
This post introduce its implementation steps.
|Clear Linux Desktop*2||36470|
For installation steps of Distrobox on Ubuntu container and MID installation, refer linked topics in each chapter.
- Assumption and Resources
- Update catch-up of Clear Linux
- Docker installation and configuration
- Ubuntu container
"etc/hosts" should have next records.
Works on Ubuntu container
Next command was executed at the end of the previous chapter. Terminal indicates working on Ubuntu container now. Start installing MID at this circumstance.
distrobox enter ubuntu
- Install packages
- Download and install MID
The linked topic is for WSL and initial condition of container is different. So, required packages are slightly changed including Asian fonts.
"apt install" command for this topic should be following. Packages are also listed.
sudo apt install -y cpp fhist fonts-noto fonts-dejavu fonts-noto-cjk fonts-noto-cjk-extra freeglut3 libgtk2.0-0 libjpeg62 libtinfo5 nload pavucontrol rcs x11-apps x11-utils x11-xserver-utils xfonts-100dpi xfonts-75dpi xz-utils
List of packages
MID installation is finished, run next command to copy "maxx.desktop" to home folder.
cp /opt/MaXX/share/xsessions/maxx.desktop ~/
First, check description of "maxx.desktop" copied to home folder.
Name=MaXX Interactive Desktop
Comment=The MaXX Interactive Desktop - Indigo Release
Path defined at "Exec" should be replaced to the one for script to run Ubuntu container and call MID. This script is saved at home folder as "startMID.sh" with execution privilege.
xhost +SI:localuser:$USER distrobox enter -T -n ubuntu -- bash -l -c '"/opt/MaXX/etc/skel/Xsession.dt"'
To call "startMID.sh", "Exec" of "maxx.desktop" should be replaced as following.
And copy "maxx.desktop" to prescribed folder with next command.
sudo cp ~/maxx.desktop /usr/share/xsession/
Then, logoff from Clear Linux.
Direct run of MID from Clear Linux login screen
Clear Linux login screen has the option of "MaXX Interactive Desktop".
Login with this option, then MID on Ubuntu container is directly run.
Terminal indicates host name of Ubuntu container. It means current user is now on container.
And home folder includes next files.