Xfce Forum

Sub domains
 

You are not logged in.

#1 2014-08-25 20:33:27

m1m
Member
Registered: 2013-03-25
Posts: 5

How to change number of desktop icons in column?

I use XFCE 4.10, how can I increase number of icons in desktop grid? I have 1920x1200 resolution and I can't place more than 12 icons in single column to use whole height of my desktop. My icons are 32px.
Here's my .gtkrc-2.0 settings

  XfdesktopIconView::label-alpha = 0
  XfdesktopIconView::selected-label-alpha = 180
  XfdesktopIconView::ellipsize-icon-labels = 1

  XfdesktopIconView::cell-spacing = 2
  XfdesktopIconView::cell-padding = 0
  XfdesktopIconView::cell-text-width-proportion = 2.2

Offline

#2 2014-08-25 23:22:02

ToZ
Moderator
From: Toronto, Canada
Registered: 2011-06-02
Posts: 2,641

Re: How to change number of desktop icons in column?

Not sure if that is just a snippet of the complete file, but that code should actually read:

style "xfdesktop-icon-view" {
  XfdesktopIconView::label-alpha = 0
  XfdesktopIconView::selected-label-alpha = 180
  XfdesktopIconView::ellipsize-icon-labels = 1

  XfdesktopIconView::cell-spacing = 2
  XfdesktopIconView::cell-padding = 0
  XfdesktopIconView::cell-text-width-proportion = 2.2
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"

The important pieces related to the spacing of the icon grid are the last 3. As per the xfdesktop Readme file:

The third four entries set spacing and sizing for individual icons on
the grid.  The 'cell-spacing' property specifies the spacing between each
'cell' in the grid of icons.  The 'cell-padding' property sets extra
padding placed around each icon+text.  The units for these two are in
pixels.  The 'cell-text-width-proportion' property specifies the maximum
width of the text label underneat the icon, as a multiplier of the icon
width (so for 30px icons, '2.5' would leave a 75px wide area underneath
for the text).

Having said that, what theme do you use? I notice that the Greybird theme doesn't seem to honour these overrides.


How To Ask For Help           Xfce FAQ                            Xfce Release Information
The Xfce Community          Xfce Tips and Tricks

Offline

#3 2014-08-26 07:22:29

m1m
Member
Registered: 2013-03-25
Posts: 5

Re: How to change number of desktop icons in column?

It was just a snippet, my config file has all needed commands. I use Ninix theme with murrine engine.
This config is working for me - I have small spacing around icons, but I can't make my icons to take whole height - from top to bottom of my screen.
I can only get 12 icons per column - and that's the problem

Offline

#4 2014-08-26 12:26:36

ToZ
Moderator
From: Toronto, Canada
Registered: 2011-06-02
Posts: 2,641

Re: How to change number of desktop icons in column?

Okay, I've been able to replicate the problem. Interestingly, if I delete the ~/.config/xfce4-desktop/icons.screen* files, I am then allowed to drag and place icons to the section below.

Also found this bug report.


How To Ask For Help           Xfce FAQ                            Xfce Release Information
The Xfce Community          Xfce Tips and Tricks

Offline

Board footer

Powered by FluxBB