我正在尝试获取一个启动脚本,要求在gdm启动之前运行用户输入(该脚本应该允许我从xorg.conf列表中选择我想要用于当前会话的列表)。 已经尝试在/ etc / init中创建一个pregdm.conf,其中包含: start on filesystem stop on runlevels [06] # ... console output script # script that uses read to gather user input and replaces xorg.conf with the selected one end script 和改变 start on 在/etc/init/gdm.conf中: start on (filesystem and started dbus and started pregdm and (drm-device-added …