Installing Geany as editor using Ubuntu 10.04

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
jwmyers
Newbie
Posts: 1
Joined: Sun Dec 12, 2010 11:31 pm
Contact:

Installing Geany as editor using Ubuntu 10.04

#1 Post by jwmyers » Sun Dec 12, 2010 11:41 pm

I have Geany 0.18 installed on my Linux OS (Ubuntu 10.04) but I am unable to configure it for use with Ren'Py. I tried to follow the Read Me files in the downloaded ZIP files on the editor download site, but they do not work. Ren'Py is working fine and I am using JEdit without difficulties, but I would prefer to have a better editor. Could someone provide some instructions to follow so I will be able to use Geany instead of JEdit?
Thanks

User avatar
duanemoody
Regular
Posts: 100
Joined: Fri Oct 02, 2009 2:32 pm
Projects: American Jurassic
Organization: Pier 7 Media
Location: Arizona
Contact:

Re: Installing Geany as editor using Ubuntu 10.04

#2 Post by duanemoody » Mon Dec 20, 2010 2:07 pm

Try this in your /launcher folder:
disclaimer: I haven't tested it. This is based on optimized editor code of mine plus geany's own documentation.

Code: Select all

# Name: Geany
# Version: 1
# Description: Linux only

import os
import os.path
import sys

editor = "geany"

normalargs = ' +"%(line)d" "%(filename)s" "%(otherfiles)s"'
config.editor = editor + normalargs
config.editor_transient = editor + ' -i' + normalargs
Attachments
Geany.editor.py
(259 Bytes) Downloaded 104 times

Post Reply

Who is online

Users browsing this forum: Bing [Bot]