ubuntu

warning: Creating default object from empty value in /data/web/1/000/027/003/273448/htdocs/panticz.de/modules/taxonomy/taxonomy.pages.inc on line 33.

Create printer on command line

List all installed printer
lpstat -p -d

Kyocera FS-C5016N
lpadmin -p LaserColor -v ipp://192.168.1.11:631/ipp -E -P /usr/share/ppd/openprinting/Kyocera/en/Kyocera_Mita_FS-C5016N_en.ppd.gz

PDF Printer
sudo sudo apt-get install -y cups-pdf
#sudo lpadmin -p PDF -v cups-pdf:/ -E -P /usr/share/ppd/cups-included/postscript.ppd
#/usr/share/ppd/cups-pdf/PostscriptColor.ppd

Define default prnter
lpadmin -d printer1

Ubuntu USB boot (Ubuntu Live CD boot from USB)

#!/bin/bash
 
DEVICE=/dev/sdb
ISO=ubuntu-16.10-desktop-amd64.iso
VOLUME=BOOTUSB
 
# install needed apps
sudo apt-get install -y syslinux mbr mtools dosfstools
 
# OPTIONALY format drive 
# sudo umount ${DEVICE}1
# sudo mkfs.vfat -n ${VOLUME} ${DEVICE}1
 
# install mbr and syslinux
mkdir /tmp/${VOLUME}
sudo mount ${DEVICE}1 /tmp/${VOLUME}
sudo install-mbr ${DEVICE}
 
sudo mkdir /tmp/${VOLUME}/boot
sudo syslinux -f ${DEVICE}1 -d boot
#sudo syslinux -f ${DEVICE}1
#sudo syslinux -smf ${DEVICE}1
 
sudo cp /usr/lib/syslinux/modules/bios/vesamenu.c32 /tmp/${VOLUME}/boot/
 
sudo mkdi

AVM FRITZ!Card PCI

Installation (tested on Linux squezze 2.6.32-5-xen-amd64)
apt-get install -y wget capiutils
wget http://dl.dropbox.com/u/4170695/www/fcpci.tar.gz -O /tmp/fcpci.tar.gz
tar xzf /tmp/fcpci.tar.gz -C /tmp/
/tmp/fcpci/install.sh

# test
capiinfo
capifax -v [0]YOUR_FAX_NO /etc/hosts

Install and configure AVM Fritz!Card USB driver

#!/bin/bash
 
# If you use Ubuntu Gutsy you don´t need to compile the fcusb2 driver at self, follow this howto
# it will automaticly download and configure all needed files
 
# be sure that you running this script as root
if [ "$USER" != "root" ]; then
	sudo $0
	exit 0
fi
 
# install needed packages
apt-get install -y avm-fritz-firmware linux-restricted-modules-$(uname -r) wget
 
# install avm firmware
#wget http://www.avm.de/files/cardware/fritzcrdusb.v20/linux/suse.93/fcusb2-suse93-3.11-07.tar.gz -P /tmp
#tar -xzf /tmp/fcusb2-suse93-3.11-07.tar.gz -C /tmp
#mkdir /usr/share/isdn/

Compile AVM Fritz!Card USB driver for Ubuntu (fcusb2.ko)

#!/bin/bash
 
# note
# successfully tested on Ubuntu Gutsy 7.10, this driver currently dont work with Hardy 8.04
 
apt-get install -y wget rpm build-essential linux-headers-$(uname -r) avm-fritz-firmware
 
wget http://opensuse.foehr-it.de/rpms/10_3/src/fcusb2-0.1-0.src.rpm -P /tmp
cd /tmp
rpm2cpio fcusb2-0.1-0.src.rpm | cpio -i --make-directories
 
if [ $(uname -m) == "x86_64" ]; then
	# amd64
	tar -xzf fcusb2-suse93-64bit-3.11-07.tar.gz
	cd /tmp/fritz/src/
	patch -p2 < /tmp/fritz-usb.diff
	patch -p2 < /tmp/fritz_init_work.diff
	patch -p2 < /tmp/fritz_urb.diff
	patch -p2 < /tmp/f

Ubuntu LiveCD PXE boot (Ubuntu Live CD boot from network)

DEFAULT_URL=http://releases.ubuntu.com/releases/12.04/ubuntu-12.04-desktop-i386.iso
NFS_SERVER=192.168.1.9
 
if [ ! -z $1 ]; then
        FILE=$1
 
        if [ !

Compile Ubuntu kernel

apt-get install fakeroot build-essential makedumpfile ncurses-dev
 
cd /usr/src
?? apt-get build-dep linux-image-$(uname -r)
apt-get source linux-image-$(uname -r)
 
?? apt-get build-dep linux-ubuntu-modules-$(uname -r)
??

Install Ubuntu Hardy from HDD

#!/bin/bash
 
# download netboot image
wget http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/installer-amd64/current/images/netboot/netboot.tar.gz -P /tmp
 
# extract and copy install files
tar xzf /tmp/netboot.tar.gz -C /tmp
mkdir /boot/ubuntu
cp /tmp/ubuntu-installer/amd64/initrd.gz /boot/ubuntu/
cp /tmp/ubuntu-installer/amd64/linux /boot/ubuntu/
 
# create GRUB menu entry
cat <<EOF> /etc/grub.d/49_ubuntu
#!/bin/sh
exec tail -n +4 $0
 
menuentry "Network Ubuntu install" {
    root (hd0,0)
    kernel /boot/ubuntu/linux
    initrd /boot/ubuntu/initrd.gz
}
EOF
chmod 

Gnome

# get settings
gsettings list-recursively | grep -i gedit
gsettings list-recursively org.gnome.settings-daemon.plugins.power
dconf read /org/gnome/settings-daemon/plugins/media-keys/calculator 
 
# unity
setsid unity
dconf dump /org/compiz/
 
# http://askubuntu.com/questions/67355/how-do-i-completely-turn-off-screensaver-and-power-management
# /usr/share/glib-2.0/schemas/org.gnome.desktop.wm.preferences.gschema.xml 
 
dconf watch /
http://askubuntu.com/questions/359593/is-it-possible-to-monitor-dconf-for-changes
 
# reset pannel settings
gconftool-2 --recursive-unset /apps/panel
d
Syndicate content