[Bug 259700] www/chromium (plasma5 global menu) does not work OOTB
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 259700] www/chromium (plasma5 global menu) does not work OOTB"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 11 Nov 2021 00:06:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259700 --- Comment #1 from Jan Beich <jbeich@FreeBSD.org> --- See https://bugs.chromium.org/p/chromium/issues/detail?id=715658 Better start DBus user/session bus manually after login. On Linux this usually done transparently by (e)logind. On FreeBSD you can do something like this: $ cat >>/etc/profile # WARNING: zsh doesn't read this file by default, so use /etc/zprofile instead # XDG_RUNTIME_DIR is preferred but usually requires pam_xdg or consolekit2 (pam_ck_connector or ck_launch_session) if [ -n "$XDG_RUNTIME_DIR" ]; then if ! pgrep -qf -U ${USER:-$(id -u)} dbus.\*--session; then dbus-daemon --session --fork --address=unix:runtime=yes 2>/dev/null # Only necessary for some apps that fail to find default session bus (e.g., Emacs, Chrome) # https://gitlab.freedesktop.org/dbus/dbus/-/commit/e3f117e7610b export DBUS_SESSION_BUS_ADDRESS=unix:path=$XDG_RUNTIME_DIR/bus fi else eval $(dbus-launch --sh-syntax --exit-with-session 2>/dev/null) fi -- You are receiving this mail because: You are the assignee for the bug.