Re: Can't run scripts no more: "permission denied"

2005-12-01 Thread Blue Raccoon
On Thu, 1 Dec 2005 20:15:12 +0200
Giorgos Keramidas <[EMAIL PROTECTED]> wrote:


> When did those scripts run fine?  What did you change since then?

First of all I've been stupid. I used
# ./ script.name
when I should have used
# ./script.name

Apparently, this is what causes the "permission denied". And I now remembered I 
started doing it this (wrong) way because I could not run the 'sylpheed' 
script. As a newbie I had doubts... maybe there should be a space?...

But the 'sylpheed' script still would not run: "command not found". There is 
only one command in the file (which works fine on the command line) and a 
comment: #!/bin/bash
I copied the script from the web. But apparently the comment is not a comment. 
When I remove it the script works (not from firefox, but that's a different 
problem).

I'll go wipe the egg off my face now.

- and thanks.

-- 
Jay
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Can't run scripts no more: "permission denied"

2005-12-01 Thread Blue Raccoon
Hi,

I tried to make a simple script to launch sylpheed when mailto: is clicked in 
firefox:
 sylpheed --compose "$1"
I put that in a plain text file, made it executable.. and nothing happened. 
From the command line I get "permission denied" when I run it. Even when I set 
perm to 777. 
Next I find that another script (which copies a bunch of config files to a safe 
place) also won't run anymore. It worked fine this morning.
Sudo makes no difference.

I've been using FreeBSD for a couple of weeks now - so please don't laugh. Just 
tell what I am doing wrong please.

thanks,

--Jay
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: command line sound player?

2005-11-24 Thread Blue Raccoon
On Thu, 24 Nov 2005 02:48:27 +0100 (CET)
Wojciech Puchar <[EMAIL PROTECTED]> wrote:

> look at ports/audio/wavplay

Plays a sound - and that's it. Exactly what I wanted. Thanks!

PS - I knew this existed, but could not find it on Freshports. I had no idea it 
was in my own ports.

-- 
-Jay
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


command line sound player?

2005-11-23 Thread Blue Raccoon
Hi,

I have searched high and low for a simple command-line sound player that I can 
call from other apps. I need something that just plays the sound, without any 
feedback. Like 'cat sound.wav > /dev/dsp' but without the almost zero 
signal-to-noise ratio.

Any ideas?

thanks,

-- 
-Jay
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Sylpheed Spell Checker & Inline Images

2005-11-23 Thread Blue Raccoon

My apologies.
Installing from source was not a good idea. I now used the ports system and all 
is well. I should have read some documentation before I came here with my 
questions.
The reason I used the source was the fact that I could not pkg_add the 2.1.7 
version of Sylpheed, although it was listed at Freshports. I now added it using 
'make install clean' in the ports-tree and although the process took over an 
hour (no kidding) the program now has all the stuff it depends on.
Which leaves me with some other questions:

I often can't pkg_add a program that is listed on Freshports (and vise versa). 
Why is that?
Sometimes two different versions of a program have exactly the same 'kg_add -r 
someprog' command. How is that possible?
pkg_add is pretty fast, 'make install' is very slow. Does pkg_add get 
pre-compiled binaries?

thanks again,

-- 
- Jay

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Sylpheed Spell Checker & Inline Images

2005-11-23 Thread Blue Raccoon
Hi,

I am struggling to set up a light-weight FreeBSD 6 system with xfce4. I decided 
Sylpheed is probably a good choice when it comes to email clients. I have 
gtkspell2 and imglib installed and compiled Sylpheed from source because I 
wanted the latest version (2.1.7) with gtkspell and inline-image-display 
support (I used --enable-gtkspell). I must have done something wrong, because I 
don't have either one of these features. I am very new to FreeBSD and have no 
idea where to look for a solution. I could not find any relevant info in the 
manual or faq.

thanks in advance,

-- 
-Jay
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


xfce4 file associations

2005-11-22 Thread Blue Raccoon
Hi,

Newbie question:

Does xfce4 maintain file-type associations?

For instance, in Sylpheed, when I click a link in the about box or choose 
'open' for an attached jpg nothing happens. Apparently url's and jpg's are not 
associated with any program. But I wonder if xfce4 bothers with that. 'Lite' 
comes at a price, perhaps. I have not been able to dig up any relevant info on 
the net.

thanks,

-- 
-Jay
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Everything on FAT is executable

2005-11-17 Thread Blue Raccoon

Newbie question:

I have mounted my Windows FAT32 partitions. Read & Write works fine, but every 
single file on the mounted drives is 'seen' as executable. And that doesn't 
change when a file is copied to the UFS partition. This, I think, is asking 
for trouble.

(How) can I change this?

Thanks in advance,

-Jay
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Email urls opened as local Files

2005-11-17 Thread Blue Raccoon
Newbie question:

