'Exclude' drive exa...
 
Notifications
Clear all

We had a major storm through here recently and we suffered damage to the house roof and ceilings. I just received the quote to repair. I’m hoping that a small fraction of the 80,000 odd people that download SDIO and/or Desktop Info every month won’t mind chipping in a few dollars to help out. Click on the big blue button at the bottom of the page to help us keep a roof over our heads, literally!

Guests have read-only access to our forums. If you wish to participate you will need to register. Be sure to activate your account from the email sent to you when you register.

'Exclude' drive examples... OR is there a way to only show active drives??

3 Posts
2 Users
1 Reactions
98 Views
(@artphotodude)
New Member Registered
Joined: 2 weeks ago
Posts: 2
Topic starter  

Hello - am giving your cool project here a try.  After spending 15 years in Linux, am loving this on Windows!  BTW is there a way to ONLY show drives that are active?  What I mean is I have a card-reader bank that I only use for SD cards and a few of the empty docks keep showing up with nothing in them.  Can I either exclude those drive letters (I see in the manual about the 'exclude' option, but am not sure how to get it to work). 

The drive-size option also looks promising but am completely unsure how to use it as the ini populates a spaghetti-code display string that seems pretty hard to interrupt.  Where do I put these options and what is the syntax?

Thanks for any ideas!

 

P.S.  is there a way to set a margin all around the conky so if you use formcolor it extends a given distance from the block of displays?

 

Thanks Again!


   
Quote
Glenn
(@glenn)
Member Admin
Joined: 7 years ago
Posts: 1778
 

Posted by: @artphotodude

is there a way to ONLY show drives that are active? 

the manual gives an example of the exclude option. it's simply a string of letters:   exclude:FGH

alternatively you can try the drive-size option which will only include drives of a minimum size in bytes.

here is a working example from the desktopinfo-advanced.ini in the sample directory:

LOGICALDRIVES=diskio:1,font-size:85%,chart:bar max:100 series1:7 threshold:75, text-align:l, drive-size:1000, \
  alarms:(%11 ge 10000000 0000f0)(%13 ge 10000000 0000f0)(%7 ge 90 0070f0),\
  row-text:Drive %1: (%2) %3|%chart%,\
  display:%6[1.0B]B/%5[1.0B]B (%7[1.1f]% used)|  r: %11[1.1B]B/s\, w: %13[1.1B]B/s\, q: %17\, i: %19[1.1f]%

Posted by: @artphotodude

is there a way to set a margin all around the conky so if you use formcolor it extends a given distance from the block of displays?

use display-offsetx , display-offsetxr, display-offsety in the [options] section


   
ReplyQuote
(@artphotodude)
New Member Registered
Joined: 2 weeks ago
Posts: 2
Topic starter  

@glenn YOU ROCK!!! Thanks.  Will be doing donations around the first of the year to several projects and yours looks like one for sure!

 

Thanks again.


   
Glenn reacted
ReplyQuote
Glenn's Page