tags/linux http://moria.greycastle.net//tags/linux.html moria James Davidson: Emacs Daemon James Davidson http://moria.greycastle.net//blog/emacsdaemon.html http://moria.greycastle.net//blog/emacsdaemon.html linux Tue, 06 Apr 2010 21:48:00 -0700 2010-04-07T05:22:55Z <p>Just now catching up with <a href="http://emacs-fu.blogspot.com/2009/02/emacs-daemon.html">using Emacs in daemon mode</a>. On that blog post, <a href="http://emacs-fu.blogspot.com/2009/02/emacs-daemon.html?showComment=1243944489441#c7542621984318751799">an anonymous commentor</a> shows the best way to use emacsclient to start the Emacs server if it is not already started.</p> <p>One last note is that the <code>-c</code> option will result in the same behaviour as the <code>-t</code> option if the DISPLAY environment variable is not set.</p> James Davidson: Chromium and Flash on x86_64 James Davidson http://moria.greycastle.net//blog/chromiumandflashonx86_64.html http://moria.greycastle.net//blog/chromiumandflashonx86_64.html linux Mon, 29 Mar 2010 20:52:00 -0700 2011-05-15T00:28:00Z <p>I am starting to <em>feel</em> the slowness of Firefox so I wanted to see if Chromium could fulfill my web browser needs. So far so good.</p> <p>The first big issue was getting Flash working with my x86_64 version of Chromium. I found a <a href="http://www.rikbrown.co.uk/2010/01/flash-on-64-bit-chromium-linux-fedora-12/">tidy set of instructions</a> to get and install the 64-bit Flash plugin. Just make sure you get the <a href="http://labs.adobe.com/technologies/flashplayer10/square">latest version</a> of the plugin.</p> <p>Update: The 64-bit version of flash is too old and has many security vulnerabilities. You should really get the latest 32-bit version and use the 32-bit plugin wrapper for your browser if you run a 64-bit version of Linux.</p> James Davidson: Fix Pidgin to work again with AIM and ICQ James Davidson http://moria.greycastle.net//blog/fixpidginaimicq.html http://moria.greycastle.net//blog/fixpidginaimicq.html computer linux Thu, 18 Feb 2010 21:36:00 -0800 2010-02-19T06:30:06Z <p>Recently I have been getting "Received unexpected response from..." errors. I found <a href="http://www.techspot.com/blog/677/pidgin-aim-icq-unexpected-response-fix/">a TechSpot blog with a fix</a> that worked for me.</p> James Davidson: F-Spot Mangles EXIF Dates James Davidson http://moria.greycastle.net//blog/fspotmanglesexifdates.html http://moria.greycastle.net//blog/fspotmanglesexifdates.html linux Wed, 28 Oct 2009 22:05:00 -0700 2009-11-16T00:22:58Z <p>My wife has been organizing all our family photos using F-Spot for several years. After a long bout of inactivity, she started to work through the mass of photos that we have just been collecting and not sorting through. After she imported the pictured, she noticed that the date of the photos that F-Spot was reporting was off from when she remembered taking the pictures.</p> <p>Well it turns out that F-Spot is indeed getting the dates wrong and is changing the EXIF header dates to be incorrect as well! A good summary of the problem is <a href="http://daniel-bartholomew.com/wordpress/2009/10/f-spot-considered-harmful/">F-Spot Considered Harmful</a>.</p> <p>I think I'll take a look at <a href="http://www.digikam.org/">digikam</a>.</p> James Davidson: GNOME Color Manager James Davidson http://moria.greycastle.net//blog/gnomecolormanager.html http://moria.greycastle.net//blog/gnomecolormanager.html computer linux Wed, 28 Oct 2009 21:34:00 -0700 2009-11-16T00:22:58Z <p>One area that the Linux desktop has been missing is <em>proper</em> color management. Well, <a href="http://www.hughsie.com/">Richard Hughes</a> has started developement of a <a href="http://blogs.gnome.org/hughsie/2009/10/28/gnome-color-manager/">GNOME Color Manager</a>.</p> James Davidson: x86info Fixes Merged James Davidson http://moria.greycastle.net//blog/x86infofixes.html http://moria.greycastle.net//blog/x86infofixes.html computer linux Wed, 01 Aug 2007 00:00:00 -0700 2009-10-12T19:30:00Z <p><a href="http://www.codemonkey.org.uk/">Dave Jones</a> got some spare time and merged in my first 3 <a href="http://www.codemonkey.org.uk/projects/x86info/">x86info</a> fix up patches:</p> <ul> <li><a href="http://git.choralone.org/?p=x86info.git;a=commit;h=fdaadbfd0a70b1bf83451af0fc52b3298a9621d4">Fix use of flag_decode</a></li> <li><a href="http://git.choralone.org/?p=x86info.git;a=commit;h=10800e29b23f26e256841b79e57501444b50dd26">Add sparse target for checking code</a></li> <li><a href="http://git.choralone.org/?p=x86info.git;a=commit;h=f2861dec6a5feb4a2d6fe38ec87b3c0f55d3a83a">Remove use of magic numbers</a></li> </ul> <p>There are a couple more patches I need to send Dave now that the first set have been merged.</p> James Davidson: Changing the Firmware project to use genext2fs instead of UML James Davidson http://moria.greycastle.net//blog/makefirmwareusegenext2fs.html http://moria.greycastle.net//blog/makefirmwareusegenext2fs.html computer linux Sun, 22 Jul 2007 00:00:00 -0700 2009-10-12T19:30:00Z <p>At <a href="http://www.linuxsymposium.org/2007/index_2007.php">OLS2007</a> I went to Rob Landley's <a href="http://www.linuxsymposium.org/2007/view_abstract.php?content_key=3">Cross Compiling Linux</a> tutorial where Rob introduced his <a href="http://www.landley.net/code/firmware/">Firmware Linux</a> project. Unfortunately we ran out of time and didn't actually get to using the cross-compiler.</p> <p>Rob's approach to cross-compiling packages is to build a native environment (using qemu) so that you don't actually have to cross-compile packages. Cool idea!</p> <p>Anyway, to build the root file system that qemu will use, Rob used UML (User Mode Linux) to step around the root privileges required for mounting the loop device. I had trouble getting UML going on my laptop so I wrote a patch that evening to use genext2fs to create the root file system. Just to show how slow I am at following through, I finally <a href="http://www2.them.com:8080/pipermail/firmware/2007-July/000123.html">sent the patch</a> to the mail list. We'll have to wait and see if Rob likes it.</p> <p>Update 2009-10-12: Rob eventually <a href="http://landley.net/notes-2008.html#17-11-2008">started using</a> my patch.</p> James Davidson: Keeping Kernel Config User Friendly James Davidson http://moria.greycastle.net//blog/kernelkconfig.html http://moria.greycastle.net//blog/kernelkconfig.html computer linux Mon, 22 Jan 2007 23:02:00 -0800 2009-10-12T19:30:00Z <p>There have been some netfilter changes that have caused a lot of confusion when it comes to configuring the kernel. The new netfilter implementation accompanied a bunch of netfilter kernel configuration name changes.</p> <p>Linus was <a href="http://groups.google.ca/group/linux.kernel/msg/5c6b108cbc07d6ee">not amused</a> and then pointed out how the netfilter <a href="http://groups.google.ca/group/linux.kernel/msg/b8e1924441b5cba1">Kconfig could have been implementation</a> to avoid any issues.</p> James Davidson: How To Compile A Kernel - The Fedora Way James Davidson http://moria.greycastle.net//blog/compilingkernelfedoraway.html http://moria.greycastle.net//blog/compilingkernelfedoraway.html computer linux Tue, 21 Nov 2006 14:46:00 -0800 2009-10-12T19:30:00Z <p>A nice HOWTO on <a href="http://www.howtoforge.com/kernel_compilation_fedora">compiling a kernel</a> for a Fedora system.</p> James Davidson: Writing a Simple File System James Davidson http://moria.greycastle.net//blog/writingsimplefilesystem.html http://moria.greycastle.net//blog/writingsimplefilesystem.html computer linux Thu, 31 Aug 2006 16:13:00 -0700 2009-10-12T19:30:00Z <p>While I was at <a href="http://www.linuxsymposium.org/2006/index_2006.php">OLS</a> this year, I attended the <a href="http://us1.samba.org/samba/ftp/cifs-cvs/ols2006-fs-tutorial-smf.odp">Writing a Linux Filesystem</a> tutorial presented by Steve French.</p> <p>During the tutorial Steve provided an excellent reference to the <a href="http://web.archive.org/web/20071027154020/http://www.geocities.com/ravikiran_uvs/articles/rkfs.html">Writing a Simple File System</a> paper. The paper has 2 extremely useful diagrams that depict the relationships of the VFS objects and the system call mapping to data structures.</p>