Skip to content

Commit b1f6b3a

Browse files
committed
Adjust path of labwc configuration to fit in xfce4-session changes
Signed-off-by: Yao Zi <[email protected]>
1 parent 2a7b68e commit b1f6b3a

File tree

1 file changed

+6
-3
lines changed
  • profiles/liveimage-desktop-xfce/subprofiles/10-desktop-xfce

1 file changed

+6
-3
lines changed

profiles/liveimage-desktop-xfce/subprofiles/10-desktop-xfce/config.sh

+6-3
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,19 @@ command = "/usr/local/bin/live-intro"
1313
user = "ewe"
1414
EOF
1515

16-
sudo -u ewe mkdir -p /home/ewe/.config/labwc
16+
sudo -u ewe mkdir -p /home/ewe/.config/xfce4/labwc
1717

18-
sudo -u ewe cat <<EOF >> /home/ewe/.config/labwc/autostart
18+
sudo -u ewe cat <<EOF >> /home/ewe/.config/xfce4/labwc/autostart
1919
activate-linux "Live Mode" "All changes will be lost after reboot" &
2020
xfce4-terminal -e /usr/local/bin/live-intro &
2121
xfconf-query -c xsettings -p /Net/IconThemeName -s Papirus &
2222
for f in ~/Desktop/*.desktop; do chmod +x "\$f"; gio set -t string "\$f" metadata::xfce-exe-checksum "\$(sha256sum "\$f" | awk '{print \$1}')"; done
2323
EOF
2424

25-
sudo -u ewe cat <<EOF >> /home/ewe/.config/labwc/environment
25+
sudo -u ewe cp /usr/share/xfce4/labwc/labwc-environment \
26+
/home/ewe/.config/xfce4/labwc/environment
27+
28+
sudo -u ewe cat <<EOF >> /home/ewe/.config/xfce4/labwc/environment
2629
# disable hw cursor (for VM)
2730
WLR_NO_HARDWARE_CURSORS=1
2831
# set gtk4 renderer (for VM)

0 commit comments

Comments
 (0)