Articles

Using KMail from Firefox

Submitted by gunnar on
Question

How do I get Firefox to open mailto-links with KMail and use KMail from Tools/New Message?

Answer

For some reason this IMO important configuration setting hasn't made it into the Preferences dialog but it is available:

  1. Open the "about:config" page.
  2. Type "mailto" in the filter field.

Specific NIC for bridged network

Submitted by gunnar on
Question

I have two NIC's and I don't want eth0 to be used for the bridged network. How do I specify which one to use?

Answer

Assuming you have already setup networking, run vmware-config to change your configuration. 

Eventually you will be asked if you want to keep or change your network setup. Below is a sequence of questions and answers that selects the NIC "lan" for bridged network: 

Fixed NIC names

Submitted by gunnar on
Question

I have two NIC's, one wired and one wireless. On each boot SuSE 9.3 seems to randomly assign eth0 to one of them and eth1 to the other. It doesn't matter that the wireless is disabled. How do I assign a fixed name to each NIC?

Answer

You need to assign a "persistent name" to each NIC.

In "/etc/sysconfig/network" you will find a file named ifcfg-something for each NIC. Edit the ones whose names end with MAC adresses and add the line

PERSISTENT_NAME=xxx

to one of them, and

PERSISTENT_NAME=yyy

to the other, then run

SuSEconfig

and

/etc/init.d/network restart.

Space after title in Garland node listings

Submitted by gunnar on
Question

How do I get a bit of space between the title and first node in garland node listings?

Answer

Edit the node.tpl.php template in the garland theme and add a <br /> before the node title.

    <?php if ($page == 0): ?>
          <br />
          <h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
    <?php endif; ?>