(2015-05-21, 06:05)Noctroxis Wrote: I still wanted to know how to disable mouse nofitications/notifications period in your theme. They seem to be causing weird visual artifacts on screen and can get a little intrusive.
Thank you ![Smile Smile](https://forum.kodi.tv/images/smilies/smile.png)
guisettings.xml
<setting type="bool" name="skin.bellofredo.BelloFredoFirstRun">true</setting>
Condition 1: in startup.xml
<onload condition="!Skin.HasSetting(BelloFredoFirstRun)">Skin.ToggleSetting(BelloFredoFirstRun)</onload>
Condition 2: in startup.xml
<onfocus condition="system.getbool(input.enablemouse) + !Skin.HasSetting(BelloFredoFirstRun)">ActivateWindow(1110)</onfocus>
Code:
+====================+================+=================+==================================+
| guisettings.xml | startup.xml | Result | Result |
+====================+================+=================+==================================+
| BelloFredoFirstRun | Condition 1 | Condition 1 | Condition 2 (Mouse + Not maiden) |
+====================+================+=================+==================================+
| TRUE | FAILS | No toggle | TRUE + FALSE = FALSE > No Window |
| FALSE | TRUE | Toggle to TRUE* | TRUE + TRUE = TRUE > Pop-up |
| TRUE | FAILS | No toggle | TRUE + FALSE = FALSE > No Window |
+====================+================+=================+==================================+
So, manually set the skin.bellofredo.BelloFredoFirstRun to "true" in guisettings.xml
If the toggle doesn't happen, there will be a pop-up and sometimes weird flickering.
Ensure startup.xml has the aforementioned lines = updated version.
When I had the same minor irritant before the update, I used an intro video!
<visible>!Skin.HasSetting(Use_Startup_Playlist) + !Skin.HasSetting(UseIntro)</visible>
In summary,
A) Update to the latest and B) Set the variable to true OR
C) Simply use an intro video
Hope this helps,
GK