Page 4 of 6

Posted: Wed 27 Jul 2016, 06:22
by trio
As for the check of wallpaper executable, what's the equivalent in quirky if the check fails?


Does anybody knows it? From latest quirky, how to call the wallpaper setter from commandline. I am about to release a new update, and waiting fir this. Thanks

Posted: Wed 27 Jul 2016, 08:27
by trio
V 1.8.5:
- Save as png, a warning if rsvg-convert is not available
- Stamp now can have fill color
- Stamp reflection effect
- Setter checks if wallpaper or xfdesktop-settings or Qwallpaper exists, if not then no button appear (I will make changes if the bin is not called Qwallpaper, I don't have quirky 64 bit)

please see main post. Now it is one app also for xfce pups

Posted: Wed 27 Jul 2016, 10:22
by trio
V 1.8.6: bugfix when saving stamp reflection...I need a rest :)

Posted: Wed 27 Jul 2016, 10:30
by solo
Awesome Trio!

Here's a revised tux stamp that accepts a fill.

Code: Select all

<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96">
<path d="M53 87c-3-10 8-11 13-11h5m-3-55c0-3-1-6-3-8m0 29v-5m3 8V17m3 31V23m6 43l-5-30m16 21l-18-9M28 21c0-3 1-6 3-8m0 29v-5m-3 8V17m-3 31V23m-6 43l5-30M8 57l18-9m15-8l7 7 7-7c-3-3-11-3-14 0zm9.5-8c0 1.105-.224 2-.5 2s-.5-.895-.5-2 .224-2 .5-2 .5.895.5 2zm-3.5-.5c0 1.38-.448 2.5-1 2.5s-1-1.12-1-2.5.448-2.5 1-2.5 1 1.12 1 2.5zM22.016 67C22 56 22 48 33 40c-2-2-4-6-4-10 0-7 5-12 10-12s8 4 9.016 8C50 23 54 22 57 22c4.97 0 10 4 10 9 .246 5.32-2 7-6 8 14 9 13 20 13.016 28M19 55c0-5-12 6-12 4 0-6 11-10 15-17 1-3 2-6 2-12C24 16 35 6 48 6s24 10 24 24c0 6 1 8 2 12 4 8 15 11 15 17 0 2-13-9-12-4 1 12-1 16-6 21 4 2 11 7 8 12H54l-1-1h-9l-1 1H18c-3-5 4-10 8-12-5-5-9-8-7-21zm7 21h5c5 0 16 5 13 11" fill="#fff" stroke="#000" stroke-width="3"/>
</svg>

