0

I am newbie to linux and qt .

I want to get notify when usb get inserted and removed .

How to do it ?

Ashish
  • 8,441
  • 12
  • 55
  • 92

2 Answers2

2

This sounds like a job for DBus. I also think this answer could be of use to you.

Community
  • 1
  • 1
gspr
  • 11,144
  • 3
  • 41
  • 74
0

There was a similar question. Take a look here. Maybe it can help. Btw. Since you are a newbie, I would suggest to avoid DBus if possible, as usually it is a pain in the ass.

Community
  • 1
  • 1
ZolaKt
  • 4,683
  • 8
  • 43
  • 66