IBus incompatibility

2015-09-28 Thread Guillaume Munch

There is currently a serious incompatibility between LyX and IBus (the
default input method in Ubuntu and Fedora) that causes various problems:

 * The keyboard starts outputting the wrong keys

 * LyX completely and definitely stops responding

 * When using arrow keys or page up/down, the movement continues for a
long while after the key has been released.

If you have experienced these bugs and use Linux, then you may be a
victim of this incompatibility. The main trigger is a heavy system load
so it happen more often to users with long documents with which LyX is slow.

I have just found the reason to these bugs so I wanted to share the
workarounds:

 * Disable IBus just for LyX (if you don't need a special input method):
   Run LyX with the command line:
 XMODIFIERS= lyx
   or equivalently (in Ubuntu) adapt /usr/share/applications/lyx.desktop
   as follows:
 Exec=env XMODIFIERS= lyx %F

or:

 * Set IBus to synchronous system-wide (keeps IBus in LyX, but does not
   solve the third issue and causes problems with the hangul input
   method):
   Add the following line to .xsessionrc (create if needed):
 export IBUS_ENABLE_SYNC_MODE=1

Follow the bug at .



Re: El Capitain

2015-09-28 Thread Stephan Witt
Am 28.09.2015 um 22:20 schrieb Anders Host-Madsen :

> Has anyone tested out LyX with OSX El Capitain? Any issues?
> 

Yes, my installation failed to update to El Capitan GM. 
I tried it with an external drive and it never completed
the final (?) step after rebooting the system.

So, I couldn't test LyX with it.

Stephan


Re: pdfminorversion

2015-09-28 Thread Julio Rojas
Thanks Scott. It is not the best solution, but I will set it up whenever
this error appears. Maybe this could be a flag that can be easily included
in new versions of Lyx.

Regards,

-
Julio Rojas
jcredbe...@gmail.com

On Thu, Sep 24, 2015 at 11:12 PM, Scott Kostyshak  wrote:

> On Thu, Sep 24, 2015 at 05:19:53PM -0300, Julio Rojas wrote:
> > Hi Scott,
> >
> > Here you can find some references:
> >
> http://tex.stackexchange.com/questions/64448/how-to-overcome-acrobat-reader-error-131-with-a-pdflatex-doc
> >
> https://helpx.adobe.com/x-productkb/multi/error-problem-reading-document-131.html
> >
> > Last reference is from Adobe itself, but the solution is somewhat cryptic
> > as I am using Reader DC and couldn't find those menus.
> >
> > It seems that the compressed PDF will sometimes trigger this error in
> Adobe
> > Reader. I used pdftk to uncompress my file and it could be opened by
> > Reader. I also removed a couple of PDFs (created the same way as the
> > remaining in the document) and even compressed it could be opened by
> Reader.
> >
> > I use Sumatra, thus, I didn't know of this problem until I shared some
> > slides with my students who used Adobe Reader. One of them used Chrome's
> > PDF plug-in to open it, then printed it as PDF and the problem was
> removed.
> > In Ubuntu, Ocular could open it without a hassle. I don't know if Apple's
> > Preview could do it.
> >
> > I hope this info is enough to track the error.
> >
> > Regards, Julio.
> >
> > -
> > Julio Rojas
> > jcredbe...@gmail.com
>
> Thanks for the details and the references, Julio. This is great
> information to have in case someone else experiences the problem. I took
> a look at how to set /pdfminorversion=4. It seems this could be helpful:
>
> http://tex.stackexchange.com/questions/78248/how-to-force-pdfminorversion-globally
> Maybe you are hesitant to set it globally?
>
> Scott
>
> > On Thu, Sep 24, 2015 at 1:11 PM, Scott Kostyshak 
> wrote:
> >
> > > On Thu, Sep 24, 2015 at 11:11:49AM -0300, Julio Rojas wrote:
> > > > Dear all,
> > > >
> > > > I have read that in order to avoid the dreaded error 131 that Adobe
> > > Reader
> > > > shows when opening some files generated with pdfLaTeX, the
> > > > \pdfminorversion=4 flag should be added before loading Beamer. How
> can I
> > > do
> > > > this in Lyx?
> > > >
> > > > Thanks in advance. Regards,
> > > > -
> > > > Julio Rojas
> > > > jcredbe...@gmail.com
> > >
> > > Hi Julio,
> > >
> > > I have not heard about this problem. Can you give us some references?
> > > Can you reproduce it yourself? If so, I would be very curious if you
> > > could reproduce it with SumatraPDF. I am not suggesting you switch, I'm
> > > just wondering if other PDF readaers suffer from the problem.
> > > I'm also curious if there is a bug report. Does Adobe recognize there
> is
> > > a problem and intend to fix it? If you find a bug report, please give
> > > the URL.
> > >
> > > If no one else answer with a fix for setting \pdfminorversion=4, I will
> > > look into it.
> > >
> > > Best,
> > >
> > > Scott
> > >
>