On 12/22/22 16:34, John White wrote:

Paul,

I hope this bottom posted email goes.  If not perhaps I am somehow maxing out memory.


alt+T gives nothing, but perhaps something here might give you a clue as to my problem:


johwhi@whitelaw:~$ cd /usr/share/lyx/ui

johwhi@whitelaw:/usr/share/lyx/ui$ ls

default.ui stdcontext.inc  stdmenus.inc  stdtoolbars.inc

johwhi@whitelaw:/usr/share/lyx/ui$


I am attaching my default.ui file in case that shows something. It shows:


Toolbars

"standard" "on,top"

"view/update" "on,top"

"extra" "on,top,samerow"

"review" "auto,review,top"

"vcs" "off,top"

"table" "auto,table,bottom"

"math_panels" "auto,math,bottom"

"math" "auto,math,bottom"

"mathmacrotemplate" "auto,mathmacrotemplate,bottom"

"ipa" "auto,ipa,bottom"

"minibuffer" "auto,minibuffer,bottom"

"documentation" "off,top"

End


Any other suggestions are appreciated. I wonder if perhaps something might be wrong with my computer.



John


I want to make sure we are on the same page about one key thing: what you are missing is the main /menu bar/ (File menu etc.), not the top /tool bar/, correct?

The toolbars section of default.ui controls which toolbars display by default. Earlier in the default.ui file, you'll see a line saying 'Include "stdmenus.inc"'. That loads the file that controls menus, and you can see in the "ls" output that it is present in the directory.

Check that the directory ~/.lyx/ui is empty. If not, you may have a broken UI file be loaded in preference to the default one.

Assuming that's not the case, try running LyX from a terminal with the command "lyx -dbg init". There will be a pile of messages in the terminal window. In particular, you should see the following (or something very close):

frontends/qt4/GuiApplication.cpp (3058): About to read default...
frontends/qt4/GuiApplication.cpp (3108): Found default in /usr/share/lyx/ui/default.ui
frontends/qt4/GuiApplication.cpp (3058): About to read stdmenus.inc...
frontends/qt4/GuiApplication.cpp (3108): Found stdmenus.inc in /usr/share/lyx/ui/stdmenus.inc

If you don't get the message about reading stdmenus.inc, then the preceding messages may tell us something about what's broken.

Paul

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to