Python Forum
mpv and xdg-screensaver3.5.1-1
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mpv and xdg-screensaver3.5.1-1
#1
running Mint 18.1 kernel 4.8.0-42-generic  Python 3.5.2 tkinter 3.5.1-1
I have written a python tkinter gui which works fine as long as I don't try to add
root.overrideredirect(1)
The video plays but with it in what seems to me a strange thing happens.
If I click on one of the buttons to display a video the screen flashes but I do not see the video.
However If I launch it from a terminal I can exit the program by pressing control-C twice and I can see this
Quote:Title:What a laugh (BSL)
VO: [opengl] 640x480 yuv420p
V: 00:00:13 / 00:01:03 (20%)


Exiting... (Quit)

If I leave it for a while before closing the program I get this

Quote:Title: What a laugh (BSL)
VO: [opengl] 640x480 yuv420p
V: 00:01:02 / 00:01:03 (99%)


Exiting... (Quit)

So it is playing but nothing appears on the screen.
Can anyone help please?

It seems that xdg-screensaver returns 4  
Does anyone know how this can be resolved please
Reply
#2
I didn't mention that normally I run cinnamon but I have tried it on Mate and get the same [email protected]
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020