group "Entrance_Config" struct { value "session_path" string: "/bin:/usr/bin:/usr/local/bin"; /* X server path */ value "xinit_path" string: "/usr/bin/X"; /* X server args */ value "xinit_args" string: "-nolisten tcp -br vt7"; /* xauth path binary */ value "xauth_path" string: "/usr/bin/xauth"; /* xauth file for server */ value "xauth_file" string: "/var/run/entrance.auth"; /* Commands executed when starting a session */ value "session_start" string: "/usr/bin/sessreg -a -l :0.0"; /* Command executed when login. Warning xsession must be set to 0 */ value "session_login" string: "/bin/bash -login /etc/X11/xinit/xinitrc"; /* Commands executed when exiting a session */ value "session_stop" string: "/usr/bin/sessreg -d -l :0.0"; /* Commands executed to shutdown */ value "shutdown" string: "/sbin/shutdown -h now"; /* Command executed to reboot */ value "reboot" string: "/sbin/shutdown -r now"; /* Command executed to suspend */ value "suspend" string: "/usr/sbin/pm-suspend"; /** Start in daemon mode. This can be overriden by the command line * 1 = True, 0 = False */ value "daemonize" uchar: 1; /* Enable numlock */ value "numlock" uchar: 1; /** Bool to determine if entrance must login user with the session_login command * or use xdg desktop and determine the command to use * 1 = desktop_file_cmd, 0 = session_login */ value "xsessions" uchar: 1; /** Bool to determine if entrance must autologin user when X start * 1 = autologin enabled, 0 = autologin disabled */ value "autologin" uchar: 0; /* The name of the user to use when autologin are enabled */ value "userlogin" string: "myusername"; /* Lock file */ value "lockfile" string: "/var/run/entrance.pid"; /* Log file */ value "logfile" string: "/var/log/entrance.log"; /* Theme to use */ value "theme" string: "default"; }