Comments on: Web screenshots! https://www.lafferty.ca/2004/05/13/web-screenshots/ Rich Lafferty's OLD blog Thu, 20 May 2004 19:32:43 +0000 hourly 1 https://wordpress.org/?v=5.9.2 By: bitwise https://www.lafferty.ca/2004/05/13/web-screenshots/comment-page-1/#comment-1182 Thu, 20 May 2004 19:32:43 +0000 #comment-1182 OK, got it. I didn’t realize you were trying to select a profile named “screenshot”, so now that I’ve created one it runs. It doesn’t seem to take significant time to create, so it’s harmless to run $BROWSER -CreateProfile Screenshot every time.

]]>
By: bitwise https://www.lafferty.ca/2004/05/13/web-screenshots/comment-page-1/#comment-1181 Thu, 20 May 2004 18:27:41 +0000 #comment-1181 I figured out why it’s not working for me. Mozilla and Firefox are popping up a window asking me which profile I want to use. If I manually intervene and get the browser started, then the script works. I’ll try to figure out how to get around this.

Also, vncserver frequently tries to start a full desktop environment. Since I use WindowMaker over VNC for its simplicity, I notice that its buttons show up in the screenshot. This can be fixed by -suprise- not running a window manager. Unfortunately, the stock vncserver script doesn’t allow you to choose this. So to fix this you either need a hacked version of vncserver or you need to bypass it and call Xvnc directly.

I chose to create a version of vncserver that doesn’t start any other programs past the X server (just cut out the stuff having to do with xstartup), and it works great. It’ll probably make the whole process faster, because you don’t have to wait for any other programs to start (many seconds for KDE or Gnome).

]]>