You are not logged in.
I want to use sublime instead of geany.
mod4 + e must call sublime instead of geany.
and text file must open with a sablime.
problem:
I can't find where bl-text-editor is defined
Offline
It's defined in Debian Alternatives (Main Menu>System>Edit Debian Alternatives>bl-text-editor).
If you've installed sublime via their deb package or via apt as their documentation describes, you should see Sublime listed as an option in Debian Alternatives...
https://www.sublimetext.com/3
https://www.sublimetext.com/docs/linux_ … ories.html
Select the bulletmark (the circle before the name) and enter your password.
-edit- I just tested this, and the Sublime deb package from that first link does not create an alternatives entry. You can create one by running the following command in a terminal...
sudo update-alternatives --install /usr/bin/bl-text-editor bl-text-editor /opt/sublime_text/sublime_text 50
The 50 will give it a higher priority than geany so it should automatically be selected in alternatives.
Last edited by hhh (2023-10-31 12:21:44)
I don't care what you do at home. Would you care to explain?
Offline
я не понимаю почему это работает. Но все равно спасибо. Это помогло.
Offline
I don't care what you do at home. Would you care to explain?
Offline
It's defined in Debian Alternatives (Main Menu>System>Edit Debian Alternatives>bl-text-editor).
If you've installed sublime via their deb package or via apt as their documentation describes, you should see Sublime listed as an option in Debian Alternatives...
---
-edit- I just tested this, and the Sublime deb package from that first link does not create an alternatives entry.
Some popular text editors are preset in a list to automatically set themeslves as alternatives for bl-text-editor when installed. Sublime has to be done manually though, because it's not in the Debian repositories, so didn't seem justified.
Current auto-set editors are "emacs gedit jedit kate medit mousepad scite" but we could add more...
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline