[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#653912: please add shortcut to gosa pw change on users desktop

[Wolfgang Schweer]
> The following worked for me to provide shortcuts for passwd change,
> openoffice and iceweasel (as a sample) for new user accounts:
> ----
> [ root@tjener:~# ]
> wget http://do.nw.schule.de/westfalenkolleg/debian-edu/chguserpw.desktop
> wget http://do.nw.schule.de/westfalenkolleg/debian-edu/plasma-desktop-appletsrc
> mkdir /usr/share/debian-edu/common/share/applications
> cp chguserpw.desktop /usr/share/debian-edu/common/share/applications
> cp plasma-desktop-appletsrc /usr/share/desktop-base/profiles/kde-profile/share/config/
> dpkg-divert --add /usr/share/desktop-base/profiles/kde-profile/share/config/plasma-desktop-appletsrc 
> ----

This might be an approach, but I suspect it is easier if we just
provide a new KDE menu option for networked installs (in other words,
not the Standalone profile).  Then we avoid the divert.  Note the use
of share/debian-edu/networked-kde3/, which make sure the KDE setting
is only active on machines connected to the Main-Server.

changelog entry:

  * Add new pwdchange.desktop menu option for networked profiles
    to make it easier to figure out where to change the password.
Index: share/debian-edu/networked-kde3/share/applications/pwdchange.desktop
--- share/debian-edu/networked-kde3/share/applications/pwdchange.desktop        (revisjon 0)
+++ share/debian-edu/networked-kde3/share/applications/pwdchange.desktop        (revisjon 0)
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Exec=sensible-browser https://www/gosa/
+Name=Change password
+Name[nb]=Endre passord
+GenericName=Change LDAP and Kerberos password (web page)
+GenericName[nb]=Endre LDAP og Kerberos-passord (nettside)
Index: Makefile
--- Makefile    (revisjon 75532)
+++ Makefile    (arbeidskopi)
@@ -390,6 +390,7 @@
                share/debian-edu/networked-kde3/share/config/kioslaverc \
                share/debian-edu/networked-kde3/share/config/adept_notifierrc \
                share/debian-edu/networked-kde3/share/config/networkmanagementrc \
+               share/debian-edu/networked-kde3/share/applications/pwdchange.desktop \
                share/debian-edu/thin-client/share/config/kcmartsrc \
        ; do \
                $(INSTALL_DATA) $$f $(DESTDIR)/usr/$$f ; \
Happy hacking
Petter Reinholdtsen

Reply to: