Ubuntu

Uit arl.nu wiki
Ga naar: navigatie, zoeken

1. hoe wobbly windows aan te krijgen

a) installeer de driver voor de graka, in 12.04 additional drivers activeren (vanaf 12.10 verplaatst naar software sources)

https://help.ubuntu.com/community/BinaryDriverHowto/ATI

voor integrated R3000 https://launchpad.net/~makson96/+archive/fglrx

b) installeer compizconfig-settings-manager

sudo apt-get install compizconfig-settings-manager

12.10 doe ook:

sudo apt-get install compiz-plugins-extra

c) launch compiz settings from dash

enable:
wobbly windows

Can be needed to type in terminal (valid for pear os)

compiz --replace &

2. Installeer de http://crashplan.com/ applicatie

a) pas linux config aan volgens (crashplan support url:http://support.crashplan.com/doku.php/client/troubleshooting/real-time#updating_the_watch_value) You can update the value permanently by putting the following value in /etc/sysctl.conf and restarting:

fs.inotify.max_user_watches=1048576

Ubuntu distribution upgrade:

1. sudo update-manager -d

2. En om op de terminal te tracen:

a) /var/log/dist-upgrade/apt-term.log duurt even voor de genoemde logfile gemaakt wordt! Geduld...

En om van 12.04 lts naar 13.04 te gaan, moet je via 12.10 (tussenliggende release)

scriptjes

https://copy.com/IpiLN6FAQoLa


updaten ubuntu ar_apt

Ik heb een scriptje gemaakt, ar_apt die wat dingen doet, oa:


echo "---> running: sudo apt-get update"
date
sudo apt-get update -y
echo "----> running: sudo apt-get upgrade" 
date
sudo apt-get upgrade -y
echo "----> running: sudo apt-get install" 
date
sudo apt-get install linux-image-generic -y
echo "----> running: sudo apt-get autoremove" 
date
sudo apt-get autoremove -y
echo "----> grep quiet /boot/grub/menu.lst" 
date
grep quiet /boot/grub/menu.lst
grep quiet /etc/default/grub
# To upgrade to major release:
# sudo update-manager -d

safe erase disk er.sh


#!/bin/sh
# This programm will erase $1 Safely
# Todo
# 1. give error if no $1
# 2. mail once done? and for this to work change log method?
echo "Maybe best is to run this, via sudo -s, at now, and redirect output to file?"
echo "Run via sudo -s shell and with $1 for disk "
echo "For example: /home/arl/Ubuntu\ One/er.sh sda > /home/arl/ersda27122010.log 2>&1" 
echo "Or ./er.sh sdb > er_sdb_28june.log 2>&1 & " 
root_sd=`mount |grep " / " |cut -c6-8` 
echo "Do not run it on $root_sd, that is OS disk !!!!!!!!!! "
echo "Note erasing can take quite long, about 36 hours for 80G Sata"
echo "Note erasing can take quite long, about 48 hours for 80G Pata"
echo "Note erasing can take quite long, about <96 hours for 200G Sata"
echo "Note erasing can take quite long, about 290 hours for 1TB Sata"

echo "OS disk is: $root_sd"
#if [ "$1" = "sdb" ] 
if [ "$1" = "$root_sd" ] 
then
echo "I will not erase my own OS disk"
exit 1
fi

echo "Target disk info:"
hdparm -i /dev/$1
echo "Starting at `date`"
for i in 0 1 2 3 4 5 6 ; do
echo ">>>> Round $i out of 6 <<<<"
echo "Starting with /dev/zero @ `date`:" 
time dd if=/dev/zero of=/dev/$1 bs=1024k; sync
echo "Starting with /dev/urandom @ `date`:"
time dd if=/dev/urandom of=/dev/$1 bs=1024k; sync
done
echo ">>>>Final /dev/zero @ `date` <<<<"
time dd if=/dev/zero of=/dev/$1; sync
echo ">>>>> Done at `date` <<<<"


more te come.....

oslevel

compiz check

....

minecraft

http://www.howtogeek.com/198476/how-to-install-minecraft-on-ubuntu-or-any-other-linux-distribution/

oa een java nodig... ik ben nu voor de oracle gegaan, niet openjdk

google earth

http://blog.pztop.com/2016/04/28/Install-Google-Earth-on-Ubuntu-16-04/

start dmv van:

while true; do google-earth; done

anders krijg je melding over, another crash happened

dpkg

sudo dpkg --list to list
sudo dpkg -i to install
sudo dpkg --remove to remove
etc.

checkrestart

checkrestart kun je gebruiken, om te kijken, of je nog processen/ services met oude software hebt draaien

checkrestart

livepatching

https://auth.livepatch.canonical.com/

daar kun je je aanmelden

ik moest nog wel sudo apt-get install snapd doen