Actually called "Top Ten Mac OS X Tips for Unix Geeks".
Since I couldn't get the KeyMan utility that came with my Cherry keyboard to work with SuSE 10.3 I had problems getting the Cut, Copy and Paste keys to work. I tried using the KDE KHotKey service instead, and by defining input actions that map these keys to Ctrl+X, Ctrl+C and Ctrl+V I could use them in most applications.
Starting with Java 1.6 though, this isn't enough. Seems like Java can't handle mappings made for KHotKeys. To get the keys to work with Java applications I had to do two things:
If you have a QNAP you may want to run some scripts regularly. Editing the crontab seems to work but your changes don't survive a reboot. There is however a fairly simple solution:
During boot, the QNAP will mount the partition /dev/mtdblock5 in /tmp/config and execute the file autorun.sh in this directory, if it exists. The following steps show you how to create the file with the commands necessary to add a crontab entry:
First, mount the partition, cd into the config directory and edit or create the autorun.sh file:
How to enable subpixel hinting in SuSE 10.3.
How do I tell the NVIDIA driver to use a fixed DPI that does not depend on my screen size?
Add the following to the Device section in your xorg.conf:
Option "UseEdidDpi" "FALSE"
Option "DPI" "75 x 75"
Substitute the DPI you want for 75 above.
I want to right click on one or more files in Konqueror and create a new mail with the files as attachments. Is this possible?
Yes, by creating a service menu entry.
In the directory .kde/share/apps/konqueror/servicemenus, relative to your home directory, create a file called sendto.desktop with the following contents:
[Desktop Action SendToMailRcp]
Exec=kmail --attach %F
How do I get Firefox to open mailto-links with KMail and use KMail from Tools/New Message?
For some reason this IMO important configuration setting hasn't made it into the Preferences dialog but it is available:
- Open the "about:config" page.
- Type "mailto" in the filter field.
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?
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:
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?
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
to one of them, and
to the other, then run