阅读背景:

我如何在Linux和Python中监听“usb设备插入”事件?

来源:互联网 

I'd like to write a Python script for Amarok in Linux to automatically copy the stackoverflow podcast to my player. When I plug in the player, it would mount the drive, copy any pending podcasts, and eject the player. How can I listen for the "plugged in" event? I have looked through hald but couldn't find a good example.I'd like to write a Python script for Amarok in




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: