Created attachment 870186 [details] patched ebuild fpr local repo diff -Naur /var/db/repos/gentoo/x11-misc/sddm/sddm-0.20.0-r1.ebuild /var/db/repos/local/x11-misc/sddm/sddm-0.20.0-r2.ebuild --- /var/db/repos/gentoo/x11-misc/sddm/sddm-0.20.0-r1.ebuild 2023-09-03 17:40:45.000000000 +0300 +++ /var/db/repos/local/x11-misc/sddm/sddm-0.20.0-r2.ebuild 2023-09-09 20:09:46.796601535 +0300 @@ -97,7 +97,15 @@ -DSYSTEMD_TMPFILES_DIR="/usr/lib/tmpfiles.d" -DNO_SYSTEMD=$(usex !systemd) -DUSE_ELOGIND=$(usex elogind) + -DSDDM_INITIAL_VT="${SDDM_INITIAL_VT}" ) + # -DSDDM_INITIAL_VT defaults to 1 if undefined as below. + # Use /etc/portage/package.env & /etc/portage/env to set as e.g. + # cat /etc/portage/package.env/x11-misc::sddm.conf + # x11-misc/sddm sddm_initial_vt.conf + # cat /etc/portage/env/sddm_initial_vt.conf + # SDDM_INITIAL_VT=7 + # Beware as mismatching value breaks build. cmake_src_configure } This helps integration here. There may be a better way to achieve this.
I upgraded to sddm-0.20.0-r1 during my last regular emerge-update. Shortly after that I experienced an issue, unrelated to sddm, where I needed to switch to a tty. I usually use Ctrl/Alt/F2 rather the Ctrl/Alt/F1 to avoid the clutter of the boot log. There followed some confusion as the switch appeared not to have worked. I would prefer sddm to continue with its historic default of VT7 rather than grabbing the first free VT. This could change at each sddm restart and could cause some more confusion when trying to switch back to KDE after switching to a tty for debugging.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b55ff51e0bc86be8f8d11f2cf158b67e8bd0476 commit 1b55ff51e0bc86be8f8d11f2cf158b67e8bd0476 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2023-09-10 21:19:11 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2023-09-10 21:19:11 +0000 x11-misc/sddm: allow the user to set SDDM_INITIAL_VT Closes: https://bugs.gentoo.org/913898 Signed-off-by: Mike Gilbert <floppym@gentoo.org> x11-misc/sddm/sddm-0.20.0-r1.ebuild | 2 ++ 1 file changed, 2 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6ee44471a5481a55b8d532f5d8a1981c6616b8c commit b6ee44471a5481a55b8d532f5d8a1981c6616b8c Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2023-09-11 00:27:00 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2023-09-11 00:28:48 +0000 Revert "x11-misc/sddm: allow the user to set SDDM_INITIAL_VT" This seems like a perfect use for MYCMAKEARGS. See cmake.eclass for details. Reverts: 1b55ff51e0bc86be8f8d11f2cf158b67e8bd0476 Bug: https://bugs.gentoo.org/913898 Signed-off-by: Mike Gilbert <floppym@gentoo.org> x11-misc/sddm/sddm-0.20.0-r1.ebuild | 2 -- 1 file changed, 2 deletions(-)