Open Padre2 opened 4 years ago
Hi @Padre2 - unfortunately it's not possible to get rid of the warning about Nemo support without patching Nemo. It does have Nemo support, which Nemo does then realise when it checks through the theme, but it's not on a very short hard-coded list of themes that Nemo knows for sure have support - https://github.com/linuxmint/nemo/blob/master/src/nemo-application.c#L242
The Cinnamon warning: Log level 128: posix_spawn avoided (automatic reaping requested) (fd close requested)
warnings are not theme related. See https://github.com/linuxmint/cinnamon/issues/9322 - it's just an informational warning.
@smurphos Hi, Thank you for your reply with the links. This cinnamox-rhino theme is great for my desktop and despite the warning seems to work well with nemo.
As a relative newcomer to Linux, I try to find the causes of any warnings. I opened the nemo-application.c file and saw the lines that check theme compatibility. You refer to a very short hard-coded list of themes that Nemo knows for sure have support, where is this list located? As an exercise, I am curious as to how, or where you would make a patch to prevent the warning.
Regarding the Cinnamon warning: Log level 128: posix_spawn avoided (automatic reaping requested) (fd close requested)
,
I have noted that these usually appear immediately after the loading of an applet, desklet, or extension, so when these appeared immediately following the loading of the theme, I assumed that it was because of the first non-support warning.
I have this issue too .xsession-errors making hard to debug other apps. Cinnamon 4.6.6. Would be nice to get patch.
@Padre2 -the hard-coded list of themes is defined in nemo's source code here https://github.com/linuxmint/nemo/blob/master/src/nemo-application.c#L242 .
If the GTK / Controls theme's name includes the words mint, numix or arc (not case sensitive) nemo assumes it's got support and the message isn't produced. For every other theme name the message is produced and then nemo scans the theme to see if it includes style-classes specific to nemo. If it does all is well. If it doesn't nemo then enforces some mandatory theming and a further message is produced e.g. with the Adwaita theme you'll see this
** (nemo:505523): WARNING **: 19:15:13.246: Current gtk theme is not known to have nemo support (Adwaita) - checking...
** (nemo:505523): WARNING **: 19:15:13.291: The theme appears to have no nemo support. Adding some...
@smurphos Sorry, it took two attempts before I realized that the very short hard-coded list of themes was in the lines 243-245 I have been unable to locate the file nemo-application.c on my computer. Where is is located?