reldnahkram: (Default)
Prism is a fairly new Mozilla project that runs web pages as a program. Which is to say, they take a web page and run it in its own program window without an address bar or menus or anything like that. Nice and isolated.

More useful, for my purposes, is to set this as the default mail application. See, I use the panel application mail notification, which checks things like IMAP and Gmail accounts and tells me if I have mail. So rather than head to a browser, open a new tab, and read things sent to Gmail, I've configured mail notification to open the default mail app whenever I click on it's notification icon. And this opens a Gmail session in a new window.

Install prism. Then run prism and create an application and desktop shortcut for GMail: http://mail.google.com. Remember what you named it. Then create a shell script somewhere that calls
/opt/prism/prism -webapp $NAME@prism.app
Then, change the default mail app to call that script, with a %s appended to the end. I'm not sure why, but it works better that way. It periodically stops working, but running the command from shell tends to make it work again. Again, I'm not sure why.
reldnahkram: (Default)
Apparently, cp craps out when you give it too many things to move. I think the magic number is around 5000. So, for those really big copy jobs, use:
find . -depth -print0 | cpio --null --sparse -pvd $TARGET
Yes, it does subdirectories.

How do I know this? I grouped all of my mail archives into one Maildir last night [1]. Before I did that, I moved /home to a new 100 GB partition [2]. And that's where learned that trick. Google "ubuntu home new partition"; the first result is what I used.

[1] Swarpa folks, I'll clean out my Maildir shortly and give you some MBs back - I'm just going to double check a few things first.
[2] No, I don't have that much mail. But I have a 500 GB hard drive, and it's still not all partitioned, so why not [3]?
[3] The best thing about a 500 GB hard drive? Unless you start messing around with uncompressed audio, lots of video, or serious photography, you don't have to delete anything. Ever. I have a partition that, among other things, has the entire contents of the hard drives that used to be in my two ancient servers. I could go through and delete the old OS installs, but why bother?
reldnahkram: (Default)
Got sound working in Myth - it had something to do with setting a default ALSA sound output device. This also fixed my Firefox sound issues.

Other than being generally nifty, I found a good use for Compiz. I've set it to briefly blur the active window instead of sounding the system bell. It's just the right level of notification for me - a subtle nudge, rather than an obnoxious beep.

I don't get motion sick, but the motion blur feature had that effect on me. Some features are not meant to be experimented with.
reldnahkram: (Default)
Got sound working in Amarok. Also got the media control buttons working from my stereo. Should work on sound in Myth. Still using GNOME, customizations are making it better, but I'm still not completely enamored. Can't find a decent looking login screen - looking for something without the big ol' GNOME footprint.
reldnahkram: (Default)
Gave up on stunnel. Recompiled mail-notification with SSL. Now it's just a matter of telling it which mailboxes to look in. I wonder if I can use a wildcard (nope).

Needed the Gutsy disk to install things to compile. Couldn't find it, burned a new one.

Still need to get sound working in Myth. Also Amarok. Rhythmbox and totem both crash, hence Amarok. But it doesn't output audio. Yet.

I can switch desktops by mouse-wheeling on the background. Why can't I switch desktops by mouse-wheeling on the little desktop panels on the tool bar?

Would it be so hard to implement Alt-Tab switching across desktops?

I should go to bed and not play with the Gnome art manager. Especially if I'm going to be ditching GNOME.

EDIT: added recompile link 5/12/08
reldnahkram: (Default)
In Firefox on Gutsy, when my mouse is over an embedded YouTube clip, using the wheel to scroll doesn't work. So if I'm scrolling down and hit a clip, it stops scrolling.

For reasons related to theoretical new laptops and a misbehaving virtual machine, I'm in the early stages of an extended linux run. Expect more posts like this. I was going to say something about ditching GNOME, but that will wait another day or two and I'll make a list of wants and needs for a desktop environment and then see what comes closest.

To do tonight:

Get sound working in MythTV (ongoing)
Setup stunnel wrapping to get mail-notification working for IMAP
reldnahkram: (Default)
http://www.pocock.com.au/linux-doc/mbox-maildir.html

install mb2md

mb2md -m
mb2md -s mail


do something with ~/mail and /var/spool/mail/$USER

/etc/postfix/main.cf
home_mailbox = Maildir/
mailbox_command = procmail -a "$EXTENSION" DEFAULT=$HOME/Maildir/ MAILDIR=$HOME/Maildir


Tweak procmail filters, can use .target/ for destinations

/etc/dovecot/dovecot.conf
default_mail_env = maildir:~/Maildir
reldnahkram: (Default)
nmap -sT -O localhost

Run it without root. It's cute.

http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/security-guide/s1-server-ports.html

E-mail

Jun. 23rd, 2007 12:09 am
reldnahkram: (Default)
The community docs for postfix and dovecot are pretty thorough. Postfix seemed not to work, and dovecot has issues. A restart fixed those issues, and hopefully signing my own certificates, as below, resolves the annoying server confirm thing that always used to pop up.

Here's how to sign your own certificates
http://www.debian-administration.org/articles/284

Here's something about converting mboxes to maildirs, but I don't know whether I want to do that just yet.
http://batleth.sapienti-sat.org/projects/mb2md/
reldnahkram: (Default)
I'm in the middle of reinstalling Linux on both of my computers (Consolidation has just gone from Hoary to Feisty, so it was a clean install and everything needs redoing), so expect a flurry of Linux posts here, so I remember how to do everything next time this happens.

Accessing k4pacific is difficult because it's an LVM, which causes problems.

Install lvm2.
Reboot.
sudo vgchange -an VolGroup00
sudo vgchange -ay VolGroup00
sudo mount /dev/VolGroup00/LogVol00 /k4pacific
add the following line to /etc/fstab:
/dev/VolGroup00/LogVol00 /k4pacific ext3 defaults 00 (note all spaces are tabs)

For static IP

edit /etc/network/interfaces:

iface eth0 inet staic
address XXX.XXX.XXX.XXX
netmask 255.255.255.0
gateway 192.168.2.1
auto eth0


Then run

sudo /etc/init.d/networking restart

I win

Jul. 28th, 2005 01:21 pm
reldnahkram: (Default)
In January, I set up a linux box and started ripping CDs to it. I finished ripping CDs in June (no, I wasn't ripping straight through). Now, on the cusp of July, I've done the thing that makes it all worthwhile:

Samba.

My laptop now has a network drive mapped to it containing all my CDs. This means that my laptop can access said CDs around the house without having to carry them around, either on my too-small laptop hard drive or the big binder of CDs.

This makes me happier than it should, but I've been trying (and failing) to get Samba to work since January. Last night's Ubuntu install (yes, I'm using an Ubuntu machine as a server. Deal.) made it possible.

And I say w00t.

Profile

reldnahkram: (Default)
reldnahkram

September 2016

S M T W T F S
    123
45678910
11121314151617
18192021 222324
252627282930 

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Apr. 11th, 2026 07:17 pm
Powered by Dreamwidth Studios