linux

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.

Configure file association / default application for file

# global system configuration
/etc/gnome/defaults.list

# user configuration
#~/.local/share/applications/defaults.list
~/.local/share/applications/mimeapps.list

sed -i 's|totem.desktop|vlc.desktop|g' /etc/gnome/defaults.list

sudo sed -i 's|totem.desktop|vlc.desktop|g' /etc/gnome/defaults.list

image/x-psd=gimp.desktop

# Links
https://help.ubuntu.com/community/AddingMimeTypes
http://www.libre-software.net/change-the-default-application-ubuntu-linux
http://askubuntu.com/questions/289337/how-can-i-change-file-association-globally

Strato HiDrive under Ubuntu

# create OpenVPN tunel
wget http://www.strato-faq.de/download/OpenVPN_HiDrive_config.zip -P /tmp
unzip /tmp/OpenVPN_HiDrive_config.zip -d /tmp/
cd /tmp/OpenVPN_config/
sudo openvpn /tmp/OpenVPN_config/hidrive.strato.com.ovpn

# smb (works only with OpenVPN tunel)
smb://smb.hidrive.strato.com/root

# ssh
sftp://USER_NAME@sftp.hidrive.strato.com/

# rsync
rsync -avzre "ssh" LOCAL_DIR YOU_USER_NAME@rsync.hidrive.strato.com:/users/YOU_USER_NAME/

# webdav
Browser: http://USER_NAME.webdav.hidrive.strato.com
Nautilus: dav://USER_NAME.webdav.hidrive.strato.com

Play BlueRay disc with Linux

Play BlueRay discs with Linux

# new 2
sudo apt-get update
sudo apt-get upgrade

sudo apt-get install build-essential libc6-dev libssl-dev libgl1-mesa-dev libqt4-dev

cd /tmp
wget http://www.makemkv.com/download/makemkv_v1.6.3_bin.tar.gz
wget http://www.makemkv.com/download/makemkv_v1.6.3_oss.tar.gz

tar -xvf makemkv_v1.6.3_bin.tar.gz
tar -xvf makemkv_v1.6.3_oss.tar.gz

cd /tmp
cd makemkv_v1.6.3_oss
sudo make -f makefile.linux
sudo make -f makefile.linux install

cd /tmp
cd makemkv_v1.6.3_bin
sudo make -f makefile.linux

Kyocera FS-1010

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

Preseed Debian / Ubuntu installation

Pressed on GitHub
https://github.com/panticz/preseed

pressed install under kvm
wget https://raw.githubusercontent.com/panticz/preseed/master/pxe/scripts/cre... -O - | bash -

wget -q http://dl.panticz.de/preseed/UbuntuNetInstall.iso -O /tmp/UbuntuNetInstall.iso
kvm -m 512 -hda /dev/sda -cdrom /tmp/UbuntuNetInstall.iso -boot d

Install UPnP server
http://dl.dropbox.com/u/4170695/preseed/preseed.upnp.seed

Preseed auto RAID1 LVM

DataLogic QuickScan QS6500 with Ubuntu as USB Keyboard

download configuration codes
https://easeofaccess.scanning.datalogic.com/public/marketlit/Send.aspx?file=R44-2816A

reset to factory default (Page 3)
scan: Return handheld to factory defaults

configure as USB Keyboard
Interface Selection (Page 30 / 33)
scan: START
scan: USB Keyboard
scan: END

OPTIONAL, configure Keyboard Layout (Page 53 / 54)

Kernel options

from Documentation/kernel-parameters.txt

vga=xxx
set your framebuffer resolution to VESA mode xxx. (http://en.wikipedia.org/wiki/VESA_BIOS_Extensions#Linux_video_mode_numbers)

acpi=off OR noacpi
This parameter disables the whole ACPI system. This may prove very useful, for example, if your computer does not support ACPI or if you think the ACPI implementation might cause some problems (for instance random reboots or system lockups)

acpi=force

SheevaPlug HDD susped with hdparm (Hard drive sleep mode)

sudo apt-get install -y hdparm
 
cat <<EOF>> /etc/hdparm.conf
/dev/sda {
   spindown_time = 240
}
EOF
Syndicate content