Skip to content

Adjust path of labwc configuration to fit in xfce4-session changes #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 25, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,19 @@ command = "/usr/local/bin/live-intro"
user = "ewe"
EOF

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

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

sudo -u ewe cat <<EOF >> /home/ewe/.config/labwc/environment
sudo -u ewe cp /usr/share/xfce4/labwc/labwc-environment \
/home/ewe/.config/xfce4/labwc/environment

sudo -u ewe cat <<EOF >> /home/ewe/.config/xfce4/labwc/environment
# disable hw cursor (for VM)
WLR_NO_HARDWARE_CURSORS=1
# set gtk4 renderer (for VM)
Expand Down