On Mon, 09 Aug 2010 07:38:08 -0400, Marty Jack wrote: > If there is one thing that comes up again and again in the forum about > the file manager, it is the request to be able to reposition icons on > the desktop and have them stay where they are put. I hope you are > planning to implement that if it is not yet done. > I have been wandering through the pfmanfm code myself with an eye towards contributing something to do this. At the very least some ideas.
Moving Icons to different positions should be a relatively simple task, The tricky bit is making those positions persistent. You have to store the data somewhere. It seems there is no standard mechanism for storing icon positions. I have files such as ~/.config/xfce4/desktop/icons.screen0.rc which are fairly obvious. ROX-Filer has its pinboards which makes things easy for itself because it doesn't use the ~/Desktop Directory. KDE and Gnome presumably have their own cryptic methods for storing positions. I would advocate a hidden file in the Desktop directory itself, in a nice simple text format. Perhaps just a little more sophisticated than the xfce form. xfce uses. [silly_walks.jpg] row=1 col=2 [Home] row=1 col=1 My preference is for totally free moving icons, so I'd have just X and Y and have griding at a higher level if chosen. What would be nice is if the X and Y could be relative either side or proportional to desktop size So perhaps [silly_walks.jpg] X = 120 Y =-150 [Home] X = 50% Y = 10% Which could represent an icon 120 pixels from the left and 150 from the bottom of the workspace, and an Icon in the middle near the top. That would be quite easy to manage at runtime (user interface to select what is desired more complex) and would mean resizing the display wouldn't necessarily screw up all your icons. .. and a completely offtopic tangent. Does LXDE need a desktop widget engine? 'cos I wrote one and it's looking for a home. :-) ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Lxde-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxde-list
