桌面信息软件Desktop Info配置

Desktop Info,在桌面上显示您的电脑系统的信息。查看cpu使用率、硬件温度、内存使用量等系统信息。

的配置是通过配置文件来设置没有图形界面,配置文件如下图(这是一个绿色软件,解压就能用)

 

我配置完的效果如下图:

我的配置文件内容如下:(有一个问题一直没解决,就是显示桌面的时候,上面的信息也会消失)

-----------------------------------------------------------------------------

# Sample configuration file
# See the manual for a full description of all options

[options]

# size and position
top=6
right=8
width=369

# font
font-face=微软雅黑
font-size=12

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

[screen-saver]
font-face=Comic Sans MS
font-size=16
centerv=1
centerh=1

[items]

# battery status lookup table
set=key:battery1,value:Disconnected
set=key:battery2,value:Connected

# Process Information
COMMENT=color:%White%,style:bu,text:Processes
CPU=font-size:85%,text:CPU Usage,interval:5,background-interval:10,chart:line linear 100 1 00ff00 2 0000bb,threshold1:1 80 0000ff,threshold2:2 40 0000ff,display:Tot: %1[2.0f]%\, Krnl: %2[2.0f]%\, Queue: %3
CPUUSAGE=interval:5,font-size:80%,row-text: Core %1,chart:bar linear 100 2 80,bar-colors:%Blue% %Orange% %Magenta%,display:%2[2.0d]%
PROCESSCOUNT=interval:5,display:%1 processes\, %2 threads


# Memory Information
COMMENT=color:%White%,style:bu,text:Memory
PHYSICALRAM=interval:5,font-size:85%,threshold1:3 80 0000FF,chart:bar linear 100 3 80,text:Physical Memory,display:%1[3.1b]B /%2[3.1b]B (%3%)|
VIRTUALMEMORY=interval:5,font-size:85%,chart:bar linear 100 3 80,display:%1[3.1b]B /%2[3.1b]B (%3%)|


# Storage Information
COMMENT=color:%White%,style:bu,text:Storage
LOGICALDRIVES=interval:5,diskio:1,font-size:85%,chart:bar linear 100 7 75,threshold1:11 10000000 0000f0,threshold2:13 10000000,threshold3:7 90 0070f0, 0060f0,row-text:Drive %1: (%2)| %3,display:%6[1.0B]B /%5[1.0B]B (%7[1.1f]% )|%chart%| r: %11[1.1B]B/s\, w: %13[1.1B]B/s
COMMENT=font-size:25%

# Network Information
COMMENT=color:%White%,style:bu,text:Network
HOST=
NETCONNECTIONS=interval:5
NETPACKETS=interval:5,active:0,display:r:%1[1.0n] s:%2[1.0n]
NETPACKETSRATE=interval:5,active:0,text:Net Rate,mtu:1500,display:r:%1[1.1b]Bps s:%2[1.1b]Bps
NETWORKINTERFACES=interval:30,operstatus:1,iftype:6 71,row-text:%2,display:%8
WMI=interval:5,background-interval:60,hide-no-result:1,font-size:85%,chart:line log 22 1 00ff00 2 bb00bb,threshold1:1 3500000 0000ff,threshold2:2 1000000 ff0000,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\, B: {{1.0B:%CurrentBandwidth%/8}}Bps
WMI=interval:5,active:0,background-interval:60,hide-no-result:1,font-size:80%,chart:line log 22 1 00ff00 2 bb00bb,threshold1:1 3500000 0000ff,threshold2:2 1000000 ff0000,text: Wifi Traffic,namespace:root\cimv2,query:Win32_PerfFormattedData_Tcpip_NetworkInterface where Name like "%Wireless%" and CurrentBandwidth>0,display:R: %BytesReceivedPersec%[3.1b]Bps\, S: %BytesSentPersec%[3.1b]Bps\, B: {{1.0B:%CurrentBandwidth%/8}}Bps

----------------------------------------------------------------------------------------------

