ubuntu

Auto update Ubuntu PXE files

Update script
<?php
$URL="https://raw.githubusercontent.com/panticz/preseed/master/pxe/scripts/update.ubuntu.pxe.files.sh";
echo "wget $URL -O - | bash -";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

Create cronjob
<?php
$URL="https://raw.githubusercontent.com/panticz/preseed/master/pxe/scripts/update.ubuntu.pxe.files.cronjob";
echo "wget $URL -O - /etc/cron.d/update.ubuntu.pxe.files.cronjob; chmod a+x update.ubuntu.pxe.files.cronjob";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

Configure PXE
wget https://installit.googlecode.com/hg/preseed/preseed.precise.i386.conf -O /var/lib/tftpboot/pxelinux.cfg/preseed.precise.i386.conf
wget https://installit.googlecode.com/hg/preseed/preseed.precise.amd64.conf -O /var/lib/tftpboot/pxelinux.cfg/preseed.precise.amd64.conf
wget https://installit.googlecode.com/hg/preseed/preseed.quantal.i386.conf -O /var/lib/tftpboot/pxelinux.cfg/preseed.quantal.i386.conf
wget https://installit.googlecode.com/hg/preseed/preseed.quantal.amd64.conf -O /var/lib/tftpboot/pxelinux.cfg/preseed.quantal.amd64.conf

vi /var/lib/tftpboot/default
MENU SEPARATOR
MENU BEGIN
MENU TITLE + Preseed
MENU INCLUDE pxelinux.cfg/preseed.oneiric.i386.conf
MENU INCLUDE pxelinux.cfg/preseed.oneiric.amd64.conf
MENU INCLUDE pxelinux.cfg/preseed.precise.i386.conf
MENU INCLUDE pxelinux.cfg/preseed.precise.amd64.conf
MENU INCLUDE pxelinux.cfg/preseed.quantal.i386.conf
MENU INCLUDE pxelinux.cfg/preseed.quantal.amd64.conf

MENU SEPARATOR
LABEL Back
MENU EXIT
MENU END

Install androidscreencast under Ubuntu

# install android sdk

# install java
wget http://dl.dropbox.com/u/4170695/scripts/install.sun-java6-jre.sh -O - | bash -

# set path to android sdk
PATH=$PATH:~/android-sdk-linux_86/tools

# start android sdk server
adb start-server

# start androidscreencast
wget http://androidscreencast.googlecode.com/svn/trunk/AndroidScreencast/dist/androidscreencast.jnlp -P ~/
javaws ~/androidscreencast.jnlp

# Links
http://code.google.com/p/androidscreencast/

apt / dpkg

# run update
export DEBIAN_FRONTEND=noninteractive
LANG=en_US.UTF-8 sudo apt-get update -y && sudo apt-get dist-upgrade -y && sudo apt-get autoremove -y && sudo apt-get clean -y

# allow unauthenticated repository
apt-get update --allow-unauthenticated

# list updatable packages
apt list --upgradable

# view avaiable package version
apt-cache show wget
apt-cache madison wget

# install specific version
apt-get install package name=version
apt-get install wget=1.6

# install from specific repository
apt-get install -t squeeze-backports wget

# view available versions

Kyocera FS-1030D

Download PPD files for kyocera printer
wget http://cdn.kyostatics.net/dlc/de/driver/all/linux_ppd_s_ksl_8.-downloadcenteritem-Single-File.downloadcenteritem.tmp/Linux_PPDs_KSL8_4.zip -P /tmp/
unzip /tmp/Linux_PPDs_KSL8_4.zip -d /tmp

# create new printer
lpadmin -p Kyocera_FS1010 -v socket://192.168.1.11:9100 -E -P "/tmp/PPD's_KSL_8.4/German/Kyocera_Mita_FS-1010_de.ppd"
#-o PageSize=A4

system-config-printer

install
#wget http://dl.dropbox.com/u/4170695/www/Kyocera-FS-1010.ppd -P /tmp

Install lastest stable Thunderbird

Installation
<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.thunderbird.sh";
echo "wget $URL -O - | bash -";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

Releases
https://www.thunderbird.net/en-US/thunderbird/releases/

Extensions
mv /usr/lib/thunderbird.old/extensions/* /usr/lib/extensions/

german language
http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/3.1/linux-i686/xpi/de.xpi

Filter
~/.thunderbird/*.default/ImapMail/*/msgFilterRules.dat

Lightning (calender support)
apt-get install xul-ext-lightning
module name: {e2fda1a4-762b-4020-b5ad-a41df1933103}
https://addons.mozilla.org/de/thunderbird/addon/lightning/versions/
http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b2rc3/linux-i686/lightning.xpi

