Prelim: Fixes to deployment config

This commit is contained in:
Rory Fewell
2026-01-23 22:14:22 +00:00
parent f632acbe03
commit 2f0a6efa55
7 changed files with 20 additions and 17 deletions

View File

@@ -117,10 +117,14 @@ install(
FILES
${CMAKE_BINARY_DIR}/xinitrc
res/xfwm4.xml
res/xsettings.xml
res/wsetupx.service
DESTINATION ${WINTC_ASSETS_INSTALL_DIR}/wsetupx
)
install(
FILES
res/gtk-settings.ini
DESTINATION ${WINTC_ASSETS_INSTALL_DIR}/wsetupx
)
install(
PROGRAMS ${CMAKE_BINARY_DIR}/startwsetupx
DESTINATION ${CMAKE_INSTALL_BINDIR}

View File

@@ -0,0 +1,5 @@
[Settings]
gtk-cursor-theme-name=standard-with-shadow
gtk-icon-theme-name=luna
gtk-font-name=Tahoma 8
gtk-theme-name=Windows Classic style

View File

@@ -33,7 +33,12 @@ XFCONF_DIR=$XDG_CONFIG_HOME/xfce4/xfconf/xfce-perchannel-xml
mkdir -p $XFCONF_DIR
cp -f @CMAKE_INSTALL_PREFIX@/@WINTC_ASSETS_INSTALL_DIR@/wsetupx/xfwm4.xml $XFCONF_DIR
cp -r @CMAKE_INSTALL_PREFIX@/@WINTC_ASSETS_INSTALL_DIR@/wsetupx/xsettings.xml $XFCONF_DIR
# Copy over default GTK settings
#
GTKCONF_DIR=$XDG_CONFIG_HOME/gtk-3.0
cp -f @CMAKE_INSTALL_PREFIX@/@WINTC_ASSETS_INSTALL_DIR@/wsetupx/gtk-settings.ini $GTKCONF_DIR/settings.ini
# FIXME: This might only work on systemd due to XDG_VTNR, figure out what to
# do on other init systems

View File

@@ -3,8 +3,8 @@ Description=Windows WinTC Setup (Graphical Phase)
Before=display-manager.service
[Service]
# FIXME: Needs to be configured by CMake...
ExecStart=startx /usr/share/wintc/wsetupx/xinitrc
# FIXME: Check FreeBSD
ExecStart=/usr/bin/startwsetupx
[Install]
WantedBy=multi-user.target

View File

@@ -59,7 +59,7 @@
<property name="theme" type="string" value="Windows Classic style"/>
<property name="tile_on_move" type="bool" value="true"/>
<property name="title_alignment" type="string" value="left"/>
<property name="title_font" type="string" value="Tahoma Bold 10"/>
<property name="title_font" type="string" value="Tahoma Bold 8"/>
<property name="title_horizontal_offset" type="int" value="0"/>
<property name="titleless_maximize" type="bool" value="false"/>
<property name="title_shadow_active" type="string" value="false"/>

View File

@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xsettings" version="1.0">
<property name="Net" type="empty">
<property name="ThemeName" type="string" value="Windows Classic style"/>
</property>
<property name="Gtk" type="empty">
<property name="CursorThemeName" type="string" value="standard-with-shadow"/>
<property name="CursorThemeSize" type="int" value="16"/>
</property>
</channel>

View File

@@ -1,6 +1,6 @@
[BaseSystem]
Libs=@WSETUP_LIBLIST@
OurPackages=wintc-setup-gui,wintc-theme-native,wintc-cursor-theme-standard-with-shadow,wintc-bootvid,wintc-fonts-xp
OurPackages=wintc-setup-gui,wintc-theme-native,wintc-icon-theme-luna,wintc-cursor-theme-standard-with-shadow,wintc-bootvid,wintc-fonts-xp
DistPackagesDeb=xfwm4,xfconf,plymouth,xserver-xorg,xinit
# FIXME: Other distro packages here