Announcement

Collapse
No announcement yet.

[SOLVED] Action "Send mail" for Dolphin

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

    [SOLVED] Action "Send mail" for Dolphin

    Hi,

    I downloaded a .desktop file to add a service menu (action) to dolphin. Below please find the file, it works fine with one single file while it opens two different new mails when trying to send two files together. The behavior is the same with Dolphin and Konqueror.

    I'm using Kubuntu 8.10 with KDE 4.1 and Thunderbird from the repository.

    Any suggestion?

    Thanks in advance,
    g.


    Code:
    [Desktop Entry]
    Actions=SendWithTB;
    Encoding=UTF-8
    ServiceTypes=all/allfiles,KonqPopupMenu/Plugin
    ExcludeServiceTypes=application/x-iso,kdedevice/*,inode/directory
    Type=Service
    
    [Desktop Action SendWithTB]
    Name=Send File with Thunderbird
    Exec=thunderbird -remote "xfeDoCommand(composeMessage,attachment='file://%f')"
    Icon=attach
    ---------------<br />Linux kernel 2.6.28-15-generic<br />Kubuntu 9.04 64bit KDE 4.2.2<br />Dell Precision M2400 Intel Dual Core 2<br />Nvidia Quadro FX 370M (Driver Nvidia 180.44)<br />HDA Intel (STAC92xx Analog)<br />---------------

    #2
    Re: Action &quot;Send mail&quot; for Dolphin

    Have you tried with the %F ?

    http://docs.kde.org/stable/en/kdebas...izing-kde.html
    %f A single file name; used when dropping file on icon, or with file associations.
    %F A list of files; use for applications that can open several local files at once.

    or with the: ...,attachment='%U')" ?
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: Action &quot;Send mail&quot; for Dolphin

      thanks a lot, in both cases (with %F or %U) the behavior is not correct, it open only a single new mail (instead of two) but with a single file as attachment.

      maybe it is related with the specific thunderbird command?

      g.
      ---------------<br />Linux kernel 2.6.28-15-generic<br />Kubuntu 9.04 64bit KDE 4.2.2<br />Dell Precision M2400 Intel Dual Core 2<br />Nvidia Quadro FX 370M (Driver Nvidia 180.44)<br />HDA Intel (STAC92xx Analog)<br />---------------

      Comment


        #4
        Re: Action &quot;Send mail&quot; for Dolphin

        There is > Thunderbird Service Menu and > Command line arguments - Thunderbird

        BUT here the Thunderbird can't start more than one attachment.

        CLI command:
        Code:
        thunderbird -compose attachment="file:///file01,file:///file02"
        only attachs the first file.
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment


          #5
          Re: Action &quot;Send mail&quot; for Dolphin

          and this is the end of the question!

          thanks.
          g.

          (shall I mark somewhere that this topic is solved?)

          ---------------<br />Linux kernel 2.6.28-15-generic<br />Kubuntu 9.04 64bit KDE 4.2.2<br />Dell Precision M2400 Intel Dual Core 2<br />Nvidia Quadro FX 370M (Driver Nvidia 180.44)<br />HDA Intel (STAC92xx Analog)<br />---------------

          Comment

          Working...
          X