VectorLinux
October 30, 2014, 09:09:09 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: solved:kontextmenu..mailattachment  (Read 2393 times)
ghartl1
Vectorite
***
Posts: 379


« on: February 19, 2008, 04:02:34 am »

hi,

i use vl 5.8 with kde 3.5.7

is there a howto available to add an extra entry in the kontextmenue of kde.

i have in mind to attach files to email via kontextmenue (attach to mail...)

my mailclient is thunderbird

i tried other hoetos..but they didnt work...
maybe someone has had already done on his box.
so any advise is welcome

greets günter
« Last Edit: February 22, 2008, 05:19:48 pm by ghartl1 » Logged
ghartl1
Vectorite
***
Posts: 379


« Reply #1 on: February 19, 2008, 01:03:30 pm »

solved..

http://kde-apps.org/content/show.php/Thunderbird+Service+Menu?content=19328

worked

greets günter
Logged
ghartl1
Vectorite
***
Posts: 379


« Reply #2 on: February 21, 2008, 09:38:28 am »

close..the howto in the previous message worked with the native tb in vl.

but i have ialready installed a german thunderbird on some boxes.(a tarball from sources)
so in general...the text is correct in the servicemenue.

if i click it..a errormessage appears "could not find thunderbird"
no wonder..its not in my PATH

thunderbird resides on my box in /opt/thunderbird/..and in this directory is my thunderbird-executable

below is my PATH:
 didi:$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/opt/bin:/usr/local/games:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin:.


so there is no /opt/thunderbird path there

what would be the best way to show the system my thunderbird-executable?

in .bashrc....export (dont know the exact syntax)
or a ln -s (but from where to ??)

need advise for this minor issue

thanks in advance for your time..

this is the file to place under /opt/kde/apps/konqueror/servicemenues...

[Desktop Entry]
Encoding=UTF-8
ServiceTypes=all/allfiles
Actions=mail_as_attachment

[Desktop Action mail_as_attachment]
Name=Mail as Thunderbird Attachment...
Name[de]=Verschicken als Anhang...
Icon=/usr/share/thunderbird/icons/mozicon16.xpm
Exec=thunderbird -compose `echo attachment=\'file://%F\' | sed 's/ \//,file:\/\/\//g'`

maybe its easier to modify this script above..alas i have no clue how to do it :-(

regards günter
Logged
ghartl1
Vectorite
***
Posts: 379


« Reply #3 on: February 22, 2008, 05:20:56 pm »

solved

i modified the exec-path in the file to the correct destination..

greets günter
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!