Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 20 Sep 2014, 14:06
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
How to get xli X image utility to set backgroung image.?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
sunburnt


Joined: 08 Jun 2005
Posts: 5029
Location: Arizona, U.S.A.

PostPosted: Tue 17 Dec 2013, 02:59    Post subject:  How to get xli X image utility to set backgroung image.?  

I found xli as a utility to set the wallpaper. Should be better than using ROX I hope.
But I run it as examples show and it doesn`t change the wallpaper.
It will display an image in a new window, but nothing using the "-onroot" option. No Error.
I exited X and restarted it thinking that might reset it, no wallpaper but xli still won`t work.

# What am I missing here.? ... Is it that JWM is hogging it.?

### Update: I now see the image briefly when JWM is restarted, so I guess JWM is in the way.
.
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1068

PostPosted: Tue 17 Dec 2013, 06:23    Post subject:  

Hey Sunburnt

As far as I understand that, xli uses the real X root window, whereas ROX displays its own layer that is on top of it, hence covers it.
If you disable ROX pinboard, you'll see the underlying layer.
I'm afraid only ROX is able to change its own layer's background...

BTW, what inconvenience you have faced in using the native ROX way?

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 5029
Location: Arizona, U.S.A.

PostPosted: Tue 17 Dec 2013, 11:40    Post subject:  

Howdy SFR; I posted an app in Cutting Edge that shows a separate wallpaper on each desktop.

Reloading JWM causes the screen to flash. Xli or other apps may do no better though.

Last edited by sunburnt on Tue 17 Dec 2013, 12:41; edited 1 time in total
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1068

PostPosted: Tue 17 Dec 2013, 12:25    Post subject:  

AFAIK JWM has nothing to do with the pinboard, it's ROX domain.
If you mean "JWM Configuration Manager" and its "Desktop Background" button, it simply calls the default wallpaper setter (Nathan's in Slacko), which in turn uses the ROX SOAP mechanism to set the wallpaper.

As for screen flashing, it's more visible when the whole pinboard is being restarted with 'rox -p ~/Choices...' (this also kills conky, xonclock and maybe other apps).
Try to use the mentioned ROX SOAP - it behaves much better, e.g.:
Code:
WALLPAPER=/usr/share/backgrounds/default.jpg
STYLE=Stretch     # also: Tile, Centre, Scale

rox --RPC << EOF
<?xml version="1.0"?>
<env:Envelope xmlns:env="http://www.w3.org/2001/12/soap-envelope">
 <env:Body xmlns="http://rox.sourceforge.net/SOAP/ROX-Filer">
  <SetBackdrop>
   <Filename>$WALLPAPER</Filename>
   <Style>$STYLE</Style>
  </SetBackdrop>
</env:Body> </env:Envelope>
EOF

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 5029
Location: Arizona, U.S.A.

PostPosted: Tue 17 Dec 2013, 13:40    Post subject:  

Thanks SFR; I`ve seen that code before in Nathan F`s wallpaper setter.
But I didn`t catch that how it changed the picture a lot nicer than restarting JWM.

My thought with Xli was a more universal wallpaper setup that was not DM specific.
I`ll probably look at it further as it may come in handy.

For now my app works much nicer. Thanks again.! Terry B.
.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0464s ][ Queries: 12 (0.0035s) ][ GZIP on ]