Bugs item #683309, was opened at 2003-02-09 00:11
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428680&aid=683309&group_id=40696

Category: Behaviour
Group: 0.65.x
Status: Open
>Resolution: Accepted
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: bsetbg problems

Initial Comment:
If as in the help file I do 
bsetbg  -app qiv "-o rgb:d6/c5/a2 -x" -c
.blackbox/backgrounds/file.png 
I get
bsetbg: 'qiv -o .blackbox/backgrounds/file.png' exited
with status 1
bsetbg: using 'do_standard' as 

and I get the png with a black surrounding, which
doesn't happen with

qiv -o rgb:d6/c5/a2 -x ~/.blackbox/backgrounds/file.png

Looking into this further I tried
bsetbg  -debug -app qiv "-o rgb:d6/c5/a2 -x" -c
.blackbox/backgrounds/file.png 

and I get
bsetbg_debug: qiv
/home/robert/.blackbox/backgrounds/file.png
/usr/local/bin/bsetbg: [: : integer expression expected
/usr/local/bin/bsetbg: [: : integer expression expected

([EMAIL PROTECTED])

----------------------------------------------------------------------

>Comment By: Sean 'Shaleh' Perry (shaleh)
Date: 2003-02-09 22:58

Message:
Logged In: YES 
user_id=37132

It looks like your arguments are being dropped. 
 
Do help solve both this and the integer expression problem, add a '-x' to 
the first line: 
 
#!/bin/sh -x 
 
This will cause the shell to print every line as it executes.  You should then 
see the faulty execution of qiv and the place where the wrong expression is 
used. 
 
(Since you included an email I will send this to you there as well). 
 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428680&aid=683309&group_id=40696

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]

Reply via email to