Install from netinst disk. Seems OK, but can't start session
using old home directory because that assumed I had compiz available.
And XFCE4.
Thus I have to do some unusual steps to get them, most users won't
need to bother because they will just let themselves be stuck with
Gnome 3. Awful. Awful.
1. XFCE4.
Alt-Ctl-F2 log in as root, use synaptic install:
xfce4 xfce4-goodies and everything they bring.
2. I must have compiz. It is a horrible travesty that compiz was removed from
Wheezy. Compiz now still available in sid.
Linux not fun without it. So I enable sid temporarily.
$ cat /etc/apt/sources.list.d/sid.list
deb http://ftp.us.debian.org/debian/ sid main non-free contrib
From there, I got compiz-8.4. Get ccsm as well! That
package is called "compizconfig-settings-manager".
After that, DISABLE access to sid. We don't want any
more unstable than we absolutely need.
Put a pound sign on that line afterwards to disable sid access.
3. Install packages. mlterm. emacs. auctex. ess.
dia. inkscape. geeqie. xfig
4. truecrypt. Installed, enabled. Need that! http://www.truecrypt.org
5. add i386 architecture. Will need that for acroread
and codeweavers crossover office.
# dpkg --add-architecture i386
After that, many packages will have i386 and x86_64 variants
(Debian calls later amd64).
6. apt-get lyx:amd64
Still not sure when the amd64 specifier will be required.
Now I notice the kernel is 3.2 and frequency scaling does
not work. Had to use experimental kernel to escape that one
in past.
7. add this file
/etc/sudoers.d/sudoers
with content
%sudo ALL=(ALL) ALL
and add me to sudo group
# addgroup pauljohn sudo
8. Old Debian installation still exists on /dev/sda5. Mount that,
so I can read the configurations I used to have and like.
8a. copy repository files for CRAN, multimedia, virtual box.
8b. touchpad settings. Default touchpad is HORRIBLE!
Copy over old config, which was in xorg.conf.d. No such directory
exists on Wheezy release:. I guess I have to just gamble and create one.
I notice there is no xorg.conf file in /etc/X11, so I doubt this will
work without creating one.
$ sudo mkdir /etc/X11/xorg.conf.d
$ cat /etc/X11/xorg.conf.d/synaptics.conf
Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
# MatchDevicePath "/dev/input/event*"
Option "VertTwoFingerScroll" "1"
Option "TouchpadOff" "0"
Option "PalmDetect" "1"
Option "PalmMinWidth" "20"
# Option "PalmMinZ" "7"
Option "CornerCoasting" "1"
Option "CoastingSpeed" "20"
Option "CoastingFriction" "0"
Option "RightEdge" "1750"
# Option "JumpyCursorThreshold" "100"
# Option "FingerPress" "255"
# Option "MaxTapMove" "90"
Option "TapButton1" "1"
Option "VertEdgeScroll" "1"
Option "FingerHigh" "100"
Option "FingerLow" "85"
Option "TapButton2" "3"
Option "TapButton3" "3"
Option "YAxisMapping" "5 4"
Option "HorizScrollDelta" "0"
Option "VertHysteresis" "25"
Option "HorizHysteresis" "25"
EndSection
9. Crossover office. Here is where the Debian
multiarch installation scheme is tested to it fullest.
Can we "fool" a package that is expecting to find all
the stuff in the huge ia32-libs package? Check this out:
pauljohn@debian:Debian$ sudo dpkg -i ia32-crossover_12.0.0-1_amd64.deb
Selecting previously unselected package ia32-crossover.
(Reading database ... 217270 files and directories currently installed.)
Unpacking ia32-crossover (from ia32-crossover_12.0.0-1_amd64.deb) ...
dpkg: dependency problems prevent configuration of ia32-crossover:
ia32-crossover depends on ia32-libs; however:
Package ia32-libs is not installed.
ia32-crossover depends on lib32nss-mdns; however:
Package lib32nss-mdns is not installed.
ia32-crossover depends on lib32z1; however:
Package lib32z1 is not installed.
ia32-crossover depends on python-glade2; however:
Package python-glade2 is not installed.
ia32-crossover depends on lib32asound2; however:
Package lib32asound2 is not installed.
dpkg: error processing ia32-crossover (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ia32-crossover
pauljohn@debian:Debian$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
esound-common freeglut3:i386 gcc-4.7-base:i386 ia32-libs ia32-libs-i386:i386 lesstif2:i386
lib32asound2 lib32nss-mdns lib32z1 libacl1:i386 libaio1:i386 libasound2:i386 libasyncns0:i386
libattr1:i386 libaudio2:i386 libaudiofile1:i386 libavahi-client3:i386 libavahi-common-data:i386
libavahi-common3:i386 libbsd0:i386 libc6:i386 libc6-i686:i386 libcaca0:i386 libcap2:i386
libcomerr2:i386 libcups2:i386 libcurl3:i386 libdb5.1:i386 libdbus-1-3:i386 libdirectfb-1.2-9:i386
libdrm-intel1:i386 libdrm-nouveau1a:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386
libesd0:i386 libexif12:i386 libexpat1:i386 libffi5:i386 libflac8:i386 libfltk1.1:i386
libfontconfig1:i386 libfreetype6:i386 libgcc1:i386 libgcrypt11:i386 libgd2-xpm:i386 libgdbm3:i386
libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386 libglu1-mesa:i386 libgnutls26:i386
libgpg-error0:i386 libgphoto2-2:i386 libgphoto2-port0:i386 libgpm2:i386 libgssapi-krb5-2:i386
libice6:i386 libidn11:i386 libieee1284-3:i386 libjack-jackd2-0:i386 libjbig0:i386 libjpeg62:i386
libjpeg8:i386 libjson0:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386
liblcms1:i386 libldap-2.4-2:i386 libltdl7:i386 liblzma5:i386 liblzo2-2:i386 libmpg123-0:i386
libncursesw5:i386 libnspr4:i386 libnspr4-0d:i386 libnss3:i386 libnss3-1d:i386 libodbc1:i386
libogg0:i386 libopenal1:i386 libp11-kit0:i386 libpam0g:i386 libpciaccess0:i386 libpng12-0:i386
libpopt0:i386 libpulse0:i386 librtmp0:i386 libsamplerate0:i386 libsane:i386 libsane-extras:i386
libsasl2-2:i386 libsasl2-modules:i386 libsdl1.2debian:i386 libselinux1:i386 libsigc++-2.0-0c2a:i386
libslang2:i386 libsm6:i386 libsndfile1:i386 libsqlite3-0:i386 libssh2-1:i386 libssl1.0.0:i386
libstdc++5:i386 libstdc++6:i386 libsvga1:i386 libsysfs2:i386 libtasn1-3:i386 libtdb1:i386
libtiff4:i386 libtinfo5:i386 libts-0.0-0:i386 libusb-0.1-4:i386 libuuid1:i386 libv4l-0:i386
libv4lconvert0:i386 libvorbis0a:i386 libvorbisenc2:i386 libvorbisfile3:i386 libwrap0:i386
libx11-6:i386 libx11-xcb1:i386 libx86-1:i386 libxau6:i386 libxaw7:i386 libxcb-glx0:i386
libxcb-render-util0:i386 libxcb-render0:i386 libxcb1:i386 libxcomposite1:i386 libxcursor1:i386
libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxft2:i386 libxi6:i386
libxinerama1:i386 libxml2:i386 libxmu6:i386 libxmuu1:i386 libxp6:i386 libxpm4:i386 libxrandr2:i386
libxrender1:i386 libxslt1.1:i386 libxss1:i386 libxt6:i386 libxtst6:i386 libxv1:i386
libxxf86vm1:i386 odbcinst odbcinst1debian2 odbcinst1debian2:i386 python-glade2 uuid-runtime
xaw3dg:i386 zlib1g:i386
Suggested packages:
ia32-libs-gtk ia32-libs-gtk-i386:i386 libasound2-plugins:i386 nas:i386 glibc-doc:i386 locales:i386
pulseaudio-esound-compat:i386 rng-tools:i386 libgd-tools:i386 libglide3:i386 gphoto2:i386
gtkam:i386 gpm:i386 krb5-doc:i386 krb5-user:i386 jackd2:i386 liblcms-utils:i386 libmyodbc:i386
odbc-postgresql:i386 tdsodbc:i386 unixodbc-bin:i386 libportaudio2:i386 libroar-compat2:i386
libpam-doc:i386 hpoj:i386 hplip:i386 libsasl2-modules-otp:i386 libsasl2-modules-ldap:i386
libsasl2-modules-sql:i386 libsasl2-modules-gssapi-mit:i386 libsasl2-modules-gssapi-heimdal:i386
python-gtk2-doc
Recommended packages:
uuid-runtime:i386 xml-core:i386
The following NEW packages will be installed:
esound-common freeglut3:i386 gcc-4.7-base:i386 ia32-libs ia32-libs-i386:i386 lesstif2:i386
lib32asound2 lib32nss-mdns lib32z1 libacl1:i386 libaio1:i386 libasound2:i386 libasyncns0:i386
libattr1:i386 libaudio2:i386 libaudiofile1:i386 libavahi-client3:i386 libavahi-common-data:i386
libavahi-common3:i386 libbsd0:i386 libc6:i386 libc6-i686:i386 libcaca0:i386 libcap2:i386
libcomerr2:i386 libcups2:i386 libcurl3:i386 libdb5.1:i386 libdbus-1-3:i386 libdirectfb-1.2-9:i386
libdrm-intel1:i386 libdrm-nouveau1a:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386
libesd0:i386 libexif12:i386 libexpat1:i386 libffi5:i386 libflac8:i386 libfltk1.1:i386
libfontconfig1:i386 libfreetype6:i386 libgcc1:i386 libgcrypt11:i386 libgd2-xpm:i386 libgdbm3:i386
libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386 libglu1-mesa:i386 libgnutls26:i386
libgpg-error0:i386 libgphoto2-2:i386 libgphoto2-port0:i386 libgpm2:i386 libgssapi-krb5-2:i386
libice6:i386 libidn11:i386 libieee1284-3:i386 libjack-jackd2-0:i386 libjbig0:i386 libjpeg62:i386
libjpeg8:i386 libjson0:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386
liblcms1:i386 libldap-2.4-2:i386 libltdl7:i386 liblzma5:i386 liblzo2-2:i386 libmpg123-0:i386
libncursesw5:i386 libnspr4:i386 libnspr4-0d:i386 libnss3:i386 libnss3-1d:i386 libodbc1:i386
libogg0:i386 libopenal1:i386 libp11-kit0:i386 libpam0g:i386 libpciaccess0:i386 libpng12-0:i386
libpopt0:i386 libpulse0:i386 librtmp0:i386 libsamplerate0:i386 libsane:i386 libsane-extras:i386
libsasl2-2:i386 libsasl2-modules:i386 libsdl1.2debian:i386 libselinux1:i386 libsigc++-2.0-0c2a:i386
libslang2:i386 libsm6:i386 libsndfile1:i386 libsqlite3-0:i386 libssh2-1:i386 libssl1.0.0:i386
libstdc++5:i386 libstdc++6:i386 libsvga1:i386 libsysfs2:i386 libtasn1-3:i386 libtdb1:i386
libtiff4:i386 libtinfo5:i386 libts-0.0-0:i386 libusb-0.1-4:i386 libuuid1:i386 libv4l-0:i386
libv4lconvert0:i386 libvorbis0a:i386 libvorbisenc2:i386 libvorbisfile3:i386 libwrap0:i386
libx11-6:i386 libx11-xcb1:i386 libx86-1:i386 libxau6:i386 libxaw7:i386 libxcb-glx0:i386
libxcb-render-util0:i386 libxcb-render0:i386 libxcb1:i386 libxcomposite1:i386 libxcursor1:i386
libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxft2:i386 libxi6:i386
libxinerama1:i386 libxml2:i386 libxmu6:i386 libxmuu1:i386 libxp6:i386 libxpm4:i386 libxrandr2:i386
libxrender1:i386 libxslt1.1:i386 libxss1:i386 libxt6:i386 libxtst6:i386 libxv1:i386
libxxf86vm1:i386 odbcinst odbcinst1debian2 odbcinst1debian2:i386 python-glade2 uuid-runtime
xaw3dg:i386 zlib1g:i386
0 upgraded, 159 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 60.4 MB of archives.
After this operation, 184 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
I'm going to find the Microsoft Office disk and install a clean version.
10. Acrobad reader. Still the only pdf viewer that can print dependably.
# cat multimedia.list
# Debian Multimedia (unofficial): Debian 6.0 (Squeeze)
deb http://www.deb-multimedia.org wheezy main non-free
deb-src http://www.deb-multimedia.org wheezy main non-free
# apt-get install acroread
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
acroread-data acroread-debian-files:i386 acroread-dictionary-en
acroread-l10n-en libatk1.0-0:i386 libcairo2:i386 libdatrie1:i386
libgdk-pixbuf2.0-0:i386 libglib2.0-0 libglib2.0-0:i386 libglib2.0-bin
libgtk2.0-0:i386 libjasper1 libjasper1:i386 libpango1.0-0:i386 libpcre3
libpcre3:i386 libpixman-1-0:i386 libthai0:i386 libxcb-shm0:i386
Suggested packages:
acroread-plugins:i386 mozilla-acroread:i386 acroread-l10n:i386
librsvg2-common:i386 gvfs:i386 libjasper-runtime libjasper-runtime:i386
ttf-baekmuk:i386 ttf-arphic-gbsn00lp:i386 ttf-arphic-bsmi00lp:i386
ttf-arphic-gkai00mp:i386 ttf-arphic-bkai00mp:i386
Recommended packages:
mime-support:i386 acroread-dictionary-en:i386 acroread-dictionary:i386
hicolor-icon-theme:i386
The following NEW packages will be installed:
acroread:i386 acroread-data acroread-debian-files:i386
acroread-dictionary-en acroread-l10n-en libatk1.0-0:i386 libcairo2:i386
libdatrie1:i386 libgdk-pixbuf2.0-0:i386 libglib2.0-0:i386 libgtk2.0-0:i386
libjasper1:i386 libpango1.0-0:i386 libpcre3:i386 libpixman-1-0:i386
libthai0:i386 libxcb-shm0:i386
The following packages will be upgraded:
libglib2.0-0 libglib2.0-bin libjasper1 libpcre3
4 upgraded, 17 newly installed, 0 to remove and 296 not upgraded.
Need to get 37.2 MB of archives.
After this operation, 103 MB of additional disk space will be used.
9. Back to CPU frequency scaling. CPUS stuck in 800MHA, even though
they say "ondemand" is the governor.
Soon to begin lengthy hokus pokus.
In past, I was running kernel 3.5 from Debian experimental.
On the system, as originally installed, the cpu frequency scaling
monitors show the CPU frequency is stuck at 800MHZ. I'm using the
XFCE4 CPU Frequency Scaling monitor applet, which has always worked
very well. "ondemand" is the performance profile.
That should be sufficient. But the cpus are locked at 800.
I've seen this before on this in Debian Squeeze. There are a lot of
moving parts involved in fixing this. I'm not sure what is the bare
minimum, and while trying to fix it, I experimented with various
settings. If I were starting this from scratch, or telling you what to
do, I would try the fixes in this order.
1. Simplest. Suppose your setup is good, but the settings are bad.
My install had impossibly high scaling thresholds.
As root, check it:
#cat /sys/devices/system/cpu/cpufreq/up_threshold
95
Holy cow. No wonder the frequency is locked at 800mhz. Manually
re-setting that to something more reasonable:
# echo -n 60 > /sys/devices/system/cpu/cpufreq/up_threshold
I expect that may work. I did not try it first, before that I tried this.
Now, how to make that permanent?
$ apt-get install sysfsutils
In /etc/sysfs.conf I put:
mode devices/system/cpu/cpufreq/ondemand = 644
##devices/system/cpu/cpufreq/ondemand/freq_step = 10
devices/system/cpu/cpufreq/ondemand/up_threshold = 45
devices/system/cpu/cpufreq/ondemand/ignore_nice_load = 1
devices/system/cpu/cpufreq/ondemand/sampling_down_factor = 10
I DOUBT that will work if you don't already have cpufrequtils
installed. In case you don't, follow step 2.
2. Install & configure cpufrequtils. See
http://wiki.debian.org/HowTo/CpuFrequencyScaling
cpufrequtils should have been installed by default, but on my pc it
was not with Wheezy Beta 4.
I copied the configuration file I had set up from the other system
# cat /etc/default/cpufrequtils
ENABLE="true"
GOVERNOR="ondemand"
MAX_SPEED="2710000"
MIN_SPEED="800000"
Those 2 steps solve the problem for me. However, while testing, I did
explore idea that the kernel itself is the trouble.
3. Get a newer kernel from Debian Experimental. This was necessary in
Debian Squeeze and Wheezy before. I do not think it is necessary now,
but the kernel-3.2 supplied with Wheezy Beta 4 gives off a lot of
warnings on my system. So I tried 3.7 from Debian experimental. I'll
keep comparing. The 3.2 kernel lacked some stuff that was required to
us the enterprise wireless, but 3.5 did have that, and I'm hoping
either or both work when I try them later.
12. More debian packages. tk8.5-dev tcl8.5-dev autotools-dev.
13. Can't install R from CRAN website. Dependency on liblzma2 which
no longer exists.
So get the R source and try to rebuild. Quick, hold your nose, we
are doing under again
cd to someplace writable
$ apt-get source r-core
$ cd r-base-2.15.2
$ dpkg-buildpackage -rfakeroot
Build fails, asking for a list of dependencies:
$ sudo apt-get install gfortran libblas-dev liblapack-dev bison libncurses5-dev libreadline-dev texi2html libbz2-dev libpcre3-dev libpng-dev libjpeg-dev libxt-dev libpango1.0-dev libcairo2-dev libtiff4-dev xvfb texlive-fonts-extra mpack
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libpng12-dev' instead of 'libpng-dev'
Note, selecting 'libjpeg8-dev' instead of 'libjpeg-dev'
The following extra packages will be installed:
fonts-comfortaa fonts-freefont-otf fonts-freefont-ttf fonts-gfs-artemisia
fonts-gfs-complutum fonts-gfs-didot fonts-gfs-neohellenic fonts-gfs-olga fonts-gfs-solomos
fonts-inconsolata fonts-junicode fonts-linuxlibertine fonts-oflb-asana-math libbison-dev
libcairo-script-interpreter2 libglib2.0-dev libice-dev libjbig-dev libpcrecpp0
libpixman-1-dev libreadline6-dev libsm-dev libtiffxx0c2 libtinfo-dev libxcb-render0-dev
libxcb-shm0-dev otf-freefont texlive-fonts-extra-doc texlive-xetex ttf-freefont
Suggested packages:
bison-doc fontforge gfortran-multilib gfortran-doc libcairo2-doc libglib2.0-doc libice-doc
ncurses-doc libpango1.0-doc libsm-doc libxt-doc inews latex2html cm-super
The following NEW packages will be installed:
bison fonts-comfortaa fonts-freefont-otf fonts-freefont-ttf fonts-gfs-artemisia
fonts-gfs-complutum fonts-gfs-didot fonts-gfs-neohellenic fonts-gfs-olga fonts-gfs-solomos
fonts-inconsolata fonts-junicode fonts-linuxlibertine fonts-oflb-asana-math gfortran
libbison-dev libblas-dev libbz2-dev libcairo-script-interpreter2 libcairo2-dev
libglib2.0-dev libice-dev libjbig-dev libjpeg8-dev liblapack-dev libncurses5-dev
libpango1.0-dev libpcre3-dev libpcrecpp0 libpixman-1-dev libpng12-dev libreadline-dev
libreadline6-dev libsm-dev libtiff4-dev libtiffxx0c2 libtinfo-dev libxcb-render0-dev
libxcb-shm0-dev libxt-dev mpack otf-freefont texi2html texlive-fonts-extra
texlive-fonts-extra-doc texlive-xetex ttf-freefont xvfb
0 upgraded, 48 newly installed, 0 to remove and 0 not upgraded.
Need to get 235 MB of archives.
After this operation, 584 MB of additional disk space will be used.
[whew]
After that, r-base builds
13. Annoying problem. Session management. XFCE4 starts, and a voice says "Welcome to Orca". I don't want that, where did it come from?
The XFCE4 session thing (In Settings menu, "Session and Startup") in the Advanced tab says "Launch Gnome services on startup." In the past I really really needed that because gnome ssh key manager services were required.
However, this gnome-orca thing comes in with.
I read that gnome-session-properties was supposed to be able to stop some things from loading, but I seem to be stuck with that damn orca because it keeps talking.
I don't want to remove the gnome-orca package altogether, because removing that causes the system to want to remove gnome. gnome is a meta package that I don't want to remove.
14. Compiz and the background.
I got compiz working and its background manager and my scripts to automatically update the separate workspace backgrounds.
However, it seems like when I restart, the system tries to fight me and
it wants to jamb the ugly XFCE4 background back on top and it obscures
compiz.
PITA.
must kill kfdesktop.