Linux

The latest vlc seems to compile fine with only a few modest dependencies. Using qt4 instead of wxGTK helps out a lot. I started a fresh rpm this time and didn't build upon the 0.8.6 spec. You'll need a fairly recent ffmpeg compiled with --enable-swscale.

SPEC
src.rpm
i386 x86_64



I prefer a dark theme. I've lived with thunderbird doing a bad job of that for a while. I finally decided to fix it. I found this page which had what I wanted. To change the color of the links in email messages, edit userContent.css and change the color for a:link. I set the background and foreground color also (they are set in the theme also, but this seems to help sometimes. body { color: white; background-color: black; } a:link {…



It seems like the interface for creating modules has changed a bit, and udev is the way to go. Here is a short, quick and dirty module that creates /dev/pi with anonymous major and minor using udev.

The module creates the device (not the file) with register_chrdev, which returns the value of the major number that was assigned. We then use class_create to create a udev class to contain the device, finally you call device_create to actually make the device file.

To remove the device, you call device_destroy to…



I followed the simple guide in the forum but was still unable to use my keys. Turns out my keys were DSA, and FreeSSHD only seems to know about RSA keys. I generated some RSA keys and everything was fine. The guide is somewhat misleading, what worked for me was creating a file in C:\Program Files\FreeSSHD\username and copying the contents of my RSA public key. The error I was getting before was: 02-09-2009 09:11:09 IP 172.16.43.38 SSH charlie submitted a…



Trying to use sshfs to mount in an nfs mounted home directory and we were getting this error: fusermount: failed to open mountpoint for reading: Permission denied It must have something to do with userid's, the solution was to make the mountpoint world readable and executable. The containing home directory is not world readable anyway... Hope that helps someone. PS - To umount the sshfs mounted filesystem, use fusermount -u



I'm having trouble resuming on my T60p. With gnome-power-manager if I sleep and resume within 5minutes everything is ok. If I sleep (close the lid) and wait more than 5 minutes the machine never comes back, the video remains black but otherwise it appears to be running, not crashed. I tried a kernel from koji.fedoraproject.org/packages/kernel/2.6.27.7/130.fc10 that was supposed to fix the problem but that didn't help. Going through all the options of pm-suspend, I found that this is the only one that works reliably: pm-suspend --quirk-vbe-post…



I needed to edit the initfs filesystem on my n810 wimax. Mounting the jffs2 image was only documented for older systems...here's how I did it on my RHEL5 system. modprobe loop losetup /dev/loop0 initfs.jffs2 modprobe mtdblock modprobe block2mtd echo "/dev/loop0,128KiB" > /sys/module/block2mtd/parameters/block2mtd modprobe jffs2 That gets everything ready to mount the filesystem. mount -t jffs2 /dev/mtdblock0 /mnt If you don't have the mtdblock0 device file, you can make it (looking on the n810 I see that it's a block device major 31 minor 0 mknod /dev/…



While trying to run the upgrade script 2008-08-29_fix_mdb2_sequences.php we were getting the following error: A fatal error has occurred MDB2 Error: not found This is after installing MDB2, the problem was we didn't have the MySQL driver for MDB2. pear install -fa MDB2_Driver_mysql After that the upgrade runs to completion. [ OK ] Modified sequence for kronolith_shares [ OK ] Modified sequence for turba_shares [ OK ] Done



After copying our configuration from our old server to our new server, we lost the select box that allowed the user to choose Traditional (imp) or Dynamic (dimp). Reading login.php we found: if (!empty($conf['user']['select_view'])) { $apps = $registry->listApps(null, true); $view_cookie = isset($_COOKIE['default_imp_view']) ? $_COOKIE['default_imp_view'] : ($browser->isMobile() && isset($apps['mimp']) ? 'mimp' : 'imp'); if (isset($apps['dimp']) || isset($apps['mimp'])) { $views[] = array('sel' => $view_cookie == 'imp…



After upgrading to 4.2 we had problems deleting emails, from dimp there was no problem, but imp would complain that the link you tried was only valid for 0 seconds. The fix on this page solved that: http://lists.horde.org/archives/imp/Week-of-Mon-20080526/049140.html Mainly, put these lines in horde/imp/config/conf.php: $conf['server']['cache_folders'] = true; $conf['server']['token_lifetime'] = 1800; $conf['server']['cachejs'] = 'none'; $conf['server']['cachecss'] = 'none'; Additionally, we…