Can gedit open links in a web browser by clicking on it?

I am looking for a shortcut to quickly open links in a text file using a web browser. Is there a trick or plugin?

+5
source share
2 answers

You can do this using the external tools module that comes with Gedit. Select Tools> Manage External Tools. Create a new tool by clicking the small icon +in the lower left corner and name it “Open Link” (or whatever). Use the following code in the box Edit(assuming you are using Firefox):

#!/bin/sh
xargs -I '{}' firefox '{}'

, Input Current word. , (URL), Tools > External Tools > Open Link .

+2

Jean-Philippe URI. , , .

Gedit 2.8 2 .

+2

All Articles