Skip navigation.

Log in | Sign up

Linux for Designers

a blog by Eckhard M. Jäger

Posts tagged with "external"

gEdit Language Reference Plugin Update

, , , ...

After GnoCHM makes no real progress in development CHMsee is a really good alternative to read Windows CHM-Helpfiles. The newest version 1.0.6 of CHMsee now shiped with the long missed index feature (for Ubuntu Jaunty a newer version of libgcrypt11 is required).
This le me think about my gEdit Language Reference Plugin again. So i added support for various CHM viewer like GnoCHM, CHMsee, XCHM or KCHMviewer. To support the project i created a complete german translation for CHMsee too that may ship with 1.0.7 one day :smile:
» Read more...

All my gEdit plugins get localized

, , , ...

I updated all my gEdit plugins to be completely localized in german or english. I added version numbers for all too, so you can easy check in the preferences which version you are using.

http://my.opera.com/area42/blog/gedit-language-reference-plugin
http://my.opera.com/area42/blog/gedit-browser-preview-plugin
http://my.opera.com/area42/blog/gedit-template-plugin

Happy coding!

gEdit Language Reference plugin 1.03

, , , ...

Again i updated my gEdit Language Reference plugin.
Version 1.03 contains:
* a bug fix for the "None Type" problem (no programming language is set)
* When opening Evince starting automaticly a search with the selected word of gEdit
* Error dialogs for problems getting the reference file
(dialogs based on Zenity)

Thanx to Curtis Hovey helping me with the selection stuff in gEdit. Thanx to the Evince team for adding the requested search word command line parameter. Hopefully Yelp, GnoCHM or web browsers will add such command line features in future. So i can add this feature for CHM, DocBook and HTML documents too.

UPDATE:
Now version 1.04 is online which ships a complete with localisation in german and english.

» Read more...

PS: There are nice ideas about gEdit at Hackontest - vote for them!

Comparing files using gEdit

, , , ...

At the moment i'm heavily on scripting various things and some times its needed to compare files. As a Winy i used PSPad which have an included comparsion tool. Now i'm on Linux using gEdit and i'd like to have such a nice workflow once i had using PSPad.
I found a very nice way using Meld. Meld is a graphical comparsion tool and will work very well as an external tool of gEdit:

1) Install the package "meld"
2) Start gEdit and opening the Menu "Tools > External Tools..."
3) Add a new external tool:
* Name: Compare Files
* Description: Compare then opened file with another
* Command:
#!/bin/sh 
meld $GEDIT_CURRENT_DOCUMENT_DIR/$GEDIT_CURRENT_DOCUMENT_NAME `zenity --file-selection --title=File for comparsion --filename=/home/` &
* Any othe roption is not interesting so press close
4) Now you have in "Tools" an menu entry "Compare Files" that will use the active document of gEdit and the other browsed file for comparsion

Happy computing :smile:

Updated gEdit "Browser Preview" plugin

, , , ...

I updated my gEdit "Browser Preview" plugin, some bug fixes and feature enhancements:
* the plugin now checks first if IEs4Linux is installed, if not it tries to start the Internet Explorer 6 from the default Wine directory
* for testing webpages on the Webkit browser engine the plugin checks if Midori is installed if not it tries to run Konquerer
* if you opened a HTML document from a FTP server the "ftp://" will replaced by "http://" in the browser

Read more...

gEdit Language Reference plugin update

, , , ...

I updated my Language Reference plugin for gEdit again. Now it works with unsaved files too. There is a important change of naming the language reference files. Please reread the instructions.

» Read more...

updated gEdit Language Reference plugin

, , , ...

I updated my gEdit Language Reference plugin too. If your reference is a HTML page it will now opened in your default browser (whatever it is) and not in Firefox only.

gEdit Browser Preview plugin

, , , ...

On my way bringing SweeTS - delicious TypoScript development to Linux, i wrote another plugin called "Browser Preview". This plugin showing the current webpage you are editing in gEdit directly in Firefox, Opera, Midori or Konquerer and the Internet Explorer 6. This plugin is completely localized in german and english.

How it works:
* you have to install all the browsers on your system
* Internet Explorer 6 support is done by IEs4Linux in standard configuration and includes path converting
* Copy the files browser.gedit-plugin and browser.py into ~/.gnome2/gedit/plugins
* Start gEdit and enable the plugin "Browser Preview" in the preferences
* After a restart the plugin appears in the View menu
* Assign the typical shortcuts "F12", "Ctrl+F12" etc. to the different Browsers in the menu

Download:
http://files.myopera.com/area42/files/gedit_browser_plugin.zip

gEdit plugins i wrote too:
http://my.opera.com/area42/blog/gedit-language-reference-plugin
http://my.opera.com/area42/blog/gedit-template-plugin
A lot of other gEdit plugins can be found here.

gEdit Language Reference plugin

, , , ...

On my way bringing SweeTS - delicious TypoScript development to Linux, i wrote an plugin for opening an external language reference for the language you are editing in gEdit. The additional "gedit-plugins" package must be installed first. The plugin is localized in german and english.

How it works:
* The external language reference can be an PDF, a DocBook XML, a CHM Windows helpfile, a PostScript file or a HTML page
* Copy the files of the gedit_reference_plugin.zip into "~/.gnome2/gedit/plugins"
* Create a folder "help" in "~/.gnome2/gedit/"
* Copy your language references to "~/.gnome2/gedit/help"
* Set the filename of your reference document as the programming language name (you can get the name easily from "View > Highlight Mode"). An example: if you have a CHM documentation "python25.chm" then rename it into "Python.chm"
* Start gEdit and enable the plugin "Language Reference" in the preferences
* After a restart the plugin appears in the help menu
* Assign the shortcut "Alt+F1" to it
* Yelp (Docbook XML), CHMsee-GnoChm-XCHM-KCHMviewer (Windows comiled Help CHM), Firefox (HTML) or Evince (PDF, PS) are required
* Error dialogs based on Zenity

So now you have an easy access to your programming guides and preferences :smile:
If you are using Ubuntu you can grap a up-to-date version of GnoCHM at GetDeb.net.

Download:
http://files.myopera.com/area42/files/gedit_reference_plugin.zip

Other gEdit plugins i wrote:
http://my.opera.com/area42/blog/gedit-template-plugin
http://my.opera.com/area42/blog/gedit-browser-preview-plugin
A lot of other gEdit plugins can be found here.