ports/x11/ly/files/patch-res_config.ini

72 lines
1.8 KiB
INI

--- res/config.ini.orig 2020-07-28 15:35:08 UTC
+++ res/config.ini
@@ -1,3 +1,5 @@
+# This is a FreeBSD-ready patched version of the upstream configuration file.
+
# animation enabled
#animate = false
#animate = true
@@ -53,12 +55,14 @@
# cookie generator
#mcookie_cmd = /usr/bin/mcookie
+mcookie_cmd = /usr/bin/openssl rand -hex 16
# event timeout in milliseconds
#min_refresh_delta = 5
# default path
#path = /sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin
+path = /sbin:/bin:%%LOCALBASE%%/sbin:%%LOCALBASE%%/bin:/usr/sbin:/usr/bin:/usr/bin/env
# command executed when pressing F2
#restart_cmd = /sbin/shutdown -r now
@@ -68,12 +72,14 @@
# file in which to save and load the default desktop and login
#save_file = /etc/ly/save
+save_file = %%ETCDIR%%/save
# service name (set to ly to use the provided pam config file)
#service_name = ly
# command executed when pressing F1
#shutdown_cmd = /sbin/shutdown -a now
+shutdown_cmd = /sbin/shutdown -p now
# terminal reset command (tput is faster)
#term_reset_cmd = /usr/bin/tput reset
@@ -81,8 +87,12 @@
# tty in use
#tty = 2
+# vt in use by X or Wayland
+#vt = 9
+
# wayland setup command
#wayland_cmd = /etc/ly/wsetup.sh
+wayland_cmd = %%ETCDIR%%/wsetup.sh
# add wayland specifier to session names
#wayland_specifier = false
@@ -90,15 +100,20 @@
# wayland desktop environments
#waylandsessions = /usr/share/wayland-sessions
+waylandsessions = %%LOCALBASE%%/share/wayland-sessions
# xorg server command
#x_cmd = /usr/bin/X
+x_cmd = %%LOCALBASE%%/bin/X
# xorg setup command
#x_cmd_setup = /etc/ly/xsetup.sh
+x_cmd_setup = %%ETCDIR%%/xsetup.sh
# xorg xauthority edition tool
#xauth_cmd = /usr/bin/xauth
+xauth_cmd = %%LOCALBASE%%/bin/xauth
# xorg desktop environments
#xsessions = /usr/share/xsessions
+xsessions = %%LOCALBASE%%/share/xsessions