上面的样式是从国外网站发的配置文件删减后的,下面是完整版:

-----------------------------------------------------------------------------------------------

# Microsoft Windows ini File
#
# Name: DesktopInfo Configuration
# Version: 0.5.0.0
# Date: 2020-03-18
# Author: MMillar
# https://github.com/mmillar-bolis
# http://www.bolis.com
#
# Description:
# This is the configuration file read by `DesktopInfo.exe`
#
# Credits:
# Glenn Delahoy - http://www.glenn.delahoy.com/software/
#

[options]

# size and position
top=15
right=15
width=375
formcolor=000000

# font
font-face=Arial
font-size=10

# logging
log=Logs\error.log
log-level=error

# navigation buttons
nav=0

#misc
desktopinfo64=1
formcolor=000000
transparency=40
contextmenu=1

[screen-saver]
font-face=Arial
font-size=10
centerv=1
centerh=1

[pages]
1=Main
2=
3=
4=
5=
6=
7=
8=
9=

[items]

# colors
set=key:White,value:#ffffff
set=key:Grey,value:#909090
set=key:Cyan,value:#00ffff
set=key:Magenta,value:#ff00ff
set=key:Green,value:#00ff00
set=key:Orange,value:#ffd000
set=key:Yellow,value:#ffff00
set=key:Silver,value:#d0d0d0
set=key:Blue,value:#0000f0
set=key:Red,value:#ff0000

# battery status lookup table
set=key:battery1,value:Disconnected
set=key:battery2,value:Connected
set=key:battery3,value:Fully Charged

# remote desktop status lookup table
set=key:rds_state_0, value:Active
set=key:rds_state_1, value:Connected
set=key:rds_state_2, value:ConnectQuery
set=key:rds_state_3, value:Shadow
set=key:rds_state_4, value:Disconnected
set=key:rds_state_5, value:Idle
set=key:rds_state_6, value:Listen
set=key:rds_state_7, value:Reset
set=key:rds_state_8, value:Down
set=key:rds_state_9, value:Init

# shared resources type lookup table
set=key:share_type_0,value:Disk Drive
set=key:share_type_1,value:Print Queue
set=key:share_type_2,value:Device
set=key:share_type_3,value:IPC
set=key:share_type_-2147483645,value:IPC Admin
set=key:share_type_-2147483648,value:Disk Drive Admin
set=key:share_type_-2147483649,value:Print Queue Admin
set=key:share_type_-2147483650,value:Device Admin
set=key:share_type_-2147483651,value:IPC Admin

# page 9 - test
PAGE=1
COLOR=%White%
COMMENT=color:%White%,style:bu,text:Desktop Info

# Host information
HOST=text:Host Name,display:%1
USER=set:username,hidden:0
UPTIME=interval:60,display:%1 days %2 hrs %3 mins
COMMENT=font-size:25%

# OS Information
COMMENT=color:%White%,style:bu,text:OS Information
WMI=text:OS Version,namespace:root\cimv2,query:Win32_OperatingSystem,display:%version%
WMI=text:Architecture,namespace:root\cimv2,query:Win32_OperatingSystem,display:%OSArchitecture%
COMMENT=font-size:25%

# Hardware Information
COMMENT=color:%White%,style:bu,text:Hardware
OEMINFO=active:0,display:%2
WMI=text:Manufacturer,namespace:root\cimv2,query:Win32_Baseboard,display:%Manufacturer%
CPUTYPE=text:CPU Type
WMI=text:Cores,namespace:root\cimv2,query:Win32_Processor,display:%NumberOfCores%
WMI=interval:5,text:Clock Speed,namespace:root\cimv2,query:Win32_Processor,display:%CurrentClockSpeed%MHz
WMI=interval:5,text:CPU Temp,namespace:root\wmi,query:MSAcpi_ThermalZoneTemperature,display: {{1.1f:%CurrentTemperature%/10-273.15}}C
COMMENT=font-size:25%

# Graphics Information
COMMENT=color:%White%,style:bu,text:Graphics
DISPLAYCONTROLLER=text:GPU Type
DIRECTX=
COMMENT=font-size:25%

