# X11 compatibility-only configuration # This profile is not a primary desktop path. # Red Bear OS treats KWin Wayland as the production compositor/session path. # X exists only for compatibility and legacy app/runtime surfaces. include = ["desktop.toml"] # Override the default settings here # General settings [general] # Filesystem size in MiB filesystem_size = 2048 # Package settings [packages] adwaita-icon-theme = {} dbus = {} gtk3 = {} mate-common = {} mesa-demos-x11 = {} #webkitgtk3 = {} # not compiling #xfce4-panel = {} #xfwm4 = {} x11-full = {} zenity = {} [[files]] path = "/usr/lib/init.d/10_dbus.service" data = """ [unit] description = "D-Bus system bus (X11)" requires_weak = ["00_base.target"] [service] cmd = "bash" args = ["/usr/bin/start-dbus.sh"] type = "oneshot_async" """ [[files]] path = "/usr/bin/start-dbus.sh" mode = 0o755 data = """ #!/usr/bin/env bash export DBUS_DEBUG_OUTPUT=1 #export DBUS_VERBOSE=1 #export G_DBUS_DEBUG=all mkdir -p /var/lib/dbus dbus-uuidgen --ensure mkdir -p /run/dbus rm -f /run/dbus/pid dbus-daemon --system """ [[files]] path = "/usr/lib/init.d/10_xenv.service" data = """ [unit] description = "Compile glib schemas" requires_weak = ["00_base.target"] [service] cmd = "glib-compile-schemas" args = ["/usr/share/glib-2.0/schemas/"] type = "oneshot" """ # Overridden to launch X instead of orblogin [[files]] path = "/usr/lib/init.d/20_orbital.service" data = """ [unit] description = "Orbital display (X11)" requires_weak = ["10_dbus.service", "10_xenv.service"] [service] cmd = "orbital" args = ["orbital-x11"] envs = { BROWSER = "/bin/netsurf-fb", VT = "3" } type = "oneshot_async" """ [[files]] path = "/usr/bin/orbital-x11" mode = 0o755 data = """ #!/usr/bin/env bash set -ex # for ice authority and pixbuf export HOME=/home/root export XDG_DATA_DIRS=/usr/share # Generate config file WIDTH="$((0x$(grep FRAMEBUFFER_WIDTH /scheme/sys/env | cut -d '=' -f 2)))" HEIGHT="$((0x$(grep FRAMEBUFFER_HEIGHT /scheme/sys/env | cut -d '=' -f 2)))" mkdir -p /usr/share/X11/xorg.conf.d cat > /usr/share/X11/xorg.conf.d/orbital.conf <