Pete Zaitcev's Journal -- Day [entries|friends|calendar]
Pete Zaitcev

[ userinfo | livejournal userinfo ]
[ calendar | livejournal calendar ]

Firefox 3 [20 Jan 2008|12:18pm]

The X+libpciaccess upheaval in Rawhide is over, so I was able to update my main system, and pull the Firefox 3. It seems noticeably snappier, especially at displaying images. The rendering is improved too. And they fixed that annoying bug with selected lines in Japanese being of different size from those rendered normally. On the downside, the indispensible Flashblock plugin is not compatible anymore.

UPDATE: Woops:

[zaitcev@s ~]$ /usr/lib64/firefox-3.0b3pre/firefox
The program 'gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadName (named color or font does not exist)'.

UPDATE: Flashblock 1.5.5 works.

UPDATE: The BadName is actually a font server issue, bug 430416.

3 comments|post comment

SiS, libpciaccess, X11 [20 Jan 2008|01:59pm]
Speaking of X, Dave Airlied committed an official fix for SiS, which supercedes my patch. It is good, because I can run "yum update" now. Curiously, he reused a little bit of my patch, about which I only told Ajax (because X@freedesktop rejected my mail). So, how did Dave know that my patch existed? X hackers and their mind rays, creepy.

Anyway, it's all working fine now, although for some reason X takes longer to start, and displays the default background mesh for a long time. Or perhaps it's just my defective memory, and it always was that way.
1 comment|post comment

blitz [20 Jan 2008|02:08pm]

When I read an entry at Chizumatic, I thought that it would be nice to have a PDA with the dictionary, yet use it for lookups off a PC. If we generalize the problem, all we need is to share clipboard between two systems.

Here's how I do it. First, we write a scriptlet, called blitz:

blitzchunk=$HOME/blitz-chunk
# Use a file for trace / debugging. A pipe is too anonymous.
/bin/cat > "$blitzchunk"
# The xclip places itself into background by default, but does
# not daemonize correctly, so ssh hangs. Therefore, we background
# it by hand from shell.
# The option -quiet makes xclip to run in the foreground.
DISPLAY=:0.0 /usr/bin/xclip -quiet -selection clipboard "$blitzchunk" \
  >/dev/null 2>&1 </dev/null &

Then, if you have a clipboard which you want to share, run: xclip -o | ssh targethost.domain.com blitz (normally you'd have it off a menu in your GNOME, "Share Clipboard to...").

The ssh with public key authentication does the job of an RPC method. Also, you need xclip on both systems.

I have to say, blitz is godsent, although I'm the god. I only wonder if I am reinventing a wheel here...

post comment

navigation
[ viewing | January 20th, 2008 ]
[ go | previous day|next day ]