deb ftp://mirror.cscf.uwaterloo.ca/debian sarge main non-free deb-src ftp://mirror.cscf.uwaterloo.ca/debian sarge main non-free
Ironically enough, the FreeBSD GNOME2 FAQ http://www.freebsd.org/gnome/docs/faq2.html is an excellent resource.
This may only apply to truetype fonts. Place the .ttf files in ~userid/.fonts. You may have to run "dpkg-reconfigure fontconfig" as root and/or log out and back in again, although GNOME may pick up on the new fonts immediately. (Thanks to BenKorvemaker)
user.js
file. By default, this doesn't exist. Create it in the same directory as prefs.js
then add the code. You should be able to find your prefs.js
file in ~/.mozilla-thunderbird/default/???.slt
cd <location of files on USB device> dpkg -i <debfile1> <debfile2> ...
apt-cdrom add apt-get update apt-get [upgrade|install|dist-upgrade]
ssh-keygen -t dsa Enter file: id_dsa (default) No passphrase <enter> the files: id_dsa and id_dsa.pub are created in .ssh directory
cd ~/.ssh scp id_dsa.pub <servername>:.ssh/authorized_keys
cd ~/.ssh scp id_dsa.pub <servername>:.ssh/authorized_keys.$HOSTNAME ssh <servername> (enter password) cd .ssh cat authorized_keys.<clienthost> >> authorized_keys
chmod 700 .ssh chmod 644 .ssh/authorized_keys
cd .ssh ssh-keygen -p -f id_dsa -> enter new passphrase
This can be used to allow ssh
GRUB (the default and recommended boot loader) uses the .xpm.gz image format. To download a splash image, try http://ruslug.rutgers.edu/~mcgrof/grub-images/images/?page=1 (there are a couple of Debian linux splash images you might want to try) Save the image to /boot/grub/ (you must be root to do this!).
Open up in a text editor (as root) the file /boot/grub/menu.lst. Comment out the "Pretty Colours" part (which isn't that pretty :P). Now it becomes:
# Pretty colours #color cyan/blue white/blue #color black/light-gray red/light-gray
Now add this line after the commented lines:
splashimage=/boot/grub/file.xpm.gz # file.xpm.gz is the file you saved previously
If you don't know which splash image you like best, copy a few over to /boot/grub then add the following lines for each splash image, replacing file.xpm.gz with each of the files you downloaded.
title = Change splash image to file.xpm.gz # Adds a new entry to the menu splashimage = /boot/grub/file.xpm.gz # Changes the splash image
Save, exit and re-boot. You should get a splash image at boot-up which looks really nice indeed Enjoy!
#GtkTheme=Default
GtkTheme=Industrial
<?php phpinfo(); ?>
mysqladmin -u root password YoUrPaSsWoRdwhere YoUrPaSsWoRd is the password you want to set.
Some hints here are ethtool. Generally speaking network connections are 100/FDX. Ideally the switch port has been forced to that speed.
ethtool eth0
will always tell you the current network settings of your ethernet card
You then disable autonegotiation and tell Debian to force the NIC to match: (as root)
ethtool -s eth0 autoneg off speed 100 duplex full
But this will fail badly if the switch port is not at those settings. It depends on the switch and it depends on the network interface manufacturer.
Some experience has shown that if you are going through a Netgear hub, it will prefer that your PC configuration is set to Autonegotiate and that the port settings on the switch are also set to Auto
Ever wanted to get your UPS working with Debian? Now's your chance
Plug in your UPS, connect the computer power cables to it, then power on the computer. Don't connect the USB cable just yet...
Oct 12 07:35:52 heinlein kernel: usb 3-2: new low speed USB device using address 2 Oct 12 07:35:52 heinlein kernel: usbcore: registered new driver hiddev Oct 12 07:35:54 heinlein kernel: hiddev96: USB HID v1.10 Device [American Power Conversion Back-UPS LS 500 FW:16.b3 .D USB FW:b3] on usb-0000:00:1d.2-2 Oct 12 07:35:54 heinlein kernel: usbcore: registered new driver usbhid Oct 12 07:35:54 heinlein kernel: drivers/usb/input/hid-core.c: v2.0:USB HID core driver
If not, then you may have a problem with USB on your computer, a cable problem, or an UPS problem...
For some reason, Debian doesn't do that as default, which is weird...
#!/bin/sh mkdir -p /dev/usb/hid mknod /dev/usb/hid/hiddev0 c 180 96 mknod /dev/usb/hid/hiddev1 c 180 97 mknod /dev/usb/hid/hiddev2 c 180 98 mknod /dev/usb/hid/hiddev3 c 180 99 mknod /dev/usb/hid/hiddev4 c 180 100 mknod /dev/usb/hid/hiddev5 c 180 101 mknod /dev/usb/hid/hiddev6 c 180 102 mknod /dev/usb/hid/hiddev7 c 180 103 mknod /dev/usb/hid/hiddev8 c 180 104 mknod /dev/usb/hid/hiddev9 c 180 105 mknod /dev/usb/hid/hiddev10 c 180 106 mknod /dev/usb/hid/hiddev11 c 180 107 mknod /dev/usb/hid/hiddev12 c 180 108 mknod /dev/usb/hid/hiddev13 c 180 109 mknod /dev/usb/hid/hiddev14 c 180 110 mknod /dev/usb/hid/hiddev15 c 180 111
chmod +x make-hiddev.sh
Note: This is specific to the APC UPS-es and will not work on other configurations.
Well, that should have done it... Your cool APC UPS should be running properly under Linux. Whenever there's a power failure your computer should automatically shut off.
williams:~# lpadmin -p ljp-cs-1 -v smb://smb-unix.cs/ljp-cs-1 williams:~# enable ljp-cs-1 williams:~# accept ljp-cs-1 williams:~# lpadmin -d ljp-cs-1
and then I used a web browser to connect to http://localhost:631 and set up the PPD to use. (You can do that in the first command line with -P, but in Debian all the PPDs appear to be gzipped and I didn't know how to make it point at those instead.) This is an imperfect solution however; it doesn't appear to allow for username/password authentication. That can probably go into the device URI, but may result in plaintext passwords being stored?
Following is a list of CUPS packages installed (csc-debversions > 0.7 have these already installed):
[mpatters@williams] ~> dpkg -l | grep cups ii cupsomatic-ppd 20040506-1 linuxprinting.org printer support - transiti ii cupsys 1.1.20final+rc Common UNIX Printing System(tm) - server ii cupsys-bsd 1.1.20final+rc Common UNIX Printing System(tm) - BSD comman ii cupsys-client 1.1.20final+rc Common UNIX Printing System(tm) - client pro ii cupsys-driver- 4.2.6-7 Gimp-Print printer drivers for CUPS ii cupsys-driver- 4.2.6-7 Gimp-Print printer drivers for CUPS ii cupsys-pt 1.2.4-2.1 Tool for viewing/managing print jobs under C ii libcupsimage2 1.1.20final+rc Common UNIX Printing System(tm) - image libs rc libcupsys2 1.1.20final+cv Common UNIX Printing System(tm) - libs ii libcupsys2-gnu 1.1.20final+rc Common UNIX Printing System(tm) - libs [mpatters@williams] ~> dpkg -l | grep foo ii foo2zjs 20040210-2 Support for printing to ZjStream-based print ii foomatic-bin 3.0.1-20040506 linuxprinting.org printer support - transiti ii foomatic-db 20040705-1 linuxprinting.org printer support - database ii foomatic-db-en 3.0.1-20040506 linuxprinting.org printer support - programs ii foomatic-db-gi 4.2.6-7 linuxprinting.org printer support - database ii foomatic-db-hp 1.5-20040621-1 linuxprinting.org printer support - database ii foomatic-filte 3.0.1-20040621 linuxprinting.org printer support - filters ii foomatic-filte 20040506-1 linuxprinting.org printer support - prebuilt ii foomatic-gui 0.6.7 GNOME interface for configuring the Foomatic [mpatters@williams] ~>
One should also make sure one is in the lpadmin group. Again, in CSCF Debian versions > 0.7 this will already be done.
The 8.1 Debian installation that came with my machine did not have xcdroast installed. No biggie, we'll install it. Open a root terminal and enter:
apt-get install xcdroast sux
Confirm, if asked, with Yes(Y). This will install xcdroast on your machine. Note: I also installed sux, you'll see why in a moment.
Open a non-root terminal and enter the following:
$ sudo tcsh # or sudo bash or su - Enter Password: # xcdroast
Now XCDRoast will start scanning for devices... This takes a while, unfortunately. Just let it do its job... Then click OK. After that, click on Launch X-CD-Roast. Next, click OK again. Click on Setup. Now, go in the HD Settings tab and add the folder where you will keep of your CD Images (ISOs) - Browse, then Add. Save Configuration, then OK, OK and another OK.
Now exit that and do the same thing for your userid.
See this page: KdePerformance
Such as for student Front-End Servers. See this page: KdeMultiUser
dpkg-reconfigure packagename
dpkg install --reinstall packagename
dpkg -i packagefile.deb
See PinningDebianAndUbuntuPackages
See UbuntuUdevHacks