Sublime Forum

[Fedora] Opening ST4 from Sublime Merge spawns ST4 without user profile

#1

Hi,

When I use the command palette to open Sublime Text from Sublime Merge, a separate instance of Sublime Text is spawned seemingly without my profile - the theme is reset to default, no packages, and unregistered.

Checking the process list, the command is the same as when I manually launch Sublime Text - /opt/sublime_text/sublime_text --multiinstance.

I tried uninstalling and reinstalling both applications and the issue remains.

I’m on Fedora 34, vanilla install, and latest builds of ST4 and Merge.

Appreciate any insight on this issue.

0 Likes

#2

What package/data path gets logged in the Sublime Text console?

0 Likes

#3

Seems to be launching from a directory related to Merge.

startup, version: 4107 linux x64 channel: stable
executable: /opt/sublime_text/sublime_text
application: /opt/sublime_text
working dir: /home/luke
packages path: /home/luke/.var/app/com.sublimemerge.App/config/sublime-text/Packages
state path: /home/luke/.var/app/com.sublimemerge.App/config/sublime-text/Local
zip path: /opt/sublime_text/Packages
zip path: /home/luke/.var/app/com.sublimemerge.App/config/sublime-text/Installed Packages
ignored_packages: ["Vintage"]
pre session restore time: 0.178206
startup time: 0.266882
0 Likes

#4

My guess is that you have something setting the XDG_CONFIG_HOME environment variable to /home/luke/.var/app/com.sublimemerge.App. Are you using our Linux repositories or a 3rd party package?

0 Likes

#5

I was using the Flathub version that comes up when you search in the software store. I added the Sublime repo and installed Merge from there, and my issue went away.

0 Likes