Re: top tool bar not available FIXED

2022-12-31 Thread John White

On Friday, December 23, 2022 1:18:00 PM PST Paul A. Rubin wrote:
> On 12/22/22 16:34, John White wrote:
> > Paul,
> > 

I have deleted most of this reply as bottom posting does not show. I email only 
to 
thank Paul for his help and to let him know that I fixed it by completely 
deleting lyx 
and reinstalling it.

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


Re: top tool bar not available FIXED

2022-12-31 Thread John White

On Friday, December 23, 2022 1:18:00 PM PST Paul A. Rubin wrote:
> 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-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: top tool bar not available

2022-12-23 Thread Paul A. Rubin

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


Re: top tool bar not available

2022-12-22 Thread John White

On Wednesday, December 21, 2022 12:47:19 PM PST Paul A. Rubin wrote:
> 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
> > > 

default.ui
Description: application/designer
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: top tool bar not available

2022-12-22 Thread John White
took out some wordage in hopes bottom post will send

> 
> 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

alt-T gives nothing.

"ls -l 
/usr/share/lyx/ui/stdmenus.inc

This is what default.ui 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

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


Re: top tool bar not available

2022-12-21 Thread John White
On Wednesday, December 21, 2022 4:26:21 PM PST John White wrote:
> On Wednesday, December 21, 2022 12:47:19 PM PST Paul A. Rubin wrote:
> > 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
> > > > -- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: top tool bar not available

2022-12-21 Thread John White
Sorry for top posting but for some reason my bottom posted comments are being 
cut-off.  
I will look into this tomorrow.

John

On Wednesday, December 21, 2022 4:26:21 PM PST John White wrote:
> On Wednesday, December 21, 2022 12:47:19 PM PST Paul A. Rubin wrote:
> > 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
> > > > -- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: top tool bar not available

2022-12-21 Thread John White

On Wednesday, December 21, 2022 12:47:19 PM PST Paul A. Rubin wrote:
> 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
> > > -- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: top tool bar not available

2022-12-21 Thread Paul A. Rubin

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


Re: top tool bar not available

2022-12-21 Thread John White

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

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


Re: top tool bar not available

2022-12-21 Thread Paul A. Rubin

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
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: top tool bar not available

2022-12-21 Thread John White
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

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


Re: top tool bar not available

2022-12-21 Thread Paul A. Rubin

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
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users