I’ve installed sublime using yum
and now have /usr/bin/subl
but it does nothing when I run it. It exits with status 0.
Subl command does nothing on Centos 7
It shows no output? What build are you using, stable or dev? Do you have libgtk2 installed? Has this worked previously?
I’m using the stable version. This is a brand new CentOS 7 installation. I’m not sure about the library. How would I check?
The behavior is immediate termination with a exit status of 0.
what display environment does CentOS 7 use? someone recently had a problem with X11 on Ubuntu because their DISPLAY
env var was set incorrectly, maybe something similar is happening here? Do other GUI apps launch from the command line?
I thought this is unlikely because the process just exits.
However, there might be a different process already running and thus the new instance just signals the running instance to open a new file/folder. You may want to check for existing processes and terminate those or run subl -w
to make the process in the terminal wait for the file to be closed.
Additional information. subl
launches a process running /opt/sublime_text/sublime_text
. The process hangs around until killed.
More information here. I am getting these error messages:
(sublime_text:43854): GLib-GObject-WARNING **: 13:08:55.046: cannot register existing type 'GTask'
(sublime_text:43854): GLib-GObject-WARNING **: 13:08:55.046: cannot register existing type 'GAsyncResult'
(sublime_text:43854): GLib-GObject-CRITICAL **: 13:08:55.046: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed
(sublime_text:43854): GLib-CRITICAL **: 13:08:55.046: g_once_init_leave: assertion 'result != 0' failed