在配置文件里添加
ontop=yes
首次播放时确实置顶了,按Shift+t(即大写的T)切换回来后无法再切换回去了
显示
Stay on top : disabled
mplayer置顶播放
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 156
- 注册时间: 2006-12-03 17:59
-
- 帖子: 156
- 注册时间: 2006-12-03 17:59
Re: mplayer置顶播放
这个问题可能是个bug 引用下面的文章
https://bugs.launchpad.net/ubuntu/+sour ... bug/267281
Binary package hint: mplayer
General Information
===================
Description: Ubuntu 8.04.1
Release: 8.04
mplayer:
Installed: 2:1.0~rc2-0ubuntu13
Description
===========
When a video is playing, the user can press 'T' to keep the mplayer window on top of all others. In Hardy Heron, I noticed that with the xv video output driver and with the x11 driver, that pressing 'T' does not correctly toggle that state. Instead, the message "Stay on top: disabled" appears in mplayer and no matter how many time the user presses on 'T', it'll stay disabled.
Starting mplayer with the -ontop command-line option does keep the window on top, but when the user presses 'T', it'll go to "Stay on top: disabled" and from there on, it is not possible to bring the window back on top of all the others.
The bug is present in the mplayer and mplayer-nogui packages, and other users of Hardy Heron have confirmed it.
https://bugs.launchpad.net/ubuntu/+sour ... bug/267281
Binary package hint: mplayer
General Information
===================
Description: Ubuntu 8.04.1
Release: 8.04
mplayer:
Installed: 2:1.0~rc2-0ubuntu13
Description
===========
When a video is playing, the user can press 'T' to keep the mplayer window on top of all others. In Hardy Heron, I noticed that with the xv video output driver and with the x11 driver, that pressing 'T' does not correctly toggle that state. Instead, the message "Stay on top: disabled" appears in mplayer and no matter how many time the user presses on 'T', it'll stay disabled.
Starting mplayer with the -ontop command-line option does keep the window on top, but when the user presses 'T', it'll go to "Stay on top: disabled" and from there on, it is not possible to bring the window back on top of all the others.
The bug is present in the mplayer and mplayer-nogui packages, and other users of Hardy Heron have confirmed it.
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
-
- 帖子: 156
- 注册时间: 2006-12-03 17:59
Re: mplayer置顶播放
什么意思?eexpress 写了:估计软件没完全按照EWMH的规则,发消息。
可以使用外部的wmctrl控制。
搜到这个参数,我的视频驱动就是x11的 按理来说应该支持的
−ontop
使得此播放器窗口位于其他窗口之上。视频输出驱动使用 X11 的, 除了 SDL, 还有使用 directx, macosx, quartz, ggi 和 gl2 的都支持此功能。