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 Sun 21 Dec 2014, 16:56
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 Posts_count  
Author Message
sunburnt


Joined: 08 Jun 2005
Posts: 5043
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: 1118

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: 5043
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.

Edited_time_total
Back to top
View user's profile Send_private_message 
SFR


Joined: 26 Oct 2011
Posts: 1118

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: 5043
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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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