--- res/config.ini.orig 2023-07-31 13:38:18 UTC +++ res/config.ini @@ -1,3 +1,5 @@ +# This is a FreeBSD-ready patched version of the upstream configuration file. + # Animation enabled/disabled #animate = false @@ -74,6 +76,7 @@ # File in which to save and load the default desktop and login #save_file = /etc/ly/save +save_file = /usr/local/etc/ly/save # Remove power management command hints @@ -87,6 +90,7 @@ # Command executed when pressing shutdown_key #shutdown_cmd = /sbin/shutdown -a now +shutdown_cmd = /sbin/shutdown -p now # Command executed when pressing restart_key #restart_cmd = /sbin/shutdown -r now @@ -100,11 +104,16 @@ # tty in use #tty = 2 +# vt in use by X or Wayland +#vt = 9 + + # Console path #console_dev = /dev/console # Default path #path = /sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin +path = /sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/bin/env # Event timeout in milliseconds @@ -118,16 +127,19 @@ # Cookie generator #mcookie_cmd = /usr/bin/mcookie +mcookie_cmd = /usr/bin/openssl rand -hex 16 # Wayland setup command #wayland_cmd = /etc/ly/wsetup.sh +wayland_cmd = /usr/local/etc/ly/wsetup.sh # Add wayland specifier to session names #wayland_specifier = false # Wayland desktop environments #waylandsessions = /usr/share/wayland-sessions +waylandsessions = /usr/local/share/wayland-sessions # xinitrc @@ -135,12 +147,16 @@ # Xorg server command #x_cmd = /usr/bin/X +x_cmd = /usr/local/bin/X # Xorg setup command #x_cmd_setup = /etc/ly/xsetup.sh +x_cmd_setup = /usr/local/etc/ly/xsetup.sh # Xorg xauthority edition tool #xauth_cmd = /usr/bin/xauth +xauth_cmd = /usr/local/bin/xauth # Xorg desktop environments #xsessions = /usr/share/xsessions +xsessions = /usr/local/share/xsessions