Sunday, 14 June 2020


Kubuntu 18.04


Supports Network Scanning UPDATE ON DRIVERS

- Download Brother Scanner Util - https://support.brother.com/g/b/downloadhowto.aspx?c=us&lang=en&prod=hll2380dw_us_as&os=128&dlid=dlf006645_000&flang=4&type3=566
- https://download.brother.com/welcome/dlf006645/brscan4-0.4.9-1.amd64.deb
- sudo dpkg -i brscan4-0.4.9-1.amd64.deb
- sudo brsaneconfig4 -a name=E514dw model=MFC-L2700DW ip=x.x.x.x
- sudo brsaneconfig4 -q


Double sided / Duplex Printing capable (tested in Libreoffice)


Install via CUPS / System Settings -> Printers
Connection: Raw socket socket://x.x.x.x:9100
Driver: Generic PCL 6/PCL XL Printer Foomatic/pxlmono (color, 2-sided printing)


Google Cloud Print
- Tested on Chromebook
- GCP no longer supported, consider CUPS print server

Sunday, 13 November 2016

Windows 7 Clone

Clonezilla works on Windows too
https://arga.wordpress.com/2010/04/24/how-to-properly-clone-a-windows-7-system-partition-with-clonezilla/

Wednesday, 15 June 2016

Dell MFP E514dw


Kubuntu 14.04

Supports Network Scanning
- Download Brother Scanner Util - http://support.brother.com/g/b/downloadend.aspx?c=gb&lang=en&prod=mfcl5750dw_eu&os=128&dlid=dlf006645_000&flang=4&type3=566
- http://download.brother.com/welcome/dlf006645/brscan4-0.4.3-3.amd64.deb
- sudo dpkg -i brscan4-0.4.3-3.amd64.deb
- brsaneconfig4 -a name=E514dw model=MFC-L2700DW ip=x.x.x.x
- brsaneconfig4 -q

Double sided / Duplex Printing capable (tested in Libreoffice)

Install via CUPS / System Settings -> Printers
Connection: Raw socket socket://x.x.x.x:9100
Driver: Generic PCL 6/PCL XL Printer Foomatic/pxlmono (color, 2-sided printing)

Google Cloud Print
- Tested on Chromebook

Saturday, 14 May 2016

4th Gen Intel Core Processors

Unable to POST on an i5 CPU, even though support for this CPU reveals it is compatible.

Example:
ASUS H81M-E was running on BIOS on version 0301, but requires an update to at least version 0808

An update was performed via USB to version 2203 using a compatible CPU.
However, POST still did not occur.

The fix is to update the Intel Management Engine firmware, for this particular motherboard, this is performed by putting a compatible CPU back in, installing Windows 7 and running the

"BIOS updater for New 4th Gen Intel Core Processors"

Note running this updates both the BIOS and Intel ME firmware.

However, this can only be performed after you install the chipset driver
"Intel Management Engine Interface V9.5.15.1730"

Confirm BIOS is up-to-date on reboot, and install new CPU.

Saturday, 5 March 2016

Windows 7 Slow Install

Not linux related, but if you're installing Windows 7 and it's slow to display setup screens when boot from DVD.

Go into BIOS, disable Floppy Disk, and change IDE timeout from default 35 to 10.
Also unplug any other USB devices, keeping only mouse and keyboard.

Source: https://www.youtube.com/watch?v=kMVOpUS7feU

If, Windows Update is slow to run, download the standalone Windows Update Installer:

http://www.microsoft.com/downloads/details.aspx?FamilyId=4fe566bd-31b1-4413-8c4c-412b52533669

Source: http://superuser.com/questions/951960/windows-7-sp1-windows-update-stuck-checking-for-updates

Friday, 4 March 2016

Google Chrome 64-bit repo issue

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"

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

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

Friday, 20 June 2014

Bookmarks

http://www.noobslab.com/2014/04/thingstweaks-to-do-after-install-of.html

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

Friday, 28 February 2014

Nvidia driver keeps resetting after kernel update:

sudo apt-get purge nvidia-current
sudo apt-get install nvidia-current
Go to Additional Drivers reactivate 2nd driver
sudo modprobe nvidia

Frustrating as hell!

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.

Thursday, 1 December 2011

Kubuntu 11.10

system settings > input devices > mouse > double-click to open files

remove system settings tool tips -> configure button -> untick show detailed tooltips

Remove tool tips in task bar, right click task bar -> untick show tooltips

Remove shitty Windows Aero Snap!
System Settings -> Workspace Behaviour -> Screen Edges -> Untick maximise at top and title at side.

System Settings -> Workspace Behaviour -> Workspace -> Untick Show Informational Tips - whooo hoooooooo!!!!

Right Click -> Folder Settings -> Icons -> Tick 'Click to view folder'

http://forum.kde.org/viewtopic.php?f=20&t=97385
Rather than removing the akonadi configuration, I edited ~/.config/akonadi/aknoadiserverrc and changed "StartServer=true" to "StartServer=false", and then rebooted (although logging out and back in should have been sufficient).


