On 2008-02-01, Jean-Marc Lasgouttes wrote: > Mark Summerfield <[EMAIL PROTECTED]> writes: > > I wish there was a Preference option for this. A minority of people > > simply cannot work with software that blinks > > (http://www.jurta.org/prog/noblink.en.html). > > On this page I see: > > KDE and Qt applications > > In KDE applications the cursor blink rate is not set by KDE, but by the > underlying Qt libraries. To change it, perform the following steps: > > 1. start qtconfig > 2. on the "Interface" tab either > 1. set "Cursor Flash Time" to "0ms" > 2. or scroll down to "No blinking" value > 3. Save config > > IOW: > > qtconfig -> Interface -> CursorFlashTime -> 0 > > This puts the following line in ~/.qt/qtrc: > > [General] > cursorFlashTime=0 > > We should make sure that LyX honors this setting.
I hope that you do. For Qt 4 the configuration file is ~/.config/Trolltech.conf. Mine begins like this: [Qt] cursorFlashTime=0 I added this manually, but I think Qt 4's qtconfig can do it too. On Windows, Qt picks up the value the user set in the control panel (which allows blinking to be switched off; I think in the keyboard settings). But you don't have to read this setting yourself! QApplication reads the config file on Linux or the Windows settings at startup, so Qt knows the user's preferred blink rate. To find out what that is (or to get the default rate if the user hasn't specified), call QApplication::cursorFlashTime() on any platform---that'll give you the required blink rate in milliseconds, with 0 meaning no blinking of course:-) -- Mark Summerfield, Qtrac Ltd., www.qtrac.eu