diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-15 00:19:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-15 00:19:47 +0000 |
commit | 1f048d9b860b8c7b69ac8dd085edc9ee3191b2d5 (patch) | |
tree | affee530d130802d01350609c1e0705a3902e46d /x11-misc/slim/files | |
parent | 9ecdcfa46d8257a208dac1edc65aea2ccf11a799 (diff) |
gentoo auto-resync : 15:03:2023 - 00:19:47
Diffstat (limited to 'x11-misc/slim/files')
-rw-r--r-- | x11-misc/slim/files/slim-1.3.9-config.diff | 49 | ||||
-rw-r--r-- | x11-misc/slim/files/slim-1.3.9-greeter-session.diff | 12 | ||||
-rw-r--r-- | x11-misc/slim/files/slim-1.4.0-config.diff | 48 |
3 files changed, 109 insertions, 0 deletions
diff --git a/x11-misc/slim/files/slim-1.3.9-config.diff b/x11-misc/slim/files/slim-1.3.9-config.diff new file mode 100644 index 000000000000..da7e69f2eccd --- /dev/null +++ b/x11-misc/slim/files/slim-1.3.9-config.diff @@ -0,0 +1,49 @@ +Customize the configuration file to suit Gentoo practice +=================================================================== +--- a/slim.conf ++++ b/slim.conf +@@ -21,7 +21,7 @@ + + # Activate numlock when slim starts. Valid values: on|off + # Default is to not change it +-# numlock on ++numlock on + + # Hide the mouse cursor (note: does not work with some WMs). + # Valid values: true|false +@@ -36,7 +36,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 +@@ -66,12 +67,12 @@ + # %session is the Exec= value -- note that this may provide a full + # path to the session executable! +-#sessiondir /usr/share/xsessions ++sessiondir /usr/share/xsessions + + +-# Executed when pressing F11 (requires imagemagick) ++# Executed when pressing F11 (requires media-gfx/imagemagick for import) + screenshot_cmd import -window root /slim.png +-# Alternative using scrot. ++# Alternative is media-gfx/scrot. See Gentoo bug 252241 for more info. + #screenshot_cmd scrot /root/slim.png + + # welcome message. Available variables: %host, %domain + welcome_msg Welcome to %host +@@ -111,8 +111,8 @@ + # randomly choose from + current_theme default + +-# Lock file ++# Lock file, /etc/init.d/xdm expects slim.pid + lockfile /run/slim.pid + + # Log file + logfile /var/log/slim.log diff --git a/x11-misc/slim/files/slim-1.3.9-greeter-session.diff b/x11-misc/slim/files/slim-1.3.9-greeter-session.diff new file mode 100644 index 000000000000..c9e5e256850a --- /dev/null +++ b/x11-misc/slim/files/slim-1.3.9-greeter-session.diff @@ -0,0 +1,12 @@ +Fix bug #727544 by telling elogind that we're a greeter +=================================================================== +--- a/app.cpp ++++ b/app.cpp +@@ -290,6 +290,7 @@ + pam.start("slim"); + pam.set_item(PAM::Authenticator::TTY, DisplayName); + pam.set_item(PAM::Authenticator::Requestor, "root"); ++ pam.setenv("XDG_SESSION_CLASS", "greeter"); + } + catch(PAM::Exception& e){ + logStream << APPNAME << ": " << e << endl; diff --git a/x11-misc/slim/files/slim-1.4.0-config.diff b/x11-misc/slim/files/slim-1.4.0-config.diff new file mode 100644 index 000000000000..1a92a66a6f43 --- /dev/null +++ b/x11-misc/slim/files/slim-1.4.0-config.diff @@ -0,0 +1,48 @@ +Index: slim-fork-code/slim.conf +Customize the configuration file to suit Gentoo practice +=================================================================== +--- a/slim.conf (revision 54) ++++ b/slim.conf (working copy) +@@ -21,7 +21,7 @@ + + # Activate numlock when slim starts. Valid values: on|off + # Default is to not change it +-#numlock on ++numlock on + + # Hide the mouse cursor (note: does not work with some WMs). + # Valid values: true|false +@@ -35,7 +35,8 @@ + # NOTE: if your system does not have bash you need to adjust the command + # according to your preferred shell, e.g. 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 +@@ -65,11 +66,12 @@ + # %session is the Exec= value -- note that this may provide a full + # path to the session executable! + #sessiondir /usr/share/xsessions ++sessiondir /etc/X11/Sessions + + +-# Executed when pressing F11 (requires imagemagick) ++# Executed when pressing F11 (requires media-gfx/imagemagick for import) + screenshot_cmd import -window root /slim.png +-# Alternative using scrot. ++# Alternative is media-gfx/scrot. See Gentoo bug 252241 for more info. + #screenshot_cmd scrot /root/slim.png + + # Delay after failed authentication before allowing another attempt +@@ -102,7 +104,7 @@ + # randomly choose from + current_theme default + +-# Lock file ++# Lock file, /etc/init.d/xdm expects slim.pid + lockfile /run/slim.pid + + # Log file - full path for a file, or just stderr (or /dev/stderr) to send |