Started with crunchbang for 64 bit systems:
- Downloaded google chrome beta and installed it
- Windows Manager Tweaks: turned compositor on
- Terminator
- changed keybindings for copy and paste (ctrl-c & ctrl-v)
- checked use system fixed width font
- Orage
- made clock fonts bigger.
- Removed stuff:
sudo aptitude purge chromium-browser chromium-browser-inspector firmware-ipw2x00 firmware-iwlwifi firmware-ralink fortunes-min gftp gftp-common gftp-gtk heybuddy gdm avahi-utils avahi-daemon fortune-cookie-db conky
- Checked if google chrome is the default
sudo update-alternatives --config gnome-www-browser
- Set google-chrome in preferred applications
- Cleanup old kernels and configurations
sudo apt-get --purge autoremove
sudo aptitude purge ~c
- In /usr/games/fortune, deleted the fortune executable
gedit ~/.config/xfce4/autostart.sh
-- Comment out these lines
cb-fortune - have Statler say a little adage
(sleep 120s && cb-fortune) &
conky
cb-welcome
cb-setxkbmap live &
cb-bad-nautilus &
sudo gedit /etc/apt/sources.list
deb statler main
DEBIAN
deb stable main #contrib non-free
deb-src stable main #contrib non-free
DEBIAN SECURITY
deb squeeze/updates contrib non-free main
deb-src squeeze/updates main
DEBIAN BACKPORTS
deb squeeze-backports main contrib non-free
deb squeeze-proposed-updates contrib non-free main
deb squeeze-cran/
gpg --keyserver pgp.mit.edu --recv-key 381BA480
gpg -a --export 381BA480 > jranke_cran.asc
sudo apt-key add jranke_cran.asc
sudo gedit /etc/apt/preferences
Package: *
Pin: release a=squeeze-cran
Pin-Priority: 991
- R-check
apt-get update
apt-cache policy r-base
sudo apt-get update
sudo apt-get dist-upgrade
- added myself to the fuse group.
- Copied apt archive files from my external harddrive
sudo apt-get install texlive r-base ghostscript subversion
- Installed the following from .deb packages
- R-studio
- Mendeley
- In R
install.packages(c("rms", "Hmisc", "ggplot2", "haplo.stats"))
- Make a file /usr/local/sbin/autologin with
#! /bin/sh
/bin/login -f myusername
sudo gedit /etc/inittab
- Changed
1:2345:respawn:/sbin/getty 38400 tty1
to
1:2345:respawn:/sbin/getty -n -l /usr/local/sbin/autologin 38400 tty1
- Commented out
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6
sudo gedit /etc/bash.bashrc
- Make xfce4 start automatically after login
startx
logout
fi
- Expand size of bash history
export HISTSIZE=10000
shopt -s histappend
gedit ~./inputrc
"\ep": history-search-backward
"\en": history-search-forward
- Changed xfce menu
gedit ~/.config/menus/xfce-applications.menu
If I pipe your error/log/messages command into a txt file will it keep populating that text file with the newer messages? What do you think? Then I dont have to have a terminal open all the time.
Where I comment out daemons? Pray tell! This is getting so interesting!
Yes, I was thinking of turning off bluetooth. I tried several times to pair my Nexus One to this laptop and do bluetooth transfers. For some reason it always fails so I guess I had better turn off something that doesn't work anyway.
(e:tinypliny) - Just in case you didn't know:
Launching daemons and services at start up can take a bit of time, so you should launch only the daemons you want to startup and comment out the rest.
Also, most BIOS have a quick start setting (that ignores some tests) at POST that can speed up the boot.
To significantly extend battery turn off your wi-fi and bluetooth on your laptop. Ironically enough, wi-fi (ards use more energy looking for networks than they do connected to a networks. I don't have bluetooth on anything, but I would assume the bluetooth cards would expend energy in the discovery mode.
On the Dell circa 2006 laptops we use at work, turning off the wi-fi nearly doubled the battery life.
I reckon I'm lucky I got a box from Zareason instead of System 76. But then again, I don't have your unique requirements and preferences. So who knows.
Hmm... (e:Terry) too!?! Who knew.
Hmm.. why am I so obsessed about getting rid of apps? Because they are clutter and pop up all over the place when I am searching for something else. I guess I have no valid space-related reason for getting rid of them but I just don't like things I don't use to be on the system. By that argument, there are a ton of components on there that I don't even know that I don't use... And that is why someday I want to take a shot at Linux from Scratch. But till then, I am honing my skills at "sudo apt-get purge"
Most of the other changes are aimed at making boot up quicker. I don't keep my laptop on all the time because it travels all the time between office and home and has a lamentable battery life of just under an hour even though it's only a few months old. I pretty much hate System76 because of so many reasons now.
Let me keep a watch on those errors when something strange happens.
I have to stop using their computers.
You have to really watch the errors while they are happening to know. The errors themselves are written by the developers so they could really say whatever that app's developer wants them to say. Same for OS X and windows. Looking at google that does seem to be about laptop hardware.
(e:paul) (e:tinypliny) - my theory that the changes made after the original install are the problem or a fresh install would not "solve" the problems.
I have a general question to tiny - why are you so obssessed with getting rid of apps? Are you trying to run r on a 1 gig hard drive? Are you really so short of space?
My guess is something(s) that tiny installs have unmet requirements that aren't covered the apt depends because the developer assumed that the box would already have it as part of a vanilla install.
I question getting rid gftp unless it is replaced with some other ftp app. For example some other app might call wget to do an ftp download. And wget will get confused and hilarity might ensue?
Why get rid of avahi? Why not just just change rc.d (or whatever the Crunchbang equiv is) so that that the avahi daemon doesn't start.
Why get rid of tty3 - tty6? In case of freezes or slow downs having another tty to killall apps or reboot can be very useful.
I'm not a big fall of gdm, I think slim is better; but starting x with a script can be a bit problematic.
Also, and this is based on personal experience. I would not mix using aptitude and apt-get. Use one or the other. I think that even though aptitude calls apt-get, apt-get has better dependecy handling.
I have to end by saying you are quite the Linux geek, (e:tinypliny)!! Well done!!!
Should I be watching out for anything that starts with an "ERROR:" like this one:
Error (psparse-0537): Method parse/execution failed [\] (Node ffffffff8166d8d0), AE_ALREADY_EXISTS
How on earth will I know what it means?
hahah yes, unless (e:matthew) has an secret obsession with linux that we didn't know about and suddenly decided to come out.
Oops that was me.
I would start with /var/log/messages, its the main system log. You can read the end with tail. e.g. sudo tail -f -n 1000 /var/log/messages
That will display the last 1000 lines of the file and then continue to dump new lines to the terminal as they are added.
Hmm.. I don't know what he runs. :::link::: Lemme see what I can find.
What kind of logs should I be looking at?
I take it back none of those are too crazy. Either:
A. Your hardware sucks
OR
B. Crunchbang sucks
OR
C. Something with R.
Or a combo. What are you logs saying when the issues occur?
What type if computer does the crunchbang guy use.