Re: [kde] modifying kde's right click menu



On Sunday 29 January 2006 23:44, John wrote:
> I'm not too sure about anything in this area but I expected kde to provide
> the gui for all it's base applications including menu's. If so I would
> expect a script somewhere that sets the right click menu options.

The context menu, or rather the actions in it are created in code.
The structure can be hardcoded or read from a XML based description file (in
KDE developer terminology an XMLGUI file)

The open with is, I am almost certain about it, automatically constructed by
KDE depending on the file's MIME type.
However I don't know if it is the list of applications associated with that
file type as viewers (not embedded viewers, those are for showing the content
inside the host application) or if it depends on the list of MIME types
listed in each program's .desktop file

> with them as some of the .desktop file launch perfectly. The free desktop
> org has specs for user modifiable menu's but I haven't waded though that
> yet other than seen that only gnome and a bit of suse have a dir called
> menu.

That's about the application menu, which KDE implements in the K menu.

Cheers,
Kevin

--
Kevin Krammer <kevin.krammer@xxxxxx>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtcentre.org

Attachment:pgpR9FVIWA5lF.pgp
Description: PGP signature

___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


Relevant Pages

  • Re: MIME and .desktop files
    ... then I guess you could say that a KDE ... /.desktop/ file is actually somewhat the same as a Windows shortcut - ... installation. ... A /.desktop/ file is in itself a MIME type, ...
    (comp.os.linux.misc)
  • Re: [kde] "Could not find mime-type"
    ... kpanel, kcontrol, konqueror and others - "Could not find mime type ... It may have started when I added a mime-type in kcontrol, ... Kevin Krammer, KDE developer, xdg-utils developer ...
    (KDE)
  • Re: [SLE] default browser
    ... > I did have this brilliant idea of looking at the KDE file association ... > but there is no mention of mime type. ... The two-level hierarchy shown in the "Known Types" section of the KDE ...
    (SuSE)
  • Re: [kde] kpdf sending pdf links to bluefish
    ... Kevin Krammer wrote: ... This is my first post here in KDE, please be patient with a nOOb;-) ... I am using kpdf to read pdf class notes. ...
    (KDE)
  • Re: Adding a new menu to RedHat 9 GNOME/KDE
    ... > I've worked out how to create a .desktop file to add entries to existing ... > tree to specify menus. ... KDE is quite easy, start the control center and select ... search on google and you will find work arounds for creating menu entries. ...
    (comp.os.linux.x)