[SOLVED] Change desktop icon position and size from terminal

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
kozi

[SOLVED] Change desktop icon position and size from terminal

Post by kozi »

Hi,
I have multiple stations and I want change and unify look. I found tool: gio/gvfs and when try set attributes (metadata::nemo-icon-position, metadata::nemo-icon-scale) they change but there is no effect even after cinnamon restart. Do I do something wrong or there is some additional step (nemo notification)?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29612
Joined: Wed Jul 06, 2011 3:58 am

Re: Change desktop icon position and size from terminal

Post by xenopeek »

Obvious question but have you disabled auto-arrange by name on the desktop?
Image
kozi

Re: Change desktop icon position and size from terminal

Post by kozi »

Thanks for reply.
Yes, I have disabled auto-arrange option.
Turns out that

Code: Select all

gvfs-set "file path" metadata::nemo-icon-position x,y
gio set "file path" metadata::nemo-icon-position x,y 
gvfs-set "file path"metadata::icon-scale value
and nemo/nemo-desktop restart works fine.
Last thing to do for me is to find why on LM19 with nemo-desktop

Code: Select all

gio set "file path" metadata::nemo-icon-scale
doesn't work.
But for now I can live with 90% solution.
Locked

Return to “Cinnamon”