Results 1 to 7 of 7

Thread: AttachToThunderbirdMail.desktop

  1. #1
    pc54g2 NNTP User

    Default AttachToThunderbirdMail.desktop


    Hi,

    anyone has tried successfully this method 'Thunderbird Service Menu
    KDE-Look.org'
    (http://www.kde-look.org/content/show...&content=19328)
    to have the menu "attach to TDB" in KDE4/Dolphin ?

    It does not work, even exctracting the files in
    ~/.kde/share/apps/konqueror/servicemenus (instead of
    /usr/share/apps/d3lphin/servicemenus which does not exist in openSUSE
    11.1) and changing the location of the icon like that :


    Code:
    --------------------
    [Desktop Entry]
    Encoding=UTF-8
    ServiceTypes=all/all
    Actions=attachToEmail

    [Desktop Action attachToEmail]
    Name=Attach to Thunderbird Mail
    Name[fr]=Envoyer en piece jointe avec Thunderbird
    Icon=/usr/lib/thunderbird/icons/mozicon16.png
    Exec=/usr/bin/thunderbird -compose `echo attachment=\'file://%F\' | sed 's/ \//,file/\/\//g'`
    --------------------


    it is a little bit strange because with this changes, the option
    "attach to mail with TDB" appear in the sub-menu "Action" in dolphin,
    but only with the file AttachToThunderbirdMail.desktop and, if it
    opens a tdb'msg windows, it does not attach the file

    thanks for ideas


    --
    OpenSuse 11.1 - KDE 3.5.10 release 21.9 - 2.6.27.7-9-default - Intel
    Pentium 4 3 GHz - Asus P4P800 SE - 1Go DDR SDRAM - ATI Radeon 9600
    SERIES - Creative EMU10K1SB Live Audio Processor - 802.11g PCI Wireless
    Network Adapter - Samsung Syncmaster 931BW
    ------------------------------------------------------------------------
    pc54g2's Profile: http://forums.opensuse.org/member.php?userid=786
    View this thread: http://forums.opensuse.org/showthread.php?t=407715


  2. #2
    j xavier NNTP User

    Default Re: AttachToThunderbirdMail.desktop


    i haven't thought about this since last summer when i managed to make it
    work. so bear with me....

    first the desktop file should be extracted to
    ~/.kde4/share/kde4/services/ServiceMenus... then edit what you have to:

    ServiceTypes=KonqPopupMenu/Plugin,all/all

    the rest is fine.

    KDE4 Dolphin and Konqueror should both have the AttachToThunderbird
    selection in the Actions part of the context menu now.

    If not (this is the part i'm not sure i had to do) download the script
    file to change a servicemenu script from KDE3 to KDE4.. here....
    'KDE4-servicemenus KDE-Apps.org' (http://tinyurl.com/djvjdd)

    move it to the Home directory root, make sure it's executable (make it
    so, if not) and run it from a terminal. That should do the trick.... the
    script file is handy to use kde3 servicemenus in kde4, good thing to
    have.


    --
    j_xavier
    ------------------------------------------------------------------------
    j_xavier's Profile: http://forums.opensuse.org/member.php?userid=7575
    View this thread: http://forums.opensuse.org/showthread.php?t=407715


  3. #3
    pc54g2 NNTP User

    Default Re: AttachToThunderbirdMail.desktop


    The first part does not work.

    First, folder ~/.kde4/share/kde4 doesn't exist, I've created it with
    subfolders services/ServiceMenus and extracted files into the last one.
    I've substitued -ServiceTypes=all/allfiles- with
    -ServiceTypes=KonqPopupMenu/Plugin,all/al-l as you said, but another
    problem is that the path
    -Icon=*/usr/share/thunderbird/icons/mozicon16.png*- doesn't exist. In
    fact :


    Code:
    --------------------
    $locate -i thunderbird | grep -i mozicon16
    /usr/lib/thunderbird/icons/mozicon16.xpm
    --------------------


    so, should we have to replace the path with this one ?

    I do it but it does not work, and neither in KDE3


    --
    OpenSuse 11.1 - KDE 3.5.10 release 21.9 - 2.6.27.7-9-default - Intel
    Pentium 4 3 GHz - Asus P4P800 SE - 1Go DDR SDRAM - ATI Radeon 9600
    SERIES - Creative EMU10K1SB Live Audio Processor - 802.11g PCI Wireless
    Network Adapter - Samsung Syncmaster 931BW
    ------------------------------------------------------------------------
    pc54g2's Profile: http://forums.opensuse.org/member.php?userid=786
    View this thread: http://forums.opensuse.org/showthread.php?t=407715


  4. #4
    j xavier NNTP User

    Default Re: AttachToThunderbirdMail.desktop


    change the line for the icon pointer as you mentioned, then i think we
    have to clarify the filesystem location. Seems that you are talking in
    terms of starting in root, to be more accurate...
    /home/*user*/.kde4/share/kde4/services/ServiceMenus.

    that path should exist.


    --
    j_xavier
    ------------------------------------------------------------------------
    j_xavier's Profile: http://forums.opensuse.org/member.php?userid=7575
    View this thread: http://forums.opensuse.org/showthread.php?t=407715


  5. #5
    pc54g2 NNTP User

    Default Re: AttachToThunderbirdMail.desktop


    No, sorry, this path does not exist in my system and I had to create it
    - that's to say 3 empty subfolders kde4, services and ServiceMenus in
    /home/myusername/.kde4/share/ - not as root, but as usual user...

    You've got this path ?


    --
    OpenSuse 11.1 - KDE 3.5.10 release 21.9 - 2.6.27.7-9-default - Intel
    Pentium 4 3 GHz - Asus P4P800 SE - 1Go DDR SDRAM - ATI Radeon 9600
    SERIES - Creative EMU10K1SB Live Audio Processor - 802.11g PCI Wireless
    Network Adapter - Samsung Syncmaster 931BW
    ------------------------------------------------------------------------
    pc54g2's Profile: http://forums.opensuse.org/member.php?userid=786
    View this thread: http://forums.opensuse.org/showthread.php?t=407715


  6. #6
    j xavier NNTP User

    Default Re: AttachToThunderbirdMail.desktop


    it is hidden, and if you are using a gui file manager like
    dolphin/konqueror, to see it you have to View/ShowHiddenFiles in the
    menubar.

    (if you already know this, sorry, i'm just making sure we are on the
    same page)

    if you don't have this file path i am unsure what is wrong, do you have
    ANY /home/*user*/.kde4 folders?


    --
    j_xavier
    ------------------------------------------------------------------------
    j_xavier's Profile: http://forums.opensuse.org/member.php?userid=7575
    View this thread: http://forums.opensuse.org/showthread.php?t=407715


  7. #7
    pc54g2 NNTP User

    Default Re: AttachToThunderbirdMail.desktop


    Hi,

    yes View/ShowHiddenFile is well ticked in my filemanager,if it wasn't
    the case I could'nt see ~/.kde4 and the folder ~/.kde4 exist. It
    contains subfolders


    Code:
    --------------------
    Autostart
    cache-linux-enr1
    env
    share
    shutdown
    socket-linux-enr1
    tmp-linux-enr1
    --------------------


    A little search of the term 'ServiceMenus' gives :


    Code:
    --------------------
    $locate -i ServiceMenus | egrep -v '\.' | sort | uniq
    /etc/opt/kde3/share/apps/konqueror/servicemenus
    /opt/kde3/share/apps/dolphin/servicemenus
    /opt/kde3/share/apps/k3b/servicemenus
    /opt/kde3/share/apps/konqueror/servicemenus
    /usr/share/kde4/services/ServiceMenus
    --------------------


    As I said, I had to create the folder
    ~/.kde4/share/kde4/services/ServiceMenus


    Code:
    --------------------
    rpm -qa | egrep -i "kde4|dolphin"
    kde4-ksnapshot-4.2.0-71.7
    kde4-kio_sysinfo-branding-openSUSE-11.1.1-68.13
    kde4-kupdateapplet-0.8.39-4.6
    kde4-kupdateapplet-packagekit-0.8.39-4.6
    kde4-konsole-4.2.0-70.8
    kde4-kpat-4.2.0-41.17
    kde4-kwin-4.2.0-197.1
    kde4-plasma-addons-4.2.0-55.4
    kde4-l10n-fr-4.2.0-14.19
    kde4-kmess-1.98-0.pm.svn20090123
    libkde4-4.2.0-94.2
    kde4-krdc-4.2.0-58.6
    kde4-kio_sysinfo-11.1.1-68.13
    kde4-kmines-4.2.0-41.17
    kde4-dolphin-4.2.0-70.8
    kde4-kdm-branding-openSUSE-11.1.1-68.13
    kde4-ksudoku-4.2.0-41.17
    kde4-kgreeter-plugins-4.2.0-197.1
    kde4-gwenview-4.2.0-71.7
    kde4-kmahjongg-4.2.0-41.17
    kde4-kfind-4.2.0-70.8
    kde4-kreversi-4.2.0-41.17
    kde4-filesystem-4.2.0-36.3
    kde4-krfb-4.2.0-58.6
    kde4-ark-4.2.0-45.16
    kde4-kdm-4.2.0-197.1
    --------------------


    --
    OpenSuse 11.1 - KDE 3.5.10 release 21.9 - 2.6.27.7-9-default - Intel
    Pentium 4 3 GHz - Asus P4P800 SE - 1Go DDR SDRAM - ATI Radeon 9600
    SERIES - Creative EMU10K1SB Live Audio Processor - 802.11g PCI Wireless
    Network Adapter - Samsung Syncmaster 931BW
    ------------------------------------------------------------------------
    pc54g2's Profile: http://forums.opensuse.org/member.php?userid=786
    View this thread: http://forums.opensuse.org/showthread.php?t=407715


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •