mirror of
https://github.com/brain-hackers/buildbrain
synced 2024-12-22 12:10:12 +09:00
Override files / add calibration script for the first run
This commit is contained in:
parent
2e0d446f9c
commit
039a0f2868
@ -9,3 +9,11 @@ install -g root -o root -m 0644 $SRC/usr/lib/os-release $DST/usr/lib/os-release
|
|||||||
install -g root -o root -m 0644 $SRC/etc/issue $DST/etc/issue
|
install -g root -o root -m 0644 $SRC/etc/issue $DST/etc/issue
|
||||||
install -g root -o root -m 0644 $SRC/etc/issue.net $DST/etc/issue.net
|
install -g root -o root -m 0644 $SRC/etc/issue.net $DST/etc/issue.net
|
||||||
install -g root -o root -m 0644 $SRC/etc/motd $DST/etc/motd
|
install -g root -o root -m 0644 $SRC/etc/motd $DST/etc/motd
|
||||||
|
|
||||||
|
install -g root -o root -m 0644 $SRC/etc/X11/xorg.conf $DST/etc/X11/xorg.conf
|
||||||
|
install -g root -o root -m 0644 $SRC/etc/X11/Xsession.d/96calibrate $DST/etc/X11/Xsession.d/96calibrate
|
||||||
|
|
||||||
|
install -g root -o root -m 0644 -D $SRC/etc/xdg/weston/weston.ini $DST/etc/xdg/weston/weston.ini
|
||||||
|
|
||||||
|
install -g root -o root -m 0644 -D $SRC/home/user/lxterminal/lxterminal.conf $DST/home/user/lxterminal/lxterminal.conf
|
||||||
|
install -g root -o root -m 0644 -D $SRC/etc/jwm/system.jwmrc $DST/etc/jwm/system.jwmrc
|
||||||
|
4
os-brainux/override/etc/X11/Xsession.d/96calibrate
Normal file
4
os-brainux/override/etc/X11/Xsession.d/96calibrate
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
if [ ! -e /etc/X11/xorg.conf.d/99-calibrator.conf ]; then
|
||||||
|
xinput_calibrator --output-filename /etc/X11/xorg.conf.d/99-calibrator.conf
|
||||||
|
fi
|
||||||
|
|
8
os-brainux/override/etc/X11/xorg.conf
Normal file
8
os-brainux/override/etc/X11/xorg.conf
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
Section "Device"
|
||||||
|
Identifier "device"
|
||||||
|
Driver "fbdev"
|
||||||
|
EndSection
|
||||||
|
Section "Screen"
|
||||||
|
Identifier "screen"
|
||||||
|
Device "device"
|
||||||
|
EndSection
|
216
os-brainux/override/etc/jwm/system.jwmrc
Normal file
216
os-brainux/override/etc/jwm/system.jwmrc
Normal file
@ -0,0 +1,216 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<JWM>
|
||||||
|
|
||||||
|
<!-- The root menu. -->
|
||||||
|
<RootMenu onroot="12">
|
||||||
|
<Include>/etc/jwm/debian-menu</Include>
|
||||||
|
<Program icon="terminal.png" label="Terminal">lxterminal</Program>
|
||||||
|
<Separator/>
|
||||||
|
<Program icon="lock.png" label="Lock">
|
||||||
|
xlock -mode blank
|
||||||
|
</Program>
|
||||||
|
<Separator/>
|
||||||
|
<Restart label="Restart" icon="restart.png"/>
|
||||||
|
<Exit label="Exit" confirm="true" icon="quit.png"/>
|
||||||
|
</RootMenu>
|
||||||
|
|
||||||
|
<!-- Options for program groups. -->
|
||||||
|
<Group>
|
||||||
|
<Option>tiled</Option>
|
||||||
|
<Option>aerosnap</Option>
|
||||||
|
</Group>
|
||||||
|
<Group>
|
||||||
|
<Class>Pidgin</Class>
|
||||||
|
<Option>sticky</Option>
|
||||||
|
</Group>
|
||||||
|
<Group>
|
||||||
|
<Name>xterm</Name>
|
||||||
|
<Option>vmax</Option>
|
||||||
|
</Group>
|
||||||
|
<Group>
|
||||||
|
<Name>xclock</Name>
|
||||||
|
<Option>drag</Option>
|
||||||
|
<Option>notitle</Option>
|
||||||
|
</Group>
|
||||||
|
|
||||||
|
<!-- Tray at the bottom. -->
|
||||||
|
<Tray x="0" y="-1" height="20" autohide="off">
|
||||||
|
|
||||||
|
<TrayButton icon="/usr/share/jwm/jwm-red.svg">root:1</TrayButton>
|
||||||
|
<Spacer width="2"/>
|
||||||
|
|
||||||
|
<Pager labeled="true"/>
|
||||||
|
|
||||||
|
<TaskList maxwidth="192"/>
|
||||||
|
|
||||||
|
<Dock/>
|
||||||
|
<Clock format="%H:%M"><Button mask="123">exec:xclock</Button></Clock>
|
||||||
|
|
||||||
|
</Tray>
|
||||||
|
|
||||||
|
<!-- Visual Styles -->
|
||||||
|
<WindowStyle>
|
||||||
|
<Font>Sans-9:bold</Font>
|
||||||
|
<Width>4</Width>
|
||||||
|
<Height>21</Height>
|
||||||
|
<Corner>3</Corner>
|
||||||
|
<Foreground>#FFFFFF</Foreground>
|
||||||
|
<Background>#555555</Background>
|
||||||
|
<Outline>#777777</Outline>
|
||||||
|
<Opacity>0.5</Opacity>
|
||||||
|
<Active>
|
||||||
|
<Foreground>#FFFFFF</Foreground>
|
||||||
|
<Background>#0077CC</Background>
|
||||||
|
<Outline>#1AA0FF</Outline>
|
||||||
|
<Opacity>1.0</Opacity>
|
||||||
|
</Active>
|
||||||
|
</WindowStyle>
|
||||||
|
<TrayStyle group="true" list="all">
|
||||||
|
<Font>Sans-9</Font>
|
||||||
|
<Background>#222222</Background>
|
||||||
|
<Foreground>#FFFFFF</Foreground>
|
||||||
|
<Outline>#222222</Outline>
|
||||||
|
<Opacity>0.75</Opacity>
|
||||||
|
</TrayStyle>
|
||||||
|
<TaskListStyle>
|
||||||
|
<Font>Sans-9</Font>
|
||||||
|
<Active>
|
||||||
|
<Foreground>#FFFFFF</Foreground>
|
||||||
|
<Background>#333333</Background>
|
||||||
|
</Active>
|
||||||
|
<Foreground>#FFFFFF</Foreground>
|
||||||
|
<Background>#222222</Background>
|
||||||
|
</TaskListStyle>
|
||||||
|
<PagerStyle>
|
||||||
|
<Outline>#3B3B3B</Outline>
|
||||||
|
<Foreground>#555555</Foreground>
|
||||||
|
<Background>#333333</Background>
|
||||||
|
<Text>#FFFFFF</Text>
|
||||||
|
<Active>
|
||||||
|
<Foreground>#0077CC</Foreground>
|
||||||
|
<Background>#004488</Background>
|
||||||
|
</Active>
|
||||||
|
</PagerStyle>
|
||||||
|
<MenuStyle>
|
||||||
|
<Font>Sans-9</Font>
|
||||||
|
<Foreground>#FFFFFF</Foreground>
|
||||||
|
<Background>#333333</Background>
|
||||||
|
<Outline>#000000</Outline>
|
||||||
|
<Active>
|
||||||
|
<Foreground>#FFFFFF</Foreground>
|
||||||
|
<Background>#0077CC</Background>
|
||||||
|
</Active>
|
||||||
|
<Opacity>0.85</Opacity>
|
||||||
|
</MenuStyle>
|
||||||
|
<PopupStyle>
|
||||||
|
<Font>Sans-9</Font>
|
||||||
|
<Foreground>#000000</Foreground>
|
||||||
|
<Background>#999999</Background>
|
||||||
|
</PopupStyle>
|
||||||
|
|
||||||
|
<!-- Path where icons can be found.
|
||||||
|
IconPath can be listed multiple times to allow searching
|
||||||
|
for icons in multiple paths.
|
||||||
|
-->
|
||||||
|
<IconPath>/usr/share/icons/gnome/256x256/actions</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/256x256/apps</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/256x256/categories</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/256x256/devices</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/256x256/emblems</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/256x256/mimetypes</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/256x256/places</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/256x256/status</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/32x32/actions</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/32x32/animations</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/32x32/apps</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/32x32/categories</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/32x32/devices</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/32x32/emblems</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/32x32/mimetypes</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/32x32/places</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/32x32/status</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/scalable/actions</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/scalable/apps</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/scalable/categories</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/scalable/devices</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/scalable/emblems</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/scalable/mimetypes</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/scalable/places</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/gnome/scalable/status</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/hicolor/256x256/apps</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/hicolor/256x256/mimetypes</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/hicolor/32x32/actions</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/hicolor/32x32/apps</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/hicolor/32x32/categories</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/hicolor/32x32/devices</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/hicolor/32x32/emblems</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/hicolor/32x32/mimetypes</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/hicolor/32x32/status</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/hicolor/512x512/apps</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/hicolor/512x512/mimetypes</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/hicolor/scalable/actions</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/hicolor/scalable/apps</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/hicolor/scalable/categories</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/hicolor/scalable/devices</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/hicolor/scalable/emblems</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/hicolor/scalable/mimetypes</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/hicolor/scalable/places</IconPath>
|
||||||
|
<IconPath>/usr/share/icons/hicolor/scalable/status</IconPath>
|
||||||
|
<IconPath>/usr/share/icons</IconPath>
|
||||||
|
<IconPath>/usr/share/pixmaps</IconPath>
|
||||||
|
<IconPath>
|
||||||
|
/usr/local/share/jwm
|
||||||
|
</IconPath>
|
||||||
|
|
||||||
|
<!-- Virtual Desktops -->
|
||||||
|
<!-- Desktop tags can be contained within Desktops for desktop names. -->
|
||||||
|
<Desktops width="4" height="1">
|
||||||
|
<!-- Default background. Note that a Background tag can be
|
||||||
|
contained within a Desktop tag to give a specific background
|
||||||
|
for that desktop.
|
||||||
|
-->
|
||||||
|
<Background type="solid">#111111</Background>
|
||||||
|
</Desktops>
|
||||||
|
|
||||||
|
<!-- Double click speed (in milliseconds) -->
|
||||||
|
<DoubleClickSpeed>400</DoubleClickSpeed>
|
||||||
|
|
||||||
|
<!-- Double click delta (in pixels) -->
|
||||||
|
<DoubleClickDelta>2</DoubleClickDelta>
|
||||||
|
|
||||||
|
<!-- The focus model (sloppy or click) -->
|
||||||
|
<FocusModel>sloppy</FocusModel>
|
||||||
|
|
||||||
|
<!-- The snap mode (none, screen, or border) -->
|
||||||
|
<SnapMode distance="10">border</SnapMode>
|
||||||
|
|
||||||
|
<!-- The move mode (outline or opaque) -->
|
||||||
|
<MoveMode>opaque</MoveMode>
|
||||||
|
|
||||||
|
<!-- The resize mode (outline or opaque) -->
|
||||||
|
<ResizeMode>opaque</ResizeMode>
|
||||||
|
|
||||||
|
<!-- Key bindings -->
|
||||||
|
<Key key="Up">up</Key>
|
||||||
|
<Key key="Down">down</Key>
|
||||||
|
<Key key="Right">right</Key>
|
||||||
|
<Key key="Left">left</Key>
|
||||||
|
<Key key="h">left</Key>
|
||||||
|
<Key key="j">down</Key>
|
||||||
|
<Key key="k">up</Key>
|
||||||
|
<Key key="l">right</Key>
|
||||||
|
<Key key="Return">select</Key>
|
||||||
|
<Key key="Escape">escape</Key>
|
||||||
|
|
||||||
|
<Key mask="A" key="Tab">nextstacked</Key>
|
||||||
|
<Key mask="A" key="F4">close</Key>
|
||||||
|
<Key mask="A" key="#">desktop#</Key>
|
||||||
|
<Key mask="A" key="F1">root:1</Key>
|
||||||
|
<Key mask="A" key="F2">window</Key>
|
||||||
|
<Key mask="A" key="F10">maximize</Key>
|
||||||
|
<Key mask="A" key="Right">rdesktop</Key>
|
||||||
|
<Key mask="A" key="Left">ldesktop</Key>
|
||||||
|
<Key mask="A" key="Up">udesktop</Key>
|
||||||
|
<Key mask="A" key="Down">ddesktop</Key>
|
||||||
|
|
||||||
|
</JWM>
|
4
os-brainux/override/etc/xdg/weston/weston.ini
Normal file
4
os-brainux/override/etc/xdg/weston/weston.ini
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[core]
|
||||||
|
xwayland=true
|
||||||
|
backend=fbdev-backend.so
|
||||||
|
|
53
os-brainux/override/home/user/lxterminal/lxterminal.conf
Normal file
53
os-brainux/override/home/user/lxterminal/lxterminal.conf
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
[general]
|
||||||
|
fontname=Noto Sans Mono CJK JP 10
|
||||||
|
selchars=-A-Za-z0-9,./?%&#:_
|
||||||
|
scrollback=1000
|
||||||
|
bgcolor=rgb(0,0,0)
|
||||||
|
fgcolor=rgb(211,215,207)
|
||||||
|
palette_color_0=rgb(0,0,0)
|
||||||
|
palette_color_1=rgb(205,0,0)
|
||||||
|
palette_color_2=rgb(78,154,6)
|
||||||
|
palette_color_3=rgb(196,160,0)
|
||||||
|
palette_color_4=rgb(52,101,164)
|
||||||
|
palette_color_5=rgb(117,80,123)
|
||||||
|
palette_color_6=rgb(6,152,154)
|
||||||
|
palette_color_7=rgb(211,215,207)
|
||||||
|
palette_color_8=rgb(85,87,83)
|
||||||
|
palette_color_9=rgb(239,41,41)
|
||||||
|
palette_color_10=rgb(138,226,52)
|
||||||
|
palette_color_11=rgb(252,233,79)
|
||||||
|
palette_color_12=rgb(114,159,207)
|
||||||
|
palette_color_13=rgb(173,127,168)
|
||||||
|
palette_color_14=rgb(52,226,226)
|
||||||
|
palette_color_15=rgb(238,238,236)
|
||||||
|
color_preset=Tango
|
||||||
|
disallowbold=false
|
||||||
|
cursorblinks=false
|
||||||
|
cursorunderline=false
|
||||||
|
audiblebell=false
|
||||||
|
tabpos=top
|
||||||
|
geometry_columns=80
|
||||||
|
geometry_rows=24
|
||||||
|
hidescrollbar=false
|
||||||
|
hidemenubar=false
|
||||||
|
hideclosebutton=false
|
||||||
|
hidepointer=false
|
||||||
|
disablef10=false
|
||||||
|
disablealt=false
|
||||||
|
disableconfirm=false
|
||||||
|
|
||||||
|
[shortcut]
|
||||||
|
new_window_accel=<Primary><Shift>n
|
||||||
|
new_tab_accel=<Primary><Shift>t
|
||||||
|
close_tab_accel=<Primary><Shift>w
|
||||||
|
close_window_accel=<Primary><Shift>q
|
||||||
|
copy_accel=<Primary><Shift>c
|
||||||
|
paste_accel=<Primary><Shift>v
|
||||||
|
name_tab_accel=<Primary><Shift>i
|
||||||
|
previous_tab_accel=<Primary>Page_Up
|
||||||
|
next_tab_accel=<Primary>Page_Down
|
||||||
|
move_tab_left_accel=<Primary><Shift>Page_Up
|
||||||
|
move_tab_right_accel=<Primary><Shift>Page_Down
|
||||||
|
zoom_in_accel=<Primary><Shift>plus
|
||||||
|
zoom_out_accel=<Primary><Shift>underscore
|
||||||
|
zoom_reset_accel=<Primary><Shift>parenright
|
@ -69,6 +69,9 @@ cd /
|
|||||||
rm -r ly
|
rm -r ly
|
||||||
systemctl enable ly
|
systemctl enable ly
|
||||||
|
|
||||||
|
# Create editable xorg.conf.d
|
||||||
|
install -m 0777 -d /etc/X11/xorg.conf.d
|
||||||
|
|
||||||
# Fix Midori launch failure
|
# Fix Midori launch failure
|
||||||
sudo update-mime-database /usr/share/mime
|
sudo update-mime-database /usr/share/mime
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user