Home > Interests > GNU | Linux
español
Contents (hide)
The Intel® PRO/Wireless 2200BG Driver for Linux works well with the integrated wireless card.
Update (June 30, 2008): The mirror above finally died, however, the packages do not seem to be necessary anymore with the 2.6.22.14–72.fc6 kernel. Installing the package ipw2200-firmware from the fedora repositories seems to have been sufficient.
Audio worked right out of the box. The integrated intel card seems to be pretty standard hardware by now. It also seems that the aoss script is not necessary anymore to enable sound on non-KDE applications.
A proprietary Linux driver with full hardware acceleration support for the ATI Radeon M300 video card is available from the livna repository.
Update (April 20, 2008): The most recent driver for the Radeon M300 card from ATI includes AIGLX support and offers improved overall performance. Use that driver instead of the one available from the Livna repository. However, if the latest ATI driver doesn’t really cut it for you, then download version 8.476, which worked pretty well for me (right click, save as…).
In order to install Compiz and Beryl for 3D desktop support, follow the instructions by Nicofo in this page.
In order to optimize the performance of the DVD/CDRW combo drive on the dell D610, it is necessary to enable DMA on the drive, which means you have to recompile the kernel. Fortunately, there is a workaround:
Add the following line to the end of the /etc/modprobe.conf file:
options libata atapi_enabled=1
Add the following parameter to the kernel boot line in /boot/grub/menu.lst:
combined_mode=libata
Take a look at the complete workaround here
You can determine the state of the lid switch by doing:
cat /proc/acpi/button/lid/LID/state
You can turn on/off the backlight of the LCD panel with radeontool. This tool is available from the dries repository. You can also download the source here. After installing both the laptop-mode-tools (also in the dries repository) and radeontool packages, I created the following script:
#!/bin/bash
LIGHT=$(radeontool light | grep "looks on")
if [ "$LIGHT" = "" ]; then
radeontool light on
else
radeontool light off
fi
This enables turning on/off the backlight of the LCD panel. You can then use xbindkeys to assign a keyboard shortcut and save some additional battery power.
In order to set and maintain the state of the backlight when the lid is closed, you can create a daemon and call it with laptop-mode-tools. This is specially handy if some of your applications (usually games) like to turn the panel backlight back on when resetting the video resolution or when going into fullscreen.
Add the following lines at the end of the /etc/acpi/actions/lm_lid.sh script:
LID_CLOSED=$(cat /proc/acpi/button/lid/LID/state | grep open) if [ "$LID_CLOSED" = "" ]; then /usr/sbin/blightoffd & else /usr/sbin/radeontool light on fi
Save the following script as /usr/sbin/blightoffd
#!/bin/bash
#
# Keeps panel backlight off when computer lid is closed.
#
LID_CLOSED=$(cat /proc/acpi/button/lid/LID/state | grep open)
while [ "$LID_CLOSED" = "" ]; do
LIGHT_ON=$(/usr/sbin/radeontool light | grep "looks off")
if [ "$LIGHT_ON" = "" ]; then
/usr/sbin/radeontool light off
fi
sleep 1
LID_CLOSED=$(cat /proc/acpi/button/lid/LID/state | grep open)
done
Does your brand new Windows system refuses to install that awesome application you loved in Windows 98? Well, I bet you can run it with Wine! Wine is an Open Source implementation of the Windows API on top of X and Linux. This means that Wine allows you to run Windows applications on Linux!
Note: You should complete the winetools setup before installing any Windows application. This will ensure a stable Windows environment. I installed both Wine and Winetools from rpm.
winetools on a console window.
sys directory in your $HOME/winetools folder. You can get the dll files here
sys directory and install it later by issuing $ wine scr56en.exe in that directory.
Edit the win.ini file in your C:\Windows directory, located in $HOME/.wine/drive_c/windows, to make kprinter the default printer. Add or change the following entries:
[windows] device=KDE Print System,WINEPS.DRV,KDE: [devices] KDE Print System=WINEPS.DRV,KDE:
Add to $HOME/.wine/system.reg:
[System\\CurrentControlSet\\Control\\Print\\Printers\\KDE Print System] "Attributes"="dword:00000000" "Name"="KDE Print System" "Port"="KDE:" "Print Processor"="WinPrint" "Printer Driver"="PS Driver" "Priority"="dword:00000000" "Start Time"="dword:00000000" "Status"="dword:00000000" "Until Time"="dword:00000000" [System\\CurrentControlSet\\Control\\Print\\Printers\\KDE Print System\\PrinterDriverData] "PPD File"="/usr/share/wine/generic.ppd"
Add to $HOME/.wine/user.reg:
[Software\\Wine\\Printing\\Spooler] "FILE:"="tmp.ps" "KDE:"="|kprinter --stdin" "LPT1:"="|lpr"
Note: This step must be repeated for each application. The procedures may vary or may not be available at all in some applications. You can substitute the now redundant “Print…” function with the “Print” (i.e. print directly) function available from the toolbar customization menu. In Microsoft Office 2000 do the following:
| Application | Installation | Status | Issues | Screenshot |
| WinAVR |
| Running smoothly | None | |
| Duke Nukem 3D (eDuke32) | Running smoothly |
|
| |
| Microsoft Office 2000 |
| Running |
|
|
| Age of Mythology |
| Running smoothly | None |
These days, game support is about the only reason why I sometimes still regress to Windows, but that is rapidly changing. Cedega is a neat piece of software that you can use to install and run Windows games under Linux. You can download it from their site after paying a US$15 registration fee which includes a 3 month period of technical support. They have a fairly large library of games supported and they tend to focus on the hottest titles. Here is what I have managed to install (that I actually like):
| Application | Installation | Status | Issues | Screenshot |
| Unreal Tournament (v4.36 Patch) |
| Running smoothly | None | |
| VisualBoy Advance (v1.7.2) |
| Running smoothly | None |
$ diff -Naur olddir newdir > new-patch
or
$ diff -Naur oldfile newfile > new-patch
about:config into the url field, this will bring up the configuration & preferences data.
network.protocol-handler.external.mailto and make sure its value is set to true
network.protocol-handler.app.mailto
kmailservice in the next dialog box.
mencoder by typing the following command:
$ mencoder -oac mp3lame -ovc lavc -lavcopts vcodec=msmpeg4v2:vhq:vbitrate=1600 -o videoout.avi videoin.xxx
*.ttf file to $HOME/.fonts folder.
$ cd $HOME/.fonts $ fc-cache ./
´ 3. Restart the X display manager.
kfmclient newTab <URL> "text/html"
$ arecord -f cd -t wav test.wav
´ 4. Press Ctrl+C when finished
´ 5. You can edit the resulting file with audacity
TeX4ht. Click Next button, then Finish button.
mzlatex
'%source' 'xhtml,mathml-' (with all quotes intact and there is a space between the quoted options)