brunofin / cohesion

Notion client for Linux
https://flathub.org/apps/details/io.github.brunofin.Cohesion
MIT License
22 stars 0 forks source link

Is there a way to disable spell check? #8

Closed wokawoka closed 2 months ago

wokawoka commented 2 months ago

I'm often writing texts in languages other than English and all the text is marked and underlined in red. I couldn't find a way to disable spellcheck, and if cohesion is basically running notion in a sandboxed browser window, it would be great if there could be a way to change the spellcheck language. Thank you very much for investing your time in this very useful application

brunofin commented 2 months ago

Thanks! Happy its useful!

Apparently it is possible to disable it. I'll look into also being able to select other languages.

Leaving this for reference https://electronjs.org/docs/latest/tutorial/spellchecker

On Fri, 19 Apr 2024, 6:06 pm wokawoka, @.***> wrote:

I'm often writing texts in languages other than English and all the text is marked and underlined in red. I couldn't find a way to disable spellcheck, and if cohesion is basically running notion in a sandboxed browser window, it would be great if there could be a way to change the spellcheck language. Thank you very much for investing your time in this very useful application

— Reply to this email directly, view it on GitHub https://github.com/brunofin/cohesion/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5T7NOQ56HZ7DDBKHVZDKDY6E6IHAVCNFSM6AAAAABGPOH67CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TGMZXGA4TGMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

wokawoka commented 2 months ago

Thank you very much for your reply. I tried again to look for a setting to disable spell-check but couldn't find it in the options, both in the 'My settings' section and in the "Language & region" section. Maybe I'm missing something. Having the option to set a language other than English would be great, in the meantime could you suggest how to disable spell-check completely? Thank you again!

brunofin commented 2 months ago

I added a new CLI argument to disable spellcheck via --disable-spellcheck. You can edit your .desktop file to make it permanent. If you have it setup to start with your session, you'll probably want to edit the one at ~/.config/autostart.

In the future, I will add a menu item to disable spellcheck through the app, and to be able to select multiple languages to check spelling.

wokawoka commented 2 months ago

Great, thank you very much I am looking forward to trying the new version and the new CLI argument as soon as it will be available on flathub.

justresisting commented 1 month ago

Spellcheck is on and shows the red lines for me but when i right click on it nothing happens.

I understand that running cohesion with the argument --disable-spellcheck will turn the spellcheck off but what if I want to use the spellcheck feature?

Am I missing something super obvious?

Didn't want to open a new issue just to ask a dumb question, also wanted to let you know that cohesion has really been a great boost to using Notion on Linux, thank you for making it!!!