=== jbicha is now known as Guest63357 === Guest63357 is now known as jbicha === jbicha is now known as Guest7463 === Guest7463 is now known as jbicha_ === jbicha_ is now known as jbicha [16:23] jbicha, Mike Carifio here [16:24] carif: hi! [16:25] jbicha, pleased to meet you, thanks for your pointers to the bash script, reading the email now [16:26] 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] jbicha, vg, does http://people.ubuntu.com/~jbicha/downloads.zip contain all I need to get started? [16:28] and the two scripts yes [16:29] 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] 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] yes, those are the filler files I put in ~/.downloads [16:31] ah, got it, and download collect*.sh also? [16:31] yes and I put the scripts in that same folder too [16:34] you're using a new user account for the screenshots, right? [16:35] 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] if the script just works, then ~/.ubuntu-help/zh_CN/figures is populated? [16:36] no, it requires a bit more setup, I clear the System Settings>Privacy history, install shutter, xdotool [16:38] jbicha, right, in the comments, after doing all that however, my previous sentence holds? [16:38] I have to delete the empty Ubuntu One folder in Nautilus to fit everything in the window [16:38] yes, pretty much [16:38] excellent [16:38] eog likes to show the sidebar anyway until I click to close it [16:39] 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] ok, installing precise first in a vm (and thanks for your help) [16:51] jbicha, do I need to install the fluendo mp3 plugin during install? [16:52] yeah, next release I should probably use an ogg for that screenshot [18:49] jbicha, yt? running the script, runs to completion, nothing in 'figures' folder [18:50] what did you set dir= to? [18:51] $HOME/.ubuntu-help/zh_CN/figures [18:52] jbicha, also ran collect-screeshots-without-mouse.sh at command line [18:52] well the default is ".ubuntu-help/C/figures" so maybe try without the $HOME [18:53] I use Alt+F2 to run the script [19:54] jbicha, looking like I will punt on your script and try to do the images manually [19:55] oh really? does it give errors when you run from the command line? [19:55] 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] jbicha, no errors, but odd results [19:56] jbicha, need to reboot, be back [19:56] 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] jbicha, no problems, [19:58] 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] i'll run the command, run shutter, write out the png [19:59] and populate ubuntu-docs/ubuntu-help/zh_CN/images [19:59] does that make sense? === bulldog98_ is now known as bulldog98 [20:06] um, I think so [20:07] the low resolution is intentional so that the images don't overpower the text, and of course CD space is limited [21:25] jbicha, i made a few modest changes to collect-screenshots-without-mouse.sh, http://pastebin.ubuntu.com/946365 [21:25] jbicha, I run it with set -x on, http://pastebin.ubuntu.com/946363/ [21:26] jbicha, do any of the error messages ring a bell? [21:39] carif: does it not work at all then? those errors don't sound critical to me [21:43] jbicha, doesn't seem to, I get four .png files in ~/.ubuntu-help/zh_CN/figures [21:43] nautilus.png [21:43] unity-dash.png [21:43] unity-dash-sample.png [21:43] unity-overview.png [21:44] nautilus.png seems right [21:45] that's how many you are supposed to get [21:45] Ah, this is about that screenshot item on the mailing-list? [21:45] yes [21:45] excellent! [21:45] so it looks like the four .png files are right [21:47] does the other shell script collect-screenshots-with-mouse.sh generate the rest of the png files? [21:47] yes [21:48] jbicha, vg, does the order of running the scripts matter? [21:49] jbicha, yes, you have a comment in -with-mouse.sh [21:49] no, except that I like to clear the Privacy before running the without-mouse one [21:50] jbicha, what does that mean? "clear the Privacy"? [21:50] 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] System Settings>Privacy, change the dropdown to all and click Delete history [21:52] 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] it's unity.png and is in the without-mouse script but in the English-only section [21:56] if [ $dir -eq ".ubuntu-help/C/figures" ] # English only [21:56] then [21:56] shutter -f -e -o dir/unity.png [21:56] convert $dir/unity.png -crop 65x180+0+25 +repage $dir/unity-launcher.png [21:56] convert $dir/unity-launcher.png -crop 65x123+0+57 +repage $dir/unity-launcher-apps.png [21:56] convert $dir/unity.png -resize 250x188 $dir/unity.png [21:56] fi [21:56] 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] 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] 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] (it's very spiffy, well done :))