[16:23] <carif> jbicha, Mike Carifio here
[16:24] <jbicha> carif: hi!
[16:25] <carif> jbicha, pleased to meet you, thanks for your pointers to the bash script, reading the email now
[16:26] <jbicha> that script is new and so far I haven't gotten any submissions using it, but we didn't get really many submissions before the script either
[16:26] <carif> jbicha, vg, does http://people.ubuntu.com/~jbicha/downloads.zip contain all I need to get started?
[16:28] <jbicha> and the two scripts yes
[16:29] <jbicha> I think my next iteration of the script will use wget to fetch the files & I can move the script to lp:~ubuntu-docs, maybe I'll do that next week
[16:30] <carif> jbicha, maybe I got the wrong thing? Just unzipped downloads.zip, it contains Echoes In Time.mp3  EmblemDivide.pdf  richard-stallman-young.jpg  standard-tube-map.pdf
[16:31] <jbicha> yes, those are the filler files I put in ~/.downloads
[16:31] <carif> ah, got it, and download collect*.sh also?
[16:31] <jbicha> yes and I put the scripts in that same folder too
[16:34] <jbicha> you're using a new user account for the screenshots, right?
[16:35] <carif> jbicha, got it, so it looks like I make a fresh install of precise, create a new account, set dir=~/.ubuntu-help/zh_CN/figures, set lang to be zh_CN, run ~/.ubuntu-help/collect-screenshots-without-mouse.sh and I'm done (?)
[16:36] <carif> if the script just works, then ~/.ubuntu-help/zh_CN/figures is populated?
[16:36] <jbicha> no, it requires a bit more setup, I clear the System Settings>Privacy history, install shutter, xdotool
[16:38] <carif> jbicha, right, in the comments, after doing all that however, my previous sentence holds?
[16:38] <jbicha> I have to delete the empty Ubuntu One folder in Nautilus to fit everything in the window
[16:38] <jbicha> yes, pretty much
[16:38] <carif> excellent
[16:38] <jbicha> eog likes to show the sidebar anyway until I click to close it
[16:39] <jbicha> I think a couple steps need a bit more of a pause between steps as it didn't work 100% of the time for me
[16:40] <carif> ok, installing precise first in a vm (and thanks for your help)
[16:51] <carif> jbicha, do I need to install the fluendo mp3 plugin during install?
[16:52] <jbicha> yeah, next release I should probably use an ogg for that screenshot
[18:49] <carif> jbicha, yt? running the script, runs to completion, nothing in 'figures' folder
[18:50] <jbicha> what did you set dir= to?
[18:51] <carif> $HOME/.ubuntu-help/zh_CN/figures
[18:52] <carif> jbicha, also ran collect-screeshots-without-mouse.sh at command line
[18:52] <jbicha> well the default is ".ubuntu-help/C/figures" so maybe try without the $HOME
[18:53] <jbicha> I use Alt+F2 to run the script
[19:54] <carif> jbicha, looking like I will punt on your script and try to do the images manually
[19:55] <jbicha> oh really? does it give errors when you run from the command line?
[19:55] <carif> jbicha, I notice that the existing ubuntu-docs/C/figures/*.png has low resolution, does that matter? Do I need to preserve the resolution?
[19:55] <carif> jbicha, no errors, but odd results
[19:56] <carif> jbicha, need to reboot, be back
[19:56] <jbicha> it needs a bit of tweaking to get it right, the script worked for me (like most programmers said) but I didn't test from a clean environment (my bad)
[19:57] <carif> jbicha, no problems,
[19:58] <carif> i'm going to send you a list of png files from C/images which have english text in the them, you can tell me where they come from? like nautilus, etc?
[19:58] <carif> i'll run the command, run shutter, write out the png
[19:59] <carif> and populate ubuntu-docs/ubuntu-help/zh_CN/images
[19:59] <carif> does that make sense?
[20:06] <jbicha> um, I think so
[20:07] <jbicha> the low resolution is intentional so that the images don't overpower the text, and of course CD space is limited
[21:25] <carif> jbicha, i made a few modest changes to collect-screenshots-without-mouse.sh, http://pastebin.ubuntu.com/946365
[21:25] <carif> jbicha, I run it with set -x on, http://pastebin.ubuntu.com/946363/
[21:26] <carif> jbicha, do any of the error messages ring a bell?
[21:39] <jbicha> carif: does it not work at all then? those errors don't sound critical to me
[21:43] <carif> jbicha, doesn't seem to, I get four .png files in ~/.ubuntu-help/zh_CN/figures
[21:43] <carif> nautilus.png
[21:43] <carif> unity-dash.png
[21:43] <carif> unity-dash-sample.png
[21:43] <carif> unity-overview.png
[21:44] <carif> nautilus.png seems right
[21:45] <jbicha> that's how many you are supposed to get
[21:45] <MrChrisDruif> Ah, this is about that screenshot item on the mailing-list?
[21:45] <jbicha> yes
[21:45] <carif> excellent!
[21:45] <carif> so it looks like the four .png files are right
[21:47] <carif> does the other shell script collect-screenshots-with-mouse.sh generate the rest of the png files?
[21:47] <jbicha> yes
[21:48] <carif> jbicha, vg, does the order of running the scripts matter?
[21:49] <carif> jbicha, yes, you have a comment in -with-mouse.sh
[21:49] <jbicha> no, except that I like to clear the Privacy before running the without-mouse one
[21:50] <carif> jbicha, what does that mean? "clear the Privacy"?
[21:50] <jbicha> well, that's more because there are more setup instructions in the first one & I assumed that moving the mouse pointer around the screen would have been more complicated
[21:51] <jbicha> System Settings>Privacy, change the dropdown to all and click Delete history
[21:52] <jbicha> there may be one more screenshot you'd want, it's the screenshot you see when you first open https://help.ubuntu.com/12.04/ubuntu-help/
[21:53] <jbicha> it's unity.png and is in the without-mouse script but in the English-only section
[21:56] <carif> if [ $dir -eq ".ubuntu-help/C/figures" ] # English only
[21:56] <carif>   then
[21:56] <carif>     shutter -f -e -o dir/unity.png
[21:56] <carif>     convert $dir/unity.png -crop 65x180+0+25 +repage $dir/unity-launcher.png
[21:56] <carif>     convert $dir/unity-launcher.png -crop 65x123+0+57 +repage $dir/unity-launcher-apps.png
[21:56] <carif>     convert $dir/unity.png -resize 250x188 $dir/unity.png
[21:56] <carif> fi
[21:56] <jbicha> oh, never mind, it's not legible, I guess the one I was thinking about unity-dash-intro.png which it looks like I left out of my script
[21:58] <jbicha> I can just crop and resize unity-overview.png to make that one so you don't need to worry about that one either
[21:59]  * jbicha logs out for 15 minutes
[23:49] <pleia2> btw, if anyone wants an announcement up on fridge.ubuntu.com about spiffy new help.ubuntu.com feel free to send an announcement to ubuntu-news-team@lists.ubuntu.com and I'll get you sorted
[23:49] <pleia2> (it's very spiffy, well done :))