You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a few questions that are not issues, but I am unsure where to ask them. Please let me know if this is not the appropriate place to open such queries. Appreciate your help in advance.
I followed your example to add xterm as an app. How can I configure it to open maximized when the Docker container starts? I believe I need to add a statement to /opt/base/etc/openbox/main-window-selection.xml, but I am unsure which one. Could you please advise?
I successfully added both polybar and xterm to the Docker container. How can I ensure both apps load at startup, so I have a taskbar and xterm running simultaneously? On a normal system, I would add exec polybar to /etc/xinitrc or ~/.xinitrc. What is the equivalent for the Docker setup?
The text was updated successfully, but these errors were encountered:
I successfully added a service such as Polybar (learned and modified from the included openbox service). Here's how you can do it:
Add Polybar to the Dockerfile:
RUN add-pkg polybar # This is equivalent to apk add --no-cache polybar
Create Initialization Script:
In rootfs/etc/cont-init.d/, add a file named 10-polybar.sh. This script will be executed by /init.sh, which is part of the jlesage/baseimage-gui.
#!/bin/shset -e # Exit immediately if a command exits with a non-zero status.set -u # Treat unset variables as an error.
mkdir -p /var/run/polybar
chown $USER_ID:$GROUP_ID /var/run/polybar
Configure the Service:
In rootfs/etc/service.d, create the following structure:
I have a few questions that are not issues, but I am unsure where to ask them. Please let me know if this is not the appropriate place to open such queries. Appreciate your help in advance.
I followed your example to add xterm as an app. How can I configure it to open maximized when the Docker container starts? I believe I need to add a statement to /opt/base/etc/openbox/main-window-selection.xml, but I am unsure which one. Could you please advise?
I successfully added both polybar and xterm to the Docker container. How can I ensure both apps load at startup, so I have a taskbar and xterm running simultaneously? On a normal system, I would add exec polybar to /etc/xinitrc or ~/.xinitrc. What is the equivalent for the Docker setup?
The text was updated successfully, but these errors were encountered: