Permalink
Browse files

Document installation

  • Loading branch information...
1 parent 26dcaeb commit 447ecc731e46837dfe14160b7e99b8a1af5de060 @polachok polachok committed Jul 16, 2012
Showing with 14 additions and 2 deletions.
  1. +14 −2 README
View
16 README
@@ -10,6 +10,18 @@ Building
--------
gcc -shared -fPIC `pkg-config gtk+-x11-2.0 --cflags --libs` -o libvi.so vi.c
-Usage
------
+To try it out
+-------------
GTK_MODULES=<path-to-libvi.so> [your-application]
+
+For permanent use
+-----------------
+1) install module somewhere
+
+ mkdir -p .gtk-2.0/modules
+ cp libvi.so ~/.gtk-2.0/modules/
+
+2) add this to startup script (~/.xinitrc or whatever)
+
+ export GTK_PATH=$HOME/.gtk-2.0/modules
+ export GTK_MODULES=vi

0 comments on commit 447ecc7

Please sign in to comment.