-
You have to write small script to automatize telnet interaction.
I recommend using expect or python+pyexpect to do that.
2009-03-10 09:05:17 UTC in khtml2png
-
Have you read comments in the header of the file?...
2009-03-10 08:52:54 UTC in khtml2png
-
I stopped using khtml2png2 and write small helper script for firefox that can be used to capture webpages using firefox and some plugins.
You can get the script at http://darkk.net.ru/omsucreen/ScreenshotSaver.js.
2009-03-10 08:20:20 UTC in khtml2png
-
I tested a bit more — it was not OOM, khtml2png made X-server to consume 100% of CPU time, so X session became laggy.
Using Xvfb instead of usual X server eliminated lags.
2008-11-02 08:52:26 UTC in khtml2png
-
I've tested 2.7.6 and found that:
khtml2png2 --disable-redirect --width 1024 --get-body http://foo.bar foobar.png
gives me image with gray area below ~760 pixels, BUT
khtml2png2 --disable-window --disable-redirect --width 1024 --get-body http://foo.bar foobar.png
works much better — whole area contains some text/images and looks like website.
But --disable-window misbehaves when...
2008-11-01 09:07:00 UTC in khtml2png
-
BTW, original 1.5.x /usr/bin/firefox from ubuntu dapper ignores the name it was called with and I see no problem with this behaviour.
It also does some "dark magic" with environment variables like FIREFOX_DSP, MOZ_DISABLE_PANGO etc. Not sure that it should be repeated in current script, but maybe it should be done for compatibility if all ubuntu versions do alike things with environment.
2007-11-24 04:40:41 UTC in Ubuntuzilla: Mozilla Software Installer
-
IIRC, my thunderbird and KDE were configured to use x-www-browser alternative.
Here is solution using symlinks that works for me...
darkk:~$ ls -l /usr/bin/x-www-browser
lrwxrwxrwx 1 root root 31 2006-11-01 21:13 /usr/bin/x-www-browser -> /etc/alternatives/x-www-browser
darkk:~$ ls -l /etc/alternatives/x-www-browser
lrwxrwxrwx 1 root root 16 2006-12-13 19:52...
2007-11-24 04:29:12 UTC in Ubuntuzilla: Mozilla Software Installer
-
/etc/alternatives/x-www-browser points to /usr/bin/firefox in ubuntu 6.06
when /usr/bin/firefox (syblink to /opt/firefox/firefox) is called with `x-www-browser` it fails as /opt/firefox/firefox expects "$0" to be "firefox".
Workaround - use small script like
----------------------
#!/bin/sh
exec /opt/firefox/firefox "$@"
----------------------
as /usr/bin/firefox instead of symlink to...
2007-11-23 14:08:31 UTC in Ubuntuzilla: Mozilla Software Installer
-
I would like the project "yat" to be removed.
Reason (quote from project removal page):
No Source: We will consider removing your project if no source code has been released to your project CVS repository or via the File Release System.
2007-07-22 11:47:45 UTC in SourceForge.net
-
I have a bug like that with E61 too.
If connection is abored before authentication (before I press "OK" in the password field) then vnc client enters infinite loop and even can't be killed with task manager (best taskman).
Maybe phone was rebooted because of same issue.
I used KDE remote fb feature.
2007-04-12 12:45:22 UTC in VNC Viewer for Symbian