Posted: Wed 27 Jul 2016, 10:44
by BarryK
trio wrote:V 1.8.5:
- Save as png, a warning if rsvg-convert is not available
- Stamp now can have fill color
- Stamp reflection effect
- Setter checks if wallpaper or xfdesktop-settings or Qwallpaper exists, if not then no button appear (I will make changes if the bin is not called Qwallpaper, I don't have quirky 64 bit)

please see main post. Now it is one app also for xfce pups
There are older 32-bit Quirkies, that have the same configuration:

http://ftp.nluug.nl/os/Linux/distr/quir ... ril-7.2.1/

http://ftp.nluug.nl/os/Linux/distr/quir ... icorn-6.2/

Re a commandline equivalent to 'wallpaper', just trying to recall...
hmmm, some recall happening... yeah, I wrote /usr/sbin/qwallpaper, sometime ago.

Yeah, that script could probably be hacked to work with svg.
It doesn't do commandline, but could be modified, if $1 exists then bypass the gui.

...trio, if you want to look at the script, you are welcome. Actually, I should attach it here. Or not, just look at the action tags:

Code: Select all

<button>
   <label>$(gettext 'Apply')</label>
   <action>echo /usr/share/backgrounds/\$IMAGE > /root/.config/wallpaper/bg_img</action>
   <action>set_bg /usr/share/backgrounds/\$IMAGE</action>
  </button>
/usr/sbin/set_bg is another script. That was originally in Nathan's Wallpaper Setter, mine is modified.

Posted: Wed 27 Jul 2016, 11:37
by trio
@solo, thanks but it doesn't work that way. The fill is done within the gui, not the actual stamp. Pls revise it to the same uniformed structure like the others.

@Barry

Ok, i will change to qwallpaper not Qwallpaper. As for the try outs on quirkies, i may need time as i don't have unlimited internet anymore

Regards


V 1.8.7: bugfix. Now checks for qwallpaper, see main post

Posted: Wed 27 Jul 2016, 13:06
by solo
trio wrote:@solo, thanks but it doesn't work that way. The fill is done within the gui, not the actual stamp. Pls revise it to the same uniformed structure like the others.
Okay, I'll remove the fill statement then.

Code: Select all

<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96">
<path d="M53 87c-3-10 8-11 13-11h5m-3-55c0-3-1-6-3-8m0 29v-5m3 8V17m3 31V23m6 43l-5-30m16 21l-18-9M28 21c0-3 1-6 3-8m0 29v-5m-3 8V17m-3 31V23m-6 43l5-30M8 57l18-9m15-8l7 7 7-7c-3-3-11-3-14 0zm9.5-8c0 1.105-.224 2-.5 2s-.5-.895-.5-2 .224-2 .5-2 .5.895.5 2zm-3.5-.5c0 1.38-.448 2.5-1 2.5s-1-1.12-1-2.5.448-2.5 1-2.5 1 1.12 1 2.5zM22.016 67C22 56 22 48 33 40c-2-2-4-6-4-10 0-7 5-12 10-12s8 4 9.016 8C50 23 54 22 57 22c4.97 0 10 4 10 9 .246 5.32-2 7-6 8 14 9 13 20 13.016 28M19 55c0-5-12 6-12 4 0-6 11-10 15-17 1-3 2-6 2-12C24 16 35 6 48 6s24 10 24 24c0 6 1 8 2 12 4 8 15 11 15 17 0 2-13-9-12-4 1 12-1 16-6 21 4 2 11 7 8 12H54l-1-1h-9l-1 1H18c-3-5 4-10 8-12-5-5-9-8-7-21zm7 21h5c5 0 16 5 13 11" stroke="#000" stroke-width="3"/>
</svg>
Any other modifications that would help expedite the process? Would you prefer it if I omitted the stroke statements as well? Perhaps just send the path information by itself?

Posted: Wed 27 Jul 2016, 14:52
by solo
Quirky stamp:

Code: Select all

<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96">
<path d="M40 66c16 16 45 7 51-14H49m24 19c4 2 6 5 8 8m-21-5c9 4 12 7 14 11m12-13c-2-2-4-4-6-5m1-5v-4m-5 0h10m-5 5l7-8H74zm1 3c-5-3-10-8-11-14M30 68l11-7m-9 10l14-13-14 5zm-6-11l3 1v12l-3 1zm22-24v-3h-2zm2 7l1-13-9 1zM32 27h17m-17-3h17l1 5H32zm-6-2l3 1v8l-3 1zm-6 26l3 11v15h-3zm0-34l3 3v16l-3 11zm-6-5l3 2v65h-3zM8 8h3v65l-3-9zm43 13c12 41-25 58-37 56m50.5-40l3 4m-1-5l3 4-4 3-3-4zm5 3.5c0 3.038-2.462 5.5-5.5 5.5s-5.5-2.462-5.5-5.5S62.962 34 66 34s5.5 2.462 5.5 5.5zM35 47l3 4m-1-5l3 4-4 3-3-4zm5 3.5c0 3.038-2.462 5.5-5.5 5.5S31 52.538 31 49.5s2.462-5.5 5.5-5.5 5.5 2.462 5.5 5.5zM20 46c0 8.284 6.492 15 14.5 15S49 54.284 49 46c0-8.284-6.492-15-14.5-15S20 37.716 20 46zm71 5V5c-10 2-16 7-21 16H26C21 12 15 7 5 5v46c0 23.748 19.252 43 43 43 9 0 19-4 26-9 3 5 4 9 9 9 11-1 9-15 3-22 3-6 5-14 5-21z" stroke="#000" stroke-width="3"/>
</svg>

Posted: Wed 27 Jul 2016, 15:17
by trio
Solo, you need make them exactly uniformed ....fill="none" stroke="#444" stroke-width="3"/>

tux (but the image shown weird)

Code: Select all

<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96">
<path d="M53 87c-3-10 8-11 13-11h5m-3-55c0-3-1-6-3-8m0 29v-5m3 8V17m3 31V23m6 43l-5-30m16 21l-18-9M28 21c0-3 1-6 3-8m0 29v-5m-3 8V17m-3 31V23m-6 43l5-30M8 57l18-9m15-8l7 7 7-7c-3-3-11-3-14 0zm9.5-8c0 1.105-.224 2-.5 2s-.5-.895-.5-2 .224-2 .5-2 .5.895.5 2zm-3.5-.5c0 1.38-.448 2.5-1 2.5s-1-1.12-1-2.5.448-2.5 1-2.5 1 1.12 1 2.5zM22.016 67C22 56 22 48 33 40c-2-2-4-6-4-10 0-7 5-12 10-12s8 4 9.016 8C50 23 54 22 57 22c4.97 0 10 4 10 9 .246 5.32-2 7-6 8 14 9 13 20 13.016 28M19 55c0-5-12 6-12 4 0-6 11-10 15-17 1-3 2-6 2-12C24 16 35 6 48 6s24 10 24 24c0 6 1 8 2 12 4 8 15 11 15 17 0 2-13-9-12-4 1 12-1 16-6 21 4 2 11 7 8 12H54l-1-1h-9l-1 1H18c-3-5 4-10 8-12-5-5-9-8-7-21zm7 21h5c5 0 16 5 13 11" fill="none" stroke="#444" stroke-width="3"/>
</svg>
quirky

Code: Select all

<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96">
<path d="M40 66c16 16 45 7 51-14H49m24 19c4 2 6 5 8 8m-21-5c9 4 12 7 14 11m12-13c-2-2-4-4-6-5m1-5v-4m-5 0h10m-5 5l7-8H74zm1 3c-5-3-10-8-11-14M30 68l11-7m-9 10l14-13-14 5zm-6-11l3 1v12l-3 1zm22-24v-3h-2zm2 7l1-13-9 1zM32 27h17m-17-3h17l1 5H32zm-6-2l3 1v8l-3 1zm-6 26l3 11v15h-3zm0-34l3 3v16l-3 11zm-6-5l3 2v65h-3zM8 8h3v65l-3-9zm43 13c12 41-25 58-37 56m50.5-40l3 4m-1-5l3 4-4 3-3-4zm5 3.5c0 3.038-2.462 5.5-5.5 5.5s-5.5-2.462-5.5-5.5S62.962 34 66 34s5.5 2.462 5.5 5.5zM35 47l3 4m-1-5l3 4-4 3-3-4zm5 3.5c0 3.038-2.462 5.5-5.5 5.5S31 52.538 31 49.5s2.462-5.5 5.5-5.5 5.5 2.462 5.5 5.5zM20 46c0 8.284 6.492 15 14.5 15S49 54.284 49 46c0-8.284-6.492-15-14.5-15S20 37.716 20 46zm71 5V5c-10 2-16 7-21 16H26C21 12 15 7 5 5v46c0 23.748 19.252 43 43 43 9 0 19-4 26-9 3 5 4 9 9 9 11-1 9-15 3-22 3-6 5-14 5-21z" fill="none" stroke="#444" stroke-width="3"/>
</svg>

Posted: Wed 27 Jul 2016, 15:59
by solo
Okay, gotcha!

Good to know about the stroke-color as well.

The tux svg is strange. After I optimize it, I get a big T shape when I see it in the browser preview window when I want to open it, but then when I open it in the browser it looks fine.
I've tried another way of optimization with a program called svgcleaner, and then I also get a weird shape in my preview window.
I don't know how it behaves in your program.

I'll work on it some more and tweak it, perhaps then the problem dissappears.

Posted: Wed 27 Jul 2016, 16:16
by solo
Try this Tux version. It shows normal in my browser preview window.

Code: Select all

<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96">
<path d="M53 87c-3-10 8-11 13-11h5m-3-55c0-3-1-6-3-8m0 29v-5m3 8V17m3 31V23m6 43l-5-30m16 21l-18-9M28 21c0-3 1-6 3-8m0 29v-5m-3 8V17m-3 31V23m-6 43l5-30M9 57l15-9m17-8l7 7 7-7c-3-3-11-3-14 0zm9-6c-1 0-1-4 0-4 .995.07 1 4 0 4zm-4 0c-1 0-1-5 0-5s1 5 0 5zM22 67C22 56 22 48 33 40c-2-2-4-6-4-10 0-7 5-12 10-12s8 4 9 8C50 23 54 22 57 22c5 0 10 4 10 9 .246 5.32-2 7-6 8 14 9 13 20 13 28M19 55c2-6-12 6-12 4 0-6 11-10 15-17 1-3 2-6 2-12C24 16 35 6 48 6s24 10 24 24c0 6 1 8 2 12 4 8 15 11 15 17 0 2-13-9-12-4 1 12-1 16-6 21 4 2 11 7 8 12H54l-1-1h-9l-1 1H18c-3-5 4-10 8-12-5-5-9-8-7-21zm7 21h5c5 0 16 5 13 11" fill="#fff" stroke="#444" stroke-width="3"/>
</svg>

Posted: Thu 28 Jul 2016, 00:18
by smokey01
It's very easy to make nice wallpapers with this.

Posted: Thu 28 Jul 2016, 00:32
by BarryK
trio,
I have modified /usr/sbin/qwallpaper in Quirky, so now accepts a image file on the commandline, and bypasses the GUI.

Full path is required. The file can be anywhere, and qwallpaper will copy it into /usr/share/backgrounds

If any Quirky user wants this, it is attached. Gunzip it, in /usr/sbin, and set its properties to executable.

Quirky doesn't support svg backgrounds, so qwallpaper now converts it to png.

Posted: Thu 28 Jul 2016, 01:59
by trio
BarryK wrote:trio,
I have modified /usr/sbin/qwallpaper in Quirky, so now accepts a image file on the commandline, and bypasses the GUI.

Quirky doesn't support svg backgrounds, so qwallpaper now converts it to png.
I can"t set wallpaper from wallmaker, because the save name is wallpaper$$ that"s why i point setter to whatever setter is used. But if you need to set from cli, i will try to find adjustment

Ok, now wallmaker has ability to save as png, and so does qwallpaper

Posted: Thu 28 Jul 2016, 06:37
by smokey01
It would be nice to be able to type in x and y coordinates as well as using the spinner. Also keep the gui open after creating a svg or png. Sometimes I want to makes minor adjustments before closing the gui. Maybe make a png and a svg.

Posted: Thu 28 Jul 2016, 07:40
by trio
smokey01 wrote:It would be nice to be able to type in x and y coordinates as well as using the spinner. Also keep the gui open after creating a svg or png. Sometimes I want to makes minor adjustments before closing the gui. Maybe make a png and a svg.

V 1.8.8: Now saving won't quit editor window, add notification when saved

as for the spinbutton, I'll keep them uneditable, as the preview doesn't refresh when edited on the box, not from spinner

Posted: Thu 28 Jul 2016, 08:24
by trio
V 1.8.9.1: fix placement of reflected stamp and text (again). please test

Different text/stamp makes the reflection placement wrong. I hope I get it this time. reflection drive me nuts

Posted: Thu 28 Jul 2016, 09:50
by smokey01
Working well in Fatdog. Reflection is working although the gap distance differs between stamps. The spin buttons are not important but the save option is good and works well here.

Posted: Thu 28 Jul 2016, 10:10
by trio
smokey01 wrote:Working well in Fatdog. Reflection is working although the gap distance differs between stamps. The spin buttons are not important but the save option is good and works well here.
Thanks for reporting. As for the stanps reflection, it us unavoidable since each stamp has different gap to its own boittom edge

Posted: Thu 28 Jul 2016, 11:03
by trio
Aaah I know. A solution. And it should be anothrr rule of stamp. The stamp"s gap to bottom edge should be the same for all. Making it closest to bottom