I downloaded Elementary 3.0 skin from Deviant and how to add a second disk to the system? It shows only how much free space on disk D, but I don’t have a C drive at all. How to configure what would both the C and D disks show
https://www.deviantart.com/flyinghyrax/art/Elementary-3-0-426588102
It is currently March 28th, 2024, 8:13 pm
Disk tuning
-
- Posts: 1
- Joined: February 16th, 2019, 4:35 pm
-
- Rainmeter Sage
- Posts: 7026
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Disk tuning
Edit C:\Users\[your username]\Documents\Rainmeter\Skins\Elementary\System\shared.inc and replace with:
in the corresponding section (i.e. [Variables]) and then add:
right after the [msrDrive] section.
Then, in the system-h.ini file from the same folder, add:
right after the [mtrDrive] section.
Likewise, in the system-v.ini file from the same folder, add:
right after the [mtrDrive] section.
Save all the modified files by overwriting the originals, and then Refresh the System skin. That's all.
Basically, just copy-paste and making additional measures/meters for the D: drive. You can repeat the process accordingly for any additional drives you want to monitor.
Code: Select all
drive=C:
drive2=D:
Code: Select all
[msrDrive2]
Measure=FreeDiskSpace
Drive=#drive2#
InvertMeasure=#showUsedDisk#
UpdateDivider=10
Then, in the system-h.ini file from the same folder, add:
Code: Select all
[mtrDrive2]
Meter=STRING
MeasureName=msrDrive2
MeterStyle=allString | subString
X=150r
Y=0
Percentual=1
Text="#drive2#\ %1%"
Likewise, in the system-v.ini file from the same folder, add:
Code: Select all
[mtrDrive2]
Meter=STRING
MeasureName=msrDrive2
MeterStyle=allString | subString
X=0
Y=5R
AutoScale=1
NumOfDecimals=0
Text="#drive2#\ %1"
Save all the modified files by overwriting the originals, and then Refresh the System skin. That's all.
Basically, just copy-paste and making additional measures/meters for the D: drive. You can repeat the process accordingly for any additional drives you want to monitor.
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Disk tuning
It's not absolutely necessary to add this section after [msrDrive]. It can be added anywhere. In case of meters there are two things which has to be taken into account: their position if they are positioned relative to each other and the drawing order (which meter to overlap which one). But in case of measures, they can be used in any order (here also are some exceptions, but not the case here).Yincognito wrote: ↑February 16th, 2019, 5:58 pm then add:right after the [msrDrive] section.Code: Select all
[msrDrive2] Measure=FreeDiskSpace Drive=#drive2# InvertMeasure=#showUsedDisk# UpdateDivider=10
-
- Rainmeter Sage
- Posts: 7026
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Disk tuning
Agreed. Just wanted to make things easier to do, for someone less familarized with Rainmeter. And to avoid minor follow-up questions like "where do I put this?" and such.balala wrote: ↑February 16th, 2019, 6:30 pm It's not absolutely necessary to add this section after [msrDrive]. It can be added anywhere. In case of meters there are two things which has to be taken into account: their position if they are positioned relative to each other and the drawing order (which meter to overlap which one). But in case of measures, they can be used in any order (here also are some exceptions, but not the case here).
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Disk tuning
Yes, probably you're right with this. Sometimes I forget how is when you don't know where to put some newly added sections. As such, reading your reply, I felt I have to intervene, to clarify this. Sorry...Yincognito wrote: ↑February 16th, 2019, 6:43 pm Agreed. Just wanted to make things easier to do, for someone less familarized with Rainmeter. And to avoid minor follow-up questions like "where do I put this?" and such.
-
- Rainmeter Sage
- Posts: 7026
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Disk tuning
No need to justify yourself - you were correct in what you said. But yeah, you have to take practical considerations when giving an advice, according to how much the OP knows about the things you mention. Plus, writing the related measures and meters next to one another improves the clarity of the code, since you find all the related things in the same place in the file.
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Disk tuning
Yincognito wrote: ↑February 16th, 2019, 7:00 pm No need to justify yourself - you were correct in what you said. But yeah, you have to take practical considerations when giving an advice, according to how much the OP knows about the things you mention. Plus, writing the related measures and meters next to one another improves the clarity of the code, since you find all the related things in the same place in the file.