![]() Registered Member ![]()
|
Hi to everyone!
I have kubuntu 15.10 installed and on the desktop the icon texts has strange color and also background color. Please check the img what I attached. I would like to change the text color to white and also turn off the text background color. I tried to change themes to see if it change something, I tried breeze and oxygen theme, but the text background always stay. I also tried to find this in the theme files, guess what, nothing! ![]() |
![]() Registered Member ![]()
|
Ok what I understood in the last few days, if I change theme then the icon text or background color can change regarding of the actual theme. So I just need to copy a theme what I like and modify the theme files to my needings. Question is, which file contain the above mentioned rules? (desktop icon text and background color)
Any help appriciated! |
![]() Registered Member ![]()
|
This could be my goal, but how can it be?
![]() |
![]() Registered Member ![]()
|
Is it really this hard question, or did I write something ununderstandable thing?
|
![]() Registered Member ![]()
|
Help us to help
It is a bit easier to help if you tell: - Plasma desktop version ( kinfocenter will show this ) - Plasma Layout (desktop/folderview) At here: Desktop: KDE Plasma 5.6.2 Plasma layout: Folder view Will show: ![]() Full image: http://i.imgur.com/i5LwTid.gifv |
![]() Registered Member ![]()
|
Thanks your reply, sorry that I didn't mentioned.
Plasma version: 5.4.2 Plasma Layout: folderview-location:show the desktop folder |
![]() Registered Member ![]()
|
Note ! - I don't have the plasma 5.4 anymore. The oldest version witch I have is the plasma 5.5. This example is with the plasma 5.5. - I have edited the plasma qml code. Updates to the plasma will overwrite the edits. Editing the FolderItemDelegate.qml. With the Arch Linux the path is: /usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml Folderview text background Note ! The text background was removed from the plasma 5.6 Searching: 'id: textBackground' ![]() At the end of the 'textBackground' is the opacity setting. Default is 0.4. ![]() Full image: http://i.imgur.com/Ebefru7.png Changing:
Stop the plasmashell (KRunner)
Restart plasmashell:
The text background is transparent: ![]() Full image: http://i.imgur.com/JJgjhIq.png Folderview text color The folderview text color should follow the plasma theme color settings: https://techbase.kde.org/Development/Tu ... ils#Colors If those doesn't work there is an option to set (hardcode) the color from the label qml block. Searching: 'id: label' At the end of block is the label color setting ( read from the plasma theme ):
Disabling this and setting the color to the red:
![]() Full image: http://i.imgur.com/U6LOCKK.png color QML Basic Type: http://doc.qt.io/qt-5/qml-color.html |
![]() Registered Member ![]()
|
Thanks Rog131!
Excellent post, it just contains everything what I needed! I'm a beginner in linux, but with your help I changed the text bg and the text color, without your help I never find these files. I'm really appreciate your time and help! |
![]() Registered Member ![]()
|
Adding the 'little boxes' back
A wish: Bug 361228 - little box around filenames is missing with Plasma 5.6 - https://bugs.kde.org/show_bug.cgi?id=361228 This is with the plasma 5.14.3. Copying the /usr/share/plasma/plasmoids/org.kde.desktopcontainment/ to the $HOME/.local/share/plasma/plasmoids/org.kde.desktopcontainment/. ![]() Editing the $HOME/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml Adding the 'textBackground' from an older plasma (5.4) FolderItemDelegate.qml: ![]() 1) Changing
to
2) Adding back the text background rectangle:
Restarting the the plasmashell... Seems to work: ![]() With the fully transparent folder widget: ![]() The 'boxes' can be shaped: http://doc.qt.io/qt-5/qml-qtquick-rectangle.html ![]() |
Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]