Image 01
profile-image

xdeyzaguirre

Simple System Monitor

Plasma 5 Monitoring by KonstantinShtepa 68 comments

9 excellent
Solved the problems with my 4k laptop msi Prestige 15 A10SC with 12 CPU.
Added logo for Debian distro.
My desktop looks beautiful. - Sep 03 2020
Simple System Monitor

Plasma 5 Monitoring by KonstantinShtepa 68 comments

Sorry, the html code is invisible. I put the text without "<" and ">". I change them with *open* and *close*

*open*!-- Logos Section --*close*
*entry name="logo" type="Enum"*close*
*label*Distribution logo*open*/label*close*
*open*choices*close*
*open*choice name="Default"/*close*
*open*choice name="Tux"/*close*
*open*choice name="Slackware"/*close*
*open*choice name="Ubuntu"/*close*
*open*choice name="Kubuntu"/*close*
*open*choice name="OpenSUSE"/*close*
*open*choice name="Manjaro"/*close*
*open*choice name="Arch"/*close*
*open*choice name="Fedora"/*close*
*open*choice name="Debian"/*close*
*open*/choices*close*
*open*default*close*0*open*/default*close*
*open*/entry*close*
*open*entry name="logoScale" type="Double"*close*
*open*label*close*Logo scaling*open*/label*close*
*open*default*close*1.0*open*/default*close*
*open*/entry*close*
--*close*

I don't know the correct way to show html code as a comment in the message. - Sep 03 2020
Simple System Monitor

Plasma 5 Monitoring by KonstantinShtepa 68 comments

Sorry guis:

this mis the code for main.xml without the first and last comment code:


Distribution logo












0


Logo scaling
1.0

-->
- Sep 02 2020
Simple System Monitor

Plasma 5 Monitoring by KonstantinShtepa 68 comments

This is my way:

Create one file in svg format with your logo (267x267 px) and transparent background.
name it "distro-" your_distro_name ".svg" in my case "distro-debian.svg"
Put it into: ~/.local/share/plasma/plasmoids/org.kde.simpleMonitor/contents/images/

Edit ~/.local/share/plasma/plasmoids/org.kde.simpleMonitor/contents/code/code.js and add your distro name in the end of this line:

var logos = ["tux", "slackware", "ubuntu", "kubuntu", "opensuse", "manjaro", "arch", "fedora", "debian"]

Edit ~/.local/share/plasma/plasmoids/org.kde.simpleMonitor/contents/ui/config/ConfigGeneral.qml and add the name for the combo list in the same order:

ComboBox {
id: logoComboBox
model: ["Default", "Tux", "Slackware", "Ubuntu", "Kubuntu", "OpenSUSE", "Manjaro", "Arch", "Fedora", "Debian"]
}

Edit ~/.local/share/plasma/plasmoids/org.kde.simpleMonitor/contents/config/main.xml and add one new element at the end of the choices list:



Distribution logo












0


Logo scaling
1.0

And logout and login.

Thats all folks! - Sep 02 2020
Simple System Monitor

Plasma 5 Monitoring by KonstantinShtepa 68 comments

Thanks!
All arranged with two comments:
First:
The DefaultSkin.qml is located at ~/.local/share/plasma/plasmoids/org.kde.simpleMonitor/contents/ui/skins, you need to change "plasmatoids" with "plasmoids".

Second:
I Changed the DefaultSkin.qml but I needed to change also in the file ColumnSkin.qml the "Layout.bottomMargin:" from 5 to 42

I added one more screen capture, with the result in "https://drive.google.com/drive/folders/12vtVw-kiLc0yO1sbjUZXbs2YrdyVm3ID?usp=sharing"

Thanks again! - Sep 02 2020
Simple System Monitor

Plasma 5 Monitoring by KonstantinShtepa 68 comments

Problems with hdpi (4k) monitors, see https://drive.google.com/drive/folders/12vtVw-kiLc0yO1sbjUZXbs2YrdyVm3ID?usp=sharing - Aug 19 2020
8 .2
9   Sep 03 2020
9 excellent Solved the problems with my 4k laptop msi Prestige 15 A10SC with 12 CPU. Added logo for Debian distro. My desktop looks beautiful.