Table of Contents
Komodo Edit
Komodo Edit is a free open source editor which provides basic functionality for programming in many languages.
Installation
Download the last Komodo Edit version.
Extract it and in its folder give the command:
sudo ./install.sh
then, specify the installation directory /opt/Komodo-Edit-x
, where x
is the major release.
Change owner and group:
sudo chown -R <owner>:<group> /opt/Komodo-Edit-x
and change the permissions:
sudo chmod -R ugo=rwx /opt/Komodo-Edit-x
Uninstallation
Delete:
- the directory
/opt/Komodo-Edit-x
, wherex
is the major release; - the icon
komodo-edit-x.desktop
in/usr/share/applications/
; - the string
komodo-edit-x.desktop
from the file/usr/share/applications/defaults.list
.
Tip: If the icon remains in the menu, empty the folders:
/home/<user>/.local/share/Trash/files
;/home/<user>/.local/share/Trash/info
.
Configuration
Create custom toolbar
Open the right from View
> Tabs & Sidebars
> Toolbox
.
Then right click on it and select New Custom Toolbar
. Rename it in MyToolbar
. One's shortcut buttons will have to stay in here.
Execute Python code
To create a shortcut button which saves and runs a Python script using python3
, create a macro with Tools
> Macros
> Create New Macro
and paste the following Javascript code:
komodo.assertMacroVersion(3); if (komodo.view) { komodo.view.setFocus(); } ko.commands.doCommand('cmd_save'); ko.run.output.kill(-1); setTimeout(function(){ ko.run.runEncodedCommand(window, 'python3 -u \'%F\''); }, 100);
Add-ons
Add-ons for the community should have their own Github repository.
If the maintainer has provide and .xpi
release of the add-on, then it can be installed through Tools
> Add-ons
.
Otherwise it's necessary to build and install the .xpi
manually as described in Installing from Source.