How to change desktop icon spacing?

Forum rules
Before you post please read how to get help
Post Reply
User avatar
Bojc
Level 1
Level 1
Posts: 12
Joined: Wed Sep 15, 2010 7:43 pm
Location: Slovenija

How to change desktop icon spacing?

Post by Bojc »

How to change desktop icon spacing in XFCE? I want to reduce horizontal distance between icons on desktop, but I don't know how. Is it possible ?

User avatar
ThistleWeb
Level 5
Level 5
Posts: 890
Joined: Fri Mar 25, 2011 9:59 am
Location: Scotland
Contact:

Re: How to change desktop icon spacing?

Post by ThistleWeb »

The only way I've found is to change the size of the icons and fonts for the desktop. I've not found any way to control the spacing between them.
Crivens!

User avatar
Hezy
Level 3
Level 3
Posts: 103
Joined: Tue Mar 30, 2010 6:09 pm
Location: Israel
Contact:

Re: How to change desktop icon spacing?

Post by Hezy »

Bojc wrote:How to change desktop icon spacing in XFCE? I want to reduce horizontal distance between icons on desktop, but I don't know how. Is it possible ?
You can have some control on icon spacing by editing your .gtkrc-2.0 file

Code: Select all

touch ~/.gtkrc-2.0
add something like:

Code: Select all

style "xfdesktop-icon-view" {
XfdesktopIconView::cell-padding = 0
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
(if you already have a "xfdesktop-icon-view" segmant, just add the cell-padding line). You can change 0 to any other number.
Then restart your desktop by pressing Alt+F2 and typing

Code: Select all

xfdesktop --quit
and than again with

Code: Select all

xfdesktop
I don't think this is a complete solution for your question, since it doesn't let you set different values for horizontal and vertical paddings. But maybe now you'll have a better idea what to look for.
keep on rockin' in the free world

[https://github.com/hezy]

shengchieh
Level 4
Level 4
Posts: 402
Joined: Sat Mar 01, 2008 1:25 am
Contact:

Re: How to change desktop icon spacing?

Post by shengchieh »

You can try installing idesk. This program is independent of anything L.M. XFCE uses. I use it on L.M. Fluxbox.

Sheng-Chieh

User avatar
Bojc
Level 1
Level 1
Posts: 12
Joined: Wed Sep 15, 2010 7:43 pm
Location: Slovenija

Re: How to change desktop icon spacing?

Post by Bojc »

Thanks for help, I will soon try all possibilities :wink:

Post Reply

Return to “Xfce”