It is currently March 29th, 2024, 2:03 am

Show more drives in Gnometer & Gmail issues

Get help with creating, editing & fixing problems with skins
zorrofox
Posts: 8
Joined: April 24th, 2010, 8:34 am

Show more drives in Gnometer & Gmail issues

Post by zorrofox »

Sorry to be a pain folks. Gnometer by default allows me to monitor up to four hard drives, which is cool. Thing is I have eight hard drives hooked up - is there a way to make Gnometer show all eight drives?

Also, I've configured it to allow access to my Gmail account and I can certainly click on the icon to open Firefox & access the Gmail page but I thought it would be possible to show the mail headers and I can't seem to make that happen. Any ideas?
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: Show more drives in Gnometer & Gmail issues

Post by Chewtoy »

If you open up the ini-file of "4 Disks" you'll see a pettern of how the skin is constructed.
If you follow that pattern and add the needed variables, you should end up with something that you wanted.
Just make sure you don't have some variable-mixup.
I don't think, therefore I'm not.
zorrofox
Posts: 8
Joined: April 24th, 2010, 8:34 am

Re: Show more drives in Gnometer & Gmail issues

Post by zorrofox »

Thanks for the advice. I've followed it by opening up the .ini file and copying & pasting it along with the new info for each relevant drive. I've then saved each file with the appropriate name to the skin folder. I've restarted Rainmeter and... it still doesn't work. The only thing I haven't done is to create new "popup" .ini files as I don't intend to use them anyway. Is this what I'm doing wrong? Do I need to have the seperate "popup" .ini file whether I intend to use it or not?

As you can tell I'm completely new to all this so I do appreciate the help.

Gordon.
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: Show more drives in Gnometer & Gmail issues

Post by Chewtoy »

Code: Select all

[Rainmeter]
Author=poiru
AppVersion=1002000
Update=1000
MouseActionCursor=0
MiddleMouseDownAction=!RainmeterDeactivateConfig
BackgroundMode=1

[Metadata]
Name=Gnometer: Disk
Config=Gnometer | Disk
Description=Shows information about disk usage
Version=1.0.0
Tags=Disk
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0

[Variables]
@Include=..\SETTINGS\Variables.inc

1=C:\
2=D:\
3=E:\
4=H:\
5=C:\
6=D:\
7=E:\
8=H:\

; MEASURES

[MeasureDisk1]
Measure=FreeDiskSpace
InvertMeasure=1
Drive=#1#
UpdateDivider=120

[MeasureDisk2]
Measure=FreeDiskSpace
InvertMeasure=1
Drive=#2#
UpdateDivider=120

[MeasureDisk3]
Measure=FreeDiskSpace
InvertMeasure=1
Drive=#3#
UpdateDivider=120

[MeasureDisk4]
Measure=FreeDiskSpace
InvertMeasure=1
Drive=#4#
UpdateDivider=120

[MeasureDisk5]
Measure=FreeDiskSpace
InvertMeasure=1
Drive=#5#
UpdateDivider=120

[MeasureDisk6]
Measure=FreeDiskSpace
InvertMeasure=1
Drive=#6#
UpdateDivider=120

[MeasureDisk7]
Measure=FreeDiskSpace
InvertMeasure=1
Drive=#7#
UpdateDivider=120

[MeasureDisk8]
Measure=FreeDiskSpace
InvertMeasure=1
Drive=#8#
UpdateDivider=120

; STYLES

@Include2=..\SETTINGS\style#Style#.inc

[PopupStyle]
Hidden=0

[TextLeftStyle]
Hidden=0

[TextRightStyle]
Postfix=%
Percentual=1
Hidden=0

[SeperatorStyle]
Hidden=0

; METERS

[Line]
Meter=IMAGE
MeterStyle=LineStyle

[Icon]
Meter=IMAGE
MeterStyle=IconStyle
ImageName=Disk.png
LeftMouseUpAction=!Execute ["#1#"]
MouseActionCursor=1

[Title]
Meter=STRING
MeterStyle=TitleStyle
Text="Drives"

[Subtitle]
Meter=STRING
MeterStyle=SubtitleStyle
MeasureName=MeasureDisk1
AutoScale=1
Percentual=1
Text="%1% used of #1#"

; Popup

