Hi dear community,
I am using GTK 3+ for my embedded device . I want to store some files from my internal memory to the USB device. The USB must be select-able from the UI. I have came across gtk file chooser widget for folder selection. But this opens as a popup which enables the user t explore device folders. I dont want the user to see the folders. Is there an special widgets that shows only the list of USB connected or can this be done in any other way?
I tried to hard code pendrive as /media/sda1 but when I remove and insert pendrive again, it gets mounted as /media/sdb1 and next time as /media/sdc1 and so. So hard coding pendrive location is not at all possible.
HI @lb90,
Thanks for such a fast response. How to get the pendrive’s mount point like “/media/sda1” with G_volume monitor so that I can simply use this as directory to copy my folder? Examples will be very useful as I am new to this.
Regards,
Nishanth
Hi @lb90, I tried this but unfortunately I am not able to get the work done. Can you please share any link of example so that I can get to know some basics about this as I am new to this one.
Thanks for your time.
Regards