Registered Member
|
KDE 5.6.5 on Linux Mint 18 64-bit
I request guidance on how to reduce the space between desktop icons.
Last edited by kayman on Mon Oct 03, 2016 2:12 am, edited 1 time in total.
|
Registered Member
|
Screenshots can be added by uploading the picture to the image host and tagging the url by the image tag - more: viewtopic.php?f=17&t=136191#p364343 Plasma 5 is using qml scripts. Both the folder view widget and the folder view layout are using the FolderView.qml. At here the FolderView.qml is located:
The cell width and the cell height are calculated from the icon size, font size, number of text lines, etc... If you reduce the cell size then your space between the icons is smaller. One way is to subtract the cell width and the cell height: Result: Note ! Plasma upgrades are overwriting the edited FolderView.qml |
Registered Member
|
Wow, spot-on - this worked out exactly the way I was hoping for! My populated desktop looks so much better now; Thanks a bunch!
I'll keep this useful editing information in my 'How to...' file for future reference. I've got another issue, albeit small, in relation to sizing of icons. Right-click desktop; In Folder View Settings - Plasma under Icons the size can easily be adjusted by using the Appearance slider, this is working flawlessly. However in System Settings-->Icons Advanced-tab, selecting an icon size using the the drop-down menu is not working at all i.e., there is no response to whichever size of icon one selects. |
Registered Member
|
When you drop a file to the plasma desktop ( Layout: Desktop) you have an option to 'widgetize' it. The initial plasma widget icon size is controlled by the System Settings-->Icons Advanced-tab. At this dropping text file to the desktop with desktop icon size 16 and 256: As a widget the icon has the widgets own settings: |
Registered Member
|
...and maybe later - Bring back properties dialog - https://phabricator.kde.org/D2687
|
Registered Member
|
Thanks again for the informative and useful information/instruction on setting of widgets.
One last request please; Going back to your first instruction on 'Reducing space between desktop icons', can the the FolderView.qml be used to edit (reduce) the space between folder (or file) and its name (folder or file name)? (I am unable posting an desktop screenshot, the Img, URL and thumb buttons don't seem nonfunctional). |
Registered Member
|
Icon's label position is controlled at FolderItemDelegate.qml:
Smaller top margin:
=> |
Registered Member
|
This worked out also!
Many thanks for clear and illustrative instructions for solving spacing issues. Cheers... |
Registered Member
|
Hi, how did you remove the text label shadow? |
Registered Member
|
With the plasma 4 there was an option to set icon shadow etc: With the plasma 5 this is not (yet ?) implemented. With the plasma 5 a workaround: Usually the KDE is using user settings and scripts before the system. So copying the /usr/share/plasma/plasmoids/org.kde.desktopcontainment/ to the ~/.local/share/plasma/plasmoids/org.kde.desktopcontainment/. ... and editing the FolderItemDelegate.qml. From black shadow to transparent:
The text color is set by line:
Changing this simply:
Result - original white text with shadow - white text without shadow - green text without shadow: |
Registered Member
|
So Do I understand right that we all are asked to fiddle around in some source files every time the Plasma packages are updated, just to get a user friendly desktop?
I would not call this a solution but a confession of failure The continuous degradation of kde since V 3.5 is really hard to take. |
Registered Member
|
Bug 359077 - icons frame size is too wide: https://bugs.kde.org/show_bug.cgi?id=359077
=> https://bugs.kde.org/show_bug.cgi?id=359077#c15 => https://bugs.kde.org/show_bug.cgi?id=359077#c18
Schedules/Plasma 5: https://community.kde.org/Schedules/Plasma_5
|
Registered Member
|
Sorry to hijack the thread further, but since it is already solved... Do you know if is there a way/workaround to HAVE shadows in the folderview plasmoid too? Thanks! -EDIT- Got it! Still in FolderItemDelegate.qml: Replace:
...with:
|
Registered Member
|
If we've gotta edit a damn qml file every time Plasma updates to get desktop icon spacing tolerable, then this is MOST DEFINATELY NOT [SOLVED]!!!!
|
Registered Member
|
Well, there is a solution, even if it is just a workaround.
However, for a more permanent solution submit a request to get the change applied in plasma itself. Or if this can be done as part of a plasma theme, then copy the default theme and apply these changes to it (and upload it to store.kde.org)
airdrik, proud to be a member of KDE forums since 2008-Dec.
|
Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]