Comments (22)
@IsmaelMartinez perfect, thanks! That worked a treat. Would be nice to be able to get this into the Arch Linux package but I can make do with this solution for now, cheers!
from teams-for-linux.
Hi @jsteel44 ,
That will be very helpful indeed.
You can probably implement this by using this module https://github.com/electron-userland/electron-spellchecker.
It doesn't look that tricky but currently I have not time for improvements. Give it a try and see if you can get it to work. I will review it and I am happy to help.
Its only me and many of you so any help is more than welcome!
Thanks!
from teams-for-linux.
Seems like that page that I put before is a bit of a dead page.
I am trying to add it in the spellchecker branch using this fork https://github.com/ccnokes/electron-spellchecker-fork and seems to be working. I might add yet another option to enable/disable it.
I will let you know once is out there. thanks for the suggestion!
from teams-for-linux.
Seems like this is bigger than expected. I am giving it a try to introduce a basic version of it, but, if proves to be to complex, it might drop to the wonfix category.
from teams-for-linux.
This should be ready for the next release 0.1.11. This is hoped to be release fairly soon.
from teams-for-linux.
OK great thank you!
from teams-for-linux.
Hi @jsteel44 ,
Version 0.1.11 is ready (pre-release) and should have cover this issue. Can you test it and reopen if is not the case?
Thanks,
Ismael
from teams-for-linux.
@IsmaelMartinez I'm not sure how to reopen this but I've just tried 0.1.11 and it doesn't seem to be highlighting misspelt words. Is there a trick to get it going or a new dependency? Thanks
from teams-for-linux.
Hi, that library that I am using only support en_US (America 1st and all that stuff...).
The way of making it work will be to add the dictionary to the package manually. This is not feasible.
Node-spellchecker has those 2 issues that are related to atom/node-spellchecker#54 and atom/node-spellchecker#51
In theory, and ideally, electron should pick up the dictionaries from hunspell that you got installed in your system as explain in here: https://github.com/atom/spell-check#debian-ubuntu-and-mint but that doesn't work because of the 2 issues that I mentioned before.
I will update the release notes indicating only US at the moment.
from teams-for-linux.
I have added a "request" to an old issue https://github.com/mixmaxhq/electron-spell-check-provider/issues/17 in the electron-spell-check-provider and asked in the pull request from atom/node-spellchecker... I can't do anymore at this moment in time. Ta
from teams-for-linux.
@IsmaelMartinez does that mean with hunspell-en_US installed and I run "LANG=en_US.UTF-8 teams-for-linux" it should work? As it doesn't for me. Having the US spell checker would be better than nothing. Were you able to get it working? Thanks
from teams-for-linux.
I had it working from source code. It might not be working on the packaged version. I saw something that might be related in the node-spellcheck repo.
I am afraid I will mark this as "won't fix" at least until I get more clarity from the upstream projects.
Sorry about that. If you run it from source you can add your dictionaris fairly easily (copy or simbolic link). But that is dirty.
I can explain how to if you are "ready". Otherwise I will park it until electron implements their part
from teams-for-linux.
OK sure, yes how would I add my own (where does the symlink need to be and point to)? Thanks
from teams-for-linux.
Hi @jsteel44 ,
I added some info in the main README.md. Basically the following:
In short, node_spellchecker only ships with en_US dictionary.
As a work around, only valid when running from source, you can enable the use of local dictionaries by following the next steps:
- Install hunspell and your locale dictionary as indicates in this link https://github.com/atom/spell-check#debian-ubuntu-and-mint
- Run the following commands from the root of the app (where this README.md file is located)
mv node_modules/spellchecker/vendor/hunspell_dictionaries node_modules/spellchecker/vendor/hunspell_dictionaries.old
mv the en_US dictionaries to another location.ln -s /usr/share/hunspell/ node_modules/spellchecker/vendor/hunspell_dictionaries
create a simbolic link to the hunspell dictionaries. Note, I am using the default location for hunspell.
Starting the app with yarn start
, and if you have your system configured with the right dictionaries and locale, you should be able to see the spellchecker working.
Unfortunately, at this moment in time it is not possible to use local dictionaries with the packaged app. Fixing issue 51 in node-spellchecker should solve this issue.
Let me know how you get on but I will not spend more time at the moment on this.
Thanks
from teams-for-linux.
Glad to heard it worked. Hopefully once electron 4 is out someone form that area can fix that part. I suspect they are fairly busy at the moment with the big release.
I will keep an eye on what happens and/or push a fix at some point in early next year if I see no movement.
from teams-for-linux.
I have version 0.4.0 now and would like to know if there is an option to disable spell checker.
@IsmaelMartinez Is it possible?
from teams-for-linux.
you can disable the rightClickWithSpellcheck. That includes the right click menu.
More info here:
https://github.com/IsmaelMartinez/teams-for-linux/tree/develop/app/config
from teams-for-linux.
Thank you so much, I didn't realize that I should pass =false
, I did it without 😉.
Really appreciate this great project!
from teams-for-linux.
you can disable the rightClickWithSpellcheck. That includes the right click menu.
More info here: https://github.com/IsmaelMartinez/teams-for-linux/tree/develop/app/config
hello, any option to disable spell check completely? i'm using 1.0.20 appimage and it just doesn't work well the spellchecker.
it seems you right click on the text field and it does nothing.
i tried with and without --rightClickWithSpellcheck=false and with or without modifying config.json
_
i remember there was an option within Teams Settings that would apply to spell check, but it doesn't appaar anymore (maybe MS removed it?)
_
more info: there is this file which can be edited but i'm not sure what it should go inside, it is not documented.
teams-for-linux/Preferences
i tried:
{"spellcheck":false}
but it doesn't work.
by default, it says spellcheck {dictionary: en Us and so on.
_
I just want to disable completely.
from teams-for-linux.
from teams-for-linux.
That is strange. The config option is clearly that one. I wonder if the config option is just not working and or loading too late. Can you build from source and put a few console.log messages in? I am in MacOs and can't be considered representative. Apologies. Also maybe try with a space instead of = (but I think is =). I can see in the browser/index.js the following if statement:
if (config.rightClickWithSpellcheck) {
…
On Sat, 12 Mar 2022, 20:04 alfredoivan, @.> wrote: you can disable the rightClickWithSpellcheck. That includes the right click menu. More info here: https://github.com/IsmaelMartinez/teams-for-linux/tree/develop/app/config hello, any option to disable spell check completely? i'm using 1.0.20 appimage and it just doesn't work well the spellchecker. it seems you right click on the text field and it does nothing. i tried with and without --rightClickWithSpellcheck=false and with or without modifying config.json — Reply to this email directly, view it on GitHub <#28 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADJHECG35BKJB52VAWED6TU7T2DXANCNFSM4GJNMO5A . You are receiving this because you were mentioned.Message ID: @.>
i check and come back to you.
Maybe being AppImage makes it slightly different.
Also i want to test latest appimage but i am unable to right now.
from teams-for-linux.
More information about the "cannot deactivate spell check" issue:
program version:
teams-for-linux-1.0.24.AppImage
command line arguments:
"--rightClickWithSpellcheck=true"
configFile = { closeAppOnCross: false, rightClickWithSpellcheck: true }
With this configuration, right click does nothing.
Also MS Teams options doesn't allow activate / deactivate spell check:
_
Other test scenario:
program version:
teams-for-linux-1.0.24.AppImage
command line arguments:
"--rightClickWithSpellcheck=false"
configFile = { closeAppOnCross: false, rightClickWithSpellcheck: false }
Result: same behaviour, right click does nothing .
Also MS Teams options doesn't allow activate / deactivate spell check:
_
I know for sure the config file is being read because of debug info on terminal, and because "closeAppOnCross" works properly (if i put true: it works as expected).
from teams-for-linux.
Related Issues (20)
- Cannot see the second step of MFA authentication anymore HOT 5
- Flatpak package crashes on startup HOT 8
- Missing "Meeting started" notifications
- Teams debian package does not start on Debian 11 since Version 1.3.13 HOT 8
- Crash when maximize on Wayland HOT 2
- Inhibit keyboard shortcuts (via command line flag?) HOT 2
- Zoom setting does not persist between app restarts
- Exception when running second ringer script HOT 2
- Ctrl+click to open external link freezes teams main window HOT 7
- "Stay connected" doesn't work HOT 7
- Can you please sign in again? HOT 2
- Does not start any more HOT 1
- For some time now, you no longer see any notifications under KDE/Plasma HOT 2
- quick suggestion re ubuntu install HOT 1
- Desktop Notification for incoming call not working - Ubuntu 22.04.3/GNOME 42.9/X11 HOT 3
- Property name failed HOT 3
- teams for linux 1.3.27 does not start HOT 9
- Cropped screensharing of windows HOT 2
- Desktop Stream wrong size HOT 1
- Activity isn't functional, moves on its own to Teams HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teams-for-linux.