[Popup]
Meter=IMAGE
MeterStyle=PopupStyle
H=((#h.Other#*4)+25)

; Disk

[Disk1Left]
Meter=STRING
MeterStyle=TextLeftStyle
Y=#h.Item#
Text="#1#"
LeftMouseUpAction=!Execute ["#1#"]
MouseActionCursor=1

[Disk1Right]
Meter=STRING
MeterStyle=TextRightStyle
MeasureName=MeasureDisk1

[Disk1Bar]
Meter=BAR
MeterStyle=SeperatorStyle
MeasureName=MeasureDisk1

[Disk2Left]
Meter=STRING
MeterStyle=TextLeftStyle
Y=5r
Text="#2#"
LeftMouseUpAction=!Execute ["#2#"]
MouseActionCursor=1

[Disk2Right]
Meter=STRING
MeterStyle=TextRightStyle
MeasureName=MeasureDisk2

[Disk2Bar]
Meter=BAR
MeterStyle=SeperatorStyle
MeasureName=MeasureDisk2

[Disk3Left]
Meter=STRING
MeterStyle=TextLeftStyle
Y=5r
Text="#3#"
LeftMouseUpAction=!Execute ["#3#"]
MouseActionCursor=1

[Disk3Right]
Meter=STRING
MeterStyle=TextRightStyle
MeasureName=MeasureDisk3

[Disk3Bar]
Meter=BAR
MeterStyle=SeperatorStyle
MeasureName=MeasureDisk3

[Disk4Left]
Meter=STRING
MeterStyle=TextLeftStyle
Y=5r
Text="#4#"
LeftMouseUpAction=!Execute ["#4#"]
MouseActionCursor=1

[Disk4Right]
Meter=STRING
MeterStyle=TextRightStyle
MeasureName=MeasureDisk4

[Disk4Bar]
Meter=BAR
MeterStyle=SeperatorStyle
MeasureName=MeasureDisk4

[Disk5Left]
Meter=STRING
MeterStyle=TextLeftStyle
Y=5r
Text="#5#"
LeftMouseUpAction=!Execute ["#5#"]
MouseActionCursor=1

[Disk5Right]
Meter=STRING
MeterStyle=TextRightStyle
MeasureName=MeasureDisk5

[Disk5Bar]
Meter=BAR
MeterStyle=SeperatorStyle
MeasureName=MeasureDisk5

[Disk6Left]
Meter=STRING
MeterStyle=TextLeftStyle
Y=5r
Text="#6#"
LeftMouseUpAction=!Execute ["#6#"]
MouseActionCursor=1

[Disk6Right]
Meter=STRING
MeterStyle=TextRightStyle
MeasureName=MeasureDisk6

[Disk6Bar]
Meter=BAR
MeterStyle=SeperatorStyle
MeasureName=MeasureDisk6


[Disk7Left]
Meter=STRING
MeterStyle=TextLeftStyle
Y=5r
Text="#7#"
LeftMouseUpAction=!Execute ["#7#"]
MouseActionCursor=1

[Disk7Right]
Meter=STRING
MeterStyle=TextRightStyle
MeasureName=MeasureDisk7

[Disk7Bar]
Meter=BAR
MeterStyle=SeperatorStyle
MeasureName=MeasureDisk7

[Disk8Left]
Meter=STRING
MeterStyle=TextLeftStyle
Y=5r
Text="#8#"
LeftMouseUpAction=!Execute ["#8#"]
MouseActionCursor=1

[Disk6Right]
Meter=STRING
MeterStyle=TextRightStyle
MeasureName=MeasureDisk8

[Disk8Bar]
Meter=BAR
MeterStyle=SeperatorStyle
MeasureName=MeasureDisk8

; Gap

[Gap]
Meter=IMAGE
MeterStyle=GapStyle
Works fine for me. Just make a new ini in the Gnometer\Disk folder. Copy-Paste that, decide what drives you want to show (I only got 4 so). Refresh All. Load your new 8-drive-meter skin.
I don't think, therefore I'm not.
zorrofox
Posts: 8
Joined: April 24th, 2010, 8:34 am

Re: Show more drives in Gnometer & Gmail issues

Post by zorrofox »

Well it doesn't work here. I've cheated and just copied your code from above but it still doesn't work.

See below...
poiru
Developer
Posts: 2872
Joined: April 17th, 2009, 12:18 pm

Re: Show more drives in Gnometer & Gmail issues

Post by poiru »

The changes need to be done in My Documents\Rainmeter\Skins\Gnometer (not Program Files).. ;)

Be sure to right-click -> Refresh All so that new skins will appear.
PureLoneWolf
Posts: 2
Joined: June 17th, 2010, 5:51 am

Re: Show more drives in Gnometer & Gmail issues

Post by PureLoneWolf »

Hi there

I got it to display my 9 disks, but I can't figure out where it picks up the background bars from as it doesn't seem to do it for more than 4 drives.

I am probably just missing something obvious, but if someone could help I would be grateful :)

Also, is it possible to get it to display the free space in any format other than percentages or bytes? (ideally gb)

Many thanks
9disks.jpg
You do not have the required permissions to view the files attached to this post.
poiru
Developer
Posts: 2872
Joined: April 17th, 2009, 12:18 pm

Re: Show more drives in Gnometer & Gmail issues

Post by poiru »

PureLoneWolf wrote:I got it to display my 9 disks, but I can't figure out where it picks up the background bars from as it doesn't seem to do it for more than 4 drives.
You need to change the H= value below [Popup].

For 9 items:
H=((#h.Other#*9)+50)

For 10 items:
H=((#h.Other#*10)+55)

For 11 items:
H=((#h.Other#*11)+60)

and so forth :)
PureLoneWolf wrote:Also, is it possible to get it to display the free space in any format other than percentages or bytes? (ideally gb)
FOR USED SPACE:
Change [TextRightStyle] to look like (note, if you are editing the Popup variant, use Hidden=1 instead):

Code: Select all

[TextRightStyle]
AutoScale=1
Text="%1B"
Hidden=0
Then save and refresh Rainmeter.

FOR UNUSED SPACE:
Create a new measure (do this for all disk measures):

Code: Select all

[MeasureDisk1Space]
Measure=FreeDiskSpace
Drive=#disks.Drive1#
UpdateDivider=120
Then change [TextRightStyle] to look like (note, if you are editing the Popup variant, use Hidden=1 instead):

Code: Select all

[TextRightStyle]
AutoScale=1
Text="%1B"
Hidden=0
Then find the right string meters. E.g.:

Code: Select all

[Disk1Right]
Meter=STRING
MeterStyle=TextRightStyle
MeasureName=MeasureDisk1
and add Space to the end of the MeasureName line:

Code: Select all

MeasureName=MeasureDisk1Space
Then save and refresh Rainmeter.
PureLoneWolf
Posts: 2
Joined: June 17th, 2010, 5:51 am

Re: Show more drives in Gnometer & Gmail issues

Post by PureLoneWolf »

Superb - That works exactly how I wanted

Thank you very much :) :thumbsu: