Newbie - where's th...
 
Notifications
Clear all

Newbie - where's the desktopinfo.ini file?

4 Posts
2 Users
1 Reactions
241 Views
Blue88ns
(@blue88ns)
Eminent Member Registered
Joined: 4 weeks ago
Posts: 12
Topic starter  

Hi,

I downloaded the program and started reading the manual. The first thing I wanted to know is how to configure the program. Firstly there is no desktopinfo.ini file to configure or Configuration item in the right click context menu as described in the included manual on Page 8.

Help appreciated.


   
Quote
Glenn
(@glenn)
Member Admin
Joined: 6 years ago
Posts: 1264
 

Hah!  I might have got too clever by using a default internal config if it can't find one. It no longer gives you an actual starting config file.  You can either start by copying one of the examples from the "sample-config" folder or copy and paste the following into desktopinfo.ini using notepad.

 

[options]
top=0
right=0
width=340
font-face=Arial
font-size=10
log=desktopinfo.log
log-level=debugonerror

[screen-saver]
font-face=Arial
font-size=16
centerv=1
centerh=1
[options-w]
top=100
centerh=1
width=340
font-face=Arial
font-size=10
log=desktopinfo.log
log-level=debugonerror

[text]
noresults=<n/a>
error=[error]
null-result=<null>
unknown=Unknown
executing=<executing>
menu-ini=Select Config
menu-export=Export
menu-reload=Reload
menu-configuration=Edit Configuration
menu-log=Open Log File
menu-manual=Read Manual
menu-wmode=Start W Mode
menu-about=About Desktop Info
menu-quit=Quit
nav-previous=Previous Page
nav-home=Home Page
nav-next=Next Page

[items]
COMMENT=style:w,font-face:Comic Sans MS,font-size:120%,text:Desktop Info by Glenn Delahoy
CPU=interval:3,chart:line max:100 series1:1 color1:00ff00 series2:2 color2:bb00bb,alarms:(%1 ge 80 0000ff)(%2 ge 40 0000ff),display:Tot: %1[2.0f]%\, Krnl: %2[2.0f]%\, Q: %3
WMI=interval:5,hide-no-result:1,text:Cpu Temp,namespace:root\wmi,query:MSAcpi_ThermalZoneTemperature,display: {{%CurrentTemperature%/10-273.15}}[1.0f]C / {{%CriticalTripPoint%/10-273.15}}[1.0f]C
TOPPROCESSCPU=interval:10,font-size:80%,text:Top Cpu,display:%1 (pid:%2) %3[1.1f]%
COMMENT=font-size:50%
PHYSICALRAM=interval:20,font-size:120%,color:b0ffb0,alarms:(%3 ge 80 0000FF),display:%1[3.1b]B / %2[3.1b]B
TOPPROCESSMEM=interval:10,font-size:80%,color:b0ffb0,counter:pu,text:Top Memory,display:%1 (pid:%2) %3[1.1b]B
PAGEFAULTS=interval:10,color:b0ffb0,font-size:100%,alarms:(%5 le 80 2222e0),display:Tot: %1\, Hrd: %2\, Hit: %5%
COMMENT=font-size:50%
WMI=interval:3,hide-no-result:1,color:60e8ff,font-size:90%,chart:line scale:log series1:1 color1:00ff00 series2:2 color2:bb00bb,alarms:(%1 ge 4000000 2222ee)(%2 ge 4000000 1010f0),text:Wifi Traffic,namespace:root\cimv2,query:Win32_PerfFormattedData_Tcpip_NetworkInterface where Name like "%Atheros AR9285%",display:R: %BytesReceivedPersec%[3.1b]Bps\, S: %BytesSentPersec%[3.1b]Bps
WMI=interval:3,hide-no-result:1,color:60e8ff,font-size:90%,chart:line scale:log series1:1 color1:00ff00 series2:2 color2:bb00bb,alarms:(%1 ge 4000000 2222ee)(%2 ge 4000000 1010f0),text:Ethernet Traffic,namespace:root\cimv2,query:Win32_PerfFormattedData_Tcpip_NetworkInterface where Name like "%Ethernet%" and CurrentBandwidth>0,display:R: %BytesReceivedPersec%[3.1b]Bps\, S: %BytesSentPersec%[3.1b]Bps
COMMENT=font-size:50%
LOGICALDRIVES=interval:5,diskio:1,font-size:85%,chart:bar max:100 series1:7 threshold:75,alarms:(%11 ge 10000000 0000f0)(%13 ge 10000000 0060f0),row-text:Drive %1:%3|(%2),display:%6[1.0B]B / %5[1.0B]B|%chart%| r: %11[1.1B]B/s\, w: %13[1.1B]B/s\, q: %17
 

   
ReplyQuote
Blue88ns
(@blue88ns)
Eminent Member Registered
Joined: 4 weeks ago
Posts: 12
Topic starter  

@glenn Hey thanks for the quick reply 🙂

Awesome program!


   
Glenn reacted
ReplyQuote
Glenn
(@glenn)
Member Admin
Joined: 6 years ago
Posts: 1264
 

I can't remember why I stopped writing out the default desktopinfo.ini when it couldn't find one or if i just forgot to put it back in when i rewrote that routine.

I seem to recall an issue when running in a read-only context. I'll set it so it fails gracefully if it can't write out the default ini for any reason.


   
ReplyQuote
Glenn's Page