GtkDialogs Plugin

Introduction

gtkDialogs.py is a plugin that replaces the Tk file selection dialogs with Gtk file selection dialogs on Linux.

Although at the moment this plugin only replaces Tk's file dialogs, other dialogs may be replaced in future, in which case @settings will be provided to allow only selected dialogs to be replaced.

Use:

This plugin consists of two files, gtkDialogs.py and runGtkDialogs.py.txt.

View the contents of these files here

They can be downloaded from here gtkDialogs.py and here rungtkDialogs.py.txt

These two files need to be placed in leo's plugins folder, and 'gtkDialogs.py' needs to be placed in your list of enabled plugins.

You also need to be on linux with gtk2 installed on your system.

runGtkDialogs.py.txt has a .txt extension so it can live in the plugins folder without being mistaken for a plugin. It is a python script which is run to show the gtk dialogs.

@settings

This plugin assumes that the command to invoke python is 'python' but this may be changed by placing:

@string gtkdialogs_pythoncommand = your_python_command

in the @settings tree of myLeoSettings.leo.