Re: [ubuntu-art] Backtestground Explained

2011-01-23 Thread Thorsten Wilms
On Sat, 2011-01-22 at 12:53 +0300, Сергей wrote: Excellent, thank you. With your permission, I would like to add this to Backtestground, under GPLv3 like the rest, clearly identifying you as the author of this file. No problem! Turned it into Python to make the h,v,f,o flags available

Re: [ubuntu-art] Backtestground Explained

2011-01-23 Thread Сергей
Turned it into Python to make the h,v,f,o flags available and added you to AUTHORS. Included with v0.4: http://thorwil.wordpress.com/2011/01/23/backtestground-0-4-context-extraction-automated/ Thanks! I'm glad to work on something meaningful. I've googled for a way to do this in KDE 4 and

Re: [ubuntu-art] Backtestground Explained

2011-01-23 Thread Сергей
Oh, and it would be a very nice not to be limited to zoom mode. I'd appreciate the ability to test other options: centered, scaled, stretched, zoom, spanned, there also was some weird name for tiling. And for scaled and spanned options arises background color problem, so you might need to

Re: [ubuntu-art] Backtestground Explained

2011-01-22 Thread Thorsten Wilms
On Sat, 2011-01-22 at 00:14 +0300, Сергей wrote: I wrote a small shell script which does it all automatically. After running it waits for 3 seconds, then does all described actions for extract-background-context command, restores your previous settings and cleans up the temporary screenshots.

Re: [ubuntu-art] Backtestground Explained

2011-01-22 Thread Сергей
Excellent, thank you. With your permission, I would like to add this to Backtestground, under GPLv3 like the rest, clearly identifying you as the author of this file. No problem! One issue, though: the rm on_white.png on_black.png does not work (and I have not the slightest clue why). I

Re: [ubuntu-art] Backtestground Explained

2011-01-22 Thread Thorsten Wilms
On Sat, 2011-01-22 at 12:53 +0300, Сергей wrote: I think it happens because extract-background-context script doesn't return an exit code indicating success. You should make sys.exit(0) the last operation of your script to inform other scripts that the context was extracted successfully.

Re: [ubuntu-art] Backtestground Explained

2011-01-22 Thread Thorsten Wilms
On Sat, 2011-01-22 at 14:05 +0300, Сергей wrote: Try this version, it's more structured. Leaves no images behind, but: $: ./auto-extract-context starting in 3 seconds 3 2 1 Reverting your settings /usr/local/bin/extract-background-context Backtestground returned an error $:~/Desktop/test$

Re: [ubuntu-art] Backtestground Explained

2011-01-22 Thread Сергей
It writes Backtestground returned an error because extract-background-context doesn't return 0. It should be like that. -- ubuntu-art mailing list ubuntu-art@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-art

Re: [ubuntu-art] Backtestground Explained

2011-01-21 Thread Сергей
The process of manually taking screenshots, saving them, naming them, launching the command with the needed parameters seemed too manual to me, so I wrote a small shell script which does it all automatically. After running it waits for 3 seconds, then does all described actions for

Re: [ubuntu-art] Backtestground Explained

2011-01-21 Thread John Baer
On Fri, Jan 21, 2011 at 4:14 PM, Сергей shnat...@gmail.com wrote: The process of manually taking screenshots, saving them, naming them, launching the command with the needed parameters seemed too manual to me, so I wrote a small shell script which does it all automatically. After running it

Re: [ubuntu-art] Backtestground Explained

2011-01-21 Thread Martin Owens
On Fri, 2011-01-21 at 13:46 -0800, graham wrote: Congratulations on your creativity. I use to do a lot of this when I was doing graphic design/technical writing and would have loved to have had such a script. Interestingly, the Ubuntu Manual team last year developed a tool called