I use Desktop Info differently to achieve my desired effect!

Forums Desktop Info I use Desktop Info differently to achieve my desired effect!

Viewing 2 reply threads
  • Author
    Posts
    • #3737
      NeilJ
      Participant

      I love this utility but wasn’t keen on the split between two columns as it created a lot of white space.
      Consequently I don’t use the left column and hide it, displaying everything in the right column.
      I also use a mono-spaced font so that the data can be laid out precisely.
      This results in a layout that I prefer, although I acknowledge that it might not be to everybody’s tastes.

      Here’s the content of my ini file if you want to replicate it:

      # my layout

      [options]

      # size and position
      top=105
      left=0
      width=295
      column1width=0
      cleartype=1

      # font
      font-face=Cascadia Code
      font-size=9
      line-spacing=0

      # logging
      # log=desktopinfo.log
      # log-level=error

      # navigation buttons
      nav=0

      #misc
      desktopinfo64=1

      [items]

      # colors
      set=key:White,value:#ffffff
      set=key:Grey,value:#a0a0a0
      set=key:Cyan,value:#00ffff
      set=key:Magenta,value:#ff00ff
      set=key:Green,value:#00ff00
      set=key:Orange,value:#ffb871
      set=key:Silver,value:#c0c0c0
      set=key:Blue,value:#0000f0
      set=key:Red,value:#ff0000

      # battery status lookup table
      set=key:battery1,value:discharging
      set=key:battery2,value:charging
      set=key:battery3,value:charged

      COLOR=%White%

      # date and time
      DATETIME=text:,style:b,interval:30,font-size:24,display:%5[1.0a]:%6[2.0d]%5[2.0p]
      DATETIME=text:,style:b,interval:60,font-size:17,display:%1[dddd]
      DATETIME=text:,style:b,interval:60,font-size:14,display:%2 %3[mmmm] %4[yyyy]

      COMMENT=text:

      # host/os
      HOST=color:%Orange%,text:,interval:0
      OEMINFO=text:,interval:0,display:%2
      WMI=text:,interval:0,namespace:root\cimv2,query:Win32_OperatingSystem,display:%caption% %OSArchitecture%
      REG=value:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ReleaseId,set:releaseid,hidden:1
      OSBUILD=text:,interval:0,display:Version %releaseid% Build %1

      COMMENT=text:

      # USER=text:,interval:0,display:User: %1
      UPTIME=text:,interval:30,display:Uptime: %2 hours %3 minutes
      WMI=text:,interval:30,hide-no-result:1,namespace:root\cimv2,query:Win32_Battery,chart:bar2 scale:linear max:100 series1:15 threshold:40 color1:%red% color2:%orange% color3:%silver%,display:Battery: %EstimatedChargeRemaining%% %battery%BatteryStatus%% %chart%
      # WMI=text:,interval:30,hide-no-result:1,namespace:root\cimv2,query:Win32_Battery,display:Remaining: about {{2.1f:%EstimatedRunTime%/60}} hours

      COMMENT=text:

      # cpu
      CPUTYPE=color:%Orange%,text:,interval:0
      WMI=text:,interval:5,namespace:root\cimv2,query:Win32_Processor,display:Speed: %CurrentClockSpeed%[4.2K]GHz
      CORETEMP=text:,interval:5,threshold1:1 70 %red%,display:Temperature: %1°C
      PROCESSCOUNT=text:,interval:5,display:Processes: %1 Threads: %2
      CPU=text:,interval:5,chart:line2 height:2 scale:linear max:100 series1:1 color1:ffffff series2:2 color2:71b8ff, threshold1:1 80 %red%,threshold2:2 40 %red%,display:Load: %1[2.0f]% Kernel:%2[2.0f]% Queue: %3
      TOPPROCESSCPU=text:,interval:10,maxrows:1,display:Top process: %3% %1

      COMMENT=text:

      # memory
      TEXT=color:%Orange%,text:,display:MEMORY USED
      PHYSICALRAM=text:,interval:5,threshold1:3 80 0000FF,display:RAM: %1[3.1g]GiB %3% of %2[1.0b]B
      VIRTUALMEMORY=text:,interval:5,display:Virtual: %1[3.1g]GiB %3% of %2[1.0b]B
      PAGEFILE=text:,interval:5,display:Page file: %1[3.1g]GiB %3% of %2[1.0b]B
      # PAGEFAULTS=text:,interval:5,threshold1:5 -80 2222cc,display:Page Faults: %1/sec Hit Ratio: %5%
      TOPPROCESSMEM=text:,interval:5,counter:pu,maxrows:1,display:Top process: %3[3.1g]GiB %1

      COMMENT=text:

      # disks
      TEXT=color:%Orange%,text:,display:STORAGE USED
      LOGICALDRIVES=text:,interval:15,diskio:1,chart:bar2 scale:linear max:100 series1:7 threshold:80 color1:b55393 color2:%orange% color3:%red%,threshold1:11 10000000 0000f0,threshold2:13 10000000,threshold3:7 90 0070f0, 0060f0,display:%1: %6[5.1g] of %5[3.0b]B %chart%
      # %7[3.0f]%

      COMMENT=text:

      # network
      TEXT=color:%Orange%,text:,display:NETWORK
      NETWORKINTERFACES=text:,interval:30,operstatus:1,iftype:6 71,display:%2: %8/%10
      WMI=text:,interval:60,threshold1:11 34 0088f0,namespace:root\cimv2,query:Win32_PingStatus where address=’1.1.1.1′,display:Latency: %ResponseTime%ms from 1.1.1.1
      NETCONNECTIONS=text:,interval:5,display:Connections: %1
      WMI=text:,interval:3,background-interval:60,hide-no-result:1,chart:line2 height:2 scale:log max:23 series1:1 color1:ffffff series2:2 color2:71b8ff,threshold1:1 {{%CurrentBandwidth%/8*95/100}} 2222ee,threshold2:2 {{%CurrentBandwidth%/8*95/100}} #ff0000,namespace:root\cimv2,query:Win32_PerfFormattedData_Tcpip_NetworkInterface where Name like “%Wireless%” and CurrentBandwidth>0,display:B: {{2.0B:%CurrentBandwidth%/8}}Bps R:%BytesReceivedPersec%[3.0b]Bps S:%BytesSentPersec%[3.0b]Bps
      WMI=text:,interval:3,background-interval:60,hide-no-result:1,chart:line2 height:2 scale:log max:23 series1:1 color1:ffffff series2:2 color2:71b8ff,threshold1:1 {{%CurrentBandwidth%/8*95/100}} 2222ee,threshold2:2 {{%CurrentBandwidth%/8*95/100}} #ff0000,namespace:root\cimv2,query:Win32_PerfFormattedData_Tcpip_NetworkInterface where Name like “%Ethernet%” and CurrentBandwidth>0,display:B: {{2.0B:%CurrentBandwidth%/8}}Bps R:%BytesReceivedPersec%[3.0k]Bps S: %BytesSentPersec%[3.0k]Bps
      WMI=text:,interval:3,background-interval:60,hide-no-result:1,chart:line2 height:2 scale:log max:23 series1:1 color1:ffffff series2:2 color2:71b8ff,threshold1:1 {{%CurrentBandwidth%/8*95/100}} 2222ee,threshold2:2 {{%CurrentBandwidth%/8*95/100}} #ff0000,namespace:root\cimv2,query:Win32_PerfFormattedData_Tcpip_NetworkInterface where Name like “%Mobile%” and CurrentBandwidth>0,display:B: {{2.0B:%CurrentBandwidth%/8}}Bps R:%BytesReceivedPersec%[3.0k]Bps S:%BytesSentPersec%[3.0k]Bps
      # NETPACKETS=text:,interval:5,display:Packets: r:%1[1.0n] s:%2[1.0n]
      # NETPACKETSRATE=text:,interval:5,mtu:1500,display:Rate: r:%1[1.1b]Bps s:%2[1.1b]Bps

    • #3739
      NeilJ
      Participant

      I forgot to point out I’d added a screenshot at the end of my long post so for those that didn’t scroll that far, here it is again:

      • #3741
        Glenn
        Keymaster

        that looks great! thanks for sharing. it’s good the tool is flexible enough to do what you want.

        how do you feel about adding it to the release package as an alternative ini file. if so do you want to put your name to it? I’ll use a standard Windows fixed width font.

    • #3761
      NeilJ
      Participant

      I’m very happy for you to add it if you wish? I’m sure others would love to make use of it.
      I don’t mind if you put my name on it or not, I just wanted others to see how else they might layout DI, (I had seen a negative comment elsewhere that I thought was unfair).
      Keep up the good work as it’s a wonderful utility for Windows users who want something like Linux’ conky on their desktops.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.
Glenn's Page