NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: XDG_RUNTIME_DIR
On Sat, 24 Apr 2021, Bob Bernstein wrote:
I have built from pkgsrc 'lyx' with the qt5 libs. Typing 'lyx' at a command
prompt yields:
$ lyx
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-bob'
That's a harmless notification. If you want to quash it add these lines:
1. /etc/rc.conf:
dbus_enable=YES
2. ~/.profile
export XDG_RUNTIME_DIR=/tmp/runtime-${LOGNAME}
test -d $XDG_RUNTIME_DIR ||
install -d -m 700 -o $(id -u) -g $(id -g) $XDG_RUNTIME_DIR
3. ~/.xinitrc
if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ];
then eval $(dbus-launch --sh-syntax --exit-with-session)
fi
-RVP
Home |
Main Index |
Thread Index |
Old Index