Wonderful idea. Check out the attached perl script.
If the attachment didnt come thru, look at editbbstyle.txt in:
http://furt.com/code/perl/editbbstyle/
Usage: editbbstyle.pl <param> <new value>
It looks in your ~/.blackboxrc to determine your current style file,
then edits it for you.
setup a simple shell script in your ROX "Send To" directory:
#!/bin/sh
#set the background now
bsetbg -t $*
#save it into your style file so it's here next time we start BB
~/bin/editbbstyle.pl rootCommand: bsetbg -t $*
that will permanently change the background of your current style
to whatever image file (tiled) you right-clicked on.
On Tuesday 30 October 2001 08:45, you wrote:
> You could take this further, and right a perl script that actually edits
> your style file.
>
> DC
>
> On Sat, Oct27,01 12:34, scott wrote:
> > If you use ROX-Filer, a neat trick you can use is to create a little
> > script in your ~/Choices/SendTo/ directory that will call 'bsetbg' to set
> > the bg.
> >
> > Then, if you come across an image on your harddrive you want to set
> > to your background, just right-click, select "Send To" and then select
> > the script you put into the "SendTo" directory.
> > (unfortunately, your BG won't be the same after a restart. you'll have
> > to edit your style file for that)
> >
> > i have these three scripts in my "Send To" directory:
> >
> > setbg-tiled.sh
> > #!/bin/sh
> > bsetbg -t $1
> >
> > setbg-scaled.sh
> > #!/bin/sh
> > bsetbg -f $1
> >
> > setbg.sh
> > #!/bin/sh
> > bsetbg $1
> >
> > On Sunday 28 October 2001 17:56, you wrote:
> > > Just a quetsion about the background in blackbox.
> > >
> > > I know that you use the Esetroot command to change the background, the
> > > question that i have though is how do u make it stay like that.
> > >
> > > If i use Esetroot, and then i restart blackbox or something like that,
> > > the background is not what i set ut at but just a gradient. What file
> > > do i need to edit or what do i need to do to make the background stay
> > > every time that i reboot?
> > >
> > > Thanks
> > >
> > > -|- Hurgh -|-
> >
> > ----------------------------------------
> > Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1"
> > Content-Transfer-Encoding: quoted-printable
> > Content-Description:
> > ----------------------------------------
> >
> > --
> > [scott] :: "ein kalter Tod f�r den sprecher von L�gen"
--
[scott] :: "ein kalter Tod f�r den sprecher von L�gen"
editbbstyle.pl