我使用 xfce4 作为我的桌面环境,在 Gentoo 机器上运行。我想在登录时启动pulseaudio服务器。通常,如何在登录 xfce 后立即运行脚本,以及如何在注销时运行脚本?
script xfce login
login ×1
script ×1
xfce ×1