=== 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 | ||
carif | jbicha, Mike Carifio here | 16:23 |
---|---|---|
jbicha | carif: hi! | 16:24 |
carif | jbicha, pleased to meet you, thanks for your pointers to the bash script, reading the email now | 16:25 |
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:26 |
jbicha | and the two scripts yes | 16:28 |
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:29 |
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:30 |
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:31 |
jbicha | you're using a new user account for the screenshots, right? | 16:34 |
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:35 |
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:36 |
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:38 |
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:39 |
carif | ok, installing precise first in a vm (and thanks for your help) | 16:40 |
carif | jbicha, do I need to install the fluendo mp3 plugin during install? | 16:51 |
jbicha | yeah, next release I should probably use an ogg for that screenshot | 16:52 |
carif | jbicha, yt? running the script, runs to completion, nothing in 'figures' folder | 18:49 |
jbicha | what did you set dir= to? | 18:50 |
carif | $HOME/.ubuntu-help/zh_CN/figures | 18:51 |
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:52 |
jbicha | I use Alt+F2 to run the script | 18:53 |
carif | jbicha, looking like I will punt on your script and try to do the images manually | 19:54 |
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:55 |
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:56 |
carif | jbicha, no problems, | 19:57 |
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:58 |
carif | and populate ubuntu-docs/ubuntu-help/zh_CN/images | 19:59 |
carif | does that make sense? | 19:59 |
=== bulldog98_ is now known as bulldog98 | ||
jbicha | um, I think so | 20:06 |
jbicha | the low resolution is intentional so that the images don't overpower the text, and of course CD space is limited | 20:07 |
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:25 |
carif | jbicha, do any of the error messages ring a bell? | 21:26 |
jbicha | carif: does it not work at all then? those errors don't sound critical to me | 21:39 |
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:43 |
carif | nautilus.png seems right | 21:44 |
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:45 |
carif | does the other shell script collect-screenshots-with-mouse.sh generate the rest of the png files? | 21:47 |
jbicha | yes | 21:47 |
carif | jbicha, vg, does the order of running the scripts matter? | 21:48 |
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:49 |
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:50 |
jbicha | System Settings>Privacy, change the dropdown to all and click Delete history | 21:51 |
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:52 |
jbicha | it's unity.png and is in the without-mouse script but in the English-only section | 21:53 |
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:56 |
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:58 |
* jbicha logs out for 15 minutes | 21:59 | |
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 :)) | 23:49 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!