I've seen things like this after an upgrade. A couple items seem to be happening.
1) The Hebrew language package is missing a file hunspell expects. Ubuntu installs a stack of languages on every upgrade, even if the original install removed them. If you need Hebrew, you might want to manually reinstall, if you have no need of Hebrew, it might be easier to remove (and purge) it.
2) It looks like the Mint-Y icon theme is missing or moved. Reinstalling the theme and/or switching to another theme, then switching back, should resolve these errors.
On 2022-09-26 10:53 AM, joe--- via PLUG-discuss wrote:
> Just did a fresh install of Mint 20.1 on one of
> my thinkpads and have a few issues to resolve:
>
> On my other computer on the command line, I can
> type: kwrite file.txt and the file opens fine.
>
> But on this new install, when I type the same,
> I see a long list of 50+ "Invalid Context" messages.
> Below is just a short example of the first dozen msgs:
>
> Why and what can fix this?
>
> joe@t460:~/bin$ kwrite file.txt
> qt5ct: using qt5ct plugin
> Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
> sonnet.plugins.hspell: HSpellDict::HSpellDict: Init failed
> qt5ct: D-Bus global menu: no
> Invalid Context= "Apps" line for icon theme: "/usr/share/icons/Mint-Y/apps/16/"
> Invalid Context= "Apps" line for icon theme: "/usr/share/icons/Mint-Y/apps/16@2x/"
> Invalid Context= "Mimetypes" line for icon theme: "/usr/share/icons/Mint-Y/mimetypes/16/"
> Invalid Context= "Mimetypes" line for icon theme: "/usr/share/icons/Mint-Y/mimetypes/16@2x/"
> Invalid Context= "Apps" line for icon theme: "/usr/share/icons/Mint-Y/apps/22/"
> Invalid Context= "Apps" line for icon theme: "/usr/share/icons/Mint-Y/apps/22@2x/"
> Invalid Context= "Apps" line for icon theme: "/usr/share/icons/Mint-Y/apps/24/"
> Invalid Context= "Apps" line for icon theme: "/usr/share/icons/Mint-Y/apps/24@2x/"
> Invalid Context= "Mimetypes" line for icon theme: "/usr/share/icons/Mint-Y/mimetypes/24/"
> Invalid Context= "Mimetypes" line for icon theme: "/usr/share/icons/Mint-Y/mimetypes/24@2x/"
> Invalid Context= "Apps" line for icon theme: "/usr/share/icons/Mint-Y/apps/32/"
> Invalid Context= "Apps" line for icon theme: "/usr/share/icons/Mint-Y/apps/32@2x/"
> [snipped]
>
> ===
> ---------------------------------------------------
> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list:
PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss