Ubuntu 定制套件,无法打开 gnome-terminal,请帮忙!

Ubuntu 定制套件,无法打开 gnome-terminal,请帮忙!

我已经尝试解决这个问题三天了,我正在使用 Ubuntu 定制工具包,当它到达“运行控制台应用程序”时,我收到以下错误:

Starting console application...
Option "-t" is no longer supported in this version of gnome-terminal.
Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/
Factory0: Error calling StartServiceByName for org.gnome.Terminal:
GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process
org.gnome.Terminal exited with status 8

我在网上看到这是因为没有为 gnome-terminal 设置 unicode,但我需要为位于 UCK 创建的临时 ISO 映像内的 gnome-terminal 设置它。我尝试将 etc/locale.conf 和 etc/default/locale 复制到映像中,但没有效果,可能是因为它应该重新启动,而我没有办法这样做。任何帮助都非常感谢。谢谢

答案1

尝试改变

 CONSOLE_APP=`which gnome-terminal`
    CONSOLE_APP_OPTIONS=(-T "UCK customization console" -e /bin/bash)

CONSOLE_APP=`which xterm`
    CONSOLE_APP_OPTIONS=(-e /bin/bash)

在 /usr/lib/uck/customization-profiles/localized_cd/customize 中。对我有用。

相关内容