Starting into hopefully nice holidays with Emirates… Wait for more to come -depending on network conditions… Right here on this channel…
Monthly Archives: October 2008
VGA modes when booting the Linux kernel
Use these modes in the kernel boot parameters list with vga=0x317 for 800x600x16, more in the table:
Colours 640x400 640x480 800x600 1024x768 1152x864 1280x1024 1600x1200 -------+-------------------------------------------------------------- 4 bits | ? ? 0x302 ? ? ? ? 8 bits | 0x300 0x301 0x303 0x305 0x161 0x307 0x31C 15 bits | ? 0x310 0x313 0x316 0x162 0x319 0x31D 16 bits | ? 0x311 0x314 0x317 0x163 0x31A 0x31E decimal | d785 d788 d791 24 bits | ? 0x312 0x315 0x318 ? 0x31B 0x31F decimal | d786 d789 d792 32 bits | ? ? ? ? 0x164 ?
No more TextMate ._files (dot underscore files)
To prevent TextMate from storing state information in meta files starting with ._ (dot underscore files) just enter
defaults write com.macromates.textmate OakDocumentDisableFSMetaData 1
in a console window.
Disable creation of ._files (dot underscore files) and .DS_Store files on SMB mounts
Macs do have an annoying feature of creating ._files whenever writing to a (remote) file system that does not support the Mac’s extended attributes. They also create .DS_Store files everywhere. This can drive you crazy after a while (like me right now). To prevent Macs from doing this on SMB mounts, add the following to your server‘s /etc/samba/smb.conf:
veto files = /._*/.DS_Store/
in every share section (the share names are enclosed in square brackets [share] ).
After the change, restart the Samba server! This solution works for directly editing files on the SMB mount with TextMate, but not for copying files in the Finder – it says, file names are too long, contain special characters… so you better create two shres, a [share} and a [shareveto]. Sorry for this.
There should also be a solution on the Mac itself, but I couldn’t get this to work – more on this at http://support.apple.com/kb/HT1629