solutions
reinventing the wheel.
Dienstag, 14. Dezember 2010
ZSNES 1.337 as Ubuntu/Debian Linux package
This archive contains three deb files that need to be installed. Then just run zsnes via terminal.
zsnes-1.337-netplay-debian.tar.bz2
I found the old debian package file on this page,
http://dir.filewatcher.com/d/Debian/i386/contrib/otherosfs/zsnes_1.337-4_i386.deb.496338.html
collected the missing outdated debian packages
http://archive.debian.net/
and removed the uneeded dependencies from the package.
http://ubuntuforums.org/showthread.php?t=636724
Samstag, 7. August 2010
screen rotation script with wacom tablet rotation and font rendering adjustment
( Update: now available on github: https://github.com/fdietze/rotate )
- Put this script in ~/bin:
https://raw.github.com/fdietze/rotate/master/rotate - Make it executable.
chmod +x ~/bin/rotate - Log out. Log in.
- Use it in the Terminal.
rotate inverted - Create a Shortcut for easy usage.
Freitag, 6. August 2010
Merge PDFs with the command line
- Install Ghostscript and pdftk.
sudo aptitude install ghostscript pdftk -y - Put this script in ~/bin.
http://einrad.eu/stuff/pdfmerge - Make it executable.
chmod +x ~/bin/pdfmerge - Log out. Log in.
- Use it.
pdfmerge output.pdf a.pdf b.pdf c.pdf
Create a GRUB2 bootable external harddrive with Ubuntu and Windows 7 setup
- Create a NTFS boot partition in the beginning of the drive and set the hidden flag.
- Mount the boot partition.
sudo mount /dev/sdX1 /mnt - Install GRUB2 on the external drive with the root-directory on the NTFS boot partition (needs to be under the 1024 cylinder boundary).
sudo grub-install --root-directory=/mnt --no-floppy /dev/sdX - Edit the grub configuration file.
gedit /mnt/boot/grub/grub.cfg
And insert the following Contents:
menuentry "Ubuntu Live 10.04 32bit"
{
loopback loop /ubuntu-10.04-desktop-i386.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/ubuntu-10.04-desktop-i386.iso noeject noprompt quiet splash -- debian-installer/language=de console-setup/layoutcode?=de
initrd (loop)/casper/initrd.lz
}
menuentry "Windows 7 x86 Deutsch Setup"
{
insmod chain
chainloader +1
} - Copy the Ubuntu ISO.
cp [...]/ubuntu-10.04-desktop-i386.iso /mnt - Mount the Windows 7 ISO (make sure, there is no cd in the drive).
sudo mount [...]/de_windows_7_professional_x86_dvd_x15-65812.iso /media/cdrom -o loop - Copy the Windows 7 ISO contents.
cp -r /media/cdrom/* /mnt - Umount the ISO and boot partition.
sudo umount /media/cdrom
sudo umount /mnt - Finished. You can now boot from the external drive or test it with QEMU.
sudo qemu -m 256 -hda /dev/sdX
Abonnieren
Posts (Atom)