Sublime Forum

Sublime3 does not open GUI in CentOS7

#1

Hello,

Just tried to run sublime on my CentOS7 machine but it does’t seem to open the GUI at all.

bash-4.2$ pwd
/opt/sublime_text

bash-4.2$ ./sublime_text -h
Sublime Text build 3126

Usage: sublime_text [arguments] [files] edit the given files
or: sublime_text [arguments] [directories] open the given directories

Arguments:
–project : Load the given project
–command : Run the given command
-n or --new-window: Open a new window
-a or --add: Add folders to the current window
-w or --wait: Wait for the files to be closed before returning
-b or --background: Don’t activate the application
-h or --help: Show help (this message) and exit
-v or --version: Show version and exit

Any ideas what could be the problem? I checked in another CentOS7 machine and there is running fine.
On the problematic machine, I tried to run the program under different users without success.

Thanks

0 Likes

#2

There have been some bugs fixed in the latest dev cycle. One of them is that depending on your session and settings, an empty window will be closed when opening the application.

If you can update to build 3140, that would be the best way to check.

0 Likes

#3

Tried build 3140 but it doesn’t make any difference.

0 Likes

#4

So no errors in the terminal when you try to run it? I presume you have GTK installed?

0 Likes

#5

Yes, GTK is installed. That’s the strage thing, I don’t get any error messages at all.
However, I just tested version 2 and that works.

0 Likes

#6

Do you see a dmp file in your /tmp/ dir?

0 Likes

#7

No, I can’t see any .dmp files in /tmp

0 Likes

#8

I got the same case

./sublime_text -h

Sublime Text build 3143

Usage: sublime_text [arguments] [files] edit the given files
or: sublime_text [arguments] [directories] open the given directories

Arguments:
–project : Load the given project
–command : Run the given command
-n or --new-window: Open a new window
-a or --add: Add folders to the current window
-w or --wait: Wait for the files to be closed before returning
-b or --background: Don’t activate the application
-h or --help: Show help (this message) and exit
-v or --version: Show version and exit

Filenames may be given a :line or :line:column suffix to open at a specific
location.

0 Likes

#9

Just to verify, does it do this all the time or only when you use -h to see the command line usage help?

0 Likes

#10

Did this ever get resolved? I’m seeing the same thing.

0 Likes