Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm setting conky and I'd like to add the usb space, I use:

$font${color DimGray}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}

for the full hdd, what should I write as path for USB?

share|improve this question
up vote 2 down vote accepted

It should be:

${fs_used /media/Name_You_See} / ${fs_size /media/Name_You_See}

Or, if you use udisks2:

${fs_used /run/media/User/Name_You_See} / ${fs_size /run/media/User/Name_You_See}

Also consider ${if_existing /media/Name_You_See} to check if path exists (which means it's mounted, not accurate but useful)

share|improve this answer
Thank you!!! :D – AlessioMTX Dec 31 '12 at 9:55
But I had lots of bugs :\ the solution however is correct – AlessioMTX Jan 12 '13 at 14:44
@AlessioMTX you could create a script to show all of them with execpi, but what's the bug? – warl0ck Jan 13 '13 at 0:25
The space of USB and sometimes don't read USB – AlessioMTX Jan 14 '13 at 12:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.