2011 August

How to Add an Image to Your Mozilla Thunderbird Signature

Add an Image to Your Mozilla Thunderbird Signature

To insert an image into your signature in Mozilla Thunderbird:

  • Start with a new, empty message using HTML formatting.
  • In the message’s body, create your signature the way you want it to look.
  • Insert the image.
    • Go to the image insertion dialog’s Link tab to link your image to a web page.
  • Select File | Save As | File… from the message’s menu.
  • Make sure HTML Files is selected under Format:.
  • Enter “signature.html” (or something similar) under Save As:.
  • Click Save.
  • Close the message window, not saving the draft.
  • Select Tools | Account Settings… from the Mozilla Thunderbird menu.
  • For all desired accounts:
    • Go to the account’s root item.
    • Make sure Attach this signature: is checked.
    • Click Choose….
    • Find and highlight the “signature.html” file just created.
    • Click Open.
  • Click OK.

source

By WladyX on 30 August, 2011 | Mail, Thunderbird | 1 comment

Change the default sort for all Thunderbird folders, inc RSS

Edit->Preferences->Advanced->General->Config editor

change:

mailnews.default_news_sort_order 1
mailnews.default_news_sort_type 22
mailnews.default_sort_order 1
mailnews.default_sort_type 18

to:

mailnews.default_news_sort_order 2
mailnews.default_news_sort_type 22
mailnews.default_sort_order 2
mailnews.default_sort_type 18

and delete ImapMail from ~/.thunderbird/profile

source

By WladyX on 29 August, 2011 | Mail, Thunderbird | 1 comment

Firefox 6 and Thunderbird 6 in ubuntu natty 11.04

sudo add-apt-repository ppa:mozillateam/thunderbird-stable
sudo add-apt-repository ppa:mozillateam/firefox-next
sudo apt-get update && sudo apt-get upgrade

source1 source2

By WladyX on | PPA, Ubuntu | A comment?

VMware Tools time synchronization configuration

When using NTP in the guest, disable VMware Tools periodic time synchronization.

To disable VMware Tools periodic time sync, perform one of these options:

  •     Set tools.syncTime = "FALSE" in the configuration file (.vmx file) of the virtual machine.

OR

  •     Deselect Time synchronization between the virtual machine and the host operating system in the VMware Tools toolbox GUI of the guest operating system.

OR

  •     Run the vmware-guestd --cmd "vmx.set_option synctime 1 0" command in the guest operating system.  To enable time syncing again, use the same command with “0 1″ instead of “1 0″.

For ESX 4.1 and later, use these parameters for Linux, Solaris, and FreeBSD:

  •     To display the current status of the service

vmware-toolbox-cmd timesync status

  •     Disables periodic time syncronization

vmware-toolbox-cmd timesync disable

source

Time drifting when running a Linux guest under VMware ESX server

Should you find NTP time is not being reliably synchronized the following steps may be useful:
- Verify that the choosen time souce has given us time and is trusted:
Ensure that when typing:
ntpq -p
that there is an asterisk by the chosen time provider entry.
The virtual machine may need to its APIC and/or ACPI disabled at boot time before loading the OS in addition to these steps.
If an asterisk is not seen using the ntpq -p command APIC could be interferring with time synchronization. This can be disabled by passing the “noapic” parameter at bootup by adding this parameter to the boot switch in /boot/grub/menu.lst.

source

By WladyX on 18 August, 2011 | VMware | A comment?

Gentoo apcupsd not shutting down UPS

If you want apcupsd to power off your UPS when it shuts down your system in a power failure, you must add apcupsd.powerfail to your shutdown runlevel:

rc-update add apcupsd.powerfail shutdown

By WladyX on 16 August, 2011 | Gentoo | A comment?

Twitter Tricks: Find Your Account RSS Feed In The New Profile Format

How To Find Your Twitter RSS Feed

  • All Twitter account RSS feeds are written in this format: http://twitter.com/statuses/user_timeline/(User Account ID).rss.
  • If you happen to know the Account ID of the user you want to follow, you just have to plug in the right number where I’ve written (User Account ID) and you should be good to go. See a completed example below. If you don’t know the ID you’re after, read the following steps.
  • To find Twitter account IDs, the easiest method is to use ID from User. Type in the user name of the account that you’re interested in following, and this cool little tool will automatically generate the Twitter account ID you need.
  • Again, finish off by inserting the ID that you just found into the Twitter RSS URL and you’re all set

As an example, we can look at my Twitter Account. My User ID is 213772242. By adding that to the generic Twitter RSS URL, we get: http://twitter.com/statuses/user_timeline/213772242.rss

source

By WladyX on 11 August, 2011 | General | A comment?

Find and remove old big mails from maildir

#! /bin/bash
for i in `ls /home/`
find /home/$i/Maildir/*/* -type f -size +8192k -mtime +0 -exec grep -il "^Subject: test subject" {} \; -exec rm -f {} \;
done

By WladyX on 10 August, 2011 | Scripts | A comment?

Yellow triangle removal for cf-root

(1) Make sure you have CF-Root flashed (see the first post). You must have the “CWM Manager” app available.

(2) Make sure you have the same version of CF-Root extracted until you have the zImage file. (ZIP –> extract –> TAR –> extract –> zImage).

(3) Push the zImage file to /sdcard . It must still be called zImage !

(4) Find an original Samsung signed stock kernel (preferably from the same stock firmware you have, but it’s not terribly important)

(5) Reboot into download mode (adb reboot download, or boot the device with home and volume-down pressed)

(6) Fire up ODIN, and flash the Samsung kernel

(7) Boot the device with the stock kernel. CWM Manager will still be available.

(8) Start CWM Manager, select Flash Kernel, and select the zImage from CF-Root you previously put on your SD-card. The kernel will flash and the device will reboot.

(9) You will now notice you no longer have the warning triangle during boot, but you are actually running CF-Root with all it’s goodies!

(10) In the future, if you only use the Flash Kernel option inside CWM Manager instead of ODIN, the triangle will not return, neither will your flash counter increase. But keep in mind, that CWM Manager can only handle a direct “zImage” if you are NOT running a kernel with full busybox support (this is currently needed for flashing kernels out of .TAR and .ZIP files)

 

source

By WladyX on 9 August, 2011 | Android | A comment?

Debrand Samsung Galaxy S2

1. Root
2.

  1. Download and install SpoofFw on your phone
  2. Press “Backup” and the program will back up your /efs
  3. Press menu (left touch button) and choose “present” or you can fill the fields manually (check third post).
  4. Press the first “Ok” and reboot your phone
  5. Start SpoofFw again and do step 3 again
  6. Now press the second “Ok” and exit the app
  7. Connect your phone to Kies and Upgrade

You can fill the fields with this info:

source

 

By WladyX on 8 August, 2011 | Android | A comment?

Remote desktop from Linux to Windows 2008 – license error

error:

disconnect: Internal licensing error. 

solution:
cd
chmod 500 .rdesktop

also delete any licences from .rdesktop

source

for remmina change clientname in ~/.remmina/xxx.remmina

By WladyX on 5 August, 2011 | Windows | A comment?