From kde-devel Fri Jul 29 16:02:58 2011 From: Filip Brcic Date: Fri, 29 Jul 2011 16:02:58 +0000 To: kde-devel Subject: Re: Need Help with adding shortcut to Desktop Message-Id: <201107291803.04132.brcha () gna ! org> X-MARC-Message: https://marc.info/?l=kde-devel&m=131195546522900 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0675665941==" --===============0675665941== Content-Type: multipart/signed; boundary="nextPart4206866.QQTU5XMXUO"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart4206866.QQTU5XMXUO Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Jens, On =D1=81=D1=80=D0=B5=D0=B4=D0=B0, 20. =D1=98=D1=83=D0=BB 2011. 14.54.42 Je= ns Dunzweiler wrote: > i have to add a shortcut (.desktop) to all user desktops from shell. > It would be great this should be systemwide so that it affects current as > well as future Users. =46or all future users add the .desktop file into /etc/skel/Desktop/ direct= ory.=20 That would propagate the .desktop file for all future users. =46or current users there is no way to do that using system tools. The best= way=20 would be to create some script that would autostart with new login session= =20 (/usr/share/autostart or /etc/X11/Xsession.d), check if there is a=20 ~/.desktop_file_already_installed file present and, if not, install the .de= sktop=20 into ~/Desktop (and touch ~/.desktop_file_already_installed or what ever). > It must be visible in every desktop mode (not only show folder mode). Well, in show folder it is easy and described above. Otherwise you'd have t= o=20 reconfigure ~/.kde/share/config/plasma-desktop-appletsrc or something like = that.=20 I'm not aware of some commands that would do that for you. Best regards, =46ilip PS: Please don't implement this. I hate applications which auto-create desk= top=20 shortcuts :) =2D-=20 =46ilip Brcic WWWeb: http://brcha.com Jabber : brcha@kdetalk.net=20 GPG 0x2537C379 http://brcha.com/files/gpgkey.asc =46ingerprint: 287D 5F24 50AA A36C 977F AC9A F1FD C7EB 2537 C379 --nextPart4206866.QQTU5XMXUO Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAABAgAGBQJOMtmzAAoJEPH9x+slN8N5A1kP/RoLMmYjBm9Jn3fcrqkQYsis GvLFmeNGA6BeHuadFUsaPArWcVLDaoP10ZS9KWLBpjRKeiYwRqXZX7KG+hJ+aPMe c9paORYLVt1gkBGObNETxLzcS9LGXtm42lLHhKS4C2MUWlWSvmN0dUCTmrEsz6zA WYDiYZLKvZsG9D7sGSyqY69OO1r6AUGRQkOr5aPXf5t3GkfTNmjNWMFB7y61dfWq 2sVOQ5owPHsyIHi8QFvjWP28eO1zORrX95BPNAE/DQUkXNrcEi9Z/cgvVfyZ3yxh M7nYxQQtnLsNprUwctzX30v7XylxIootvnP6ull7HEzOZUhu+JOb1KCOKL6GqaZ+ P5AMdm643BgYiej2B8t72CRd0xqD+VmsQFC4pZYWXEwvEZBtibytz3mrvrzGdtSG rpgb/6wXmu/v8shQcJ3LJIhycppAUfyYUWwAyU5gIXF2owsjEKkniXhJMwNSjpgC h/TJSbL40+MBg9eDeERmwg3BQRsyTaz+Lu2m2Kyo2fLuxaCS1LE8ZIeBiu3A6F0f sUE8SixP70MgaVdnOwGjhuvicXxyaMW9nSYo7UlANVkf7+kUP4zUazXdoDWrJsNu Fo8ryIslu9th2XV8mdzgOxd2nMkA5bWdGrLwOE7i5ACBGHNccmtov0oOeJNpFO1H 9LO3OLq0OBMx1FqY+vLM =Cb6A -----END PGP SIGNATURE----- --nextPart4206866.QQTU5XMXUO-- --===============0675665941== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============0675665941==--