elfs: (Default)
[personal profile] elfs
I'm trying to love Firefox, but I've been so used to Galeon for years that it's not quite working out for me. There are little idiosyncracies between the two browsers that drive me nuts. Perhaps the worst is that even if using a remote() command the invoking instance always pulls up the ProfileManager, but also bad is that the Button-3-paste command doesn't create a new tab. I like that feature.

But the one feature of Galeon I couldn't live without is the portal. Galeon has a script called myportal that allows you to view your bookmarks in a very nice layout. I wanted that feature, so I stole it. I saved the Galeon style sheet to disk and pasted it into the firefox directory. Ah, but how to get a version of the bookmarks file with the stylesheet? Geekspeak to the rescue:
 
#!/bin/bash 
TARG=`echo $HOME/.mozilla/firefox/*.default`
sed -e '4a\
<link rel="stylesheet" href="portal.css" type="text/css">' \
< $TARG/bookmarks.html > $TARG/portal.html


It's an embedded sed script that sticks the stylesheet reference into a copy of the bookmarks file called portal.html. I stuck it into the scheduler and once a day it transforms my collected bookmarks into a nicely edited home page.


I did not know there was something below brownie in the Girl Scouts. Kouryou-chan expressed interest, probably due to exposure from all the cookie kids, but still, if her interest maintains, Omaha and I can now enroll her. Interesting. Not sure I'm ready to be a Scout dad and all that.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

elfs: (Default)
Elf Sternberg

December 2025

S M T W T F S
 12345 6
78910111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 20th, 2026 12:38 pm
Powered by Dreamwidth Studios