Re: Preventing screensaver when playing movie?
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
On út 26. února 2008, Erik wrote:> Dotan Cohen skrev:> > On 26/02/2008, Harald Braumann <harry@xxxxxxxxxx> wrote:> >> > How can the media player achieve this with xorg?> >>> >> AFAIK xine sends fake shift key press events. I guess this is the> >> safest way of fooling any programme that tries to do something after an> >> inactivity time-out.>> I have looked at XTestFakeKeyEvent. Is that what xine is using? Presumably. > > That could be problematic with Sticky Keys users, like myself. I> > might just hit Enter in an email, and have it registered as> > Shift-Enter and therefore sent, when I do not want that.>> Is there a safe key to send? Or some even better way? I want it to be> implement as an API call in SDL, so that all SDL programs can use it. It> is not a good idea to depend on KDE or GNOME since SDL depends on X11> but not KDE or GNOME. I'm not aware of any universal way that'd work everywhere. There have been some discussions about this on the xdg list, but without any real result AFAIK. The best right now should be suspending both the internal X screensaver and DPMS (since you should to do that anyway, if you run without any screensaver program), the KDE screensaver should not activate if either of these two is suspended, I don't know about others. -- Lubos LunakKDE developer--------------------------------------------------------------SUSE LINUX, s.r.o. e-mail: l.lunak@xxxxxxx , l.lunak@xxxxxxxxxxxxxxxxx 1060/12 tel: +420 284 028 972190 00 Prague 9 fax: +420 284 028 951Czech Republic http//www.suse.cz_______________________________________________xorg mailing listxorg@xxxxxxxxxxxxxxxxxxxxxxxxx://lists.freedesktop.org/mailman/listinfo/xorg
[X Forum] [Devices] [XFree86] [XFree86 Newbie] [Site Home] [IETF Annouce] [Security] [Fontconfig] [Bugtraq] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Video for Linux] [Linux RAID] [Linux Resources]