如何在 ubuntu 14.04 上使用终端打开 Sublime 文本编辑器?

如何在 ubuntu 14.04 上使用终端打开 Sublime 文本编辑器?

我想通过终端打开 Sublime Text 编辑器,我已经可以通过subl命令打开它了,但问题是当我打开编辑器然后终端加载时,如下所示

(sublime_text:7397): GLib-CRITICAL **: Source ID 28265 was not found when attempting to remove it

(sublime_text:7397): GLib-CRITICAL **: Source ID 28323 was not found when attempting to remove it

(sublime_text:7397): GLib-CRITICAL **: Source ID 28383 was not found when attempting to remove it

(sublime_text:7397): GLib-CRITICAL **: Source ID 28439 was not found when attempting to remove it

(sublime_text:7397): GLib-CRITICAL **: Source ID 28502 was not found when attempting to remove it

(sublime_text:7397): GLib-CRITICAL **: Source ID 28564 was not found when attempting to remove it

我想要同时使用 Sublime Text 和终端,我该如何解决这个问题?

答案1

您是否尝试过将标准和错误输出重定向到 /dev/null ?

subl > /dev/null 2>&1 &

相关内容