Tech Tips

AutoHotkey alternatives for Linux

For those of you looking for AutoHotkey alternatives for Linux, check these out:
  • compiz – OpenGL window and compositing manager
  • autokey – desktop automation utility
  • wmctrl – control an EWMH/NetWM compatible X Window Manager
  • setxkbmap – set the keyboard using the X Keyboard Extension
  • xmodmap – utility for modifying keymaps and pointer button mappings in X
  • xdotool – simulate X11 keyboard/mouse input
  • xvkbd – software virtual keyboard for X11
  • xbindkeys – a grabbing keys program for X
  • xte – Generates fake input using the XTest extension
  • xmacro – Record/play keystrokes and mouse movements in X displays

What tools do you use? Share your tips…

Tech Encounters

Why is Drupal “Contact Form” not sending any email?

PROBLEM : My “Contact Form” in Drupal (v6.14) was not delivering any email to my mailbox. No error was indicated in Drupal logs.

SOLUTION : Turned out my web hosting company had to move my domain name record from /etc/localdomains to /etc/remotedomains.

Here’s a php script to test the sending of email:

$to = "[email protected]";
$subject = "Test mail";
$message = "Hello! This is a test message.";
$from = "<name>@<your domain>";
$headers = "From: $from";
echo "Mail Sent.";