Re: Reading RTF files
Ehud Karni wrote: I use `catdoc' which works quiet good (for both *doc and *rtf). `catdoc' is available as a package for Centos and Debian. Here is a script I use: catdoc -d8859-8 $1 | \ fribidi --charset ISO8859-8 --width 90 --rtl ${1}_h_txt nohup xmessage \ -background yellow -foreground Black -center\ -file ${1}_h_txt -title $1 -xrm $1.Scroll:whenNeeded \ -font -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-8 \ -buttons $SPC E x i t $SPC ס י ו ם $SPC /dev/null sleep 1# allow xmessage to start rm ${1}_h_txt# remove if not used Ehud. Ehud: Thanks for the tip, but I can't get any sensible output. I ran: catdoc -a -d8859-8 invoice150711.rtf | fribidi --charset ISO8859-8 --width=80 --rtl and I get 188 empty lines. :-( Am I missing something? Regards, Micha -- Ehud Karni Tel: +972-3-7966-561 /\ Mivtach - Simon Fax: +972-3-7976-561 \ / ASCII Ribbon Campaign Insurance agencies (USA) voice mail and X Against HTML Mail http://www.mvs.co.il FAX: 1-815-5509341 / \ GnuPG: 98EA398D http://www.keyserver.net/Better Safe Than Sorry This mail was received via Mail-SeCure System. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: [SOLVED] Dual screens / keyboard layout
Hi, Do you mean multiseat? There is a nice howto about that: http://netpatia.blogspot.com/2009/06/multiseat-in-ubuntu-904.html It works good enough here with two USB keyboards and two USB mouses. -- Arie On Fri, Jul 10, 2009 at 01:15, Aviram Jenik avi...@jenik.com wrote: On Wednesday 20 May 2009 15:33:48 Aviram Jenik wrote: Second question: When I connect a USB keyboard it does not have the correct layout. I need to go to the keyboard layout and hit 'apply' for it to enforce the layout on the USB keyboard as well. Since xorg.conf is now pase', does anyone know how to solve this issue? Answering my own question. This appears to be a known bug: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/376592 The workaround is to modify the console-setup variables that are read by /usr/lib/hal/debian-setup-keyboard (the script that runs when a USB keyboard is plugged in). Change: /etc/default/console-setup and modify the XKBLAYOUT line to read: XKBLAYOUT=us,il - Aviram ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: [SOLVED] Dual screens / keyboard layout
On Friday 10 July 2009 05:09:08 Arie Skliarouk wrote: Hi, Do you mean multiseat? There is a nice howto about that: http://netpatia.blogspot.com/2009/06/multiseat-in-ubuntu-904.html It works good enough here with two USB keyboards and two USB mouses. No. was talking about how connecting a USB keyboard to a laptop (while gnome is running) deletes the keyboard layout, and for example loses the Hebrew-switching hotkeys. It's apparently a known bug in xorg: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/376592 -- Arie - Aviram ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il