Sublime Forum

Could not find the program 'sublime_text'

#1

I currently install sublime via the nix package manager, which among other things, just pulls in the sublime_text.desktop file from: https://download.sublimetext.com/sublime_text_build_4145_x64.tar.xz

Currently this has a fun bug in KDE where if I:

  1. Run Sublime via terminal
  2. Pin the Sublime icon to the quick-launch toolbar
  3. Close sublime
  4. Click the quick-launch toolbar button to open sublime

The following error appears in my ~/.xsession-errors:

kf.kio.gui: "Could not find the program 'sublime_text'"
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:219:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"

Similar behavior worked just fine on Gnome desktop, but since switching to KDE it seems there’s something wrong with the way Sublime wants to start up.

0 Likes

#2

We don’t provide any nix packages, I suggest logging an issue with whoever publishes that package.

0 Likes

#3

Any issues with me documenting my fix/journey here, in case others run into the same problem and look on these forums? Happy to do it elsewhere if you’d prefer - this was just where I ended up after an hour-ish.

I was mostly hoping this was some well-known KDE issue with an easy fix.

0 Likes

#4

Any issues with me documenting my fix/journey here, in case others run into the same problem and look on these forums?

Certainly not.

I was mostly hoping this was some well-known KDE issue with an easy fix.

afaik the same issue doesn’t exist for the official packages.

0 Likes