summaryrefslogtreecommitdiffstats
path: root/build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11
diff options
context:
space:
mode:
Diffstat (limited to 'build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11')
-rw-r--r--build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xinit/startx.custom22
-rw-r--r--build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xinit/xinitrc.custom4
-rw-r--r--build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xorg.conf49
-rw-r--r--build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xorg.conf.i81059
-rw-r--r--build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xorg.conf.i810.267
-rw-r--r--build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xorg.conf.vesa49
6 files changed, 250 insertions, 0 deletions
diff --git a/build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xinit/startx.custom b/build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xinit/startx.custom
new file mode 100644
index 0000000..8e3ec5e
--- /dev/null
+++ b/build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xinit/startx.custom
@@ -0,0 +1,22 @@
+if grep -v nox /proc/cmdline &>/dev/null && \
+ [ -z "$DISPLAY" ] && echo $(tty) | grep /vc/1 &>/dev/null; then
+ if grep i810 /proc/cmdline &>/dev/null; then
+ startx -- -config xorg.conf.i810
+ else
+ startx
+ fi
+
+ # Maybe there should be some code here to handle a failed startx?
+
+ # The 'return' value is at /tmp/xlogout
+ # If there is nothing there, switch user to 'newuser'
+ # If there is also nothing there, login as root
+ # - if already root, fall through to terminal
+
+ if [ -f /tmp/xlogout ] || [ -f /tmp/newuser ]; then
+ logout
+ elif [ ${UID} -ne 0 ]; then
+ echo "root" >/tmp/newuser
+ logout
+ fi
+fi
diff --git a/build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xinit/xinitrc.custom b/build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xinit/xinitrc.custom
new file mode 100644
index 0000000..5f04171
--- /dev/null
+++ b/build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xinit/xinitrc.custom
@@ -0,0 +1,4 @@
+# Set the keymap
+xkmap-set
+
+exec fluxbox
diff --git a/build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xorg.conf b/build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xorg.conf
new file mode 100644
index 0000000..6d11b2e
--- /dev/null
+++ b/build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xorg.conf
@@ -0,0 +1,49 @@
+Section "ServerLayout"
+ Identifier "X.org Configured"
+ Screen 0 "Screen0" 0 0
+EndSection
+
+Section "Device"
+ Identifier "Card0"
+ Driver "vesa"
+EndSection
+
+Section "Monitor"
+ Identifier "Monitor0"
+ HorizSync 30.0 - 65.0
+ VertRefresh 50.0 - 75.0
+EndSection
+
+Section "Screen"
+ Identifier "Screen0"
+ Device "Card0"
+ Monitor "Monitor0"
+ DefaultDepth 16
+ SubSection "Display"
+ Viewport 0 0
+ Depth 1
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 4
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 8
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 15
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 16
+ Modes "1024x768" "800x600"
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 24
+ EndSubSection
+EndSection
+
+
diff --git a/build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xorg.conf.i810 b/build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xorg.conf.i810
new file mode 100644
index 0000000..9615569
--- /dev/null
+++ b/build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xorg.conf.i810
@@ -0,0 +1,59 @@
+Section "ServerLayout"
+ Identifier "X.org Configured"
+ Screen 0 "Screen0" 0 0
+EndSection
+
+Section "Device"
+ ### Available Driver options are:-
+ ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
+ ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
+ ### [arg]: arg optional
+ #Option "NoAccel" # [<bool>]
+ #Option "SWcursor" # [<bool>]
+ #Option "ColorKey" # <i>
+ #Option "CacheLines" # <i>
+ #Option "Dac6Bit" # [<bool>]
+ #Option "DRI" # [<bool>]
+ #Option "NoDDC" # [<bool>]
+ #Option "ShowCache" # [<bool>]
+ #Option "XvMCSurfaces" # <i>
+ #Option "PageFlip" # [<bool>]
+ Option "DRI" "False"
+ #Option "AccelMethod" "exa"
+ #Option "MigrationHeuristic" "greedy"
+ #Option "ExaNoComposite" "False"
+ Identifier "Card0"
+ Driver "intel"
+EndSection
+
+Section "Screen"
+ Identifier "Screen0"
+ Device "Card0"
+ Monitor "Monitor0"
+ SubSection "Display"
+ Viewport 0 0
+ Depth 1
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 4
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 8
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 15
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 16
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 24
+ EndSubSection
+EndSection
+
+
diff --git a/build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xorg.conf.i810.2 b/build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xorg.conf.i810.2
new file mode 100644
index 0000000..a295b38
--- /dev/null
+++ b/build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xorg.conf.i810.2
@@ -0,0 +1,67 @@
+Section "ServerLayout"
+ Identifier "X.org Configured"
+ Screen 0 "Screen0" 0 0
+EndSection
+
+Section "Device"
+ ### Available Driver options are:-
+ ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
+ ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
+ ### [arg]: arg optional
+ #Option "NoAccel" # [<bool>]
+ #Option "SWcursor" # [<bool>]
+ #Option "ColorKey" # <i>
+ #Option "CacheLines" # <i>
+ #Option "Dac6Bit" # [<bool>]
+ #Option "DRI" # [<bool>]
+ #Option "NoDDC" # [<bool>]
+ #Option "ShowCache" # [<bool>]
+ #Option "XvMCSurfaces" # <i>
+ #Option "PageFlip" # [<bool>]
+ Option "DRI" "False"
+ #Option "AccelMethod" "exa"
+ #Option "MigrationHeuristic" "greedy"
+ #Option "ExaNoComposite" "False"
+ Identifier "Card0"
+ Driver "intel"
+EndSection
+
+Section "Monitor"
+ Identifier "Monitor0"
+ HorizSync 30.0 - 65.0
+ VertRefresh 50.0 - 75.0
+EndSection
+
+Section "Screen"
+ Identifier "Screen0"
+ Device "Card0"
+ Monitor "Monitor0"
+ DefaultDepth 16
+ SubSection "Display"
+ Viewport 0 0
+ Depth 1
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 4
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 8
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 15
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 16
+ Modes "1024x768" "800x600"
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 24
+ EndSubSection
+EndSection
+
+
diff --git a/build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xorg.conf.vesa b/build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xorg.conf.vesa
new file mode 100644
index 0000000..6d11b2e
--- /dev/null
+++ b/build_tools/clarch/larch/profiles/i586-testing-local/rootoverlay/etc/X11/xorg.conf.vesa
@@ -0,0 +1,49 @@
+Section "ServerLayout"
+ Identifier "X.org Configured"
+ Screen 0 "Screen0" 0 0
+EndSection
+
+Section "Device"
+ Identifier "Card0"
+ Driver "vesa"
+EndSection
+
+Section "Monitor"
+ Identifier "Monitor0"
+ HorizSync 30.0 - 65.0
+ VertRefresh 50.0 - 75.0
+EndSection
+
+Section "Screen"
+ Identifier "Screen0"
+ Device "Card0"
+ Monitor "Monitor0"
+ DefaultDepth 16
+ SubSection "Display"
+ Viewport 0 0
+ Depth 1
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 4
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 8
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 15
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 16
+ Modes "1024x768" "800x600"
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 24
+ EndSubSection
+EndSection
+
+