Linux
Top Ten Mac OS X Tips for Linux Geeks
Actually called "Top Ten Mac OS X Tips for Unix Geeks".
- Read more about Top Ten Mac OS X Tips for Linux Geeks
- Log in to post comments
Cherry Linux keyboard and Java
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:
Editing crontab for QNAP, and making it stick
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:
- Read more about Editing crontab for QNAP, and making it stick
- Log in to post comments
Subpixel hinting in SuSE 10.3
How to enable subpixel hinting in SuSE 10.3.
- Read more about Subpixel hinting in SuSE 10.3
- Log in to post comments
Fixed DPI with NVIDIA driver on Linux
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.
- Read more about Fixed DPI with NVIDIA driver on Linux
- Log in to post comments
Mailing files from Konqueror
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 Entry]
Actions=SendToMailRcp
Encoding=UTF-8
ServiceTypes=all/allfiles
X-KDE-Priority=TopLevel
X-KDE-Submenu=Send To
[Desktop Action SendToMailRcp]
Name=Mail Recipient...
Exec=kmail --attach %F
Icon=kmail
- Read more about Mailing files from Konqueror
- Log in to post comments
Using KMail from Firefox
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.
- Read more about Using KMail from Firefox
- Log in to post comments
Specific NIC for bridged network
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:
- Read more about Specific NIC for bridged network
- Log in to post comments
Fixed NIC names
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
PERSISTENT_NAME=xxx
to one of them, and
PERSISTENT_NAME=yyy
to the other, then run
SuSEconfig
and
/etc/init.d/network restart.
- Read more about Fixed NIC names
- Log in to post comments