Programmatically placing/deleting icons form desktop

James Richard Tyrer tyrerj at acm.org
Fri May 19 14:51:20 BST 2006


Kevin Krammer wrote:
> On Wednesday 17 May 2006 17:23, Sori Schwimmer wrote:
>> Hi All,
>>
>> Is it possible to show/hide icons on desktop
>> programmatically? I would like to be able to run a
>> script at boot that, according to some conditions,
>> will allow some custom applications to run, while
>> hiding the others. The script exists and performs all
>> kind of other things before launching X.
> 
> Icons on the desktop are just .desktop files in the user's KDE desktop 
> directory.
> 
> kde-config --userpath desktop
> 
> Default is $HOME/Desktop

and their position on the desktop is determined by the file:

$HOME/.kde/share/apps/kdesktop/IconPositions

I suggest that if you have various fixed arrangements that you have a 
set of: "IconPostions.x" files and copy the one that you want to: 
"IconPostions" before "kdesktop" is started.

-- 
JRT
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list