1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558
|
--------------------------------------------------------------------------------
Contents of the tools directory:
--------------------------------------------------------------------------------
Action scripts:
freshmeat_search.pl Search freshmeat.net for selected text
gpg-sign-syl Clear-sign current selection
google_msgid.pl Search groups.google.com for selected message-id
google_search.pl Search google.com for selected text
multiwebsearch.pl Search any search engine for the selected text
textviewer.sh Attempt to view an attachment as plain text
uudec Decode and display uuencoded images
Addressbook conversion:
eud2gc.py Convert Eudora address book to Gnomecard
kmail2sylpheed.pl Import a Kmail address book (KDE2)
kmail2sylpheed_v2.pl Import a Kmail address book (KDE3)
outlook2sylpheed.pl Import an Outlook generated contact list
tb2sylpheed Import The Bat! address books
vcard2xml.py Import an Evolution vCard
Mailbox conversion:
calypso_convert.pl Import mbox files with attachments from Calypso
convert_mbox.pl Import mbox files
maildir2sylpheed.pl Convert a maildir mailbox to MH format
Other tools:
acroread2sylpheed.pl Send PDFs from Adobe Reader 7
filter_conv.pl Convert old-style filters to new filtering
nautilus2sylpheed.sh Send files from Nautilus
OOo2sylpheed.pl Send documents from OpenOffice.org
sylpheed-switcher Run either sylpheed or claws (separate configs)
sylprint.pl Printing engine, explained in README.sylprint
update-po Update the .po files named on the command line.
Extra tools:
gif2xface.pl Convert a 48x48 GIF file to an X-Face header
--------------------------------------------------------------------------------
Detailed Descriptions:
--------------------------------------------------------------------------------
Action scripts
--------------
* freshmeat_search.pl
WORKS ON: selection
COMMAND: |freshmeat_search.pl
Search freshmeat.net for selected text using the default Sylpheed browser
* google_msgid.pl
WORKS ON: selection
COMMAND: |google_msgid.pl
Lookup selected message-id in google using mozilla. Edit the script to use
different browsers.
* google_search.pl
WORKS ON: selection
COMMAND: |google_search.pl
Search google.com for selected text using the default Sylpheed browser
* gpg-sign-syl
WORKS ON: selection, whole message
COMMAND: |gpg-sign-syl|
Clear-sign current selection using gpg.
* multiwebsearch.pl
WORKS ON: selection
see further down for details
* uudec
WORKS ON: current message (or part of multipart message)
COMMAND: uudec %f&
Decode and display uuencoded images using uudecode.
* textviewer.sh
WORKS ON: current message part
COMMAND: textviewer.sh %p |
Attempt to view an attachment as plain text
* More action examples can be found at
http://melvin.hadasht.free.fr/home/sylpheed/actions/
** multiwebsearch.pl **
WHAT IT DOES
This is an Actions script that allows you to search
websites for the selected text. It uses the default
Sylpheed browser as configured through Sylpheed's
GUI and specified in ~/.sylpheed/sylpheedrc, and a
configuration file called multiwebsearch.conf.
CONFIGURATION
The configuration file takes the following format:
ALIAS|URL PART|URL PART
ALIAS is a user-defined name; the first URL PART is the
url before the search term; the second URL PART is
optional and contains the remaining part of the url which
comes after the search term. A sample configuration file
is included.
HOW TO USE IT
Copy 'multiwebsearch.conf' to ~/.sylpheed/
Configure an Action:
a) pre-configured website
Command: multiwebsearch.pl --where="google" --what="%s"
b) dynamic
Command: multiwebsearch.pl --where="%u" --what="%s"
In type a) "google" refers to one of the configured aliases,
this Action will always search the website referred to by
the alias "google".
In type b) you will be presented with a dialog box into
which you type one of your configured aliases
Contact: Paul Mangan <claws@thewildbeast.co.uk>
--------------------------------------------------------------------------------
Address book conversion
-----------------------
* eud2gc.py
WHAT IT DOES
This python-script is a quick hack to convert an Eudora (v.3?)
addressbook to vCard (GnomeCard) format.
HOW TO USE IT
You may do whatever you want with it! (Also regarding copying)
However, the script is intended to use like this:
eud2gc.py <Eudora-addressbook-file> <Gnomecard-file>
Be careful not to overwrite your original GnomeCard.gcrd!
(But of course you might want to add the converted stuff to it)
Contact: Jeroen Versteeg <j.m.versteeg@student.utwente.nl>
* kmail2sylpheed.pl
WHAT IT DOES
This perl script will convert an exported Kmail addressbook into a
Sylpheed addressbook. If your version of Kmail is 1.37 or greater
and/or your version of KAddressBook is 3.1beta1 or greater, or
this script mixes up your definitions and their related data, use
'kmail2sylpheed_v2.pl' instead.
HOW TO USE IT
(You must run sylpheed at least once before running this script.)
In Kmail's Address book choose '/File/Export List'. This will export
your Kmail address book data to a *.csv file.
If Sylpheed is running, close it.
From the command line, execute the following:
perl kmail2sylpheed.pl --kmailfile=/path/to/addressbook.csv
Your Kmail address book data will now be contained in Sylpheed's
address book, under the name 'Kmail Address Book'.
Contact: Paul Mangan <claws@thewildbeast.co.uk>
* kmail2sylpheed_v2.pl
This script has been tested with Kmail 1.4.7 and KAddressBook 3.1beta1
WHAT IT DOES
This perl script will convert a Kmail address book that has been
exported in csv format into a Sylpheed address book.
HOW TO USE IT
(You must run sylpheed at least once before running this script.)
Open Kmail's Addressbook, /File/Address Book
In Kmail's Addressbook choose '/File/Export/Export List...'. This
will allow you to export your Kmail addressbook data to a *.csv file.
If Sylpheed is running, close it.
From the command line, execute the following:
perl kmail2sylpheed_v2.pl --kmailfile=/path/to/addressbook.csv
You can also use --help to see usage instructions.
Your Kmail addressbook data will now be contained in Sylpheed's
addressbook, under the name 'Kmail address book'.
Contact: Paul Mangan <claws@thewildbeast.co.uk>
* outlook2sylpheed.pl
WHAT IT DOES
This perl script converts an Outlook generated contact list into a
Sylpheed XML address book.
HOW TO USE IT
For text files:
--------------
You must export Outlook Express contact list as TXT file, choosing
only "Name" and "Address" fields to export.
You must exit Sylpheed before converting the contact list.
From the command line, execute the following:
outlook2sylpheed.pl fullpathname
For csv files:
-------------
You must export Outlook contact list as CSV file, choosing ALL the
fields available for exporting.
You must exit Sylpheed before converting the contact list.
From the command line, execute the following:
outlook2sylpheed.pl --csv fullpathname
LIMITATIONS
For text files only works with fields described above. If you have
more complex examples send them to me, and I'll try to enhance the
script.
For csv files you must export all fields (but only non empty fields
are added to the created Sylpheed address book) and the number of
fields expected is harcoded. Look for the $nboffields variable in
the script and change its value if you are sure you exported all
fields and script gives the 'unknown csv file format' error.
Contact: Ricardo Mones Lastra <mones@aic.uniovi.es>
* tb2sylpheed
WHAT IT DOES
This perl script will convert an address book exported from The Bat!
into a Sylpheed address book.
HOW TO USE IT
(You must run sylpheed at least once before running this script.)
If Sylpheed is running, close it.
Export The Bat! Address Book to CSV file format with all fields
selected to YES and then start:
tb2sylpheed --tbfile=/full/path/to/thebat/addressbook.csv
The Bat! addressbook data will now be contained in Sylpheed's
addressbook, under the name 'The Bat! Address Book'.
Contact: Urke MMI <urke@gmx.net>
* vcard2xml.py
WHAT IT DOES
This python script will convert an Evolution vCard into a Sylpheed
address book.
HOW TO USE IT
(You must run sylpheed at least once before running this script.)
If Sylpheed is running, close it.
From the command line, execute the following:
vcard2xml.py source_file [destination_file]
When only <source_file> is specified it will overwrite (and
create a backup of) the existing addressbook.
When both arguments are suplied it will create a new additional
addressbook named as <destination_file>.
If the script encounters an error it will attempt to roll back
the changes and restore the original files.
Contact: Bogdan Sumanariu <bsumanariu@one5.ro>
--------------------------------------------------------------------------------
Mailbox conversion
------------------
* calypso_convert.pl
WHAT IT DOES
This perl script imports mbox files that are exported by Calypso.
It recreates the folder structure by scanning the "X-CalypsoFolder"
header and reincludes the attachments referenced in the
"X-CalypsoHtmlBody" "X-CalypsoAccount" "X-Attachment" headers.
HOW TO USE IT
Export the Calypso mailbox by selecting "Save to archive" and check
the "Save attachments" box.
Edit the script to set following variables (at the top of the file):
$mboxdir : path to the exported mbox, e.g. 'Archive' or '.'
$mboxfile : name of exported mbox, e.g. 'mail.txt'
$outdir : name of the MH folder to create, e.g. 'Calypso'
Run the script using
perl calypso_convert.pl
Finally, import that folder by either selecting "New mailbox" or
moving it into your existing directory and recreate the folder
structure manually (contentmenu from folderview).
Contact: Thorsten Maerz <torte@netztorte.de>
* convert_mbox.pl
WHAT IT DOES
This perl script converts an mbox directory's contents into
Sylpheed's MH format.
HOW TO USE IT
Run the script using:
perl convert_mbox.pl MBOX MH_DIR
Move the outputted MH_DIR and its contents into your Sylpheed
Mail folder; in Sylpheed right-click the top-level folder
and choose 'Rebuild folder tree' from the popup menu.
Contact: Fred Marton <Fred.Marton@uni-bayreuth.de>
* maildir2sylpheed.pl
WHAT IT DOES
This perl script converts a mailbox in maildir format into
Sylpheed's MH format.
HOW TO USE IT
Exit Sylpheed if running.
Run the script using:
perl maildir2sylpheed.pl --kmaildir=mail_folder_name
Start Sylpheed and right-click the toplevel mailbox, i.e
"Mailbox (MH)", and select 'Rebuild folder tree'.
You may also need to run '/File/Folder/Check for new messages
in all folders'
Your maildir directory will be backed-up.
Additional options:
--debug debug mode
--dry-run test mode, nothing is actually written
--help brief usage info
Contact: Paul Mangan <claws@thewildbeast.co.uk>
--------------------------------------------------------------------------------
Other tools
-----------
* acroread2sylpheed.pl
WHAT IT DOES
This perl script enables Adobe Reader 7 to send documents to sylpheed
as attachments.
HOW TO USE IT
Make sure that the script is executable (chmod +x acroread2sylpheed.pl)
Start up Adobe Reader 7 (acroread)
Go to /Edit/Preferences/SendMail
Select any email client except 'System Mail (mail)'
Enter the path to this script in the alternate location box
You can then use 'File/Email' or the Email toolbar button to launch
sylpheed (if not already launched) and open a new compose window with
the PDF attached.
Contact: Paul Mangan <claws@thewildbeast.co.uk>
* filter_conv.pl
WHAT IT DOES
This perl script provides easy conversion of your filtering rules
form sylpheed's old filter system (pre version 0.9.99) to the new
filtering system used in sylpheed-claws.
It reads '~/.sylpheed/filterrc' and outputs '~/.sylpheed/matcherrc'.
HOW TO USE IT
Issue the following command from the 'tools' directory:
perl filter_conv.pl
That's it, the new filtering system is now implemented with your
previous rules applied.
Contact: Paul Mangan <claws@thewildbeast.co.uk>
* nautilus2sylpheed.sh
WHAT IT DOES
This script will recursively attach a number of selected
files/directories from Nautilus to a new blank e-mail.
HOW TO USE IT
Copy the script to $HOME/.gnome2/nautilus-scripts, chmod u+x,
and restart nautilus (killall -9 nautilus). You will now have
a right-click menu item: '/Scripts/nautilus2sylpheed.sh'
Contact: Reza Pakdel <hrpakdel@cpsc.ucalgary.ca>
* OOo2sylpheed.pl
WHAT IT DOES
This perl script enables OpenOffice.org to send documents to sylpheed
as attachments.
HOW TO USE IT
OpenOffice.org Version 1.0
--------------------------
Start up OpenOffice.org.
Go to 'Tools/Options/OpenOffice.org/External Programs'
Enter the path to OOo2sylpheed.pl in the 'Program' box
or select it by clicking on the '...' button.
OpenOffice.org Version 1.1.0
----------------------------
Start up OpenOffice.org.
Go to 'Tools/Options/OpenOffice.org/External Programs'
Select either ''Mozilla 1.x (Option 1)', or
'Netscape 6.x - 7.0 (Option 1)' from the 'Program' selection
Enter the path to OOo2sylpheed.pl in the 'Path' box
or select it by clicking on the '...' button.
You can then use 'File/Send/Document as email' to launch sylpheed
(if not already launched) and open a new compose window with the
document attached.
Tested with OpenOffice.org versions 1.0, 1.1.0
Contact: Paul Mangan <claws@thewildbeast.co.uk>
* sylpheed-switcher
WHAT IT DOES
This perl script is for users who like to move between the main
sylpheed branch and the claws branch. Because of some differences
between the stored options it is better IMO to use two separate
'.sylpheed' directory trees. Doing that manually could prove to
be tiresome, and so I've written this script to automate the task.
The first time you run this script you enter the full paths,
including the executable itself, to both the main version of
sylpheed and the claws version. This information is then stored
in a file in your $HOME directory called '.sylpheed-switcher'
During this initial set-up, your '~/.sylpheed' directory
is copied to '~/.sylpheed-main' and '~/.sylpheed-claws'.
When you run sylpheed via this script, your '~/.sylpheed' directory
is deleted and replaced with a symbolic link to either
~/.sylpheed-main' or '~/sylpheed-claws', depending on the option you
choose. (On subsequent usage the symbolic link is deleted and replaced
with a new symbolic link).
HOW TO USE IT
Initial set-up
Enter the full paths to the executable, including the executable itself,
example:
./sylpheed-switcher --claws-path=/usr/local/bin/sylpheed
--main-path=/usr/bin/sylpheed
After the initial set-up, use the following:
./sylpheed-switcher --claws (to run sylpheed-claws)
./sylpheed-switcher --main (to run sylpheed main)
Additionally you can append --debug to run in debug mode.
Use --help for more info.
This script uses the File::Path and Getopt::Long modules, if you don't
already have them installed, you can find them at the CPAN search site
<http://search.cpan.org>
Contact: Paul Mangan <claws@thewildbeast.co.uk>
* update-po
WHAT IT DOES
This script is a message catalog translator's tool, it updates the .po
files named on the command line.
HOW TO USE IT
This script needs to be copied to and run from the 'po' directory.
./update-po lang.po lang2.po ...
to update one or more <yourlang>.po files from the sourcecode files
named in POTFILES.in. The old .po file is save in a .po.old file.
For example, when you want to update fr.po, run ./update-po fr.po,
then edit fr.po to update your translation.
Contact: Wilbert Berendsen <wilbert@oswf.org>
--------------------------------------------------------------------------------
Extra tools
-----------
* gif2xface.pl
WHAT IT DOES
This perl script converts a monochrome (1 bit) 48x48 pixels GIF file
into an X-Face graphic suitable for inclusion into custom headers of
Sylpheed. An X-Face allows to quickly identify (or be identified as)
the sender of a mail message in a xface-capable MUA (like sylpheed).
HOW TO USE IT
After obtaining the desired image for your X-Face you should:
* scale it to 48x48 pixels (Image->Scale image on Gimp)
* down color depth to b/w (Image->Mode->Indexed selecting "Use
Black/White palette" and the desired dithering options (prior to
indexing doing Image->Colors->Threshold allows you to select the
b/w level if you don't want a dithered (dotty) image))
* save file as non-interlaced GIF
Then do:
./gif2xface < filename.gif > filename.xface
In filename.xface will be the X-Face header ready to use.
You can add a custom header in Sylpheed through Configuration->
Preferences per account, "Send" tab, check "Add user-defined header"
then "Edit..." if you want to add it via Sylpheed interface, or do
echo "0:" `cat filename.xface` > ~/.sylpheed/customheaderrc
if you want to create the custom headers file yourself (Warning: this
method is valid only if you don't have any other custom header set or
they will be lost!).
Contact: Ricardo Mones Lastra <mones@aic.uniovi.es>
--------------------------------------------------------------------------------
|