diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-09-22 19:47:24 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-02 16:50:34 +0700 |
commit | 4e168a9f4dce52b835780927792adc6b69fa76d4 (patch) | |
tree | 68fc3d23b0307fd3b817ee769f5cf62470cd39ac /system/slim/patches/slim-1.3.6-config.diff | |
parent | b5b7a79881d0e022ba802f180208db01e13ae5d1 (diff) |
system/slim: Add PAM support, fix for gcc >= 11.x, cleanups.
Thanks gentoo and archlinux for most of the stuff
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/slim/patches/slim-1.3.6-config.diff')
-rw-r--r-- | system/slim/patches/slim-1.3.6-config.diff | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/system/slim/patches/slim-1.3.6-config.diff b/system/slim/patches/slim-1.3.6-config.diff new file mode 100644 index 0000000000000..466590ccdcd9b --- /dev/null +++ b/system/slim/patches/slim-1.3.6-config.diff @@ -0,0 +1,60 @@ +diff -Naur slim-1.3.6.orig/slim.conf slim-1.3.6/slim.conf +--- slim-1.3.6.orig/slim.conf 2013-10-02 00:38:05.000000000 +0200 ++++ slim-1.3.6/slim.conf 2021-09-22 19:23:30.484086604 +0200 +@@ -9,6 +9,8 @@ + 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; exec /bin/login" + #suspend_cmd /usr/sbin/suspend ++## slackware suspend command ++suspend_cmd /usr/sbin/pm-suspend + + # Full path to the xauth binary + xauth_path /usr/bin/xauth +@@ -33,7 +35,8 @@ + # to adjust the command according to your preferred shell, + # i.e. for freebsd use: + # login_cmd exec /bin/sh - ~/.xinitrc %session +-login_cmd exec /bin/bash -login ~/.xinitrc %session ++# login_cmd exec /bin/bash -login ~/.xinitrc %session ++login_cmd exec /bin/bash -login /usr/share/slim/Xsession %session + + # Commands executed when starting and exiting a session. + # They can be used for registering a X11 session with +@@ -41,17 +44,25 @@ + # + # 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 be overriden by the command line + # options "-d" and "-nodaemon" + # daemon yes + +-# Available sessions (first one is the default). +-# The current chosen session name is replaced in the login_cmd ++# Available sessions: ++# The current chosen session name replaces %session in the login_cmd + # above, so your login command can handle different sessions. ++# If no session is chosen (via F1), %session will be an empty string. + # see the xinitrc.sample file shipped with slim sources +-sessions xfce4,icewm-session,wmaker,blackbox ++#sessions xfce4,icewm-session,wmaker,blackbox ++# Alternatively, read available sessions from a directory of scripts: ++#sessiondir /etc/X11/Sessions ++# Or, read available sessions from the xsessions desktop files -- ++# note that this may provide a full path to the session executable! ++sessiondir /usr/share/xsessions + + # Executed when pressing F11 (requires imagemagick) + screenshot_cmd import -window root /slim.png +@@ -84,7 +95,7 @@ + current_theme default + + # Lock file +-lockfile /var/run/slim.lock ++lockfile /run/slim.lock + + # Log file + logfile /var/log/slim.log |