graylinux
August 24th, 2014, 11:26 PM
Hi
I managed to get my first convert from WinXp to Lubuntu...!! Sadly, the first thing he wanted to do he was unable to do and I have failed to resolve the problem.
He went into one of his photograph folders in PCMANFM, selected 3 .jpgs, right-clicked.... an... arrgghhh....no option to send via thunderbird (the mail client I set up for him). Now we all know that he could create a mail then attach multiple photos but that's not really the point. I assured him if it could be done in XP it could be done in Lubuntu!.I have now spent days on it!
I discoved the .desktop feature in PCMANFM (whereby a .desktop can be placed in /home/myusername/.local/share/file-manager/actions) and managed to at least get a custom right-click option working to 'Send via Thunderbird'... but only for a single photo. That took me about three days! But I have singularly failed to get it to work with multiple attachments.
I then tried to build an ordinary .desktop (actionned by clicking it) to add several attachments using hard-coded names. I thought if I could get that working I could then try to substitute them out from the %U variable presented by PCMANFM. Alas, I cannot get it to open thunderbird with multiple attachments.
I know this can be done because nemo can do it.... but, believe me, offering a new convert two file managers with different look/feel/capabilities is utterly bewildering! I want to stick with PCMANFM.
So here is my 'right-click' .desktop which will attach a single file to a new thunderbird composition
[Desktop Entry]
Type=Action
Name=Send via Thunderbird
Tooltip=Send via Thunderbird
Profiles=profile-on_file;
Icon=thunderbird
[X-Action-Profile profile-on_file]
Name=Default Profile
MimeTypes = all/allfiles;
SelectionCount = %c
Exec = thunderbird -compose "attachment='%U'"
And here is my latest attempt at a standard .desktop to open multiple attachments
[Desktop Entry]
Name=thunderbird
Comment=thunderbird
Exec=thunderbird -compose "attachment='/home/myusername/Pictures/THE_ROCK/blue.jpg' '/home/myusername/Pictures/THE_ROCK/red.jpg'"
StartupNotify=true
Terminal=true
Type=Application
Icon=system-file-manager
I think it's the way quotes, spaces and commas are used in .desktop files and/or thunderbird..... I have tried so many combinations I've lost count!
Any ideas anyone, please?
I managed to get my first convert from WinXp to Lubuntu...!! Sadly, the first thing he wanted to do he was unable to do and I have failed to resolve the problem.
He went into one of his photograph folders in PCMANFM, selected 3 .jpgs, right-clicked.... an... arrgghhh....no option to send via thunderbird (the mail client I set up for him). Now we all know that he could create a mail then attach multiple photos but that's not really the point. I assured him if it could be done in XP it could be done in Lubuntu!.I have now spent days on it!
I discoved the .desktop feature in PCMANFM (whereby a .desktop can be placed in /home/myusername/.local/share/file-manager/actions) and managed to at least get a custom right-click option working to 'Send via Thunderbird'... but only for a single photo. That took me about three days! But I have singularly failed to get it to work with multiple attachments.
I then tried to build an ordinary .desktop (actionned by clicking it) to add several attachments using hard-coded names. I thought if I could get that working I could then try to substitute them out from the %U variable presented by PCMANFM. Alas, I cannot get it to open thunderbird with multiple attachments.
I know this can be done because nemo can do it.... but, believe me, offering a new convert two file managers with different look/feel/capabilities is utterly bewildering! I want to stick with PCMANFM.
So here is my 'right-click' .desktop which will attach a single file to a new thunderbird composition
[Desktop Entry]
Type=Action
Name=Send via Thunderbird
Tooltip=Send via Thunderbird
Profiles=profile-on_file;
Icon=thunderbird
[X-Action-Profile profile-on_file]
Name=Default Profile
MimeTypes = all/allfiles;
SelectionCount = %c
Exec = thunderbird -compose "attachment='%U'"
And here is my latest attempt at a standard .desktop to open multiple attachments
[Desktop Entry]
Name=thunderbird
Comment=thunderbird
Exec=thunderbird -compose "attachment='/home/myusername/Pictures/THE_ROCK/blue.jpg' '/home/myusername/Pictures/THE_ROCK/red.jpg'"
StartupNotify=true
Terminal=true
Type=Application
Icon=system-file-manager
I think it's the way quotes, spaces and commas are used in .desktop files and/or thunderbird..... I have tried so many combinations I've lost count!
Any ideas anyone, please?