introduction, question
Mike Carifio
michael.carifio at canonical.com
Fri Apr 27 17:41:25 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
We localized and have attached the appropriate zh_CN images. Here's how
we did it:
1) we reviewed all .png files in C/figures and enumerated the list of
those that were locale specific
2) for each of these candidates, we created in zh_CN/figures an image that:
a) has the same size and aspect ratio
b) has the same content
c) snapshotted from precise running zh_CN
Please check these into trunk branch for precise in time for a new
ubuntu-docs upload that will be necessary for the next lang pack release
on 05/11/2012.
Any question about dates? Please discuss with David Planella.
Thanks.
On 04/27/2012 07:39 AM, Jeremy Bicha wrote:
> Either way is great!
> On Apr 27, 2012 9:28 AM, "Mike Carifio" <michael.carifio at canonical.com>
> wrote:
>
>>
> Jeremy, Kyle hit on an alternative manual approach. We have some zh_CN
> screenshots, although we may not have full coverage. How would you like
> to take delivery of the figures? A merge proposal? An archive file? Pl.
> advise at your earliest convenience. Thanks.
>
> On 04/26/2012 01:58 PM, Jeremy Bicha wrote:
> >>> On 26 April 2012 15:02, Mike Carifio <michael.carifio at canonical.com>
> wrote:
> >>>> Jeremy, I took two more passes at this. In the first pass,
following the
> >>>> "stage directions" in the collect*.sh files,
> >>>> I tried to take manual screenshots on a zh_CN precise (in a kvm
virtual
> >>>> machine, more on that below).
> >>>>
> >>>> Then I tried modifying collect-screenshots-without-mouse.sh to
generate
> >>>> those .png files.
> >>>>
> >>>> I've attached the whole thing as ubuntu-help.tgz with this layout:
> >>>>
> >>>> .ubuntu-help/
> >>>> ├── collect-screenshots-without-mouse.sh ## modified script
> >>>> └── zh_CN ## output of the script
> >>>> ├── figures
> >>>> │ ├── nautilus.png
> >>>> │ ├── unity-dash.png
> >>>> │ ├── unity-dash-sample.png
> >>>> │ └── unity-overview.png
> >>>> └── manual ## manual attempts
> >>>> ├── nautilus.png
> >>>> ├── unity-appmenu-intro.png
> >>>> ├── unity-dash.png
> >>>> ├── unity-dash-sample.png
> >>>> ├── unity-overview.png
> >>>> ├── unity-windows.png
> >>>> └── unity-workspace-intro.png
> >>>>
> >>>> In doing it manually, I note that my kvm based VM swallows several
> >>>> xdotool key sequences, which may account for the differing screen
shots.
> >>>>
> >>>> Unfortunately, some of the unity screenshots depend on zeitgeist (e.g.
> >>>> the recent files in the dash). This isn't easy to "fix up" after the
> >>>> first script run or manually pass.
> >>>>
> >>>> When I started this, I installed precise and select zh_CN during
> >>>> installation. Then I would ssh into the VM and invoke the collect*.sh
> >>>> scripts in bash. I think that would be my preferred way to do this in
> >>>> general, even though it didn't have the best outcome this time around.
> >>>>
> >>>> Hope this helps. Please advise. Thanks.
> >>>>
> >>>
> >>> Well you don't have to use the scripts. I made the 11.10 and 12.04
> >>> screenshots without it (and then redid the 12.04 shots with it). If
> >>> the scripts work right, it should dramatically speed up how long it
> >>> takes to stage the shots and make them more accurate. Maybe you could
> >>> print the scripts out and just do each line manually or run the
> >>> command from a virtual terminal. Or just use a traditional (non-VM)
> >>> Ubuntu 12.04 install and the xdotool keyboard commands should work.
> >>>
> >>> I don't know a better way of staging the Dash history than clearing
> >>> the history and manually running each app and file from the Dash. In
> >>> my testing, I saw that using Ctrl+Alt+T to open the terminal and then
> >>> running eog from the command line did not result in either Terminal or
> >>> Image Viewer being added to the Dash recent apps. I believe the
> >>> Zeitgeist databases are stored in .local/share/zeitgeist but it didn't
> >>> seem a good idea to just copy and paste that directory.
> >>>
> >>> I did see a couple days ago that zeitgeist is preseeded with a few
> >>> apps. Maybe there's some way we could tap into that potential but it
> >>> sounds a bit complex.
> >>> https://launchpad.net/ubuntu/+source/zeitgeist-datahub/0.8.2-1ubuntu2
> >>>
> >>> Jeremy
> >>>
>
>>
>>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk+a2kUACgkQ7qQnvKSLL+D90gCgklSkzLE99PhMfb9NSWAkVs1I
4MEAniA5/SDa6Xt4l0ima2eTRVNskbzr
=oswF
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-doc/attachments/20120427/49520a02/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zh_CN_figures.tgz
Type: application/x-compressed-tar
Size: 1141976 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-doc/attachments/20120427/49520a02/attachment-0001.bin>
More information about the ubuntu-doc
mailing list