|XGRK - Write GREEK in the X Window System|
xgrk 1.6.3 , (C) Spiros Ioannou 1998-2001
Keycodes are auto-detected on startup so it should work with all unices and
This program has been succesfully tested with:
The greek/uk flag images are in xpm format so that you can change them as you
The XPM library (libXpm) can be found here: ftp://koala.inria.fr/pub/xpm/ or here http://koala.ilog.fr/ftp/pub/xpm/
The X keyboard extensions (XKB) are not needed.
The xgrk2 binary is created with an alternative xgrk.h from E. Lefty Kreouzis |
This one seems to work with different aplications, probably unicode-enabled like the new mozilla builds, gterm etc.
For non-unicode apps like xterm, xedit, netscape communicator 4.7x use xgrk.
xgrk and xgrk2 cannot run at the same time.
Hint by Athanasios Douitsis: to run in MacOS's X11 server: edit xgrk.h and xgrk2.h and |
replace: #define DUMMY1 XK_F30 #define DUMMY2 XK_F31 with: #define DUMMY1 XK_Shift_L #define DUMMY2 XK_Shift_LYou can alternatively download the compiled universal binary below.
|Keyboard mapping switching:||Alt + Shift or Meta + Shift|
|Accent:||';' and then the letter|
|diaeresis (dialitika):||Shift + ';' and then the letter|
|accented diaeresis:||';' then Shift+';' and then the letter|
|Middle Dot (Άνω τελεία ·):||Shift + 'w'|
-h Display help for command line options -poll poll the xserver for keyboard stat every 25000 us (default) This is the default, it works very well, it doesn't take cpu and works under xterm's 'Secure Keyboard' -event event based keyboard monitoring This is event-based operation, but windows mapped after the xgrk starts aren't always captured by xgrk -noflag don't display a window. -display display to connect to -geometry where to popup (ex.: -geometry +0+100 or -geometry -1-1) -v be verbose -pi <interval> default poll interval value is 25000 microseconds. If set too high, it will miss keystrokes, if set too low, it will eat up cpu. -rd <interval> default reset delay value is 100000 microseconds. If set too high, you'll get many accented greek characters. If set too low, characters won't be accented. -tt toggle timeout: counted in "poll_interval"s how quick alt and shift must be pressed. Default=10 -save save current keycodes to file ($HOME/.xgrk-hostname) -restore restore previously saved keycodes
It is a good idea to put the following in your .xinitrc:|
This will create the file $HOME/.xgrk-hostname with the original keycodes.
If you don't use an .xinitrc file, just run the above command once from an xterm.
Then, add to your window manager a mouse menu which executes the following:
This way, if xgrk gets killed and you're stuck in greek mode, you'll be able to restore the original keyboard status with the mouse menu.
Notes for greek support in Netscape 4.xTrick for netscape to display greek fonts in forms and buttons correctly:
Note: The UNIX version of Mozilla seems to handle greek almost perfectly :-)
Notes for fvwm2Add theese to the appropriate fields in your .fvwm2rc:
fvwm2 style: Style "xgrk" RandomPlacement, NoTitle, StaysOnTop, NoHandles, BorderWidth 0
fvwm2 swallow option:
Very cool, it gets swallowed as a button in the bar:
*FvwmButtons( Center Size 60 40 Swallow(UseOld) xgrk `Exec exec xgrk &`)
TODOI've been asked to implement the following stuff. I'll try to implement them when I find the time.
|xgrk-1.6.3.tar.gz||Latest source release. Produces 2 binaries: xgrk,xgrk2. Read the CHANGES|
|xgrk-1.6.3.patch||Security patch by Vacheh D Sardarian|
|xgrk_1.6-1_i386.deb||Intel Linux debian package (by taver)|
|wm-xgrk-1.6.tar.gz||A WindowMaker applet written by Nicholas Christopoulos (firstname.lastname@example.org)|
|Binaries||Click for intel and sparc binaries with libXpm static compiled. Download them, make them executable (chmod +x file) and run them. These binaries are not often updated.|
|xgrk on freshmeat||The freshmeat entry|