Package:  kdebase-workspace-bin
Version:  4:4.3.4-3
User:     debian-...@lists.debian.org
UserTags: debian-edu

In Debian Edu, we want to change the list of applications showing up
in the default favorites list for new users.  One way to do this is to
create a file kickoffrc, but this only allow us to replace the current
list, not only append to the current list.  Looking at the source, I
trace the default list to this function ion
plasma/applets/kickoff/core/favoritesmodel.cpp:

    static QList<QString> defaultFavorites()
    {
        QList<QString> applications;
        applications << "konqbrowser" << "kmail" << "systemsettings" << 
"dolphin";

        QList<QString> desktopFiles;

        foreach (const QString& application, applications) {
            KService::Ptr service = KService::serviceByStorageId("kde4-" + 
application + "
.desktop");
            if (service) {
                desktopFiles << service->entryPath();
            }
        }

        return desktopFiles;
    }

The list of default entries are hardcoded in the source, as far as I
can see, to konqueror, kmail, system settings and the dolphin file
browser.  Can this code be changed to allow us to add some entries to
a directory that will show in in the default favorites list?

With KDE 3, we could do something similar for the KDE panel list by
adding a replacement share/apps/kicker/default-apps.  It would be
great if a similar or better feature is made available for KDE 4.


Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1njape-0005nd...@login1.uio.no

Reply via email to