![]() Registered Member ![]()
|
Greetings,
I have found an extremely nice Notes Widget appearance with the transparency. Alas my contentment has been quickly faded when I found that the only letter color is solid black. The text becomes completely invisible on a dark desktop background. Is there any clever trick, possibility to have the text color of one's choice? Thanks in advance. |
![]() Registered Member ![]()
|
(with the Plasma 5.7.2)
Plasma 5 is using qml scripts: https://en.wikipedia.org/wiki/QML . Notes widget qml scripts are at: /usr/share/plasma/plasmoids/org.kde.plasma.notes/ Text color is at: /usr/share/plasma/plasmoids/org.kde.plasma.notes/contents/ui/main.qml
The user can edit the "#202020" to set the wanted color - qml colors: http://doc.qt.io/qt-5/qml-color.html Example - changing:
to
=> ![]() Note ! Upgrades to the plasma will overwrite the /usr/share/plasma/plasmoids/org.kde.plasma.notes/ edits. My Notes A bit better way is to copy the scripts to the users home and rename the notes widget. Copying the /usr/share/plasma/plasmoids/org.kde.plasma.notes/ to ~/.local/share/plasma/plasmoids/org.kde.plasma.mynotes/ Editing the ~/.local/share/plasma/plasmoids/org.kde.plasma.mynotes/metadata.desktop:
Editing the ~/.local/share/plasma/plasmoids/org.kde.plasma.mynotes/contents/ui/main.qml and setting the wanted text color:
Restarting the plasmashell or log out - log in. Adding the custom notes: ![]() |
![]() Registered Member ![]()
|
Wow. I thank you very much and really appreciate your exaustuve, very comprehensive explanation. I am very impressed.
I will give a try hoping all will go well as I have no programming knowledge. PS Seeing your deep pedagogical abilities and above all your knowledge I was wondering if you could help me to remove all drop shadow behind windows in Plasma, ie Breeze decoration including all menu boxes, panel, etc? Ideally I would like to not having rounded corners... Once more many thanks for the quality of your elucidation and guidance. |
![]() Registered Member ![]()
|
Adding few short notes and links to the viewtopic.php?f=17&t=135024 |
![]() Registered Member ![]()
|
He, I'd like instead change the background color, according to css rules, as I asked today https://forum.kde.org/viewtopic.php?f=289&t=161219&p=418782#p418782: it's possible?
|
![]() Manager ![]()
|
Please do not hijack threads that are 3 years old, you asked your question, just be patient.
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]