I will often change a small script in gedit and then run it from a terminal. Isn't there a simple text editor with a "Run" button or something to streamline this? Even in Eclipse it's not trivial. I'm looking for specific suggestions on which text editors support this or how they can be extended to support this.
Ubuntu – text editor that can run shell scripts
scriptstext-editor
Best Answer
From:
Gedit Plug-ins
Use
gedit
external terminal plug-inYou can use
gedit
with terminal plugin. The steps are fairly straight-forward:gedit-plugins
gedit
plug-insStep 1. Enable "Universe" repository
The first step is to ensure
Universe
repository is activated fromSettings
->Software & Updates
->Ubuntu Software
and ensure the third option is checked:Step 2. Install
gedit-plugins
Install
gedit-plugs
with the command:Step 3. Activate "Embedded Terminal"
Open
gedit
(don't usesudo
) and selectEdit
->Preferences
->Plugins
and check offEmbedded Terminal
:Step 4. Use Ctrl+F9 to open terminal
In the GIF below we use Ctrl+F9 to get a tiny window with the command prompt. Use the mouse to drag the dividing line up.
Step 5. Other
gedit
plug-insAs mentioned in Step 4., you can grab the separator bar to make the terminal window bigger. Here's what it looks like in a normal picture ((not a GIF).
There are three other plug-ins I currently use in the
gedit
coding window:For further reading please see: