LyXRestoring the default bind file in LyX

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
Marcelo
Posts: 3
Joined: Mon Oct 01, 2012 10:24 am

Restoring the default bind file in LyX

Post by Marcelo »

Hi

I'm just starting using Lyx and latex at all.

I was setting shortcuts and accidentally pressed 'reconfigure' in 'tools' menu. Then Lyx seemed to have lost a bind file associated and ignored the most typical shortcuts, like Ctrl+s for saving.

Could you tell me how to restore the default, cause I tryed many bind files and I don't have the shortcuts back?

Thanks.
M.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Restoring the default bind file in LyX

Post by scottkosty »

Marcelo wrote:Hi

I'm just starting using Lyx and latex at all.

I was setting shortcuts and accidentally pressed 'reconfigure' in 'tools' menu. Then Lyx seemed to have lost a bind file associated and ignored the most typical shortcuts, like Ctrl+s for saving.

Could you tell me how to restore the default, cause I tryed many bind files and I don't have the shortcuts back?

Thanks.
M.
Hi Marcelo, welcome to the forums!

Please always try to include your operating system version and LyX version in your questions.

First, make sure you have everything backed up. Then, you could try the following:

1. Open LyX and go to About LyX. Write down your User directory (this should be copyable in the next version).
2. Exit LyX
3. Navigate to where your User directory is and delete it (actully, just move it so that you can restore it if necessary).
4. Restart LyX

Any luck?

Scott
Marcelo
Posts: 3
Joined: Mon Oct 01, 2012 10:24 am

Re: restoring the default bind file

Post by Marcelo »

Sorry, I'm a Debian Wheezy user and my Lyx version is 2.0.3.
Your tip worked perfectly and I have my shorcuts back.

Thanks so much for the quick answer and the welcome.
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Restoring the default bind file in LyX

Post by scottkosty »

Marcelo wrote:Sorry, I'm a Debian Wheezy user and my Lyx version is 2.0.3.
Your tip worked perfectly and I have my shorcuts back.

Thanks so much for the quick answer and the welcome.
Great, thanks for confirming that it's fixed. I think you can mark this thread as solved.
Marcelo
Posts: 3
Joined: Mon Oct 01, 2012 10:24 am

Restoring the default bind file in LyX

Post by Marcelo »

scottkosty wrote: I think you can mark this thread as solved.
Sorry and thanks for pointing it out. It's been already done by someone else, isn't it? I'm just learning the rules and the interface. Next time for sure.

Best.
M.
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Restoring the default bind file in LyX

Post by scottkosty »

Marcelo wrote:
scottkosty wrote: I think you can mark this thread as solved.
Sorry and thanks for pointing it out. It's been already done by someone else, isn't it?
Yes, you're right.
Marcelo wrote:
I'm just learning the rules and the interface. Next time for sure.

Best.
M.
No need to apologize. I'm still learning the rules and the interface myself :)
laposte
Posts: 1
Joined: Wed Nov 08, 2017 11:18 pm

Restoring the default bind file in LyX

Post by laposte »

I had exactly the same problem with my Lyx 2.2 installation
Deleting the Lyx user folder solved the problem
(folder given within: help menu> about lyx, in my case ~\AppData\Roaming\LyX2.2\)
However you loose your preferences and I guess other potentially important information/settings
So finally, I have used another way:
=> I found that the issue was coming from the 'preferences' file in the above mentioned Lyx user folder
I have opened it in a text editor and I have removed the only line mentioning 'bind',
I forget exactly what was exactly this short line, but it was very obvious.
I think the problem arised after I redefined a shortcut (explaining why the preference file added something on bind and the involved shortcut)
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Restoring the default bind file in LyX

Post by scottkosty »

laposte, do you still have the old original preferences file? I would like to take a look. It's possible we can fix a bug.
Post Reply