update 1.3.6, fixed boo#1008683: Login difficulties with slim 1.3.5 and systemd OBS-URL: https://build.opensuse.org/request/show/452787 OBS-URL: https://build.opensuse.org/package/show/X11:lxde/slim?expand=0&rev=26
91 lines
2.9 KiB
Plaintext
91 lines
2.9 KiB
Plaintext
# Path, X server and arguments (if needed)
|
|
# Note: -xauth $authfile is automatically appended
|
|
default_path ./:/bin:/usr/bin:/usr/local/bin
|
|
default_xserver /usr/bin/X
|
|
xserver_arguments -dpi 100 -nolisten tcp
|
|
|
|
# Commands for halt, login, etc.
|
|
halt_cmd /sbin/shutdown -h now
|
|
reboot_cmd /sbin/shutdown -r now
|
|
console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue | sed -e 's:\\\\r:`/uname -r`:' -e 's:\\\\l:`tty`:' -e 's:/dev/::' ; exec /bin/login"
|
|
#suspend_cmd /usr/sbin/suspend
|
|
|
|
# Full path to the xauth binary
|
|
xauth_path /usr/bin/xauth
|
|
|
|
# Xauth file for server
|
|
authfile /var/run/slim.auth
|
|
|
|
|
|
# Activate numlock when slim starts. Valid values: on|off
|
|
numlock off
|
|
|
|
# Hide the mouse cursor (note: does not work with some WMs).
|
|
# Valid values: true|false
|
|
hidecursor false
|
|
|
|
# This command is executed after a succesful login.
|
|
# you can place the %session and %theme variables
|
|
# to handle launching of specific commands in .xinitrc
|
|
# depending of chosen session and slim theme
|
|
#
|
|
# NOTE: if your system does not have bash you need
|
|
# to adjust the command according to your preferred shell,
|
|
# i.e. for freebsd use:
|
|
# login_cmd exec /bin/sh - ~/.xinitrc %session
|
|
login_cmd if [ -r ~/.xinitrc ]; then exec /bin/bash -login ~/.xinitrc %session; else WINDOWMANAGER=%session exec /bin/bash -login /etc/X11/xinit/xinitrc; fi
|
|
|
|
# Commands executed when starting and exiting a session.
|
|
# They can be used for registering a X11 session with
|
|
# sessreg. You can use the %user variable
|
|
#
|
|
# sessionstart_cmd some command
|
|
# sessionstop_cmd some command
|
|
sessionstart_cmd /usr/bin/sessreg -a -l :0.0 %user
|
|
sessionstop_cmd /usr/bin/sessreg -d -l :0.0 %user
|
|
|
|
# Start in daemon mode. Valid values: yes | no
|
|
# Note that this can overridden by the command line
|
|
# option "-d"
|
|
daemon yes
|
|
|
|
|
|
# string prepended to session name
|
|
session_msg Session:
|
|
|
|
# directory with session desktop files
|
|
sessiondir /usr/share/xsessions
|
|
|
|
# Executed when pressing F11 (requires imagemagick)
|
|
screenshot_cmd import -window root /tmp/slim.png
|
|
|
|
# welcome message. Available variables: %host, %domain
|
|
welcome_msg Welcome to %host
|
|
|
|
# shutdown / reboot messages
|
|
shutdown_msg The system is halting ...
|
|
reboot_msg The system is rebooting ...
|
|
|
|
# Let normal users have access to systems commands (shutdown, reboot, ...)
|
|
# If the value is true, then the root password is required to start a system command.
|
|
shutdown_password false
|
|
|
|
# default user, leave blank or remove this line
|
|
# for avoid pre-loading the username.
|
|
#default_user simone
|
|
|
|
# set to "yes" to enable autologin of the
|
|
#"default user" specified above
|
|
#auto_login yes
|
|
|
|
# current theme, use comma separated list to specify a set to
|
|
# randomly choose from
|
|
current_theme openSUSE
|
|
|
|
# Lock file
|
|
lockfile /var/run/slim.pid
|
|
|
|
# Log file
|
|
logfile /var/log/slim.log
|
|
|