LINUX.ORG.RU

История изменений

Исправление x905, (текущая версия) :

sudo -u user2 bash -c "export XDG_RUNTIME_DIR="/run/user/\$UID"; export DBUS_SESSION_BUS_ADDRESS="unix:path=\${XDG_RUNTIME_DIR}/bus"; systemd-run --user -r bash -c 'export $(dbus-launch); aplay /usr/share/sounds/speech-dispatcher/test.wav'"

Исправление x905, :

sudo -u user2 bash -c "export XDG_RUNTIME_DIR="/run/user/\$UID"; export DBUS_SESSION_BUS_ADDRESS="unix:path=\${XDG_RUNTIME_DIR}/bus"; systemd-run --user -r bash -c 'export $(dbus-launch); DISPLAY=:0 aplay /usr/share/sounds/speech-dispatcher/test.wav'"

Исправление x905, :


sudo -u user2 bash -c «export XDG_RUNTIME_DIR=»/run/user/$UID"; export DBUS_SESSION_BUS_ADDRESS=«unix:path=${XDG_RUNTIME_DIR}/bus»; systemd-run –user -r bash -c ‘export $(dbus-launch); DISPLAY=:0 aplay /usr/share/sounds/speech-dispatcher/test.wav’"


Исправление x905, :

[code] sudo -u user2 bash -c «export XDG_RUNTIME_DIR=»/run/user/$UID"; export DBUS_SESSION_BUS_ADDRESS=«unix:path=${XDG_RUNTIME_DIR}/bus»; systemd-run –user -r bash -c ‘export $(dbus-launch); DISPLAY=:0 aplay /usr/share/sounds/speech-dispatcher/test.wav’" [/code]

Исходная версия x905, :

sudo -u user2 bash -c «export XDG_RUNTIME_DIR=»/run/user/$UID"; export DBUS_SESSION_BUS_ADDRESS=«unix:path=${XDG_RUNTIME_DIR}/bus»; systemd-run –user -r bash -c ‘export $(dbus-launch); DISPLAY=:0 aplay /usr/share/sounds/speech-dispatcher/test.wav’"