Announcement

Collapse
No announcement yet.

any howto/tutorial for making konqueror service menu?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    any howto/tutorial for making konqueror service menu?

    Hi,

    I just make a service_item for update timestamps (touch). Well, I just open a existing .desktop file and edit it.

    Code:
    [Desktop Entry]
    ServiceTypes=text/*,application/*,video/*
    Actions=avi
    X-KDE-Submenu=touch
    Encoding=UTF8
    
    [Desktop Action avi]
    Name=touch
    Exec=touch %u
    It works for how it now it, for all kind of files, not just avi, but can anyone make it better?

    And any link to a howto/tutorial for making servicemenu .desktop file for konqueror?

    Thank you.

    #2
    Re: any howto/tutorial for making konqueror service menu?

    here is an excellent one from the official kde docs:
    http://developer.kde.org/documentati...vicemenus.html
    <br />

    Comment


      #3
      Re: any howto/tutorial for making konqueror service menu?

      Okay. Thank you

      --

      I have another question, I have something like this:
      Code:
      [Desktop Entry]
      ServiceTypes=application/x-iso
      Actions=MountToCD1;MountToCD2;
      Encoding=UTF-8
      X-KDE-Submenu=Mount to
      X-KDE-Priority=TopLevel
      
      
      
      [Desktop Action MountToCD1]
      Name=-> /home/haile/MP/CD1
      Icon=my_cd
      Exec=sudo mount -o loop -t iso9660 %u /home/user/MP/CD1
      
      
      [Desktop Action MountToCD2]
      Name=-> /home/haile/MP/CD2
      Icon=my_cd
      Exec=sudo mount -o loop -t iso9660 %u /home/user/MP/CD2
      so there is a submenu
      Code:
      X-KDE-Submenu=Mount to
      , how can I give that submenu a icon?

      Comment

      Working...
      X