Linux 屏幕上的 Flash 字符
我有一个基于内核 2.6 的 XFCE 4.6。 有没有一种快速简便的方法可以让消息在屏幕上闪烁几秒钟?
我的 Thinkpad T60 有 3 个音量按钮(上、下、静音)。 当我按下按钮时,我想在屏幕上闪烁音量一秒钟。 用Python可以完成吗?
I have a XFCE 4.6 on kernel 2.6. Is there a quick and easy way to flash a message on the screen for a few seconds?
My Thinkpad T60 has 3 volume buttons (up, down, mute). When I pressed the buttons, I would like to flash the volume on the screen for a second on screen. Can it be done with Python?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
notification-daemon-xfce 允许 libnotify 客户端在 XFCE 中显示简短消息。 libnotify 有 Python 绑定 可用。
作为一个未经测试的例子,
notification-daemon-xfce allows libnotify clients to show brief messages in XFCE. libnotify has Python bindings available.
As an untested example,
最快的解决方案是从命令行使用 notification-send (通常在 libnotify-bin 包中提供)
The quickest solution is to use notify-send (provided typically in package libnotify-bin) from the command line