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

Bug#570977: marked as done (Please provide way to customize default favorites list for new users)



Your message dated Fri, 21 May 2010 23:41:14 +0200
with message-id <201005212341.16374.Sune@vuorela.dk>
and subject line Please provide way to customize default favorites list for new users
has caused the Debian Bug report #570977,
regarding Please provide way to customize default favorites list for new users
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
570977: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570977
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package:  kdebase-workspace-bin
Version:  4:4.3.4-3
User:     debian-edu@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



--- End Message ---
--- Begin Message ---
This can already be done by providing a default kickoffrc file in a KDEDIR 
listed.

for kickoffrc:

[Favorites]
FavoriteURLs=/usr/share/applications/kde4/konqbrowser.desktop,/usr/share/applications/kde4/systemsettings.desktop,/usr/share/applications/arora.desktop

/Sune

-- 
Genius, I'm not able to uninstall on the printer over the BIOS, how does it 
work?

You either never need to remove a icon, or should digit on the head, so that 
then from Internet Explorer 6000 and from the preferences inside Word you 
can't cancel a DirectGL cache for receiving a analogic space bar to the secret 
code.


--- End Message ---

Reply to: