Monday, 12 November 2012

Saturday, 10 November 2012

Kubuntu 12.10 Upgrade

Killed my grub, so had to reinstall grub using Kubuntu 12.10 live cd

Boot splash screen wouldn't appear

in /etc/default/grub
Add:
GRUB_GFXPAYLOAD_LINUX=1280x1024x32


echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash
sudo update-grub2
sudo update-initramfs -u


Also had to put my desktop back (Folder View)

Source: http://askubuntu.com/questions/6033/enabling-nvidia-driver-messes-up-splash-screen

VMWare player patch:
http://communities.vmware.com/thread/401004

Saturday, 13 October 2012

Nvidia Driver Problem on Update

ctrl+alt F1
sudo apt-get purge nvidia-current-updates
sudo apt-get purge nvidia-current
sudo apt-get purge nvidia-173

sudo apt-get install nvidia-current
sudo reboot

Install/activate current drivers from "Additional Drivers"
reboot

Useful: http://askubuntu.com/questions/66548/whats-the-difference-between-the-nvidia-current-and-nvidia-current-updates-pac

Corsair Force 3 90GB SSD

BIOS
Enable AHCI in BIOS (before installing Win7)

Update firmware
Install Windows 7 Enterprise trial (I know, crazy!!)
Update firmware http://forum.corsair.com/forums/showthread.php?t=110257

Boot to live cd

list hard drives
sudo fdisk -lu
sudo blkid

create partition
sudo fdisk /dev/sdc
press n to create - consider partition alignment - start sector from 2048
flag as boot

create filesystem
sudo mkfs.ext4 -b 4096 /dev/sdc1

check filesystem
sudo fsck.ext4 /dev/sdc1

mount hard drive e.g.
sudo mount /dev/sda1 /mnt/myhdd
sudo mount /dev/sdc1 /mnt/myssd

sync data
rsync --exclude "/home" -av /mnt/myhdd/ /mnt/myssd/

change UUID to original HDD's
sudo tune2fs -U UUID /dev/sdc1
Source: http://blog.oaktreepeak.com/2012/03/move_your_linux_installation_t.html

reboot, back to live cd

install grub back on to master boot record
sudo mount /dev/sdc1 /mnt
sudo grub-install --boot-directory=/mnt/boot /dev/sdc
Source: http://www.howtogeek.com/114884/how-to-repair-grub2-when-ubuntu-wont-boot/

add TRIM support (discard) and disable access time writes
sudo vi /etc/fstab
add noatime,nodiratime,discard before ,errors

optimise scheduler
sudo vi /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash elevator=deadline"
sudo update-grub

swap and applications
HDD for SWAP
Chrome and Firefox cache symlink to HDD
Source: http://apcmag.com/how-to-maximise-ssd-performance-with-linux.htm

Other: http://forums.gentoo.org/viewtopic-t-896058.html
https://wiki.archlinux.org/index.php/SSD_Benchmarking#Corsair_Force_3

Thursday, 3 May 2012

Kubuntu 12.04

Remove KDE Wallet
alt+f2 - kde wallet
Untick Enable the KDE wallet subsystem

Install Java JDK 7
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

Remove expandable folders in Dolphin
Details view: Allow to turn off expandable folders like in Dolphin 1.7

The option for turning off expandable folders has been removed with
the new view-engine. Due to several requests this option has been
readded again.

As for 4.8.x no new user-interface strings may be introduced, the
line
ExpandableFolders=false
must be manually added below the section "[DetailsMode]" in the file
~/.kde/share/config/dolphinrc if the expandable-folders feature
should be disabled.

Remove file transfer notification
Solved. For all who will face the same problem in the future: all you'll have to do is, of course, to uncheck the box "File transfers and other jobs" in the notifications settings and, this is the trick, to reboot. After that, the file transfer window inside Krusader will be back again. Good luck!

Reinstall VMWare Player
sudo apt-get install build-essential linux-headers-$(uname -r)
kdesudo bash ./VMware-Player-4.0.3-703057.i386.bundle
patching vmware modules - again!!

Fix:
lsb_release -a (check version installed)
sudo apt-get update
sudo apt-get upgrade
vi /var/lib/dpkg/available (remove omnitux from this file -- updater can't find description?)
sudo apt-get upgrade -f (fix dependencies)
dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade
mv /var/tmp/kdecache-[user] /var/tmp/kdecache-[user]-bak
restart

Trouble trouble trouble.......

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies.
akonadi-backend-mysql : Depends: mysql-server-core-5.1 but it is not installable
Depends: mysql-client-core-5.1 but it is not installable
chromium-browser : PreDepends: lzma
chromium-browser-l10n : PreDepends: lzma
kdepim-kresources : Depends: kdepim-groupware (>= 4:4.7.4+git111222) but it is not installable
libgphoto2-2 : Depends: libgd2-noxpm (>= 2.0.36~rc1~dfsg) but it is not installed or
libgd2-xpm (>= 2.0.36~rc1~dfsg) but it is not installed
libgvc5 : Depends: libgd2-noxpm (>= 2.0.36~rc1~dfsg) but it is not installed or
libgd2-xpm (>= 2.0.36~rc1~dfsg) but it is not installed
libsdl1.2debian : Depends: libsdl1.2debian-alsa (= 1.2.14-6.1ubuntu4) but it is not installable or
libsdl1.2debian-all (= 1.2.14-6.1ubuntu4) but it is not installable or
libsdl1.2debian-esd (= 1.2.14-6.1ubuntu4) but it is not installable or
libsdl1.2debian-oss (= 1.2.14-6.1ubuntu4) but it is not installable or
libsdl1.2debian-nas (= 1.2.14-6.1ubuntu4) but it is not installable or
libsdl1.2debian-pulseaudio (= 1.2.14-6.1ubuntu4) but it is not installable
libvlc5 : Depends: libvlccore4 (>= 1.1.0) but it is not installable
plasma-dataengines-workspace : Depends: libtaskmanager4abi2 (= 4:4.7.4-0ubuntu0.1) but it is not installable
plasma-desktop : Depends: libtaskmanager4abi2 (= 4:4.7.4-0ubuntu0.1) but it is not installable
plasma-widget-kimpanel : Depends: plasma-widget-kimpanel-backend-ibus but it is not installable
plasma-widgets-addons : Depends: libplasmaclock4abi2 (>= 4:4.6.90) but it is not installable
plasma-widgets-workspace : Depends: libplasmaclock4abi2 (= 4:4.7.4-0ubuntu0.1) but it is not installable
soprano-daemon : Depends: libiodbc2 (>= 3.52.7) but it is not installed
vlc : Depends: libvlccore4 (>= 1.1.0) but it is not installable
vlc-nox : Depends: libvlccore4 (>= 1.1.0) but it is not installable
vlc-plugin-notify : Depends: libvlccore4 (>= 1.1.0) but it is not installable
vlc-plugin-pulse : Depends: libvlccore4 (>= 1.1.0) but it is not installable
E: Unmet dependencies. Try using -f.