Curious if there are any plans to put SublimeText 4 into a Flatpak on Flathub?
Currently I am running in toolbox, which is just a mutable container for Fedora SilverBlue (next best option next to flatpak). Problem is I am having some problems getting sublime text 4 to launch inside there through the desktop file. It will launch via subl inside the container but not through the toolbox call. I know this is likely more of a fedora thing but figured I would ask here in case anyone else had battled this.
We investigated providing an official flatpak distribution for Sublime Text, unfortunately the way flatpak works is fundamentally incompatible with development tools that are required to run system executables. I suggest using the official packages instead.
Sounds good thanks for the info! I am going to leave what i did here for those that stumble across this thread. It may be greek to those that haven’t played around with OS’s like SilverBlue, if so just ignore below…
It looks like in the case of SilverBlue (container OS) the most effective way to use sublime is to add it to the rpm-ostree repos and install it along side the OS. Not necessarily ideal (given the whole SilverBlue philosophy of preferring Flatpak and/or Toolbox) but in the case of Gnome it works the most seemlessly.
Hello. If you are using Fedora silverblue here is a clean way I found to install (without hassle or rpm-ostree):
Go to the terminal and run:
distrobox-enter
(accept the default container name or write a name)
Follow the official sublime-text instructions inside the container:
i) sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
ii) sudo dnf config-manager addrepo --from-repofile=https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
iii) dnf install sublime-text
still in the container, run: distrobox-export -a subl
This will install sublime-text in the container and then export sublime-text so that it is exposed to the regular environment as just any other software, so it will show up as regular.
That’s it. Now if you press the super key and write sublime-text it should show up.