This page (revision-69) was last changed on 23-Apr-2022 17:05 by Harry Metske

This page was created on 23-Apr-2022 17:05 by Harry Metske

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
69 23-Apr-2022 17:05 12 KB Harry Metske to previous
68 23-Apr-2022 17:05 12 KB Harry Metske to previous | to last
67 23-Apr-2022 17:05 12 KB Harry Metske to previous | to last
66 23-Apr-2022 17:05 10 KB Harry Metske to previous | to last
65 23-Apr-2022 17:05 10 KB Harry Metske to previous | to last
64 23-Apr-2022 17:05 10 KB Harry Metske to previous | to last kolourpaint4
63 23-Apr-2022 17:05 10 KB Harry Metske to previous | to last expect
62 23-Apr-2022 17:05 10 KB Harry Metske to previous | to last sun-java5-jdk
61 23-Apr-2022 17:05 10 KB Harry Metske to previous | to last slapd ldap-utils lat

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 3 added 5 lines
%%warning Since 26-06-2009 also applied to Linux Mint /%
[{TableOfContents }]
\\
At line 7 changed 13 lines
* install :
** eclipse (new download)
** sun-java-sdk6
** eclipse svn plugin
** codex (mp3), automatically selected when playing first mp3
** openssh-server
** checkgmail
** ant
** gtk-gnutella
** aMule
** ant
** powertop
* copy directories from old home, including .ssh dir
* copy your old home directory (non-hidden directories + .gnupg .ICAClient .ssh)
At line 21 changed one line
* decrease default fonts from 10 to 9
* decrease default fonts from 10 to 9 (Liberation fonts)
At line 23 changed one line
* change gnutella/aMule port to (firewall)
* change frostwire port to 1420 (firewall)
At line 25 changed 2 lines
* add ''echo 5 > /sys/bus/pci/drivers/iwl3945/0000:02:00.0/power_level'' to /etc/init.d/bootmisc.sh
* add ''alias l='ls -la --color=auto' '' to ~/.bashrc
* ''echo 5 > /sys/bus/pci/drivers/iwl3945/0000:02:00.0/power_level'' (but in which "startup script", I need one that does not run too early, and also runs after suspend/resume.
* add ''alias l='ls -la --color=auto' '' to ~/.bashrc or /etc/bash.bashrc
* copy over /etc/hosts
* configure your printer (dcp375cw), first ''mkdir /var/spool/lpd'' , then install lpr driver, and finally the cups driver
At line 23 added one line
!! Installed software
At line 29 changed one line
! Improvements
* eclipse (new download)
* sun-java6-jdk and sun-java5-jdk
* eclipse svn plugin
* codex (mp3), automatically selected when playing first mp3
* openssh-server
* checkgmail
* ant
* gtk-gnutella
* aMule
* ant
* powertop
* gpsbabel
* sensors-applet (reboot required before you can add the applet)
* ICAClient (Citrix client) , run setupwfc from untarred en.linuxx86.tar
* (needed for wfcmgr) install libmotif3
* nagios firefox plugin
* dropbox (.deb file) ''dropbox start -i'' for the first time
* sun-java6-plugin (running applets)
* frostwire
* recordmydesktop
* subversion
* unrar
* luvcview + uvccapture (webcam)
* sshfs
* flashplugin-installer
* gparted
* vlc-nox
* mozilla-plugin-vlc
* libstdc++5 (required for GAE Eclipse plugin)
* gnomad2 (for Creative Zen mp3 player), see [usage instructions|Weetjes#ZenCreativeMp3Speler]
* rand
* acpi
* gnochm (viewing windows help files .chm format)
* sysstat
* iptraf
* flashblock (firefox add-on)
* pan (nntp client)
* iasl (Intel ACPI compiler)
* vim
* liberation fonts
* iotop
* mysql-client (5.1)
* cheese (video / webcam)
* gnupg2
* slapd ldap-utils lat
* expect
* kolourpaint4
* startupmanager
At line 74 added 16 lines
!! gpsbabel
To allow the USB devices to be read and written by a non-privileged user, create a file called ''/etc/udev/rules.d/51-garmin.rules'' with the following contents:
{{{SYSFS{idVendor}=="091e", SYSFS{idProduct}=="0003", MODE="666"}}}
!! Firefox Auto Hide Toolbar in Fullscreen Mode
When you press F11 and go fullscreen, the toolbar auto hides and appear upon mouse over.This key changes the function of auto hide part.
* Key : browser.fullscreen.autohide
* Default Value : True (Always auto hide)
* Modified Value : False (always show the toolbar)
!! Improvements
At line 37 changed one line
* googleearth now properly displays all letters
* googleearth now properly displays stall letters
At line 98 added 267 lines
!! HP 6830s specifics
My latest laptop requires some extra tweaks :
! Sound
Add the following line to /etc/modprobe.d/alsa-base.conf:
{{{
options snd-hda-intel model=laptop enable=1 index=0
}}}
! Video driver
Install the native ATI/AMD video driver if you want 3D effects. If you don't need that, the default driver is fine too.
! Wireless driver
This one works magnificently out of the box:
{{{
metskem@gneisenau:~$ sudo cat /sys/bus/pci/drivers/iwlagn/0000\:03\:00.0/power_level
SYSTEM:auto MODE:fixed INDEX:0
}}}
{{{
metskem@gneisenau:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc Device 95c2
03:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
86:00.0 Ethernet controller: Marvell Technology Group Ltd. Device 436c
}}}
{{{
metskem@gneisenau:~$ sudo lspci -vv -s 03:00.0
03:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
Subsystem: Intel Corporation Device 1211
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 2295
Region 0: Memory at 98200000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [c8] Power Management version 3
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable+
Address: 00000000fee0100c Data: 41c9
Capabilities: [e0] Express (v1) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 unlimited
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr+ TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <128ns, L1 <32us
ClockPM+ Suprise- LLActRep- BwNot-
LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [140] Device Serial Number 0a-fd-8f-ff-ff-fa-22-00
Kernel driver in use: iwlagn
Kernel modules: iwlagn
}}}
! fan control
First disable the BIOS option "Fan Always on while on AC Power".
But after that you still see the fan going on fairly loud at 47 degrees Celsius and turning off at 42 (if the environment is not too warm).
To change this behavior you can patch the dsdt tables:
__Patching DSDT tables__
The following resources were helpful:
* [http://ubuntuforums.org/showthread.php?t=1036051]
* [http://milksnot.com/joomla/windows-xp/acpi-hacking-silencing-your-laptop]
I followed the following procedure (mainly as described in the first link above):
* disassemble the current dsdt table
{{{
mkdir dsdt
cd dsdt
cp /proc/acpi/dsdt .
# disassemble it
iasl -d dsdt
# save the original
cp dsdt.dsl dsdt-orig.dsl
# now first edit the dsdt.dsl file (see below) and then recompile:
iasl -tc dsdt.dsl
#
# update initial ramdisk
#
cp dsdt.aml /etc/initramfs-tools/DSDT.aml
VERSION=`uname -r`
update-initramfs -u -k $VERSION
#
# then reboot
}}}
__DSDT Patch__
These numbers are hexadecimal and seem to indicate the percentage of fanspeed, so 0x64 is 100% fan speed. I don't know if temperature thresholds are included, I don't think so.
{{{
Original:
Name (CPFS, Package (0x06)
{
0x64,
0x46,
0x3C,
0x32,
0x00,
0x00
})
Modified version:
Name (CPFS, Package (0x06)
{
0x64,
0x46,
0x20,
0x08,
0x00,
0x00
})
My own version:
Name (CPFS, Package (0x06)
{
0x64,
0x46,
0x20,
0x10,
0x08,
0x00
})
}}}
!! Font settings
Thanks to [http://blog.xam.dk/archives/81-Making-Eclipse-look-good-on-Linux.html]
{{{
After they are installed I ran gnome-font-properties and used the following settings:
Application/Document/Desktop font: Liberation Sans, size 8
Window title font: Liberation Sans Bold, size 10
Fixed with font: Liberation Mono, 10
Font rendering: Best contrast (the others left weird artifacts, but mostly up to taste here I think)
Under details:
Resolution: 99 dpi (to avoid the letters to get too close, need at least 1 px between them
Smoothing: Grayscale
Hinting: Full
Depending on your Eclipse font settings the above will be enough,
but if you already have tweaked some settings remember to check your Font settings under Eclipse preferences
and verify that you are actually using the System default or the Liberated fonts to get the smoother more compact look.
}}}
! GTKRC
Zie [hier|http://blog.xam.dk/archives/81-Making-Eclipse-look-good-on-Linux.html]
Je kan de file ~/.gtkrc-2.0 aanleggen, met de volgende inhoud, geeft een beter uitziende Eclipse:
%%prettify
{{{
style "gtkcompact" {
font_name="Liberation Sans 9"
GtkButton::default_border={0,0,0,0}
GtkButton::default_outside_border={0,0,0,0}
GtkButtonBox::child_min_width=0
GtkButtonBox::child_min_heigth=0
GtkButtonBox::child_internal_pad_x=0
GtkButtonBox::child_internal_pad_y=0
GtkMenu::vertical-padding=1
GtkMenuBar::internal_padding=0
GtkMenuItem::horizontal_padding=4
GtkToolbar::internal-padding=0
GtkToolbar::space-size=0
GtkOptionMenu::indicator_size=0
GtkOptionMenu::indicator_spacing=0
GtkPaned::handle_size=4
GtkRange::trough_border=0
GtkRange::stepper_spacing=0
GtkScale::value_spacing=0
GtkScrolledWindow::scrollbar_spacing=0
GtkExpander::expander_size=10
GtkExpander::expander_spacing=0
GtkTreeView::vertical-separator=0
GtkTreeView::horizontal-separator=0
GtkTreeView::expander-size=8
GtkTreeView::fixed-height-mode=TRUE
GtkWidget::focus_padding=0
}
class "GtkWidget" style "gtkcompact"
style "gtkcompactextra" {
xthickness=0
ythickness=0
}
class "GtkButton" style "gtkcompactextra"
class "GtkToolbar" style "gtkcompactextra"
class "GtkPaned" style "gtkcompactextra"
}}}
%%
!! Performance tweaks
Taken from [http://www.linuxlinks.com/article/20090927065956844/UbuntuTips-Booting-Part2.html]
* add vm.swappiness=20 to /etc/sysctl.conf
* ''hdparm -tT /dev/sda results :
{{{
gneisenau sysctl.d # hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 2172 MB in 2.00 seconds = 1086.96 MB/sec
Timing buffered disk reads: 190 MB in 3.03 seconds = 62.78 MB/sec
}}}
{{{
metskem@gladiator:~$ sudo hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 712 MB in 2.00 seconds = 355.74 MB/sec
Timing buffered disk reads: 172 MB in 3.01 seconds = 57.23 MB/sec
}}}
{{{
metskem@interceptor:~$ sudo hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 918 MB in 2.00 seconds = 458.44 MB/sec
Timing buffered disk reads: 120 MB in 3.03 seconds = 39.61 MB/sec
}}}
{{{
root@grafspee:~# hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 334 MB in 2.00 seconds = 167.07 MB/sec
Timing buffered disk reads: 58 MB in 3.00 seconds = 19.30 MB/sec
}}}
* change /etc/init.d/rc : ''CONCURRENCY=shell'' => take advantage of dual-core processors
* reprofile the boot sequence to get a good readahead file (/etc/readahead folder)