# lighting on 64 bit
https://help.ubuntu.com/community/ThunderbirdLightning
wget http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b2rc3/contrib/linux-x86_64/lightning.xpi

command line arguments
http://kb.mozillazine.org/Command_line_arguments_%28Thunderbird%29

# shortcuts
https://www.thunderbird-mail.de/wiki/Kurzbefehle

### OLD

# german speel check
https://addons.mozilla.org/de/thunderbird/addon/9361

# Lightning for Thunderbird 3
http://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/nightly/linux-xpi/
http://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/nightly/latest-comm-1.9.1/linux-xpi/lightning.xpi
https://addons.mozilla.org/de/thunderbird/downloads/file/75390/xpi/lightning-1.0b1-tb+sm-linux.xpi?src=addondetail

# add german language
#wget http://mozmirror01.true.nl/pub/mozilla.org//thunderbird/releases/3.0/linux-i686/de/thunderbird-3.0.tar.bz2 -P /tmp
wget ftp://ftp.mozilla.org/pub/thunderbird/releases/latest-3.1/linux-i686/de/thunderbird-3.1.2.tar.bz2 -P /tmp
tar xjf /tmp/thunderbird*.tar.bz2 -C /tmp
#cp /tmp/thunderbird/chrome/de.jar /usr/lib/thunderbird-3.0.1pre/chrome/
cp /tmp/thunderbird/chrome/de.* /usr/lib/thunderbird-3.1.1/chrome/

# calender file
local.sqlite
http://sqlitebrowser.sourceforge.net/ - browser for sqlite files

Open winmail.dat in thunderbird
LookOut - https://addons.mozilla.org/en-US/thunderbird/addons/policy/0/4433/33018

Send Email from command line
FILE=/tmp/file-$(date +'%Y%m%dT%H%M%S').json
thunderbird -compose "to='foo@example.com',cc='bar@example.com',subject='my_subject',body='my_text',attachment=${FILE}"

Links
http://egon.resonar.de/2010/07/20/thunderbird-3-1-1-ppa-fuer-ubuntu-maverick-lucid-karmic-jaunty-hardy/
ftp://ftp.mozilla.org/pub/thunderbird/releases/3.0b2/linux-i686/de/
https://wiki.mozilla.org/Thunderbird:Thunderbird3

Install Fax client for Hylafax (YajHFC)

<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.yajhfc.sh";
echo "wget $URL -O - | bash -";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

# OPTIONAL, set evince as default fax viewer
sed -i 's|gnome-open|evince|g' ~/.yajhfc/settings

Links
http://www.yajhfc.de/
http://wiki.xtronics.com/index.php/Faxfrontend
http://www.yajhfc.de/downloads/deb-packages
http://developer.berlios.de/forum/forum.php?forum_id=34299

Ubuntu 24.04 Noble Numbat LTS

Schedule
https://wiki.ubuntu.com/BionicBeaver/ReleaseSchedule

ReleaseNotes
https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes

Repository
echo "deb http://de.archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse" > /etc/apt/sources.list.d/bionic-updates.list
echo "deb http://archive.ubuntu.com/ubuntu/ bionic-proposed restricted main multiverse universe" > /etc/apt/sources.list.d/proposed-updates.list
apt-get install netplan.io/bionic-proposed

Download

Gedit / Pluma text editor

# Gnome gedit2 add regex replace support
wget http://vaem.googlecode.com/files/gedit2_regex_replace_plugin.tar.gz -P /tmp
tar -xzf /tmp/gedit2_regex_replace_plugin.tar.gz -C /home/$USER/.gnome2/gedit/plugins/

# add YAML syntax support
wget -q http://dl.panticz.de/pluma/yaml.lang -O /tmp/yaml.lang
sudo cp /tmp/yaml.lang /usr/share/gtksourceview-2.0/language-specs/yaml.lang
sudo cp /tmp/yaml.lang /usr/share/gtksourceview-3.0/language-specs/yaml.lang

# Configure pluma
gsettings set org.mate.pluma editor-font "Ubuntu Mono 13"
gsettings set org.mate.pluma display-line-numbers true

ATI / Medion X10 MD8800 remote controll

# disable ati_remote
echo "blacklist ati_remote" >> /etc/modprobe.d/blacklist

# update lircd config
wget http://lirc.sourceforge.net/remotes/atiusb/lircd.conf.atilibusb -O /usr/share/lirc/remotes/atiusb/lircd.conf.atilibusb

# reconfigure
sudo dpkg-reconfigure lirc
Remote control configuration: ATI/NVidia/X10 RF Remote (userspace)
IR transmitter, if present: None

# xbmc medion x10 double key can by fixed with ~/.xbmc/userdata/advancedsettings.xml

4

Download