gconftool-2 --set /desktop/gnome/interface/gtk_key_theme Emacs --type string
# /etc/gtk-2.0/gtkrc # Restore the previous GTK behavior and allow emacs keys to be active. # To use the GTK 2.0 default MS-like behavior set "Default" either # here # or in your $HOME/.gtkrc-2.0 file. # # gtk-key-theme-name = "Default" gtk-key-theme-name = "Emacs"
rm -f /etc/network/options
I noticed this because after upgrading one of my machines I see this at boot time now. Or when '/etc/init.d/networking restart'.
* /etc/network/options is deprecated (see README.Debian of netbase).
dumpe2fs /dev/hda5 | grep features
If you see dir_index in the feature list then you have the newer and faster and virtually limitless B-tree based directory index. If not then you don't. But you can turn it on.
tune2fs -O dir_index /dev/hda5
That enables it for the filesystem. But it will only take affect for new directories. The directory format is created for each new directory either in the old linear format or in the new B-tree format when the directory is created. But if that is important you can always recreate the existing directories so that they now have B-trees.
The debian-installer now sets up interfaces as "allow-hotplug" by default. This means that interfaces are bought up when the interface becomes available instead of at boot time. This triggers interfaces through udev scripts. This is a technically superior design but is different from previous releases. This means that the boot script /etc/init.d/network no longer controls the network and restarting it will not restart the networks. Using "auto" still works fine and returns to the previous behavior.
FIXME: There are several bugs in the BTS talking about this. I need to update this section with the bug numbers. AFAICT setting both allow-hotplug and auto both is okay.
LANG="en_US.UTF-8"
One important aptitude configuration parameter is to ensure that it does not treat Recommends: as hard dependencies. Otherwise almost anything that you install will pull in packages that are not desired.
Put this in /etc/apt/apt.conf or /etc/apt/apt.conf.d/something.
Aptitude::Recommends-Important "false";
Aptitude tries to guess at what you want by keeping track of your actions and then doing additional things based upon subsequent actions. For example if a package was installed as a dependency of another and that other package is removed then the dependency is removed. But this is wrong in the case of transition or meta packages. After the transition the dependencies are still desired. See the newbie doc wiki for good use information on aptitude in Etch.
Tell aptitude to keep all of the packages.
aptitude keep-all
The checkrestart program tries to determine if there are processes in the system that need to be restarted after a system upgrade. This is necessary since an upgrade will usually bring new system libraries and running processes will be still using the old versions of the libraries. In stable Debian GNU/Linux systems this is typically needed to eliminate a system exposure to a vulnerability which might have been fixed by upgrading a library which that process makes use of.
sun-j2re1.5 but the
new prebuilt one in Etch's non-free is named
sun-java5-jre.
sudo apt-get remove --purge sun-j2re1.5 sudo apt-get install sun-java5-jre sun-java5-plugin
sudo dpkg-reconfigure fontconfig-config
Much chaos exists surrounding how to set umask. New in Etch is libpam-umask designed to slip into the PAM system.
See /etc/login.defs for the old Debian way.
See http://lists.debian.org/debian-devel/2005/06/msg01598.html
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=314539
Apache2 is the same to configure in Etch as in Sarge but Apache with SSL for use with HTTPS has gotten much harder to set up in Etch than it was in Sarge. See Bug#267077 for a quite long discussion of the problem.
Problem number one. The apache2-ssl-certificate helper script which created self-signed certificates was removed. If you were used to using it on Sarge and now can't find it on Etch that is why.
In the meantime here are the steps that are needed to get SSL up and running on Etch. Hopefully this will get fixed for Lenny. This file is needed. /usr/bin/apache2-ssl-certificate
mkdir /etc/apache2/ssl
This has the effect that all Apache headers say:AddDefaultCharset UTF-8
The default is iso-8859-1 otherwise. This affects web page validation.Content-Type: text/html; charset=UTF-8