May
14
Integrating your personal information space with “The Searchable GNOME”
Tagged with howto | 4 Comments
GNOME 2.14 has been unofficially dubbed "The Searchable GNOME" for a reason. The latest iteration of GNOME takes desktop integration to a level where you can stop caring about the whereabouts of files on your file system, or indeed about the location of a specific piece of information in your personal information space or on the Internet. You probably already have forgotten where you files are, so the key to achieving the best possible comfort is
- Accept the fact that you have no idea where your stuff is;
- Realize that most of your data is in digital form, or can be digitized;
- Make sure that all of your personal information space is searchable, both online and locally
- Use the right applications! Always be prepared to sacrifice your favorite application in favor of one that integrates to your working environment most seamlessly
Your information space consists of all the stuff you have on your computer’s home directory (mail, documents, calendar entries, chat logs…) and, optimally, everything you have read and seen on the Web. All this information should be at your fingertips at all times.
GNOME hacker extraordinaire Jeff Waugh put it best in a recent interview: we need to get rid of the WIMP (Windows, Icons, Menus, Pointer) paradigm which has dominated on the desktop for so long because
"when I wake up in the morning, I don’t think that I have to rearrange my windows and sort my icons — they’re not the things that I find important. The things that I actually care about are people, events, documents and getting laid."
So we need a user interface that doesn’t get between us and those things that really matter.
So this is how close to Luis I can get though a single text entry widget on my desktop, the Deskbar applet: from this single interface, I can mail him, go to his home page as well as other relevant pages via a Google search, open past e-mail and chat conversations with him, and peruse any document on my hard disk mentioning him.
Note that there is no indication in the above screenshot to the applications that will be used to handle this data. I don’t care, and I shouldn’t be bothered with such details. If I want to contact Luis, I want to click his name and write him a message. I certainly don’t want to peruse my application menus to find an e-mail application, open a contacts database to find his address and then try to remember what I wanted to say to him. Also, I don’t want to open a presentation program, find a file (hoping I have given the file a descriptive name and archived it into a reasonably discoverable directory structure) and open it. All I want is Luis-information!
The first commandment in making your stuff searchable: build your desktop around Beagle, and only use applications that Beagle is aware of. Do not give in to the lure of a non-beaglified application, be it as awesome as it may, if there is a beagle-aware application available. In short, choose freely from the list of supported applications on the Beagle home page, but do not look elsewhere. I’m sure Opera is a cool browser, but if you want your browsing history indexed by Beagle, don’t use it. If you use Thunderbird, switch to Evolution. Read news feeds with Liferea or Blam. Keep your notes in a Tomboy sticky wiki. Index your photos with F-Spot. Learn to love these programs, you have no choice. Your life will be easier. Really.
Believe the Web2.0 hype. Well, some of it. Much of your data should live online. Switch to Gmail instead of keeping huge local mail archives, simply because Gmail is more searchable. With Gmail you can keep all your mail, and you don’t have to organize it because their search is faster than your ability to figure out the organization plan you had in mind a year ago. I’m sure other mail services are just as nice, but a plugin happens to be available which integrates Gmail into the deskbar and thus into your desktop. Use del.icio.us and tag all interesting pages so they are also searchable from the deskbar. Another upside with keeping your data on other people’s servers is that (let’s face it) Google’s servers are more likely to stay up 24/7 than yours so you can get to your data from any machine, anytime. Similarly, use F-Spot to tag your photos and upload them to Flickr (why Flickr of all the photo upload services on the Web? Because that’s what F-Spot supports, and F-Spot is what Beagle supports!) Use Gmailfs or Box.net to store data you might want to keep accessible at all times.
Keep your address book and calendar online, especially if you need to access it from different locations and devices. I keep my info on the ScheduleWorld.com servers because they’ve built their service on open standards. The SyncML, iCal, and LDAP protocols they use enable me to handle and access my data from my desktop, laptop, and mobile phone, and keep them all in sync at all times. This is doubly valuable for someone who use the forbidden combination of a Nokia smartphone and Linux systems. Since I use Evolution on the desktop, my address book and calendar are integrated in all my GNOME applications where it makes sense.
The days of totally transparent interfaces has not yet come, and we cannot get to people, events, documents, or laid with the power of thought alone quite yet, but there’s no reason not to make handing our information as easy as possible.
Disclaimer: the above concerns the data in my personal information space. I have made accessing my information as easy as possible, not as secure as possible. Some of the methods, such as accessing Gmail via the deskbar, are inherently insecure. I don’t recommend using similar methods for your million dollar company’s customer database and information like that.
Technorati Tags: GNOME, search, web2.0, desktop
Apr
17
People at work tossed a little Fujitsu laptop to me for some reason. It had Windows XP but I promptly replaced it with a real operating system and now it runs Ubuntu Dapper. I named it oskar, after the little hero in Grass’s The Tin Drum. Its internal network card is broken but I can replace it with a little USB LAN dongle (tested under Windows and it worked). The installation was totally uneventful, everything Just Works as advertised.
Samba printing, however, is currently broken. Because there is a Windows box on my home network, I use Samba for all networking. Samba on my Dapper server works well and the Windows box can print to it, but the Dapper laptop could not. On the Ubuntu Forums, other people seemed to be having problems with printing from Dapper to Windows servers, so i went on to examine relevant bug reports on Dapper. Looks like the problem has appeared quite recently (sometime around April 12th), and is on the client side. Sure enough reverting the smbspool binary to an older version indeed fixed the problem. Hopefully we’ll soon see this bug fixed and smbclient updated!
Otherwise, Dapper currently works very well, and the new GNOME is awesome.
Mar
28
Restoring a Debian Box
Tagged with howto | Comments Off
Here’s a good method for saving and restoring a Debian installation. Of course, you have all data from /home on a partition of its own, and the configuration files in /etc are backed up. You naturally have saved a copy of your sources.list.
First, save the package states while the system is still working well:
dpkg --get-selections > (filename)
After a disaster, you can now restore the system to its original state: install a minimal system (no packages beyond the base system). Then:
dpkg --set-selections (filename)
apt-get dselect-upgrade
apt-get dist-upgrade
apt-get upgrade
Now you can just slam the configuration files to /etc from your backups.
Mar
28
Downgrading Packages in Debian
Tagged with howto | Comments Off
Here’s a method of downgrading debian from unstable to testing. Might work, might not.
From Travis Crump:
Package: *
Pin: release a=testing
Pin-Priority: 1001
in /etc/apt/preferences, and do an apt-get dist-upgrade, apt will happily try to downgrade every package to its testing version (alternatively adding that to /etc/apt/preferences will let you do apt-get install without needing the version number). It just isn’t guaranteed to work, and isn’t considered a bugif it doesn’t.
Mar
28
Backing Up Hard Disk Info
Tagged with howto | Comments Off
From clearthink
But in an effort to eliminate recurring errors, I strongly encourage users to include the output of the following commands in a log file or readme file added to your backups …
fdisk -l /dev/hda (/dev/hdb, /dev/hdc, ... as needed)
dumpe2fs /dev/hda1 (once for *each* partition on hda. see output of fdisk above)
(do not do dumpe2fs on the swap partition)
The first command tells how your disk is partitioned. The second command includes all the technical data including the superblock locations. If this data is included on a tape or CD backup it canbe easily retrieved when you need it.
Mar
28
N-Up Printing with CUPS
Tagged with howto | Comments Off
Not all apps are N-Up friendly, but you can tell CUPS to print multiple pages on a single sheet. Here’s a tip I found on the Internet some time ago:
The -o number-up=value option selects N-Up printing. N-Up printing places multiple document pages on a single printed page. CUPS supports 1, 2, 4, 6, 9, and 16-Up formats; the default format is 1-Up:
lp -o number-up=1 filename ENTER
lp -o number-up=2 filename ENTER
lp -o number-up=4 filename ENTER
lpr -o number-up=16 filename ENTER
Aug
30
I saw the GNOME release cycle nearing 2.12 and took the plunge from Ubuntu Hoary to Breezy one day last week. The upgrade was a bit funky, and LyX was not working, so (this being my production machine at work), I promptly reinstalled Hoary.
Today, I (forever optimistic) thought, “perhaps a clean install will be more successful”. Not a painful option, since I had already reinstalled and was running on a virgin, non-customized Ubuntu anyway. The only thing I knew that officially did not work on Breezy yet were the (uninstallaby broken) LyX packages. Too bad, since LyX is my primary tool at work. I thought I’d just build my own LyX, and the latest LyX at that.
The clean install of Breezy was a snap, the new GNOME is awesome (even though Ubuntu have broken it by defaulting to browser mode Nautilus – easy to fix to honor upstream default and to enjoy self more), but sure enough, I could not install LyX. Went to lyx.org to get the source so I could build my own package (surely it must be doable even if the Debian people were too busy with upgrading glibc or X or something in Sid, Sid being truly unstable again).
Not only did I find LyX source. Searching for “debian” in the LyX wiki revealed also a patch for building debian packages on any debian-like system, a clear list of packages to install in order to satisfy LyX’s build environment, and clear, hand-holding build instructions.
Building LyX using the provided debian/rules scipt took ages (you end up building lyx, lyx-common, lyx-xforms and lyx-qt), but I did indeed get the LyX packages with a handlful of readily provided commands. Hail the LyX community.
So yes, Breezy works (for me anyway). I’ll upgrade my home box as well as soon as I can afford a few hours downtime (my network has a client, you know, and she can be quite selective with when and how much downtime is allowed).