When I open a link ( www.somewwhere.com ) in a Kmail message a small dialog 
pops up (that does something very fast - I can't see what) and then the page 
is opened as a local file (e.g.  file:///var/tmp/kdecache-jayes/krun/943.0.).

The page is text only and none of the hyperlinks in it work (obviously because 
it's context has changed when it was moved to my pc).

Any idea what is happening here, and why?

thanks,

- Jay

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB Problems with Scanjet 3400c

2005-11-16 Thread Blue Raccoon

I have to be honest: this OS has made me appreciate XP a bit more. I spent  a 
couple of nights on my sound card, even more on the 8 buttons of my mouse, 
another night on the printer, this afternoon on the usb stick and way too 
much time on the scanner. I think I will save the NVIDIA drivers for 
Christmas and simply give the camera a miss (after I have checked out 
gphoto).

If there is anyone @ freebsd-questions with a working Scanjet 3400c I 
certainly would like to hear about it. 

Joe, Roland - Thanks for your help. If I ever figure it out you'll be the 
first to know.

- Jay

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB Problems with Scanjet 3400c

2005-11-15 Thread Blue Raccoon
Roland,

Thanks for your help, but...

> You should verify that /usr/local/etc/sane.d/dll.conf has the line
> niash

It does. I removed the addition you suggested earlier.

> You cut put a line like usb /dev/uscanner0
> in /usr/local/etc/sane.d/niash.conf

I did (had to create the file).

> The most simple solution would be to have the following in
> /etc/devfs.rules:
> [devrules=10]
> add path 'uscanner*' mode 0666
> You'll also have to activate the ruleset 'devrules' by putting the
> following line in /etc/rc.conf:
> devfs_system_ruleset="devrules"

I did (had to create devfs.rules).

Then I rebooted, plugged the scanner in and got this:

uscanner0: vendor 0x03f0 product 0x045, rev 1.00/0.00, addr 2
uscanner0: setting config no failed
device_attach: uscanner0 attach returned 6
uhub0: port 2, set config at addr 2 failed
uhub0: device problem (STALLED), disabling port 2

Which is almost identical to the boot-errors I had before (the first line is 
slightly different). Needless to say SANE still can't find the device.

What can I say? 
'Helaas'?

- Jay
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB Problems with Scanjet 3400c

2005-11-15 Thread Blue Raccoon
Joe,

Thanks for your tips.

On Tuesday 15 November 2005 18:37, Joe Altman wrote:
> I suggest trying to put this after the "niash" in the dll.conf file:
>  :/dev/uscanner0

I did, but it makes no difference.

> And you know that your USB port works, because you use XP on this
> machine, correct?

Correct.

> You will also need to set up device bits, in /etc/devfs.conf:
> #Scanner
> permuscanner0   

Perms I wish to have? I'm afraid that means nothing to me.

> I suggest here: 
> and here: .

They have a patch (source code) that can alter the SANE source to become 
Scanjet3400c compatible. I may have to look into that, but I also found this 
in the patch documentation:


before trying to make your scanner work, call:
$ less /proc/bus/usb/devices
if your scanning device is not listed by name, you probably
have a 3400C or 4300C and difficulties with the kernel-usb.
The forum will give you information, how to change the
kernel code, to make your scanner work.


My /proc/ is totally empty.
It is not clear what forum they are referring to.
Even more frightening is this, in the SANE documentation:


To get your scanner detected by the uscanner driver, it may be necessary to
add its vendor and device ids to the kernel and recompile. Use MAKEDEV to
generate the /dev/uscanner* files if they are not already there. Use
sane-find-scanner to find your scanner and edit your backend's configuration
file appropriately.
**

Good point, since I have no /dev/uscanner* - but I have no MAKEDEV command 
either! And there are more lines I simply do not understand:

**
If you want to use libusb, your scanner should *not* be claimed by the
uscanner driver. Make sure, that /dev/ugen* and /dev/usb* devices are
available. Use /dev/MAKEDEV to create them, if necessary.
**

I come straight from Windows XP. Perhaps I bit off a bit more than I can 
chew...  Can this be solved by a newbie?

thanks again,

-Jay
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


USB Problems with Scanjet 3400c

2005-11-15 Thread Blue Raccoon
Hi,

I am VERY new to FreeBSD and am having serious problems setting up my HP 
Scanjet 3400c. I installed the SANE back-end and it cannot find any scanners. 
I don't think SANE is to blame though, because the dmesg command shows (among 
other things) this:

uscanner0: Hew product 0x0405, rev 1.00/0.00, addr 2
uscanner0: setting config no failed
device_attach: uscanner0 attach returned 6
uhub0: port 2, set config at addr 2 failed
uhub0: device problem (STALLED), disabling port 2

There is no point in loading the scanner from the command line, because 
'kldload uscanner' brings up:

kldload: can't load uscanner: File exists

I compiled a kernel (just to see if I could), but the GENERIC kernel also 
chokes on the scanner. I did include 

device usb
device uhci
device ohci
device uscanner

in my kernel though.

I am running FreeBSD 6.0 (release) on a 4 year old PC (900 Mhz Pentium).
And the scanner is fine, by the way (No problems with XP).


I don't have a clue and would appreciate it if someone could help me out here, 
or point me in the right direction.

thanks in advance,

Jay
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"