Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: Paulo on March 09, 2013, 01:02:56 PM

Title: [SOLVED]Changing JWM desktop background via script
Post by: Paulo on March 09, 2013, 01:02:56 PM
Hi all

Anyone know how to change the desktop background on-the-fly by means of a script?
Preferably one that does not need Xwin to be restarted.
I'm using JWM as the windows manager.

Thanks
Paulo.
Title: Re: Changing JWM desktop background via script
Post by: tinypoodle on March 09, 2013, 01:22:04 PM
Using "wallpaper" should create a script ~/.setbackground
Title: Re: Changing JWM desktop background via script
Post by: Paulo on March 09, 2013, 01:40:15 PM
Hi tinypoodle

wallpaper is a X app, I need to change the background from a script not from an app.
Title: Re: Changing JWM desktop background via script
Post by: gerald_clark on March 09, 2013, 01:43:46 PM
As he said: Using "wallpaper" should create a script ~/.setbackground

Just look at the script.
Title: Re: Changing JWM desktop background via script
Post by: Paulo on March 09, 2013, 01:55:51 PM
OK got it:

hsetroot [command1 [arg1..]] [command2 [arg1..]]....

Thanks.