wok view slim/stuff/patches/slim.conf-1.3.6 @ rev 25366

slim and slim-pam: modified slim.conf
author Hans-G?nter Theisgen
date Fri Jul 29 07:52:52 2022 +0100 (21 months ago)
parents 9c874a5c3b17
children
line source
1 --- slim.conf.original
2 +++ slim.conf
3 @@ -1,13 +1,16 @@
4 +# /etc/slim.conf: Slim LogIn Manger configuration file
5 +#
6 +
7 # Path, X server and arguments (if needed)
8 # Note: -xauth $authfile is automatically appended
9 -default_path /bin:/usr/bin:/usr/local/bin
10 -default_xserver /usr/bin/X
11 +default_path ./:/bin:/usr/bin
12 +default_xserver /usr/bin/Xorg
13 #xserver_arguments -dpi 75
15 # Commands for halt, login, etc.
16 -halt_cmd /sbin/shutdown -h now
17 -reboot_cmd /sbin/shutdown -r now
18 -console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
19 +halt_cmd /sbin/poweroff
20 +reboot_cmd /sbin/reboot
21 +console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -l -c "exec /bin/login"
22 #suspend_cmd /usr/sbin/suspend
24 # Full path to the xauth binary
25 @@ -22,7 +25,7 @@
27 # Hide the mouse cursor (note: does not work with some WMs).
28 # Valid values: true|false
29 -# hidecursor false
30 +hidecursor true
32 # This command is executed after a succesful login.
33 # you can place the %session and %theme variables
34 @@ -33,7 +36,8 @@
35 # to adjust the command according to your preferred shell,
36 # i.e. for freebsd use:
37 # login_cmd exec /bin/sh - ~/.xinitrc %session
38 -login_cmd exec /bin/bash -login ~/.xinitrc %session
39 +# login_cmd exec /bin/bash -login ~/.xinitrc %session
40 +login_cmd exec /bin/sh -l ~/.xinitrc %session
42 # Commands executed when starting and exiting a session.
43 # They can be used for registering a X11 session with
44 @@ -47,14 +51,16 @@
45 # options "-d" and "-nodaemon"
46 # daemon yes
48 -# Available sessions (first one is the default).
49 +# Available sessions are looked for in sessiondir.
50 +# Uncomment to enable choosing by pressing F1.
51 # The current chosen session name is replaced in the login_cmd
52 # above, so your login command can handle different sessions.
53 -# see the xinitrc.sample file shipped with slim sources
54 -sessions xfce4,icewm-session,wmaker,blackbox
55 +# See the xinitrc.sample file shipped with slim sources.
56 +#sessiondir /usr/share/xsessions
58 # Executed when pressing F11 (requires imagemagick)
59 -screenshot_cmd import -window root /slim.png
60 +#screenshot_cmd import -window root /slim.png
61 +#screenshot_cmd mtpaint -s /root/slim-shot.png
63 # welcome message. Available variables: %host, %domain
64 welcome_msg Welcome to %host
65 @@ -62,13 +68,13 @@
66 # Session message. Prepended to the session name when pressing F1
67 # session_msg Session:
69 -# shutdown / reboot messages
70 -shutdown_msg The system is halting...
71 +# shutdown and reboot messages
72 +shutdown_msg The system is going down...
73 reboot_msg The system is rebooting...
75 # default user, leave blank or remove this line
76 # for avoid pre-loading the username.
77 -#default_user simone
78 +default_user tux
80 # Focus the password field on start when default_user is set
81 # Set to "yes" to enable this feature
82 @@ -81,11 +87,10 @@
84 # current theme, use comma separated list to specify a set to
85 # randomly choose from
86 -current_theme default
87 +current_theme slitaz,base
89 # Lock file
90 -lockfile /var/run/slim.lock
91 +lockfile /var/lock/slim.lock
93 # Log file
94 logfile /var/log/slim.log
95 -