On 12/21/22 15:29, John White wrote:
On Wednesday, December 21, 2022 12:16:22 PM PST Paul A. Rubin wrote:
> On 12/21/22 14:29, John White wrote:
> > Thank you Paul very much for the suggestion. It caused me to think
> > that something might be wrong with permissions. So I opened lyx in
> > root and the top tool bar shows. It only doesn't show when I open it
> > on a regular, non-root command line or from the lyx icon.
> >
> >
> > I am not sure where the system menu is. Lyx can be used without the
> > top menu bar but it will only print to one pdf version.
> >
> >
> > John
> >
> > On Wednesday, December 21, 2022 11:09:52 AM PST Paul A. Rubin wrote:
> > > On 12/19/22 14:44, John White wrote:
> > > > So I removed lyx and lyx common and reinstalled on my debian
bullfrog
> > > >
> > > > system. This is what I get now when trying to open Lyx:
> > > >
> > > > /usr/share/applications/lyx.desktop is not a readable LYX
document.
> > > >
> > > >
> > > > Any suggestions?
> > > >
> > > > John
> > >
> > > Are you launching LyX from a terminal or from the system menu.
If the
> > >
> > > menu, try editing the system menu entry. I would not be
surprised if it
> > >
> > > somehow ended up using the command "lyx /usr/share/.../lyx.desktop",
> > >
> > > which would launch LyX and try to open the desktop file as a
document.
> > >
> > > Paul
>
> John,
>
> Please bottom-post on stuff going to the list.
>
> There are two different pathologies here (likely unrelated), the missing
> top toolbar and the "not readable" error message referring to the
> desktop file. My comment about the system menu was related to the
> latter. I don't use Debian (I'm on Mint), but if you have a button that
> you use to launch a menu of available programs, that's what I mean. You
> mentioned using the command line or a "LyX icon". Do you get the error
> message both ways or just using the icon?
>
> As far as the top toolbar goes, is it actually the /top toolbar/ you are
> missing (buttons for selecting environments, creating/opening files,
> applying italics and other fun stuff) or the /menu bar/ (File menu, Edit
> menu etc.)? The subject line says toolbar but you mentioned "menu bar".
>
> Paul
Thanks again. I no longer get an error message. Lyx just opens
without the top tool bar. I think its probably the menu bar that I am
missing (the one that lets you open recent files and save a lyx file
to various pdf versions). This is pretty confusing for me. I may wait
til Christmas is over before looking into it further. Right now what
I do is email the lyx file to my secretary who can print it out fine.
John
If you want to look into it, try typing alt+T, which should open up the
Tools menu. From there, go to Preferences > Look & Feel > User
Interface. The first entry on the right is the user interface file.
Unless you've futzed with it, it probably says "default". Try browsing
to /usr/share/lyx/ui and selecting default.ui. Hopefully that will
restore the missing menu. You might also want to run "ls -l
/usr/share/lyx/ui/stdmenus.inc" in a terminal and verify that the
stdmenus.inc file is readable by other accounts besides root.
Permissions on my system are "-rw-r--r--". If the last "r" is missing,
that might (or might not) explain why root gets the menus and you don't.
Paul
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users