Hi, I’m using sublime text 2 on ubuntu 12.10. Every time I open anything in ST, two other files always open in 2 separate tabs. (It’s always the same 2 files) I’ve tried looking around but can’t figure out how to disable this.
Thanks
Sublime text automatically opens a few files on startup
rushil92
#1
0 Likes
Bug: A file is getting opened automatically
[Solved] [Ubuntu] Always opens the same file
ST always try open an old file
jbjornson
#5
Try adding these settings to your user preferences:
{
// Exiting the application with hot_exit enabled will cause it to close
// immediately without prompting. Unsaved modifications and open files will
// be preserved and restored when next starting.
//
// Closing a window with an associated project will also close the window
// without prompting, preserving unsaved changes in the workspace file
// alongside the project.
"hot_exit": false,
// remember_open_files makes the application start up with the last set of
// open files. Changing this to false will have no effect if hot_exit is
// true
"remember_open_files": false
}
0 Likes
otkudznam
#6
On file /home/{your-username}/.local/share/applications/sublime_text.desktop in line that starts with “Exec=” delete everything after space, this line need to be something like this “Exec={path-to-your-application}”.
I had the same problem, in that line was “Exec={path-to-application} {path-to-some-file}”.
Also, you can change “Name=” line.
0 Likes