linuxlogo

 

Linux Tips

Alter Mozilla’s secret settings

  • Difficulty: Easy
  • Application: Mozilla

If you find that you would like to change how Mozilla works but the preferences offer nothing by way of clickable options that can help you, there is a special mode that you can enable in Mozilla so that you can change anything. To access it, type this into the address bar:

about:config 

You can then change each setting that you are interested in by changing the Value field in the table.

Other interesting modes include general information (about:), details about plugins (about:plugins), credits information (about:credits) and some general wisdom (about:mozilla).

Be careful.

Talk to your doctor!

  • Difficulty: Easy
  • Application: Emacs

To say that Emacs is just a text editor is like saying that a Triumph is just a motorcycle, or the World Cup is just some four-yearly football event. True, but simplified juuuust a little bit. An example? Open the editor, press the Esc key followed by X and then enter in doctor: you will be engaged in a surreal conversation by an imaginary and underskilled psychotherapist. And if you want to waste your time in a better way

Esc-X tetris 

will transform your ‘editor’ into the old favourite arcade game.


 Setting up 2 IP address on "One" NIC. This example is on ethernet.
  • Difficulty: Hard
  • Application : Linux command line (this is why we have a GUI like KDE)


 STEP 1 (The settings for the initial IP address) $ cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static BROADCAST=192.168.99.255 IPADDR=192.168.1.155 NETMASK=255.255.252.0 NETWORK=192.168.1.0 ONBOOT=yes STEP 2 (2nd IP address: ) $ cat /etc/sysconfig/network-scripts/ifcfg-eth0:1 DEVICE=eth0:1 BOOTPROTO=static BROADCAST=192.168.99.255 IPADDR=192.168.1.182 NETMASK=255.255.252.0 NETWORK=192.168.1.0 ONBOOT=yes SUMMARY Note, in STEP 1 the filename is "ifcfg-eth0", whereas in STEP 2 it's "ifcfg-eth0:1" and also not the matching entries for "DEVICE=...". Also, obviously, the "IPADDR" is different as well.
Mounting an ISO Image as a Filesystem
  • Difficulty: moderate
  • Application : Linux command line (this is why we have a GUI like KDE)
-- this is great if you don't have the DVD hardware, but, need to get at the data. 
The following show an example of mounting the Fedora core 2 as a file.

 $ mkdir /iso0

$ mount -o loop -t iso9660 /FC2-i386-DVD.iso /iso0

 Or to mount automatically at boot, add the following to "/etc/fstab"

 /FC2-i386-DVD.iso /iso0 iso9660 rw,loop 0 0

 Reference: http://umn.dl.sourceforge.net/sourceforge/souptonuts/README_fedora.txt

Leave a Reply

Your email address will not be published. Required fields are marked *