sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/etc/apt/sources.list.d/google-chrome.list"
sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/opt/google/chrome/cron/google-chrome"
Friday, 4 March 2016
Saturday, 28 February 2015
Keyboard and trackpad freeze after resume/sleep on T61
Remove xorg nouveau display driver, and replace with nvidia driver
Saturday, 13 September 2014
Nvidia Kernel Update
sudo dpkg-reconfigure nvidia-304-updates
^ rebuilds nvidia driver after kernel updates, need to find a way to automatically do this
Add automatic dpkg rebuilds:
http://askubuntu.com/questions/111177/triggering-driver-module-rebuild-on-kernel-update
Best config for 7600 GS:-
In Desktop Effects:
OpenGL 2.0
Raster
Keep window thumbnails: Never
Scale method: Smooth
Suspend desktop effects for fullscreen windows: Untick
OpenGL Options: Tearing Prevention (Vsync): Full scene repaints
https://userbase.kde.org/Desktop_Effects_Performance#Qt_Graphics_System
Nvidia X Server Settings, changed Image Settings to High Performance
^ rebuilds nvidia driver after kernel updates, need to find a way to automatically do this
Add automatic dpkg rebuilds:
http://askubuntu.com/questions/111177/triggering-driver-module-rebuild-on-kernel-update
Best config for 7600 GS:-
In Desktop Effects:
OpenGL 2.0
Raster
Keep window thumbnails: Never
Scale method: Smooth
Suspend desktop effects for fullscreen windows: Untick
OpenGL Options: Tearing Prevention (Vsync): Full scene repaints
https://userbase.kde.org/Desktop_Effects_Performance#Qt_Graphics_System
Saturday, 9 August 2014
Software Raid 1
using madam
setup partitions
sudo fdisk -l
/dev/sda <- 1="" disk="" p="">/dev/sdc <- 2="" disk="" p="">
Using gparted, create paritions, start with 1 MiB, round to MiB
Change filesystem type to Linux RAID
sudo fdisk /dev/sda
p (print table)
t (change type)
fd (Hex code for Linux RAID)
w (write)
do same with /dev/sdc
create raid 1
sudo mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sda1 /dev/sdc1
- ignore warning of boot device
filesystem
sudo mkfs.ext4 /dev/md1
mount raid
sudo mkdir /media/raid1
sudo mount /dev/md1 /media/raid1
view raid status
cat /proc/mdstat
- or watch raid status
watch -n 2 cat /proc/mdstat
view details
sudo mdadm --query --detail /dev/md1
backup config
cp /etc/mdadm/mdadm.conf ~/mdadm.conf.backup
regen config
sudo /usr/share/mdadm/mkconf force-generate /etc/mdadm/mdadm.conf
sudo update-initramfs -u
- config should now contain array definitions->->
Source:
http://linuxconfig.org/linux-software-raid-1-setup
http://www.howtoforge.com/software-raid1-grub-boot-debian-etch
http://www.linuxmanpages.com/man8/mdadm.8.php
http://www.cyberciti.biz/faq/linux-creating-software-raid-one-arrays/
https://wiki.archlinux.org/index.php/fstab
https://raid.wiki.kernel.org/index.php/RAID_setup#Downloading_and_installing_mdadm_-_the_RAID_management_tool
setup partitions
sudo fdisk -l
/dev/sda <- 1="" disk="" p="">/dev/sdc <- 2="" disk="" p="">
Using gparted, create paritions, start with 1 MiB, round to MiB
Change filesystem type to Linux RAID
sudo fdisk /dev/sda
p (print table)
t (change type)
fd (Hex code for Linux RAID)
w (write)
do same with /dev/sdc
create raid 1
sudo mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sda1 /dev/sdc1
- ignore warning of boot device
filesystem
sudo mkfs.ext4 /dev/md1
mount raid
sudo mkdir /media/raid1
sudo mount /dev/md1 /media/raid1
view raid status
cat /proc/mdstat
- or watch raid status
watch -n 2 cat /proc/mdstat
view details
sudo mdadm --query --detail /dev/md1
backup config
cp /etc/mdadm/mdadm.conf ~/mdadm.conf.backup
regen config
sudo /usr/share/mdadm/mkconf force-generate /etc/mdadm/mdadm.conf
sudo update-initramfs -u
- config should now contain array definitions->->
Source:
http://linuxconfig.org/linux-software-raid-1-setup
http://www.howtoforge.com/software-raid1-grub-boot-debian-etch
http://www.linuxmanpages.com/man8/mdadm.8.php
http://www.cyberciti.biz/faq/linux-creating-software-raid-one-arrays/
https://wiki.archlinux.org/index.php/fstab
https://raid.wiki.kernel.org/index.php/RAID_setup#Downloading_and_installing_mdadm_-_the_RAID_management_tool
Friday, 20 June 2014
Saturday, 31 May 2014
T61 Kubuntu 14.04
To disable bluetooth on start up:
/etc/rc.local:echo disable > /proc/acpi/ibm/bluetooth
source: http://askubuntu.com/questions/67758/how-can-i-deactivate-bluetooth-on-system-startup
Subscribe to:
Posts (Atom)
