Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am using Kubuntu 12.04 LTS. How can I run my own scripts in kate 3.8.2?

It appears that the plugin named External tools is no longer available.

I would like to run Python or shell scripts in kate and invoke them using a keyboard shortcut, such as F4.

As an example, this simple script would ideally change to a specific window when I press F4.

#!\bin\sh
wmctrl -a "<Window name>"
share|improve this question
1  
Apparently, there's no maintainer... –  sr_ May 3 '12 at 8:22
    
@sr_ This is a very very sad thing to me. You're right, no maintainer. So I will need a simillar editor with a tool like that. I tried gedit and works, but the editor itself have very few options. –  GarouDan May 3 '12 at 14:07
    
There're lots of them... ;) For scriptability, you could always give (g)VIM or EMACS a try, but there's also textadept, for example... –  sr_ May 3 '12 at 14:12
    
How to end this question? There's no maintainer, so, would I embrace a answer telling this? If yes, please sr_, write a answer to me. –  GarouDan May 13 '12 at 22:32

2 Answers 2

up vote 0 down vote accepted

Unfortunately, there currently is no maintainer for this plugin.

However, there are lots of popular editors that support this one way or another. Apart from the usual suspects ((g)VIM, EMACS) SciTE has pretty good support for external scripts, I'd say.

And there's Acme, quite uniquely integrated with scripting, pipe redirections etc, lacking syntax coloring and the like you'd probably expect from a modern editor.

share|improve this answer

In KATE 3.8.5 there is Build Plugin. It will add Build menu and Build configuration (look at the bottom left, next to Terminal). If you open build configuration there is tab Target Settings and you can set commands in 'Build', 'Clean' and 'Quick compile'. You can configure and short key for these commands.

P.S. This is only work around if you have up to 3 different scripts/commands you need to execute

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.