muppysetbg (simple, very fast background, e.g. for conky)

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

muppysetbg (simple, very fast background, e.g. for conky)

#1 Post by MU »

Puppys wallpaper is managed by "Rox-Pinboard".
If you use a application like conky, you get a strange effect.
Conky uses the ROOT-window behind Rox, to grab the wallpaper.
So that must be set by another application, Puppy 3 provided "qiv" for that.

qiv was designed as a viewer, so it is a bit slow.
I also found out, that it does not work in compiz fusion.
Another good one (wmsetbg) just crashed Rox now.

So I wrote muppysetbg, that uses code from the Puppybackgroundsetter.

Written in C, depends only on Gtk2/Gdk-Pixbuf/Xlib.
It is important, that the picture has the exact size of your desktop already.
This is the case in Puppy 3.

Usage:

muppysetbg /root/Choices/ROX-background.jpg
The archive contains binary and source:

Muppy-SetBG/compile.sh
Muppy-SetBG/muppysetbg.c
Muppy-SetBG/muppysetbg

Tested in Muppy0084 (Gtk 2.12.9).
Mark
Attachments
Muppy-SetBG.tar.gz
(3.77 KiB) Downloaded 312 times
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

Wolf Pup
Posts: 637
Joined: Fri 28 Apr 2006, 01:37

#2 Post by Wolf Pup »

Hey MU, muppysetbg works in 301 but in dingo alpha 5 it gives me a "Segmentation Fault". :(
[img]http://img230.imageshack.us/img230/8595/ubd6467dp2.png[/img]
[url=http://www.tinyurl.com/54tu74]Visit The Repository[/url] - Helpful and hard-to-find treats for Puppy 3.
[url=http://www.tinyurl.com/c5a68f]Click Here for Puppy Support Chat, + Helpful Links.[/url]

ARAN
Posts: 113
Joined: Fri 21 Oct 2005, 12:47

#3 Post by ARAN »

a another possiblity is using xli.

xli can be easy downloaded as source to puppy and compiled as the root window setter.

http://www.t2-project.org/packages/xli.html

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#4 Post by MU »

you should be able to compile a new binary in Puppy 4 by typing:

cd Muppy-SetBG
./compile.sh

It needs just 5 sconds to compile.
Also make sure, that the background exits, I think Puppy 4 no longer uses ROX-background.jpg.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

Wolf Pup
Posts: 637
Joined: Fri 28 Apr 2006, 01:37

#5 Post by Wolf Pup »

MU wrote:you should be able to compile a new binary in Puppy 4 by typing:

cd Muppy-SetBG
./compile.sh

It needs just 5 sconds to compile.
Also make sure, that the background exits, I think Puppy 4 no longer uses ROX-background.jpg.

Mark
compiled in dingo alpha5, still gives a "Segmentation Fault". :(
[img]http://img230.imageshack.us/img230/8595/ubd6467dp2.png[/img]
[url=http://www.tinyurl.com/54tu74]Visit The Repository[/url] - Helpful and hard-to-find treats for Puppy 3.
[url=http://www.tinyurl.com/c5a68f]Click Here for Puppy Support Chat, + Helpful Links.[/url]

Post Reply