Re: [kde] Programmatically placing/deleting icons form desktop



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.



Relevant Pages

  • Re: [kde] Kdm session manager
    ... Since I use to launch dbus-daemon with gnome my gnome-xxx desktop files ... Comment=GNOME 2.16.0 Desktop with D-BUS support ... $DESKTOP_SESSION is no valid session." ... this stuff in your "Xsession" script that you write a short script to ...
    (KDE)
  • Re: [kde] Programmatically placing/deleting icons form desktop
    ... I guess you could move around the *.desktop files through a shell script, ... script at boot that, according to some conditions, ... Mail has the best spam protection around ... Archives: http://lists.kde.org/. ...
    (KDE)
  • Re: [kde] Programmatically placing/deleting icons form desktop
    ... On Wednesday 17 May 2006 17:23, Sori Schwimmer wrote: ... Is it possible to show/hide icons on desktop ... The script exists and performs all ... Default is $HOME/Desktop ...
    (KDE)
  • Re: Adding more screensavers in FC5
    ... migrate-xscreensaver-config.sh that will make the needed .desktop files ... to the script so the output will be placed ... (you must be root to do this!). ... the screensaver (i.e. which ones to enable/disable, individual settings ...
    (Fedora)
  • Re: Adding more screensavers in FC5
    ... Oldman writes: ... migrate-xscreensaver-config.sh that will make the needed .desktop files ... to the script so the output will be placed ... (you must be root to do this!). ...
    (Fedora)