# Process Information
COMMENT=color:%White%,style:bu,text:Processes
CPU=font-size:85%,text:CPU Usage,interval:5,background-interval:10,chart:line linear 100 1 00ff00 2 0000bb,threshold1:1 80 0000ff,threshold2:2 40 0000ff,display:Tot: %1[2.0f]%\, Krnl: %2[2.0f]%\, Queue: %3
CPUUSAGE=interval:5,font-size:80%,row-text: Core %1,chart:bar linear 100 2 80,bar-colors:%Blue% %Orange% %Magenta%,display:%2[2.0d]%
PROCESSCOUNT=interval:5,display:%1 processes\, %2 threads
TOPPROCESSCPU=interval:10,maxrows:2,text:Top Processes (CPU),display:%1 (pid:%2) %3%
TOPPROCESSMEM=interval:10,counter:pu,maxrows:2,text:Top Process (Mem),display:%1 (pid:%2) %3[1.1b]B
COMMENT=font-size:25%

# Memory Information
COMMENT=color:%White%,style:bu,text:Memory
PHYSICALRAM=interval:5,font-size:85%,threshold1:3 80 0000FF,chart:bar linear 100 3 80,text:Physical Memory,display:%1[3.1b]B / %2[3.1b]B (%3% used)|
VIRTUALMEMORY=interval:5,font-size:85%,chart:bar linear 100 3 80,display:%1[3.1b]B / %2[3.1b]B (%3% used)|
PAGEFILE=interval:5,display:%1[3.1b]B / %2[3.1b]B (%3% used)
PAGEFAULTS=interval:5,threshold1:5 -80 2222cc,text:Page Faults/sec
COMMENT=font-size:25%

# Storage Information
COMMENT=color:%White%,style:bu,text:Storage
LOGICALDRIVES=interval:5,diskio:1,font-size:85%,chart:bar linear 100 7 75,threshold1:11 10000000 0000f0,threshold2:13 10000000,threshold3:7 90 0070f0, 0060f0,row-text:Drive %1: (%2)| %3,display:%6[1.0B]B/%5[1.0B]B (%7[1.1f]% used)|%chart%| r: %11[1.1B]B/s\, w: %13[1.1B]B/s\, q: %17\, i: %19%| avg read: %15[1.3B]secs\, write: %16[1.3B]secs
COMMENT=font-size:25%

# Network Information
COMMENT=color:%White%,style:bu,text:Network
HOST=
NETCONNECTIONS=interval:5
NETPACKETS=interval:5,active:0,display:r:%1[1.0n] s:%2[1.0n]
NETPACKETSRATE=interval:5,active:0,text:Net Rate,mtu:1500,display:r:%1[1.1b]Bps s:%2[1.1b]Bps
NETWORKINTERFACES=interval:30,operstatus:1,iftype:6 71,row-text:%2,display:%8
WMI=interval:5,background-interval:60,hide-no-result:1,font-size:85%,chart:line log 22 1 00ff00 2 bb00bb,threshold1:1 3500000 0000ff,threshold2:2 1000000 ff0000,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\, B: {{1.0B:%CurrentBandwidth%/8}}Bps
WMI=interval:5,active:0,background-interval:60,hide-no-result:1,font-size:80%,chart:line log 22 1 00ff00 2 bb00bb,threshold1:1 3500000 0000ff,threshold2:2 1000000 ff0000,text: Wifi Traffic,namespace:root\cimv2,query:Win32_PerfFormattedData_Tcpip_NetworkInterface where Name like "%Wireless%" and CurrentBandwidth>0,display:R: %BytesReceivedPersec%[3.1b]Bps\, S: %BytesSentPersec%[3.1b]Bps\, B: {{1.0B:%CurrentBandwidth%/8}}Bps

-----------------------------------------------------------------------------------------------

 

posted @ 2021-06-26 16:22  pipci  阅读(2388)  评论(0编辑  收藏  举报