In one of my VirtualBox Gentoo installations, openbox-3.6.1-r7 executes (via `exec startx`) just fine, but it fails to honour anything in ~/.config/openbox/autostart. I'm able to manually call all of the tasks, so I don't think it's a problem with the configuration on that system. Dropping back to 3.6.1-r5 fixes the problem. If you need any further information, please let me know. Thank you for your time. Cheers, Nathan Zachary
Looking at the diff between the two ebuilds, I would imagine that this is the relevant change: >>>>> src_install() { - dodir /etc/X11/Sessions - echo "/usr/bin/openbox-session" > "${ED}/etc/X11/Sessions/${PN}" - fperms a+x /etc/X11/Sessions/${PN} + exeinto /etc/X11/Sessions + newexe - ${PN} <<-EOF + #!/bin/sh + ${PN} + EOF >>>>> The difference here is that the r5 ebuild results in: >>>>> $ cat /etc/X11/Sessions/openbox /usr/bin/openbox-session >>>>> whereas the r7 ebuild results in: >>>>> $ cat /etc/X11/Sessions/openbox #!/bin/sh openbox >>>>> The shebang line (from bug 911787) isn't the problem. Rather, it's that the new version is only calling `openbox` instead of `openbox-session`. I have tested the change, and it seems to fix the autostart problems.
Thanks, sorry.
No worries at all, Sam. Thank you for your help in getting the change pushed. Cheers, Nathan Zachary
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a1f9fe744c3d262b03f5024c5020876088ed099 commit 4a1f9fe744c3d262b03f5024c5020876088ed099 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-08-10 04:07:02 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-08-10 04:07:02 +0000 x11-wm/openbox: fix session name again Closes: https://bugs.gentoo.org/911974 Signed-off-by: Sam James <sam@gentoo.org> x11-wm/openbox/{openbox-3.6.1-r7.ebuild => openbox-3.6.1-r8.ebuild} | 2 +- x11-wm/openbox/openbox-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)