Re: Re: How to add a menu item visible for ALL users?

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat November 29 2003 14:50, Kevin Krammer wrote:
> On Saturday 29 November 2003 14:35, Mark Hellman wrote:
> > Waldo Bastian wrote:
> > >> And what about adding a shortcut to the Panel Menu for all users? How
> > >> can this be done?
> > >
> > > What exactly do you mean with "Panel Menu" ?
> >
> > Guess I used "Panel Menu" in the wrong context. What I meant was the area
> > tipically located at the right of the K Menu, where buttons of frequently
> > used application are usually placed. Suppose this area is called "Quick
> > Launcher Applet".
>
> If it has two rows of icons, it is the quicklauncher applet.
> If it is only one row of large icons, they are buttons on kicker itself.
>
> > How can I add an application button to this area for all users?
>
> The order of buttons (assuming buttons-on-kicker) is stored in
> .kde/share/config/kickerrc
>
> I think it depends if users are usually allowed to modify the setup.
> If no, you can set the appropriate config in the global directory and make
> some of the entries, groups or the whole file immutable using the Kiosk
> notation.
>
> Not sure how one would proceed if users are allowed to modify their
> kickers.

In that case, for new users you can still add an appropriate config in the 
global directory, which will then be used as default.

To add it to the setting of existing users is trickier (if they are allowed to 
make changes themselves as well). You could write a kconf_update script for 
this, but I think you need to make sure that nobody is logged in when you 
install it.

A kconf_update script runs once when the user logs in for the first time 
(after you installed it) and is used to make updates to configuration files. 
It is used by KDE itself to upgrade settings between different versions of 
KDE if the format has changed.

It typically contains of a *.upd file which describes which config file should 
be changed, and a perl script that reads the original settings and outputs 
the changes. 

Cheers,
Waldo
- -- 
bastian@xxxxxxx -=|[ SUSE, The Linux Desktop Experts ]|=- bastian@xxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/yKsSN4pvrENfboIRAlVoAJwOzj6ishBTrNkDJhAvu2N4AtmKIACfYt0L
/nGW5UTV09HSv7TzcRY6XDo=
=fs3a
-----END PGP SIGNATURE-----
___________________________________________________
.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux