plyer
                                
                                 plyer copied to clipboard
                                
                                    plyer copied to clipboard
                            
                            
                            
                        timeout parameter in notifications doesn't work in windows 10
no matter what timeout=X value i put it, the notification's time on the screen is always the same, as long as it's above 5 seconds
putting a timeout=20 for example, shows the notification for about 5-6 seconds but the python interpreter is still "stuck" because it's waiting for 20 seconds to continue with the script.
if using a lower than 5 seconds as a value, it actually exists before the regular 5-6 seconds are up.
i would like to use timeout=0 and make the notification stay on screen until i closed it manually
You have to change notification time for windows from ..
start > settings > ease to access > display > Show notification for
Default time for this in windows 10 is 5 sec, so for whatever value of timeout your notification will be display only for 5 sec.
You have to change notification time for windows from ..
start > settings > ease to access > display > Show notification for
Default time for this in windows 10 is 5 sec, so for whatever value of timeout your notification will be display only for 5 sec.
It is a controllable parameter. With win10toast duration can be controlled but with plyer I had no luck either. So Windows10 allows it. The user is not has to change the duration from the windows settings.
I think it is a solvable issue. Have you ever find any useful solutions @fjleon1980 ?
@darkcurrent Windows 10 by default has a 5 seconds timeout the only way we can change it is through the windows settings:
- Go to settings
- Ease to access
- Scroll down to where it says Show notification for

However, does the timeout works for Linux and Mac OS?
Another solution is to use another module, unfortunately.
If anyone else has a solution please Let me know.
Closing as it appears to not be possible to solve.
However, if you have more information, please let us know.