Whooo hoooooooo mouse zooming:

xbindkeys --defaults > $HOME/.xbindkeysrc

Then edit with your favorite text editor the file ~/.xbindkeysrc and add before the end those lines:
# Zoom in
"qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "view_zoom_in""
m:0x50 + c:133 + b:4

# Zoom out
"qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "view_zoom_out""
m:0x50 + c:133 + b:5

Restart xbindkeys to apply the new shortcut:
killall xbindkeys && xbindkeys
Now you can fully enjoy the zoom effect and add xbindkeys into Autostart kde systemsettings tab.


Full screen youtube > right click video > pop out


ip: ifconfig -v
gateway: route -n
dns: cat /etc/resolv.conf

Monday, 30 May 2011

Kubuntu 11.04

Clone:
http://www.howtogeek.com/howto/19141/clone-a-hard-drive-using-an-ubuntu-live-cd/
Ubuntu LiveCD
sudo fdisk –l
sudo dd if=/dev/sda of=/dev/sdb bs=1K
sudo diff -r /dev/sda /dev/sdb -- differs for some reason
gParted to resize partition
sudo touch /forcefsck -- for disk check
sudo blkid -- check uuid of HDD
sudo cat /etc/fstab -- double check they are in line

wireless, relaced with wicd
http://kubuntuforums.net/forums/index.php?topic=3116918.0

wireless - hidden - sudo iwconfig wlan0 essid name_of_the_hidden_essid
http://superuser.com/questions/118551/connecting-to-a-hidden-wireless-network-on-kubuntu

live and alt cd failed:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/727783
used usb instead:
https://help.ubuntu.com/community/Installation/FromUSBStick

nvidia drivers
use recommended driver from additional drivers

use nvidia x server settings to configure twin view
show preview of x11 and save to /etc/x11/xorg.conf

sudo update-alternatives --config x-cursor-theme
select core and restart
http://kubuntuforums.net/forums/index.php?topic=3112235.0

nvidia + konsole resize problem
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/760632
http://ubuntuforums.org/archive/index.php/t-1742919.html
https://bbs.archlinux.org/viewtopic.php?id=116544&p=3

go back to 173 nvidia driver - konsole prob disappears

disable window drag
http://forum.kde.org/viewtopic.php?f=66&t=91430

calculator button
http://forum.kde.org/viewtopic.php?f=17&t=89602

wobbly windows
http://ubuntuforums.org/showthread.php?t=1772475

plasma-desktop-appletsrc - script
http://forums.opensuse.org/english/get-technical-help-here/install-boot-login/442422-kde-plasma-desktop-crash-when-start-desktop-after-upgrade-11-3-a.html#post2192496

sudo apt-get install kalternatives

jdk 6
kpackagekit, tick "deb http://archive.canonical.com/ natty partner" or sudo add-apt-repository "deb http://archive.canonical.com/ natty partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk

vcd to mp3
mplayer vcd://15 -cdrom-device /dev/sr0 -dumpaudio -dumpfile /tmp/track15.mp3

picasa uploads via digikam :) and KIPI plugins
https://bugs.kde.org/show_bug.cgi?id=274854

WOL(10)
http://ubuntuforums.org/showthread.php?t=658889
sudo etherwake -bD -i eth1 00:13:D4:64:5B:**

=====
I am using the asus P5G41C-MLx …… I think the bios screen is the same
So …… you may try the following:
1. Go to ADVANCED
Onboard devices configuration
Onboard Lan boot rom ………………. Should be changed to (enabled)
2. Go to POWER
APM Configuration
Power on by PCI (E) device ………….. should be changed to (enabled)
When reboot ….. press F10 to configure ….. and follow the instructions
=======

kajongg - kajonggserver, needs vorbis-tool

restart networking
http://theos.in/desktop-linux/tip-that-matters/how-do-i-restart-linux-network-service/
sudo /etc/init.d/networking restart

maximise flash
https://chrome.google.com/webstore/detail/lljjmflmcnaigbhnheldbdbplkbhngnl

http://maketecheasier.com/8-useful-and-interesting-bash-prompts/2009/09/04
http://www.matrix44.net/blog/?p=503
~/.bashrc
PS1="\u\[\033[37m\]@\[\033[36m\]\h\[\033[33m\]:\[\033[1;34m\]\w\[\033[m\]\$ "

http://ubuntuforums.org/showthread.php?t=602596
http://www.commandlinefu.com/commands/view/2702/ignore-hidden-directory-in-bash-completion-e.g.-.svn
set completion-ignore-case on
set match-hidden-files off
/etc/inputrc

hdd mount on boot
blkid
sudo nano /etc/fstab

Monday, 14 February 2011

Samsung R510

Remove .net framework 4, conflicts with wireless - which takes an extra 90 seconds to startup Windows