How to add a transp...
 
Notifications
Clear all

We appreciate the contributions many of you have been able to make towards repairing the storm damage and keeping a roof over our heads. With your help we’ve been able to complete much of the critical work. There is still work to be done to secure the house and your continued support will be a huge help.

Guests have read-only access to our forums. If you wish to participate you will need to register. Be sure to activate your account from the email sent to you when you register.

[Closed] How to add a transparent background?

3 Posts
2 Users
1 Reactions
3,025 Views
(@bart0s)
Active Member Registered
Joined: 3 years ago
Posts: 3
Topic starter   [#593]

I am not sure if this is possible but I've been trying for a bit and can't get it.

I want to be able to just add a background color (transparency or not) to Desktop Info so I don't have to rely on the text color alone to be able to see. On wallpaper that is light, white or light text won't be readable and the opposite for dark wallpaper. That's why adding a background would make the text stand out no matter the wallpaper color. Then I can just do white text for everything on a dark gray or black background. I apologize if I didn't look hard enough or just missed how to do it because I don't understand something about how the layout works, but I have tried. Is this possible?

Here is what I have for my config:

[options]
# size and position
top=0
right=0
width=200

# font
font-face=Arial
font-size=7

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

[items]
COMMENT=style:w,text:Computer Overview
PAGE=1
COLOR=
HOST=text:Hostname, %1
DOMAIN=text:Domain, %1
USER=
NETWORKINTERFACES=text:IP,interval:30,operstatus:1,iftype:6 71,display:%2: %8
DNSSERVER=text:DNS,%1
CPU=text:CPU,interval:3,chart:bar max:100 series1:1 color1:ffffff ,alarms:(%1 ge 80 0000FF),display:Utilization: %1[2.0f]%
PHYSICALRAM=text:RAM,interval:3,chart:bar max:%2 series1:1 color1:FFFFFF, alarms:(%3 ge 80 0000FF),display:%1[3.1b]B / %2[3.1b]B
UPTIME=text:Uptime,interval:30,display:%1 days %2 hrs %3 mins

 

 



   
Glenn
(@glenn)
Member Admin
Joined: 8 years ago
Posts: 2101
 

you have to do two things: reduce the transparency, set the background colour.

put the following in the [options] section

[options]
formcolor=#202080
transparency=50

now play with the numbers to get your desired effect

 



   
(@bart0s)
Active Member Registered
Joined: 3 years ago
Posts: 3
Topic starter  

@glenn Thank you for such a fast reply. I have it working how I want now. 👍



   
Glenn reacted
➤ Glenn's Page