Monday, June 26, 2006

Editing the Start Menu(Main Menu) in Gnome (Fedora Core 3)

Apparently menu editing is disabled by default.

To enable it:

(as root)
#cd /etc/gnome-vfs-2.0/modules
#mv default-modules.conf \ default-modules.conf.without-menu-editing
#cp default-modules.conf.with-menu-editing \ default-modules.conf


Then the next time you start gnome you should be able to edit the apps
menu by either normal method:

o right-click on the menu item you want to edit, or
o go to the location "applications:///" in a nautilus window, and rearrange things there.

** I think menu editing should be *enabled* from the get-go? **

Wednesday, May 31, 2006

Hylafax - Convert a Fax to a pdf File

Same script different acts

I. To have hylafax save incomming faxes in pdf format
(it will work to copy the whole selection into a executable file and run the script):

#cd /var/spool/hylafax/bin
#cp faxrcvd faxrcvd.original
#cp faxrcvd-mail faxrcvd-mail.original wget "http://www.hylafax.org/howto/faxrcvd/faxrcvd-pdf" wget "http://www.hylafax.org/howto/faxrcvd/faxrcvd-mail-pdf" mv faxrcvd-pdf faxrcvd mv faxrcvd-mail-pdf faxrcvd-mail
#/etc/init.d/hylafax restart

***********************************************

II. Converting a fax to a PDF-file

By default, HylaFAX will send a mail with a FTP-link by which you can view the fax. I certainly dislike this way. It's possible to have the incoming faxes converted to a PDF-file and then let them be mailed to you. First, navigate to this directory.

cd /var/spool/hylafax/bin

Now first make a backup of the file faxrcvd (just to make sure). Next, download these two scripts into the same directory :
http://www.hylafax.org/howto/faxrcvd/faxrcvd-pdf
http://www.hylafax.org/howto/faxrcvd/faxrcvd-mail-pdf
Rename these files to faxrcvd and faxrcd-mail. Now open the file faxrcvd-mail in your favorite text-editor and look for the line where it makes its calls to faxinfo. Doublecheck to see if the path is the correct one. Now save the file, stop and start HylaFAX and you should receive a PDF-Fax very soon.

**************************************************************************

-Vincent

Wednesday, May 10, 2006

Scalable Network Infrastructure Workshop

I'm attending a workshop on the above...will upload some of the stuff I've learn real soon...Will also be uploading some stuff on VOIP..really good stuff...:)

Friday, April 28, 2006

Dual Booting FreeBSD and WinXP

I have a similar setup and I thot that this would help someone sometime........:-)

4 easy steps
---------------

* First install the port


#cd /usr/ports/sysutils/grub
#make install clean

* Create the "menu.lst" file

#vi /boot/grub/menu.lst

---snip---

# For booting FreeBSD

title FreeBSD
root (hd0,1,a)
kernel /boot/loader

# For booting Win XP

title Win XP
root (hd0,0)
makeactive
chainloader +1
boot
---snip---

(**) This will make FreeBSD the default OS


* Make MBR writable

#sysctl kern.geom.debugflags=16

NOTE: if you do not use the above command then you will not be able to run the grub-install script, it will dump out with something like this:-

--------snip-------------

[zaphod] /boot/grub# grub-install hd0

GNU GRUB version 0.97 (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> root (hd0,1,a)
Filesystem type is ufs2, partition type 0xa5
grub> setup --stage2=/boot/grub/stage2 --prefix=/boot/grub (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/ufs2_stage1_5" exists... yes
Running "embed /boot/grub/ufs2_stage1_5 (hd0)"... failed (this is not fatal)
Running "embed /boot/grub/ufs2_stage1_5 (hd0,1,a)"... failed (this is not fatal)
Running "install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/menu.lst "... failed


Error 29: Disk write error
grub> quit
--------snip-------------


* grub-install script

The grub-install script saves you from having to install the various components manually using the grub command line interface.

#grub-install hd0

NOTE: hd0 is listed in the /boot/grub/device.map file to map to the correct device (i.e. /dev/ad0)

More info is available here:-

http://www.gnu.org/software/grub/