limiting mutt search to header

2012-03-26 Thread Rick Pasotto
How do I limit the search patterh space to message headers in mutt. I
have mutt installed on twomachines. On one ctl-c does the trick but on
the other ctl-c wants to quit mutt.

-- 
"The secret of health for both mind and body is not to mourn for the
 past, worry about the future, or anticipate troubles, but to live in the
 present moment wisely and earnestly." -- Buddha
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120326133004.ga16...@niof.net



pdfedit

2011-08-17 Thread Rick Pasotto
I guess I'm too stupid to figure it out.

I have a pdf document that I would like to add two lines of text to
(different positions, different fonts). Under the 'Page' menu I see an
icon for adding text but it is greyed out. I don't see that icon
anywhere else on the screen.

The so-called 'Help' is useless.

Could someone please help me get started?

Thanks.

-- 
We have need of history in its entirety, not to fall back into it, but
to see if we can escape from it.
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110817220320.ge5...@niof.net



2TB file system

2011-08-16 Thread Rick Pasotto
I recently acquired a 2TB SATA HD that I have not yet installed. It will
be used entirely to store media files. Would there be any problems in
formating the entire disk (no partitions) as an EXT4 file system?

Any other considerations?

-- 
"Aided by a little sophistry on the words 'general welfare', [they
 claim] a right to do not only the acts to effect that which are
 specifically enumerated and permitted, but whatsoever they shall think
 or pretend will be for the general welfare."
-- Thomas Jefferson 1825 to W. Giles
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110816163153.gd5...@niof.net



Re: restarting sound

2011-02-23 Thread Rick Pasotto
On Wed, Feb 23, 2011 at 04:39:03AM +, teddi...@tmo.blackberry.net wrote:
> Rick Pasotto ask;
> How can I restart sound without rebooting the whole machine?
> 
> ---
> 
> If your using Alsa, there is an alsa-utils file in /etc/init.d/
> 
> # /etc/init.d/alsa-utils restart

Thanks. That worked fine.

-- 
"No one can make you feel inferior without your consent." -- Eleanor Roosevelt
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110223223209.gm5...@niof.net



restarting sound

2011-02-22 Thread Rick Pasotto
Every once in a while my sound stops working. This time I believe the
last thing involving sound that I did was to watch a flv video using
totem. That was a couple of hours ago and now there is no sound at all,
not from audacity, totem, xine, or moc.

How can I restart sound without rebooting the whole machine?

-- 
"In existing criminology there are concepts: a criminal man, a criminal
profession, a criminal society, a criminal sect, a criminal cast and a
criminal tribe, but there is no concept of a criminal state, or a
criminal government, or criminal legislation. Consequently the biggest
crimes actually escape being called crimes." -- P.D. Ouspensky, 1931
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2011022959.gi5...@niof.net



problem creating isfo

2011-01-18 Thread Rick Pasotto
Every time I execute the following sequence of commands (I've done it
many times) I get different results:

mkisofs -R -J -l -o /var/tmp/image.raw .
mount /var/tmp/image.raw -r -t iso9660 -o loop /cdrom
(for i in */*; do cmp -l "$i" "/cdrom/$i"; echo $? $i; done)|less

There are 100 files and each time a different one fails to compare.

I've tried using a different file system for the temporary directory.

What could be going wrong?

-- 
"You are the only one who can use your ability. It is an awesome
 responsibility." -- Zig Zigler
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110118145038.ge29...@niof.net



setting up a network printer

2010-12-09 Thread Rick Pasotto
How do I configure a HL-4150CDN Brother printer?

I have installed the hl4150cdnlpr-1.1.1-5.i386.deb and
hl4150cdncupswrapper-1.1.1-5.i386.deb files from the Brother site.
http://localhost:631 finds the printer and the correct printer driver.

What is the ip address for the printer? How do I tell lp to use it as
the default? The print dialog in AbiWord sees the printer but when I
send something to it nothing prints (the job does show in the queue).

-- 
"It is absurd to divide people into good and bad. People
 are either charming or tedious." -- Oscar Wilde
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101210041916.gw3...@niof.net



Re: Number pad doesn't work gnome(squeeze) HPE-337c-b keyboard 5335u

2010-10-26 Thread Rick Pasotto
On Tue, Oct 26, 2010 at 09:56:34AM +, Curt wrote:
> On 2010-10-25, Rick Pasotto  wrote:
> > However, I cannot get the numeric keypad to work in
> > multi-gnome-terminal. The num-lock changes the state of the light but
> > that's all. Shift-f8 doesn't seem to do anything at all.
> >
> > It used to work.
> >
> 
> System - Preferences - Keyboard - Mouse Keys -- Uncheck the
> box that says "Allow to control the pointer using the keyboard".
> 
> If that isn't it, sorry.  I turned this on with a weird series of
> keyboard presses a couple times.

Yes! That fixed it. Thank you!

-- 
"Be wiser than other people if you can; but do not tell them so."
-- Lord Chesterfield
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101026110628.gv23...@niof.net



Re: Number pad doesn't work gnome(squeeze) HPE-337c-b keyboard 5335u

2010-10-25 Thread Rick Pasotto
On Mon, Oct 25, 2010 at 04:27:52PM +, Camaleón wrote:
> On Mon, 25 Oct 2010 11:19:31 -0500, Bill Nickels wrote:
> 
> >> On Mon, 25 Oct 2010 10:42:46 -0500, Bill Nickels wrote:
> >> 
> >> By terminal you mean "tty", right? I mean, no "gnome-terminal" nor
> >> "xterm". I'm trying to determinate if GNOME is the problem here or just
> >> X server misconfiguration or a hardware issue :-)
> >> 
> >> Can you test with another keyboard? Just in case.
> >> 
> >> BTW, does your "5335u" keyboard have any special feature or is standard
> >> 104-keyboard? And have you set the correct keymap within GNOME (system/
> >> preferences/keyboard/keyboard layout)? :-?
> 
> > Yes it was a terminal ctrl-alt f1 login invoke sensible-editor and
> > test.(system/preferences/keyboard/keyboard layout)? shows a generic
> > 105-key(intl) PC.The keyboard has sound control keys at upper right but
> > they work. All else seems standard/generic.The same symptom was there
> > before I entered anything about the keyboard into xorg.conf.
> 
> That's weird :-?
> 
> To recap: you press the "num lock" key and the light switches on but you 
> cannot type any number using the numeric pad. And if you press again the 
> num lock key, the light goes off and you still get no number when you 
> type, right?
> 
> Could it be a hardware issue? Does the same keyboard work on another 
> computer or have you tried to attach another keyboard just for testing 
> purposes?

I have the same problem.

Switching to ctrl-alt-f1 the shift-f8 does toggle something about the
num-lock key. That is I can get the numeric keypad to work in that
console with the num-lock key lighted. Thus it is obviously *not* a
hardware problem.

However, I cannot get the numeric keypad to work in
multi-gnome-terminal. The num-lock changes the state of the light but
that's all. Shift-f8 doesn't seem to do anything at all.

It used to work.

-- 
"No people do so much harm as those who go around doing good."
-- Mandell Creighton (1843-1901)
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101025164536.gu23...@niof.net



Re: how to insert a cd without running a program

2010-10-04 Thread Rick Pasotto
On Mon, Oct 04, 2010 at 04:23:32PM +, Camaleón wrote:
> On Mon, 04 Oct 2010 12:05:46 -0400, Rick Pasotto wrote:
> 
> > I have some cds I want to rip. When I insert a cd, gxine runs which I
> > then have to cancel. How can I prevent gxine (or any other program) from
> > running? I don't see anything under 'System->Preferences->Preferred
> > Applications' or 'System->Preferences->Removable Drives and Media'.
>  ^^^
> 
> It is indeed there (Multimedia tab), at least in Lenny/GNOME.
> 
> Mine is setup for DVD video:
> 
> [x] Auto-launch inserted media and "play with Totem".

Well, yes, I saw that but knew that was not what controlled it. You see,
mine too is set for Totem but it's actually gxine that runs. So, it's
got to be somewhere else.

Also there is no option there NOT to run a program.

-- 
"Many people think that if they were only in some other place, or had
 some other job, they would be happy. Well, that is doubtful. So get as
 much happiness out of what you are doing as you can and don't put off
 being happy until some future date." -- Dale Carnegie
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101004174111.gc6...@niof.net



how to insert a cd without running a program

2010-10-04 Thread Rick Pasotto
I have some cds I want to rip. When I insert a cd, gxine runs which I
then have to cancel. How can I prevent gxine (or any other program) from
running? I don't see anything under 'System->Preferences->Preferred
Applications' or 'System->Preferences->Removable Drives and Media'.

-- 
"To know the road ahead, ask those coming back." -- Chinese Proverb
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101004160546.gb6...@niof.net



[FOLLOWUP] video card reccomendation

2010-10-03 Thread Rick Pasotto
On Sat, Sep 25, 2010 at 11:51:20PM -0400, Rick Pasotto wrote:
> I need to get an agp video card so take the video load off the regular
> bus. Also my new monitor has 1600x900 resolution and the openchrome
> driver doesn't recognize that resolution. I don't play games, so it's
> mostly for text, web, and an occasional video file.
> 
> What would be the least expensive card for my needs?

I bought a GeForce 6200. So far it's working well for me and solved the
bus overload problem I was having.

However I do have a couple of questions. I installed (with aptitude)
nvidia-kernel-2.6.32-5-686 which is supposed to give me the nVidea
driver binaries. X aborted because it could not find the nvidia module.
The 'nv' driver works fine.

'dpkg -L nvidia-kernel-2.6.32-5-686' shows what got installed was:

/lib/modules/2.6.32-5-686/nvidia/nvidia.ko

The 'nv' driver is in /usr/lib/xorg/modules/drivers/nv_drv.so. 

Does xorg need to be told about the different path? Is there some
command I need to run to tell the kernel about the nvidia driver?
What's the difference between '.ko' and '.so'?

As I said, things are working fine it's just that I'm curious as to why
the nvidia driver was not found.

-- 
"The best way to raise positive children in a negative world is to have
 positive parents who love them unconditionally and serve as excellent
 role models." -- Zig Zigler
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101003180050.ga6...@niof.net



video card reccomendation

2010-09-25 Thread Rick Pasotto
I need to get an agp video card so take the video load off the regular
bus. Also my new monitor has 1600x900 resolution and the openchrome
driver doesn't recognize that resolution. I don't play games, so it's
mostly for text, web, and an occasional video file.

What would be the least expensive card for my needs?

-- 
"When fate hands us a lemon, let's try to make lemonade." -- Dale Carnegie
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100926035120.gs8...@niof.net



monitor size not supported?

2010-09-17 Thread Rick Pasotto
I just got a new lcd monitor that seems to be working fine but there is
one slight problem.

The monitor is an LG W2040T with 1600x900 resolution so I added
"1600x900" to the Modes line of the Display SubSection. When X starts I
get a message from the monitor that the optimum resolution is 1600x900.
X is setting the screen size to 1280x1024.

This difference results in circular objects being more oval than
circular. I can live with this as I do little graphics work but I'm
wondering if there's something I can change to get my circles to be
circles.

/var/log/Xorg.0.log has the line:

(II) CHROME(0): Not using mode "1600x900" (no mode of this name)

I'm using the openchrome driver since I have a KM400 motherboard which
has the VIA chipset.

Did I get the wrong monitor?

-- 
"Go confidently in the direction of your dreams. Live the life you have
 imagined." -- Henry David Thoreau
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100917164044.gc29...@niof.net



Re: where did my ata drives go?

2010-09-11 Thread Rick Pasotto
On Sat, Sep 11, 2010 at 07:34:38PM +0200, Florian Kulzer wrote:
> On Sat, Sep 11, 2010 at 12:16:43 -0400, Rick Pasotto wrote:
> 
> > ERROR: superblocks chain: ambivalent result detected (2 filesystems)!
> 
> You seem to have vestigial signatures of other filesystems on the two
> partitions. You can use "wipefs" to list all filesystem signatures on a
> partition and also to remove the outdated one. (See the manpage and be
> careful not too delete the signature of the current ext3 filesystem.)

Here is what I did and the results:

niof:~# wipefs /dev/sdc1
offset   type

0x438ext3   [filesystem]
 LABEL: hdb1
 UUID:  03c23684-dea8-458d-b04b-0ae8a056cb0d

0x52 vfat   [filesystem]
 LABEL: DISK3PART00
 UUID:  5CD5-4461

niof:~# wipefs -o 0x52 /dev/sdc1
8 bytes [46 41 54 33 32 20 20 20] erased at offset 0x52 (vfat)
niof:~# wipefs /dev/sdc1
offset   type

0x438ext3   [filesystem]
 LABEL: hdb1
 UUID:  03c23684-dea8-458d-b04b-0ae8a056cb0d

0x0  vfat   [filesystem]
 LABEL: DISK3PART00
 UUID:  5CD5-4461

> As soon as there is only one signature left on each of the partitions,
> blkid and all the rest should work again.
> 
> Two other important tests are:
> 
>   findfs LABEL=hdb1
>   findfs UUID=03c23684-dea8-458d-b04b-0ae8a056cb0d
> 
> Both these commands should return "/dev/sdc1".

niof:~# findfs LABEL=hdb1
findfs: unable to resolve 'LABEL=hdb1'
niof:~# findfs UUID=03c23684-dea8-458d-b04b-0ae8a056cb0d
findfs: unable to resolve 'UUID=03c23684-dea8-458d-b04b-0ae8a056cb0d'

OK, just for kicks I then did:

niof:~# wipefs -o 0x0 /dev/sdc1
1 bytes [eb] erased at offset 0x0 (vfat)
niof:~# wipefs /dev/sdc1
offset   type

0x438ext3   [filesystem]
 LABEL: hdb1
 UUID:  03c23684-dea8-458d-b04b-0ae8a056cb0d

0x1fevfat   [filesystem]
 LABEL: DISK3PART00
 UUID:  5CD5-4461

niof:~# wipefs -o 0x1fe /dev/sdc1
2 bytes [55 aa] erased at offset 0x1fe (vfat)
niof:~# wipefs /dev/sdc1
offset   type

0x438ext3   [filesystem]
 LABEL: hdb1
 UUID:  03c23684-dea8-458d-b04b-0ae8a056cb0d


Looks like I needed to run 'wipefs' *three* times to get rid of the signature.

Both partitions now mount with either LABEL or UUID.

Thanks for all your help.

-- 
"You are merely not feeling equal to the tasks before you." -- Dale Carnegie
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100911191423.gt28...@niof.net



Re: where did my ata drives go?

2010-09-11 Thread Rick Pasotto
On Sat, Sep 11, 2010 at 05:21:44PM +0200, Florian Kulzer wrote:
> On Fri, Sep 10, 2010 at 13:13:50 -0400, Stephen Powell wrote:
> > On Fri, 10 Sep 2010 12:47:33 -0400 (EDT), Rick Pasotto wrote:
> > > On Fri, Sep 10, 2010 at 12:18:07PM -0400, Stephen Powell wrote:
> > >> What happens if, after the system has booted,
> > >> you issue a manual mount command as root, using the new device
> > >> name?
> > >> 
> > >>mount -t ext3 /dev/sdc1 /hd0
> > > 
> > > That works perfectly.
> 
> [...]
> 
> > >> then try
> > >> 
> > >>umount /hd0
> > >>mount -t ext3 UUID=03c23684-dea8-458d-b04b-0ae8a056cb0d /hd0
> > > 
> > > mount: special device UUID=03c23684-dea8-458d-b04b-0ae8a056cb0d does not 
> > > exist
> > >>
> > >> then try
> > >> 
> > >>umount /hd0
> > >>mount -t ext3 LABEL=hdb1 /hd0
> > > 
> > > mount: special device LABEL=hdb1 does not exist
> 
> [...]
> 
> > OK, this looks like a udev problem of some sort.  The udev aliases
> > are not being created.  I'm not sure why yet.
> 
> My guess would be that blkid does not read the UUID and label of the
> partition correctly. AFAIK, udev relies on blkid to obtain the
> information that is necessary to populate the /dev/disk/by-label/ and
> /dev/disk/by-uuid/ directories. Here is an example of how it should
> work:
> 
>   $ /sbin/blkid /dev/sda5
>   /dev/sda5: LABEL="root" UUID="d0100d2c-69e9-4a37-bf17-9af5ff151032" 
> TYPE="ext3"
> 
> Rick, if "/sbin/blkid /dev/sdc1" fails report anything on your system
> then show us the output of:
> 
>   BLKID_DEBUG=0x /sbin/blkid /dev/sdc1

If by "fail" you mean no output then it failed, so:

niof:~# BLKID_DEBUG=0x /sbin/blkid /dev/sdc1 > blkid.out
reading config file: /etc/blkid.conf.
/etc/blkid.conf: does not exist, using built-in default

Here's the sdc1 stanza (do you need what it showed for the other devices?):

need to revalidate /dev/sdc1 (cache time 2147483648, stat time 1284082698,
time since last check 3431704611)
ready for low-probing, offset=0, size=20003848704
chain safeprobe superblocks ENABLED
--> starting probing loop [SUBLKS idx=-1]
[0] linux_raid_member:
call probefunc()
buffer read: off=20003749888 len=64
buffer read: off=2000384 len=64
buffer read: off=0 len=64
buffer read: off=4096 len=64
[1] ddf_raid_member:
call probefunc()
buffer read: off=20003848192 len=40
buffer read: off=20003717120 len=40
[2] isw_raid_member:
call probefunc()
buffer read: off=20003847680 len=48
[3] lsi_mega_raid_member:
call probefunc()
reuse buffer: off=20003848192 len=40
[4] via_raid_member:
call probefunc()
buffer read: off=20003848192 len=51
[5] silicon_medley_raid_member:
call probefunc()
buffer read: off=20003848192 len=292
[6] nvidia_raid_member:
call probefunc()
reuse buffer: off=20003847680 len=48
[7] promise_fasttrack_raid_member:
call probefunc()
buffer read: off=20003816448 len=24
buffer read: off=20003718144 len=24
buffer read: off=20003717632 len=24
buffer read: off=20003840512 len=24
buffer read: off=20003644416 len=24
[8] hpt45x_raid_member:
call probefunc()
buffer read: off=20003843072 len=4
[9] hpt37x_raid_member:
buffer read: off=4096 len=1024
reuse buffer: off=4096 len=1024
[10] adaptec_raid_member:
call probefunc()
buffer read: off=20003848192 len=512
[11] jmicron_raid_member:
call probefunc()
reuse buffer: off=20003848192 len=40
[12] drbd:
call probefunc()
buffer read: off=20003844608 len=4096
[13] LVM2_member:
buffer read: off=0 len=1024
reuse buffer: off=0 len=1024
buffer read: off=1024 len=1024
reuse buffer: off=1024 len=1024
[14] LVM1_member:
reuse buffer: off=0 len=1024
[15] DM_snapshot_cow:
reuse buffer: off=0 len=1024
[16] crypto_LUKS:
reuse buffer: off=0 len=1024
[17] VMFS_volume_member:
buffer read: off=1048576 len=1024
[18] vfat:
reuse buffer: off=0 len=1024
reuse buffer: off=0 len=1024
magic sboff=82, kboff=0
call probefunc()
reuse buffer: off=0 len=1024
reuse buffer: off=0 len=1024
look for label in root-dir (entries: 512, offset: 9779200)
buffer read: off=9779200 len=16384
buffer read: off=16392 len=16384
reuse buffer: off=0 len=1024
assigning LABEL [superblocks]
assigning UUID [superblocks]
assigning TYPE [superblocks]
<-- leaving probing loop (type=vfat) [SUBLKS idx=18]
--> starting probing loop [SUBLKS idx=18]
[19] swsuspend:
buffer read: off=3072 len=1024
reuse buffer: off=3072 len=1024
reuse buffer: off=3072 len=1024
reuse buffer: off=3072 len=1024
buf

Re: where did my ata drives go?

2010-09-10 Thread Rick Pasotto
One other comment that might be relevant. I have an SATA drive connected
via USB that gets mounted automatically by LABEL. So, mounting by LABEL
*does* work, just not with that ata drive.

-- 
"...the capitalist system...of free markets and the private ownership
 of the means of production, [is] an essential condition of the very
 survival of mankind." -- Friedrich Hayek
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100910165939.gj28...@niof.net



Re: where did my ata drives go?

2010-09-10 Thread Rick Pasotto
On Fri, Sep 10, 2010 at 12:18:07PM -0400, Stephen Powell wrote:
> On Fri, 10 Sep 2010 11:53:29 -0400 (EDT), Rick Pasotto wrote:
> > On Fri, Sep 10, 2010 at 11:22:47AM -0400, Stephen Powell wrote:
> >> 
> >> Hmm.  I'm wondering about the mount point, /hd0.  Maybe the mount
> >> point doesn't exist.  Issue the following command:
> >> 
> >>ls -Ald /hd0
> >> 
> >> What is the result?  Do you get something like
> >> 
> >>st...@debian3:~$ ls -Ald /hd0
> >>drwxr-xr-x 2 root root 4096 Feb 10  2010 /hd0
> >>st...@debian3:~$
> >> 
> >> Or do you get something like
> >> 
> >>st...@debian3:~$ ls -Ald /hd0
> >>ls: cannot access /hd0: No such file or directory
> >>st...@debian3:~$
> > 
> > niof:~# ls -Ald /hd0
> > drwxrwxrwx 2 root root 4096 2005-09-05 11:08 /hd0
> > niof:~# ls -a /hd0
> > .  ..
> > 
> > Everything there looks as it should.
> 
> OK, good.  What happens if, after the system has booted,
> you issue a manual mount command as root, using the new device
> name?
> 
>mount -t ext3 /dev/sdc1 /hd0

That works perfectly.

> If that works, issue
> 
>umount /hd0
>mount -t ext3 /dev/disk/by-uuid/03c23684-dea8-458d-b04b-0ae8a056cb0d /hd0

mount: special device /dev/disk/by-uuid/03c23684-dea8-458d-b04b-0ae8a056cb0d 
does not exist

> and see if that works.  If that works, try
> 
>umount /hd0
>mount -t ext3 /dev/disk/by-label/hdb1

(assuming you inadvertanly left off the /hd0 from the mount command)

mount: special device /dev/disk/by-label/hdb1 does not exist

> then try
> 
>umount /hd0
>mount -t ext3 UUID=03c23684-dea8-458d-b04b-0ae8a056cb0d /hd0

mount: special device UUID=03c23684-dea8-458d-b04b-0ae8a056cb0d does not exist

> then try
> 
>umount /hd0
>mount -t ext3 LABEL=hdb1 /hd0

mount: special device LABEL=hdb1 does not exist

> Which of the above work, and which do not?  What do you see when you issue
> 
>cat /proc/partitions

   80  244198584 sda
   811951866 sda1
   82  64260 sda2
   832931862 sda3
   84  239248012 sda4
   8   16  976762584 sdb
   8   17  976760001 sdb1
   8   32   39082680 sdc
   8   33   19535008 sdc1
   8   34  1 sdc2
   8   37   19535008 sdc5
   8   48  244198584 sdd
   8   49  244196001 sdd1
 25401048576 dm-0
 2541   20971520 dm-1
 2542   41943040 dm-2
 2543  125829120 dm-3
 2544   20971520 dm-4

That's how I found out about /dev/sdc1 and /dev/sdc5.

Would I be correct in thinking that hard coding /dev/sdc1 and /dev/sdc5
in /etc/fstab would not be reliable since those might point to different
devices on subsequent boots?

FWIW:

niof:~# apt-cache policy mount
mount:
  Installed: 2.17.2-3.1
  Candidate: 2.17.2-3.1
  Version table:
 *** 2.17.2-3.1 0
990 ftp://debian.uchicago.edu testing/main Packages
200 ftp://ftp.debian.org unstable/main Packages
100 /var/lib/dpkg/status

Thanks for your help. At least I've now got a temporary work-around. A
permanent fix would be better.

-- 
"If we encounter a man of rare intellect, we should ask him what books
 he reads." -- Ralph Waldo Emerson
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100910164733.gi28...@niof.net



Re: where did my ata drives go?

2010-09-10 Thread Rick Pasotto
On Fri, Sep 10, 2010 at 11:22:47AM -0400, Stephen Powell wrote:
> 
> Hmm.  I'm wondering about the mount point, /hd0.  Maybe the mount
> point doesn't exist.  Issue the following command:
> 
>ls -Ald /hd0
> 
> What is the result?  Do you get something like
> 
>st...@debian3:~$ ls -Ald /hd0
>drwxr-xr-x 2 root root 4096 Feb 10  2010 /hd0
>st...@debian3:~$
> 
> Or do you get something like
> 
>st...@debian3:~$ ls -Ald /hd0
>ls: cannot access /hd0: No such file or directory
>st...@debian3:~$

niof:~# ls -Ald /hd0
drwxrwxrwx 2 root root 4096 2005-09-05 11:08 /hd0
niof:~# ls -a /hd0
.  ..

Everything there looks as it should.

-- 
Under the species of Syndicalism and Fascism there appears for the first
time in Europe a type of man who does not want to give reasons or to be
right, but simply shows himself resolved to impose his opinions.
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100910155329.gh28...@niof.net



Re: where did my ata drives go?

2010-09-10 Thread Rick Pasotto
On Fri, Sep 10, 2010 at 09:54:38AM -0400, Stephen Powell wrote:
> On Thu, 09 Sep 2010 22:58:30 -0400 (EDT), Rick Pasotto wrote:
> > 
> > Last weekend I did a bunch of updates (to testing) and rebooted after
> > almost six months.
> 
> You really should upgrade more often than that when running testing.
> 
> > Somewhere in that process the ata drive got UUIDs assigned to the
> > partitions and /etc/fstab was modified.
> 
> I suspect what happened is a migration from kernel 2.6.32-3-xxx
> to kernel 2.6.32-5-xxx, which installs linux-base, which tries to
> convert system files such as /etc/fstab,
> /etc/initramfs-tools/conf.d/resume, and other system files
> to use UUIDs whenever possible, rather than /dev/hdax references.
> The UUIDs were already assigned to the partitions.  The partitions
> just weren't being mounted by UUID, they were being mounted by
> device name.  Now they are mounted by UUID.
> 
> > Now they won't mount.
> 
> Yes, they are still being mounted.

No, they are not! They do not show up with 'df'.

> They just have different device names now.  That is due to a change in
> device drivers between the 2.6.32-3-xxx kernel and the 2.6.32-5-xxx
> kernel.  The 2.6.32-3-xxx kernel uses the traditional driver for
> traditional IDE hard disks, also known as ATA (AT attachment) or PATA
> (parallel AT attachment). This driver uses device names of the form
> /dev/hda, /dev/hdb, etc. The 2.6.32-5-xxx kernel uses a newer driver
> for these disks which uses SCSI emulation.  The newer driver uses SCSI
> (Small Computer System Interface) device names even for PATA disk
> drives.  Thus, the device names are called /dev/sda, /dev/sdb, etc.
> It's a different naming convention for the same drives.

Yes, I now remember that message coming through when I installed the
latest kernel.

> > I used to mount /dev/hdb1 and /dev/hdb5 but those don't exist
> > anymore.
> 
> Right.  As I explained above.  But it you were to boot your old
> kernel, the 2.6.32-3 kernel, you would see the old device names
> re-appear again.  The reason that linux-base tries to migrate system
> files such as /etc/fstab to UUID-based mounting is so that the mount
> will succeed regardless of which kernel you boot.

Haven't tried that yet, but I will.

> > Using tune2fs I can access them as /dev/sdc1 and /dev/sdc5. The
> > UUIDs match what got written to /etc/fstab. I was able to assign
> > labels to them using tune2fs but they still refuse to mount.
> 
> Not by their old names, no.  The devices have different names under
> the new kernel.
> 
> > How can I access those partitions?
> 
> You already are accessing them, but with different names now. You
> haven't lost any data.

The original line in /etc/fstab was:

/dev/hdb1/hd0ext3defaults0   0

That line got commented out and this line was added:

UUID=03c23684-dea8-458d-b04b-0ae8a056cb0d/hd0ext3
defaults0   0

Using tune2fs I added the label 'hdb1' and added this line to /etc/fstab:

LABEL=hdb1/hd0ext3defaults0   0

'mount /hd0' DOES NOT WORK! It gives this error message:

mount: special device LABEL=hdb1 does not exist

'tune2fs -l /dev/sdc1' gives:


tune2fs 1.41.12 (17-May-2010)
Filesystem volume name:   hdb1
Last mounted on:  
Filesystem UUID:  03c23684-dea8-458d-b04b-0ae8a056cb0d
Filesystem magic number:  0xEF53
Filesystem revision #:1 (dynamic)
Filesystem features:  has_journal filetype sparse_super large_file
Filesystem flags: signed_directory_hash 
Default mount options:(none)
Filesystem state: clean
Errors behavior:  Continue
Filesystem OS type:   Linux
Inode count:  2443200
Block count:  4883752
Reserved block count: 244187
Free blocks:  627830
Free inodes:  2399380
First block:  0
Block size:   4096
Fragment size:4096
Blocks per group: 32768
Fragments per group:  32768
Inodes per group: 16288
Inode blocks per group:   509
Last mount time:  Mon Jul 19 11:40:39 2010
Last write time:  Thu Sep  9 21:38:18 2010
Mount count:  90
Maximum mount count:  38
Last checked: Thu Jun 30 03:47:39 2005
Check interval:   15552000 (6 months)
Next check after: Tue Dec 27 02:47:39 2005
Reserved blocks uid:  0 (user root)
Reserved blocks gid:  0 (group root)
First inode:  11
Inode size:   128
Journal inode:8
Journal backup:   inode blocks


The label (volume name) is there. The

where did my ata drives go?

2010-09-09 Thread Rick Pasotto
Last weekend I did a bunch of updates (to testing) and rebooted after
almost six months.

Somewhere in that process the ata drive got UUIDs assigned to the
partitions and /etc/fstab was modified.

Now they won't mount.

I used to mount /dev/hdb1 and /dev/hdb5 but those don't exist anymore.
Using tune2fs I can access them as /dev/sdc1 and /dev/sdc5. The UUIDs
match what got written to /etc/fstab. I was able to assign labels to
them using tune2fs but they still refuse to mount.

How can I access those partitions?


-- 
Thus, there is not a single ill afflicting the nation for which
the government has not voluntarily made itself responsible. Is it
astonishing, then, that each little twinge should be a cause of
revolution? -- Frédéric Bastiat (1801-1850)
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100910025830.gc28...@niof.net



changes to cron

2010-09-07 Thread Rick Pasotto
I updated many packages yesterday, including cron. Now I'm getting
messages like this from logcheck:

Sep  7 15:20:03 niof /USR/SBIN/CRON[20375]: (CRON) error (grandchild #20376 
failed with exit status 1)
Sep  7 15:23:01 niof /USR/SBIN/CRON[20492]: (CRON) error (grandchild #20493 
failed with exit status 1)
Sep  7 15:24:01 niof /USR/SBIN/CRON[20533]: (CRON) error (grandchild #20538 
failed with exit status 1)
Sep  7 15:24:02 niof /USR/SBIN/CRON[20532]: (CRON) error (grandchild #20540 
failed with exit status 1)
Sep  7 15:24:02 niof /USR/SBIN/CRON[20534]: (CRON) error (grandchild #20539 
failed with exit status 1)
Sep  7 15:24:02 niof /USR/SBIN/CRON[20535]: (CRON) error (grandchild #20537 
failed with exit status 1)
Sep  7 15:24:02 niof /USR/SBIN/CRON[20536]: (CRON) error (grandchild #20541 
failed with exit status 1)
Sep  7 15:30:03 niof /USR/SBIN/CRON[20922]: (CRON) error (grandchild #20923 
failed with exit status 1)

I have no idea what these error messages are trying to tell me. Is there
something wrong with my crontab?

-- 
"Patriotism is an arbitrary veneration of real estate above principles."
-- George Jean Nathan
    Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100907201339.gd15...@niof.net



Re: linux twitter client that does search?

2010-07-09 Thread Rick Pasotto
On Fri, Jul 09, 2010 at 08:49:14PM -0400, Noah Meyerhans wrote:
> On Fri, Jul 09, 2010 at 02:45:36PM -0400, Rick Pasotto wrote:
> > Is there a twitter client that will give me recent tweets containing a
> > certain hashtag? The twitter site itself has become unusable because of
> > that scrolling marquee.
> 
> I maintain choqok for debian.  It's a good, featureful client for
> twitter and identi.ca.  It's written for KDE, but should work elsewhere.
> It's not in lenny, but is in testing and unstable.

Looks like that would do the job but anytime I try to install/upgrade a
kde program, aptitude wants to remove half the kde system. I just gave
aptitude a list of all the kde programs available for upgrade and the
result was '95 packages upgraded, 153 newly installed, 56 to remove'
including the removal of kde-core.

Maybe one of these days I'll feel comfortable letting aptitude do what
it wants with kde.

-- 
"How is it that hardly any religion has looked at science and concluded,
 'This is better than we thought! The Universe is much bigger than our
 prophets said, grander, more subtle, more elegant'? Instead they say,
 'No, no, no! My God is a little god, and I want him to stay that way.'"
-- Carl Sagan:
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100710020606.gc7...@niof.net



linux twitter client that does search?

2010-07-09 Thread Rick Pasotto
Is there a twitter client that will give me recent tweets containing a
certain hashtag? The twitter site itself has become unusable because of
that scrolling marquee.

-- 
"Imagine a world with no religion. Imagine no suicide bombers, no 9/11,
 no 7/7, no Crusades, no Indian partition, no Israeli/ Palestinian wars,
 no Serb/ Croat/ Muslim massacres, no persecution of Jews as
 'Christ-killers', no Northern Ireland troubles, no honour killings, no
 shiny bouffant-haired televangelists fleecing gullible people of their
 money. Imagine no Taliban to blow up ancient statues, no public
 beheadings of blasphemers, no flogging of female skin for the crime of
 showing an inch of it." -- Richard Dawkins
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100709184536.gy7...@niof.net



seamonkey

2010-07-08 Thread Rick Pasotto
I just upgraded to seamonkey 2.0.5 from 1.1.17. Now when I
ctl-middle-click on a url (in mutt) I get my start page instead of the
requested site in the new browser window.

Is this a bug in seamonkey? 

It's very annoying to have to cut-n-paste the url when I used to be able
to go directly to it.

-- 
"The government consists of a gang of men exactly like you and
 me.  They have, taking one with another, no special talent for
 the business of government; they have only a talent for getting
 and holding office." --- H. L. Mencken
    Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100708150536.gg7...@niof.net



Re: colorized ls

2010-05-09 Thread Rick Pasotto
On Sun, May 09, 2010 at 04:44:08PM -0500, Ron Johnson wrote:
> On 05/09/2010 03:26 PM, Rick Pasotto wrote:
> >What did I update recently that caused me to lose ls coloring with this
> >error message:
> 
> What exactly (Stable, Testing, Sid) did you update, and what command
> did you use to update it?

Testing. aptitude.

> >ls: unrecognized prefix: hl
> >ls: unparsable value for LS_COLORS environment variable
> >
> >How should I fix it?

-- 
"I saw that the State was half-witted ... and I lost all my
remaining respect for it ..." -- Henry David Thoreau
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100509214856.gd26...@niof.net



Re: colorized ls

2010-05-09 Thread Rick Pasotto
On Sun, May 09, 2010 at 10:33:23PM +0200, d.sastre.med...@gmail.com wrote:
> On Sun, May 09, 2010 at 04:26:36PM -0400, Rick Pasotto wrote:
> > What did I update recently that caused me to lose ls coloring with this
> > error message:
> > 
> > ls: unrecognized prefix: hl
> > ls: unparsable value for LS_COLORS environment variable
> > 
> > How should I fix it?
> 
> If you are using system-wide definitions, edit /etc/dir_colors and
> comment the offending line. There should be one.

There is no such file /etc/dir_colors. According to the man page, debian
does not use and ignores both /etc/dir_colors and ~/.dir_colors.

> Also, check the manpage `man dircolors'. You might want to rebuild the
> definitions. Backup /etc/dir_colors before. Better yet, does
> `dircolors -b' contain the offending line causing the error?

'dircolors' uses a precompiled database. It evidently changed recently.
It's in coreutils and that did upgrade today but the changelog doesn't
say anything about it.

Why was it changed? How does one discover info like that?

> I'm guessing you use bash.

Yes.

-- 
The difficulties which I meet with in order to realize my existence are
precisely what awaken and mobilize my activities, my capacities.
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100509211627.gc26...@niof.net



colorized ls

2010-05-09 Thread Rick Pasotto
What did I update recently that caused me to lose ls coloring with this
error message:

ls: unrecognized prefix: hl
ls: unparsable value for LS_COLORS environment variable

How should I fix it?

-- 
"I am only one. But I am one. I cannot do everything but I can do
 something. And I will not let what I cannot do interfere with what
 I can do." -- Edward E. Hule
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100509202636.gb26...@niof.net



Re: aptitude stuck

2010-05-03 Thread Rick Pasotto
On Fri, Apr 30, 2010 at 07:07:21AM -0700, Daniel Burrows wrote:
> On Fri, Apr 30, 2010 at 09:31:28AM -0400, Rick Pasotto  was 
> heard to say:
> > Today's run of 'aptitude -s safe-upgrade' had been running for over an
> > hour and was using half my memory when I killed it. The status line was:
> > 
> > open: 107756; closed: 119093; defer: 107181; conflict: 167
> > 
> > There's evidently some situation it can't resolve. How can I figure out
> > what package(s) cause the problem?
> 
>   Which version of aptitude do you have?
> 
>   You could add "--log-resolver --file-file=aptitude.log" and send me the
> first few megabytes of output.
> 
>   Also, can you add "-o 
> aptitude::cmdline::resolver-dump=aptitude-resolver.dump"
> to the command-line and then send me the file 'aptitude-resolver.dump'?

I did send this to you but have not heard back. Just checking if I need
to resend it.

In the meantime, I'm using "apt-get -s upgrade" to generate a list of
potential upgrade packages and then updating them with aptitude.

-- 
"Words are, of course, the most powerful drug used by mankind."
-- Rudyard Kipling
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100503172355.gr30...@niof.net



aptitude stuck

2010-04-30 Thread Rick Pasotto
Today's run of 'aptitude -s safe-upgrade' had been running for over an
hour and was using half my memory when I killed it. The status line was:

open: 107756; closed: 119093; defer: 107181; conflict: 167

There's evidently some situation it can't resolve. How can I figure out
what package(s) cause the problem?

-- 
If tyranny and oppression come to this land, it will be in the guise
of fighting a foreign enemy. -- James Madison
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100430133128.ga30...@niof.net



aptitude and held packages

2010-04-26 Thread Rick Pasotto
I just upgraded apt and aptitude to the latest testing version. Although
'aptitude -s safe-upgrade' tells me that '172 not upgraded' it no longer
lists them. Is this a bug or an intentional change?

-- 
"Pay less attention to what men say. Just watch what they do."
    -- Dale Carnegie
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100426142906.gl17...@niof.net



Re: playing/ripping audio cds

2010-03-25 Thread Rick Pasotto
On Wed, Mar 24, 2010 at 07:50:55PM +0100, Ingo Kasten wrote:
> Sorry for just putting in another thought, maybe I am wrong:
> 
> During upgrade of the kernel and/or udev the devices are sometimes newly
> recognized. This makes udev create "new" devices , too.
> It doesn't matter as far the devices are mounted by uuid in fstab, but
> cdrom and dvd aren't mounted this way.
> So you might have a look at /etc/udev/rules.d/70-persistent-cd.rules .
> If there is listed more than one physical device with creating symlinks
> to more than one /dev/cdrom* you should rename that file and restart.
> Udev will create a new file with the correct symlinks, which your
> applications can deal with again. Can't explain it in a better way
> ;-) .

OK. Did that and got a slightly different rules file. Initial testing
was encouraging but that was just a delay in the onset of the monitor
cycling.

The grip help talks about making sure that IDE devices use SCSI
emulation as the 2.4 kernels didn't support dma for IDE. Has that
changed for the 2.6 kernels?

Just checked the archives for the grip-users mailing list and saw a post
saying that grip was no longer being maintained in debian. Further
investigation led me to cdda2wav (for which grip is evidently a front
end). Looks like I can use that directly from the command line without
any problem so that will be what I will do.

Thanks for your responses.

-- 
"Anarchism is founded on the observation that since few men are wise
enough to rule themselves, even fewer are wise enough to rule others."
-- Edward Abbey
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100325155911.ge9...@niof.net



Re: playing/ripping audio cds

2010-03-24 Thread Rick Pasotto
On Wed, Mar 24, 2010 at 12:31:33PM -0500, Ron Johnson wrote:
> On 2010-03-24 12:08, Rick Pasotto wrote:
> >On Wed, Mar 24, 2010 at 10:46:11AM -0500, Ron Johnson wrote:
> >>On 2010-03-24 09:37, Rick Pasotto wrote:
> >>>On Tue, Mar 23, 2010 at 03:39:53PM -0500, Ron Johnson wrote:
> >>>>On 2010-03-23 15:21, Rick Pasotto wrote:
> >>>>>Additional problem: I aborted the ripping because it caused the monitor
> >>>>>to turn off and then back on every few seconds. For the past few weeks
> >>>>>the monitor has been occasionally cycling off and then on but only
> >>>>>occasionally. While ripping with grip the cycling was constant.
> >>>I tried again with grip and the results were worse. The monitor cycled
> >>>off and on so fast it finally gave up and stayed off. I had to reboot.
> >>That's too weird.  Anything in syslog, dmesg or /var/log/messages?
> >
> >Thanks for reminding me. I hadn't looked. Yes, I'm getting lots of
> >errors on /dev/hda. Here are some examples:
> >
> >Mar 24 12:17:49 niof kernel: [69407.680380] VFS: busy inodes on changed 
> >media or resized disk hda
> >Mar 24 12:17:49 niof kernel: [69407.696160] VFS: busy inodes on changed 
> >media or resized disk hda
> >Mar 24 12:17:49 niof kernel: [69407.716151] VFS: busy inodes on changed 
> >media or resized disk hda
> 
> Seems like autofs isn't properly telling the kernel that media has
> changed.

Is there something that I can do about that?

> >and
> >
> >Mar 24 12:19:53 niof kernel: [69532.316244] hda: command error: status=0x51 
> >{ DriveReady SeekComplete Error }
> >Mar 24 12:19:53 niof kernel: [69532.316256] hda: command error: error=0x50 { 
> >LastFailedSense=0x05 }
> >Mar 24 12:19:53 niof kernel: [69532.316262] hda: possibly failed opcode: 0xa0
> >Mar 24 12:19:53 niof kernel: [69532.320570] end_request: I/O error, dev hda, 
> >sector 9144696
> >Mar 24 12:19:53 niof kernel: [69532.320579] __ratelimit: 505 callbacks 
> >suppressed
> >Mar 24 12:19:53 niof kernel: [69532.320585] Buffer I/O error on device hda, 
> >logical block 1143087
> >Mar 24 12:19:53 niof kernel: [69532.320596] Buffer I/O error on device hda, 
> >logical block 1143088
> >
> >Archive dvds I've burned and commercial dvds both load but then shortly
> >the monitor cyclying begins and I eject the disk as quickly as I can.
> >
> >>What kind of video do you have?  On-board?
> >
> >Yes. The Xorg.log shows: Device "KM4M-V on-board video"
> 
> Which probably shares system RAM.  I bet the busy system is somehow
> saturating the memory channel(s), thus causing the flickering.

This problem is *very* recent. Currently htop shows 465/946MB of system
RAM and only 91/1906MB of swap having been used. 

-- 
"If a thousand men were not to pay their tax bills this year, that
 would not be a violent and bloody measure, as it would be to pay
 them, and enable the State to commit violence and shed innocent
 blood. This is, in fact, the definition of a peaceable revolution,
 if any such is possible."  -- Henry David Thoreau
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100324174911.gf4...@niof.net



Re: playing/ripping audio cds

2010-03-24 Thread Rick Pasotto
On Wed, Mar 24, 2010 at 10:46:11AM -0500, Ron Johnson wrote:
> On 2010-03-24 09:37, Rick Pasotto wrote:
> >On Tue, Mar 23, 2010 at 03:39:53PM -0500, Ron Johnson wrote:
> >>On 2010-03-23 15:21, Rick Pasotto wrote:
> >>>Additional problem: I aborted the ripping because it caused the monitor
> >>>to turn off and then back on every few seconds. For the past few weeks
> >>>the monitor has been occasionally cycling off and then on but only
> >>>occasionally. While ripping with grip the cycling was constant.
> >
> >I tried again with grip and the results were worse. The monitor cycled
> >off and on so fast it finally gave up and stayed off. I had to reboot.
> 
> That's too weird.  Anything in syslog, dmesg or /var/log/messages?

Thanks for reminding me. I hadn't looked. Yes, I'm getting lots of
errors on /dev/hda. Here are some examples:

Mar 24 12:17:49 niof kernel: [69407.680380] VFS: busy inodes on changed media 
or resized disk hda
Mar 24 12:17:49 niof kernel: [69407.696160] VFS: busy inodes on changed media 
or resized disk hda
Mar 24 12:17:49 niof kernel: [69407.716151] VFS: busy inodes on changed media 
or resized disk hda

and

Mar 24 12:19:53 niof kernel: [69532.316244] hda: command error: status=0x51 { 
DriveReady SeekComplete Error }
Mar 24 12:19:53 niof kernel: [69532.316256] hda: command error: error=0x50 { 
LastFailedSense=0x05 }
Mar 24 12:19:53 niof kernel: [69532.316262] hda: possibly failed opcode: 0xa0
Mar 24 12:19:53 niof kernel: [69532.320570] end_request: I/O error, dev hda, 
sector 9144696
Mar 24 12:19:53 niof kernel: [69532.320579] __ratelimit: 505 callbacks 
suppressed
Mar 24 12:19:53 niof kernel: [69532.320585] Buffer I/O error on device hda, 
logical block 1143087
Mar 24 12:19:53 niof kernel: [69532.320596] Buffer I/O error on device hda, 
logical block 1143088

Archive dvds I've burned and commercial dvds both load but then shortly
the monitor cyclying begins and I eject the disk as quickly as I can.

> What kind of video do you have?  On-board?

Yes. The Xorg.log shows: Device "KM4M-V on-board video"

-- 
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100324170851.ge4...@niof.net



Re: playing/ripping audio cds

2010-03-24 Thread Rick Pasotto
On Tue, Mar 23, 2010 at 03:39:53PM -0500, Ron Johnson wrote:
> On 2010-03-23 15:21, Rick Pasotto wrote:
> >Something has gotten broken on my system and I don't know where to start
> >looking.
> >
> >I am running the 2.6.32-3-686 kernel and most of what's available from
> >testing.
> 
> Most?  Mixed system?

Well, yes. If apt-listbugs warns me against an update I usually don't
accept it. Also there are many updates for which aptitude wants to
remove programs I use all the time. That tells me that dependencies are
not yet fully worked out so they can wait.

> >I use a dvd+rw device for both cdroms and dvds. There is no more
> >/dev/cdrom nor /dev/dvd.
> 
> Did you reboot lately?  What udev version?

Of course. I see a new udev (151-3) showed up this morning. I haven't
installed it yet.

> >Instead there's /dev/dvd1 and /dev/dvdrw1, both
> 
> That seems to be ok.
> 
> On my system, the DVD player is /dev/sr0.  But it's been that way
> for a long time (mine, though, is SATA).
> 
> m...@haggis:/dev$ dir cd*
> lrwxrwxrwx 1 root root 3 2010-03-23 15:32:32 cdrom2 -> sr0
> lrwxrwxrwx 1 root root 3 2010-03-23 15:32:32 cdrw2 -> sr0
> 
> m...@haggis:/dev$ dir dvd*
> lrwxrwxrwx 1 root root 3 2010-03-23 15:32:32 dvd2 -> sr0
> lrwxrwxrwx 1 root root 3 2010-03-23 15:32:32 dvdrw2 -> sr0
> 
> >symlinks to /dev/hda (which is correct).
> 
> IDE drive?

Yep.

> >/cdrom symlinks to /media/cdrom which symlinks to /media/cdrom0 which is
> >an empty directory.
> 
> Right.  Only is populated when you mount something.

Does inserting an audio cd count as 'mounting' something?

> >Inserting an audio cd fires up gxine but it can't find the cd.
> >
> >I think grip can work with /dev/dvd1 since it identifies the tracks and
> >appears to be ripping them but I can't get any sound.
> 
> Do any cd devices exist?

Yes. /dev/cdrom1 and /dev/cdrw1.

> >Additional problem: I aborted the ripping because it caused the monitor
> >to turn off and then back on every few seconds. For the past few weeks
> >the monitor has been occasionally cycling off and then on but only
> >occasionally. While ripping with grip the cycling was constant.

I tried again with grip and the results were worse. The monitor cycled
off and on so fast it finally gave up and stayed off. I had to reboot.

> >Any ideas as to what's going on and more importantly how to fix it?

-- 
"There is no medicine like hope, no incentive so great, and no tonic so
 powerful as expectation of something tomorrow." -- Orison Marden
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100324143741.gd4...@niof.net



playing/ripping audio cds

2010-03-23 Thread Rick Pasotto
Something has gotten broken on my system and I don't know where to start
looking.

I am running the 2.6.32-3-686 kernel and most of what's available from
testing.

I use a dvd+rw device for both cdroms and dvds. There is no more
/dev/cdrom nor /dev/dvd. Instead there's /dev/dvd1 and /dev/dvdrw1, both
symlinks to /dev/hda (which is correct).

/cdrom symlinks to /media/cdrom which symlinks to /media/cdrom0 which is
an empty directory.

Inserting an audio cd fires up gxine but it can't find the cd.

I think grip can work with /dev/dvd1 since it identifies the tracks and
appears to be ripping them but I can't get any sound.

Additional problem: I aborted the ripping because it caused the monitor
to turn off and then back on every few seconds. For the past few weeks
the monitor has been occasionally cycling off and then on but only
occasionally. While ripping with grip the cycling was constant.

Any ideas as to what's going on and more importantly how to fix it?

-- 
"One of the symptoms of an approaching nervous breakdown is the belief that
 one's work is terribly important." -- Bertrand Russell
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100323202146.go5...@niof.net



which kernel

2010-03-21 Thread Rick Pasotto
Recently the 2.6.32-3-686 kernel was posted to testing. When it was
added to the grub menu it was put *after* the 2.6.32-trunk-686 kernel.

Which is the newer kernel? If 2.6.32-3 is newer why was it placed in
second position? 

-- 
"All men recognize the right of revolution; that is, the right to
 refuse allegiance to and to resist, the government, when its tyranny
 or its inefficiency are great and unendurable." -- Henry David Thoreau
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100321234449.ga4...@niof.net



Re: upgrade to testing (Gnome): audio playback borked

2010-01-25 Thread Rick Pasotto
On Sun, Jan 24, 2010 at 11:48:36PM -0800, Jim McCloskey wrote:
> 
> After an upgrade to Debian testing this weekend (jan 23, 2010), audio
> playback on my desktop GNOME machine was left in a compromised state.

What kernel are you using? Sound didn't work for me using 2.6.30 but
worked fine with 2.6.26 and 2.6.32.

-- 
"In a civilized society, all crimes are likely to be sins, but most sins
are not and ought not to be treated as crimes." -- Geoffrey Fisher, 1959
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



sound problem

2010-01-15 Thread Rick Pasotto
Today, after 146 days, I finally got around to rebooting using the
2.6.30-2-686 kernel. This enables the udev upgrade *but* I get no sound.
When I reboot using the 2.6.26-2-686 kernel sound works as it's supposed
to but the udev upgrade will have to wait.

Why would I get no sound with 2.6.30-2-686? What logfile can I look at
that might give a clue?

-- 
"Advertising may be described as the science of arresting
 human intelligence long enough to get money from it."
-- Stephen Butler Leacock
    Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



what happened to my desktop?

2010-01-10 Thread Rick Pasotto
I update to testing daily. Recently my desktop icons changed images
(they're all clipboards(?) now) but more importantly *none* of them work
anymore. I now get a requester with several options and when I select
'Run' it simply open gedit on the program's .desktop file.

What's going on?

-- 
"Civilization is just a temporary failure of entropy."
    -- Christine Nelson
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Handle each file at a time in loop?

2010-01-04 Thread Rick Pasotto
On Tue, Jan 05, 2010 at 02:00:31AM +0530, Foss User wrote:
> $ ls
> convert.sh   Track 1.wav  Track 3.wav  Track 5.wav  Track 7.wav  Track 9.wav
> Track 1.mp3  Track 2.wav  Track 4.wav  Track 6.wav  Track 8.wav
> 
> So, you can see there are file names with spaces in them. I have
> written a script like this to handle one file name at a time.
> 
> for file in `ls *.wav`
> do
> echo $file
> done
> 
> Of course, this doesn't do what I need. The names are split wherever
> there are spaces.

The ls is a totally unnecessary extra process and is what is causing
your problem.

for file in *.wav
do
echo "$file"
done

The quote marks around the variable ensure it is treated as a unit even
if it contains spaces.

-- 
The demands of the socialists raise another question, which I have
often addressed to them, and to which, as far as I know, they have
never replied. Since the natural inclinations of mankind are so
evil that its liberty must be taken away, how is it that the
inclinations of the socialists are good? Are not the legislators
and their agents part of the human race? Do they believe
themselves moulded from another clay than the rest of mankind?
-- Frédéric Bastiat (1801-1850)
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



dependency-based booting

2009-12-20 Thread Rick Pasotto
I tried updating sysv-rc today and have cleaned up most of the problems
that were preventing the update. The following packages still lack
LSB-Init information:

libdevmapper1.02
webmin
dhcp

None of these is listed on
http://lintian.debian.org/reports/Tinit.d-script-missing-lsb-section.html

How do I correctly update these init scripts?

-- 
"Among those whom I like or admire, I can find no common denominator,
 but among those whom I love, I can:  all of them make me laugh."
-- W. H. Auden
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Re (2): new udev

2009-12-16 Thread Rick Pasotto
On Wed, Dec 16, 2009 at 10:15:30AM -0800, peasth...@shaw.ca wrote:
> Folk,
> 
> Observations from bystander.  
> 
> Date: Tue, 15 Dec 2009 16:21:28 -0500 Brian Nelson wrote,
> > Some of the .rules files on your system are using 
> > a deprecated syntax, ...
> 
> The message in syslog has a rather obscure way of 
> putting that.  Can't a syslog message be as direct 
> as Brian has stated it?
> 
> > ... and also your kernel isn't configured to udev's liking. 
> 
> Non-obvious details, easily be clarified, are the location 
> & use of the CONFIG_SYSFS_DEPRECATED option.  Where is it?  
> Is it consulted when the kernel is compiled or or when the 
> kernel is running?  
> 
> Also, there is no sense in every one of thousands of users 
> world-wide spending time updating rules.  One of the benefits 
> of Debian is that a population can benefit from effort of 
> an individual.  So most users should wait for maintainers 
> to update the .rules files.

Thank you.

As a user I certainly did not create those rules -- in fact I don't even
know where they are -- so why should I be expected to modify them? Maybe
these rules will be updated automatically when I next reboot -- hence my
question.

If the new udev package requires a particular version of the kernel then
*that* should be pointed out.

At minimum there should be something in apt-listmessages.

-- 
"I'm so optimistic I'd go after Moby Dick in a row boat and take the
 tartar sauce with me." -- Zig Zigler
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



new udev

2009-12-14 Thread Rick Pasotto
The udev module in testing got updated this morning. As a result I got
these lines in my syslog:

Dec 14 09:51:02 niof udevd[15399]: SYSFS{}= will be removed in a future udev 
version, please use ATTR{}= to match the eventdevice, or ATTRS{}= to match a 
parent device, in /etc/udev/rules.d/z60_libchipcard-tools.rules:50
Dec 14 09:51:02 niof udevd[15404]: udev: missing sysfs features; please update 
the kernel or disable the kernel's
CONFIG_SYSFS_DEPRECATED option; udev may fail to work correctly
Dec 14 09:51:17 niof kernel: [10156324.788489] udev: starting version 149
Dec 14 09:51:17 niof kernel: [10156324.788497] udev: missing sysfs features; 
please update the kernel or disable the
kernel's CONFIG_SYSFS_DEPRECATED option; udev may fail to work correctly

The first line was repeated multiple times, once for each line in
/etc/udev/rules.d/z60_libchipcard-tools.rules.

What are these messages telling me? Will I have a problem when I reboot?
What do I need to do?

'uname -a' gives:

Linux niof.net 2.6.26-2-686 #1 SMP Fri Aug 14 01:27:18 UTC 2009 i686 GNU/Linux

-- 
"The means of defense against foreign danger historically have become
 the instruments of tyranny at home." -- James Madison  
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



rsync, beagle, lsetxattr

2009-12-11 Thread Rick Pasotto
I used to have beagle installed but have now purged it. When I run rsync
there are many error messages of the following type:

rsync: rsync_xal_set: 
lsetxattr("home/rick/12-05-01.txt","user.Beagle.AttrTime") failed: Operation 
not supported (95)
rsync: rsync_xal_set: 
lsetxattr("home/rick/12-05-01.txt","user.Beagle.Fingerprint") failed: Operation 
not supported (95)
rsync: rsync_xal_set: lsetxattr("home/rick/12-05-01.txt","user.Beagle.MTime") 
failed: Operation not supported (95)
rsync: rsync_xal_set: lsetxattr("home/rick/12-05-01.txt","user.Beagle.Uid") 
failed: Operation not supported (95)

How can I fix these files so I no longer get these messages?

rsync is being run as root so it shouldn't be a permissions problem.

Where and what are these settings?

-- 
"If you want to be enthusiastic, act enthusiastic." -- Dale Carnegie
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



mutt help (mailcap)

2009-11-19 Thread Rick Pasotto
Mutt is no longer invoking links for text/html messages. All I get is a
text dump of the raw html.

My ~/.muttrc file has these lines:

set implicit_autoview=yes
set mailcap_path="~/.mailcap:/etc/mailcap"

My ~/.mailcap file has this line:

text/html; /usr/bin/links '%s'; needsterminal; description=HTML Text; 
nametemplate=%s.html

What else is needed?

-- 
"Most of the presidential candidates' economic packages involve 'tax breaks,'
 which is when the government, amid great fanfare, generously decides not to
 take quite so much of your income. In other words, these candidates are
 trying to buy your votes with your own money." -- Dave Barry
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: sound problems (SOLVED)

2009-11-10 Thread Rick Pasotto
On Mon, Nov 09, 2009 at 12:24:18PM -0500, Rick Pasotto wrote:
> On Fri, Nov 06, 2009 at 07:20:11PM +0100, Emanoil Kotsev wrote:
> > Rick Pasotto wrote:
> > 
> > > I'm mostly up-to-date with testing and I remember that some sound
> > > modules were recently updated. For the most part sound is still working
> > > fine but for some formats it's not. With m4a files and some wmv files
> > > all I get is sporadic static. mp3 and flv and avi files are all fine.
> > > 
> > > Has anyone else experienced this? What module could be the culprit?
> > 
> > w32codecs
> 
> There are no bug reports filed against that package. I downgraded to the
> prvious version but it didn't make any difference.
> 
> My *major* problem at the moment is with wma files. For several years
> I've been recording meetings with my Olympus voice recorder. It creates
> wma files. Up until last week I've been able to use ffmpeg to convert
> them to mp3 so I could further process them in audacity. Now all I get
> is static.
> 
> What could have gone wrong? What else can I use to convert from wma to mp3?

The bug has been fixed. The new packages are currently in unstable.

-- 
"The Constitution is not a panacea for every blot upon the public
 welfare. Nor should the Court, ordained as a judicial body, be thought
 of as a general haven for reform movements." -- John Marshall Harlan, 1964
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: auto vs user installed

2009-11-09 Thread Rick Pasotto
On Mon, Nov 09, 2009 at 11:13:45AM -0600, Boyd Stephen Smith Jr. wrote:
> On Monday 09 November 2009 10:37:29 Rick Pasotto wrote:
> 
> > and some with '{u}' meaning user installed.
> 
> No.  '{u}' indicates that the package is "unused".  This means that the 
> package is both automatically installed, and there is currently no package 
> that depends on it installed.

Ah! Thanks for correcting my confusion.

> Both apt-get and aptitude have a mode that removes all unused packages.  I 
> thought aptitude's default behavior was to remove these as well.

I suspect they *become* unused as other packages are upgraded.

-- 
"I do not hesitate to say, that those who call themselves Abolitionists
 should at once effectually withdraw their support, both in person and
 property, from the government of Massachusetts, and not wait till they
 constitute a majority of one, before they suffer the right to prevail
 through them."  -- Henry David Thoreau
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: sound problems

2009-11-09 Thread Rick Pasotto
On Fri, Nov 06, 2009 at 07:20:11PM +0100, Emanoil Kotsev wrote:
> Rick Pasotto wrote:
> 
> > I'm mostly up-to-date with testing and I remember that some sound
> > modules were recently updated. For the most part sound is still working
> > fine but for some formats it's not. With m4a files and some wmv files
> > all I get is sporadic static. mp3 and flv and avi files are all fine.
> > 
> > Has anyone else experienced this? What module could be the culprit?
> 
> w32codecs

There are no bug reports filed against that package. I downgraded to the
prvious version but it didn't make any difference.

My *major* problem at the moment is with wma files. For several years
I've been recording meetings with my Olympus voice recorder. It creates
wma files. Up until last week I've been able to use ffmpeg to convert
them to mp3 so I could further process them in audacity. Now all I get
is static.

What could have gone wrong? What else can I use to convert from wma to mp3?

-- 
"Don't worry if you are having a bad day, It will pass. Don't worry if
 you are having a good day, it will pass." -- John Simone
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



auto vs user installed

2009-11-09 Thread Rick Pasotto
Aptitude marks some packages with '{a}' meaning automatically (or is it
aptitude?) installed and some with '{u}' meaning user installed.

Is it the case that some packages that were in fact automatically
installed are marked as user installed because they were installed
before aptitude started recording that info?

I'm seeing some packages marked '{u}' that I'm sure I never would have
asked for on my own.

-- 
"The power which a multiple millionaire, who may be my neighbor and my
 employer, has over me is very much less than that which the petit
 functionnaire possesses who wields the coercive power of the state..."
-- Friedrich Hayek
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



sound problems

2009-11-04 Thread Rick Pasotto
I'm mostly up-to-date with testing and I remember that some sound
modules were recently updated. For the most part sound is still working
fine but for some formats it's not. With m4a files and some wmv files
all I get is sporadic static. mp3 and flv and avi files are all fine.

Has anyone else experienced this? What module could be the culprit?

-- 
"Nothing is worth more than this day." -- Johann Goethe
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: rred segfault during aptitude update?

2009-11-04 Thread Rick Pasotto
On Wed, Nov 04, 2009 at 08:56:25AM -0500, Patrick Wiseman wrote:
> Hi:
> 
> This morning, I found my X screen frozen right after update manager
> had done its daily update.  I was able to ctl-alt-bksp out of X.  I
> ran aptitude from the command line, and it failed, reporting that
> method rred had segfaulted.  This is more a heads up than anything; I
> guess I'll try again later.

A google search when I got this message this morning said that the cause
was a corrupt diff file. You can temporarily run

aptitude update -o Acquire::Pdiffs=false

to get the entire files instead of just the diffs.

-- 
Do not bite at the bait of pleasure, till you know there is no hook
beneath it. -- Thomas Jefferson
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Does everything depend on everything?

2009-10-30 Thread Rick Pasotto
Today dpkg and dpkg-dev showed up as being held back. When I ran

aptitude -s install dpkg dpkg-dev

the result was that kdebase, kicker, kpersonalizer, ksplash, and
libkonq5 became BROKEN.

Something is wrong somewhere if updating required core packages breaks
optional packages. 

-- 
"Life is like an over long drama through which we sit being nagged
 by the vague memories of having read the reviews." -- John Updike
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



what happened to courier?

2009-09-13 Thread Rick Pasotto
So yesterday, after many days of no updates, suddenly there were 722
updates for testing. My practice is to do them in small batches -- I've
got it down to 195 remaining.

At least one of those batches involved fonts.

Today I fired up a python script that I wrote many years ago that
specified 'courier' as a font because I needed a monospace font. That
program now uses some proportional font. (Actually I've changed the code
to specify 'luxi mono' so at least I've got a mono font.)

Just now I ran 'lp somefile.txt' and again, the font used was something
much bigger than the 'courier 10' I've been getting forever.

How do I get my courier back?

Why do basic default settings get changed?

-- 
"The dichotomy between personal liberties and property rights is a false
 one. Property does not have rights. People have rights. ... In fact, a
 fundamental interdependence exists between the personal right to liberty
 and the personal right to property." -- Potter Stewart, U.S. Supreme Court
 Justice, Lynch v. Household Finance Corp., 1972
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



device names?

2009-09-13 Thread Rick Pasotto
In the past I've successfully used:

cdrdao write --device ATA:0,0,0 --driver generic-mmc vcd.toc

to create an SVCD disk. Now, however, this gives the message:

Error trying to open /dev/hdb exclusively (Device or resource busy)... retrying 
in 1 second

This is really strange since /dev/hdb is a 40G hard disk. The dvd drive
is /dev/hda.

'wodim -scanbus' gives:

scsibus1000:
1000,0,0 10) 'TOSHIBA ' 'CD/DVDW SD-R5372' 'TU53' Removable CD-ROM
1000,1,0 11) *
1000,2,0 12) *
1000,3,0 13) *
1000,4,0 14) *
1000,5,0 15) *
1000,6,0 16) *
1000,7,0 17) *

However using

cdrdao write --device ATA:1000,0,0 --driver generic-mmc vcd.toc

gives this message:

ERROR: Cannot open SCSI device 'ATA:1000,0,0': Illegal value for busno, target 
or lun '1000,0,0'

What device specification do I need to use?

-- 
Hatred is a feeling which leads to the extinction of values.
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: apache on debian

2009-09-06 Thread Rick Pasotto
On Sun, Sep 06, 2009 at 03:54:52PM -0400, S. Fishpaste wrote:
> On Wed, 2 Sep 2009 11:57:10 -0400, Rick Pasotto in gmane.linux.debian.user 
> wrote:
> > Where is the best place for me to ask questions about running apache on
> > my debian system? For the most part everything is working fine but there
> > are a few anomolies I'd like to get cleared up.
> 
> Probably here. What's the issue(s) ?

I thought I had but evidently I hit 'r' instead of 'L' so it didn't go to the 
list.

There are three but maybe two of them are related.

1) Recently I've started to get a lot of this error:

 ALERT - canary mismatch on efree() - heap overflow detected (attacker
 '64.12.116.75', file '/var/www/org/acc-tm/index.php')

Evidently all this is really telling me is that there is an error in one
of the apache modules. There seems to be controversy as to whether this
is really useful information since there is no clue as to *which* module
is causing the problem.

2) *Sometimes* a page is not passed through the php interpreter so the
browser gets a php document that it doesn't know what to do with.
Canceling that error message requester and immediately trying the page
again works as it should.

The above two may be related. The first started a few weeks ago and the
occurance of the second significantly increased recently though it did
rarely happen before.

3) When I (re)start apache I get the warning:

apache2: Could not reliably determine the server's fully qualified
domain name, using niof.net for ServerName

I have several virtual sites installed, including niof.net. This error
doesn't seem to be causing a problem but I'd like to get rid of the
message and I don't know which config lines conflict or are wrong.

Can you help?

BTW, I keep up2date using 'testing'.

-- 
The most successful war seldom pays for its losses.
-- Thomas Jefferson
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



apache on debian

2009-09-02 Thread Rick Pasotto
Where is the best place for me to ask questions about running apache on
my debian system? For the most part everything is working fine but there
are a few anomolies I'd like to get cleared up.

-- 
"A man's liberties are none the less aggressed upon because those who
 coerce him do so in the belief that he will be benefitted."
-- Herbert Spencer, 1850
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



canary mismatch on efree()

2009-08-19 Thread Rick Pasotto
I installed the last batch of php5 testing updates on 8/17. Ever since
I've been getting this error:

suhosin[7782]: ALERT - canary mismatch on efree() - heap overflow detected

The php5-suhosin package doesn't have any bug reports so the problem is
evidently in some other package.

Has this been reported and if so where? Do I need to worry about it?

-- 
"I saw that the State was half-witted ... and I lost all my
 remaining respect for it ..." -- Henry David Thoreau
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: sound volume went waaaay low

2009-08-18 Thread Rick Pasotto
On Mon, Aug 17, 2009 at 07:49:26AM +0800, paragasu wrote:
> I also have the same problem. Still looking for solutions..
> 
> On 8/17/09, Rick Pasotto  wrote:
> > Had to reboot today (powerfailure) and now the sound volume is so low it
> > can barely be heard. I keep current with testing so I'm sure many new
> > updates took effect with the reboot (including the kernel, it's now
> > 2.6.30).
> >
> > What would people suggest to make the sound hearable? All volume
> > controls are set to max. Any particular program likely to have caused
> > the change?

I rebooted using the 2.6.26 kernel and my sound is back to full volume.
It may have something to do with pulseaudio. With the 2.6.30 kernel I
was getting this error in syslog:

 pulseaudio[5949]: module-console-kit.c: GetUnixUser() call failed:
 org.freedesktop.DBus.Error.UnknownMethod: Method "GetUnixUser" with
 signature "" on interface "org.freedesktop.ConsoleKit.Session" doesn't
 exist

Also, when trying to play an audio cd I got the following errors in syslog:

Aug 18 15:41:47 niof pulseaudio[5949]: ratelimit.c: 3 events suppressed
Aug 18 15:41:47 niof pulseaudio[5949]: alsa-sink.c: Increasing wakeup watermark 
to 30.00 ms
Aug 18 15:41:47 niof pulseaudio[5949]: alsa-sink.c: Increasing wakeup watermark 
to 40.00 ms
Aug 18 15:42:03 niof pulseaudio[5949]: alsa-sink.c: Increasing wakeup watermark 
to 50.00 ms
Aug 18 15:42:03 niof pulseaudio[5949]: alsa-sink.c: Increasing wakeup watermark 
to 60.00 ms
Aug 18 15:42:19 niof pulseaudio[5949]: alsa-sink.c: Increasing wakeup watermark 
to 70.00 ms
Aug 18 15:42:19 niof pulseaudio[5949]: alsa-sink.c: Increasing wakeup watermark 
to 80.00 ms
Aug 18 15:42:35 niof pulseaudio[5949]: alsa-sink.c: Increasing minimal latency 
to 1.00 ms
Aug 18 15:42:35 niof pulseaudio[5949]: alsa-sink.c: Increasing minimal latency 
to 2.00 ms
Aug 18 15:42:55 niof pulseaudio[5949]: alsa-sink.c: Increasing minimal latency 
to 4.00 ms
Aug 18 15:42:55 niof pulseaudio[5949]: alsa-sink.c: Increasing minimal latency 
to 8.00 ms
Aug 18 15:43:11 niof pulseaudio[5949]: alsa-sink.c: Increasing minimal latency 
to 16.00 ms
Aug 18 15:43:11 niof pulseaudio[5949]: alsa-sink.c: Increasing minimal latency 
to 26.00 ms
Aug 18 15:43:27 niof pulseaudio[5949]: alsa-sink.c: Increasing minimal latency 
to 36.00 ms
Aug 18 15:43:43 niof pulseaudio[5949]: alsa-sink.c: Increasing minimal latency 
to 46.00 ms
Aug 18 15:43:59 niof pulseaudio[5949]: alsa-sink.c: Increasing minimal latency 
to 56.00 ms
Aug 18 15:43:59 niof pulseaudio[5949]: alsa-sink.c: Increasing minimal latency 
to 66.00 ms
Aug 18 15:44:15 niof pulseaudio[5949]: alsa-sink.c: Increasing minimal latency 
to 76.00 ms
Aug 18 15:44:15 niof pulseaudio[5949]: alsa-sink.c: Increasing minimal latency 
to 86.00 ms
Aug 18 15:44:31 niof pulseaudio[5949]: alsa-sink.c: Increasing minimal latency 
to 96.00 ms
Aug 18 15:44:31 niof pulseaudio[5949]: alsa-sink.c: Increasing wakeup watermark 
to 85.99 ms
Aug 18 15:44:47 niof pulseaudio[5949]: ratelimit.c: 137 events suppressed
Aug 18 15:44:47 niof pulseaudio[5949]: alsa-sink.c: Increasing minimal latency 
to 106.00 ms

-- 
"As empty vessels make the loudest sound, so they that have
 the least wit are the greatest blabbers." -- Plato
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



inserting audio disk runs gxine video

2009-08-18 Thread Rick Pasotto
In addition to my sound being so faint that I can barely hear it, I just
inserted a regular audio disk into the cd/dvd drive and it caused gxine
to run and start playing one of the videos on my hard drive!

Whaaat???

'grip' properly displays the tracks but I can't get any volume.

-- 
"In matters of principle, stand like a rock. 
 In matters of taste, swim with the current." --- Thomas Jefferson
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



sound volume went waaaay low

2009-08-16 Thread Rick Pasotto
Had to reboot today (powerfailure) and now the sound volume is so low it
can barely be heard. I keep current with testing so I'm sure many new
updates took effect with the reboot (including the kernel, it's now
2.6.30).

What would people suggest to make the sound hearable? All volume
controls are set to max. Any particular program likely to have caused
the change?

-- 
"We have rights, as individuals, to give as much of our own money as
 we please to charity; but as members of Congress we have no right so
 to appropriate a dollar of public money." -- David Crockett
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: can I use ext4 now?

2009-07-29 Thread Rick Pasotto
On Wed, Jul 29, 2009 at 05:16:34PM -0400, Clemens Eisserer wrote:
> As far as I know 2.6.27 included stable ext4 support.

Is there a debian package? 'apt-cache policy linux-image-686' shows only
2.6.30 in unstable and 2.6.26+17+lenny1 in testing.

-- 
"Isn't it nice that people who prefer Los Angeles to
 San Francisco live there?" -- Herb Caen
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



can I use ext4 now?

2009-07-29 Thread Rick Pasotto
I just got a new 1tb sata drive and formated it and then created a
filesystem with 'mkfs.ext4 /dev/sdc1'. This completed without errors but
evidently 'mount' doesn't know about ext4. The command I tried was:

mount -t ext4 -o nodelalloc /dev/sdc1 /s3

I'm running 'testing' and my kernel is:

Linux niof.net 2.6.26-2-686 #1 SMP Sun Jun 21 04:57:38 UTC 2009 i686 GNU/Linux

Should I just use ext3 for now and then convert the fs to ext4 when the
2.6.30 comes out of unstable?

-- 
"Develop success from failures. Discouragement and failure are two of
 the surest stepping stones to success." -- Dale Carnegie
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: aptitude wants to remove 'locate'

2009-06-14 Thread Rick Pasotto
On Sun, Jun 14, 2009 at 07:48:41PM +0200, Sven Joachim wrote:
> On 2009-06-14 19:13 +0200, Rick Pasotto wrote:
> 
> > 'dlocate' now shows in the update list for 'aptitude -s safe-upgrade'
> > and when I try 'aptitude install dlocate' I'm told that 'locate' will be
> > removed.
> 
> This is because locate is marked as automatically installed, and the old
> dlocate is the only package depending on it.  The new dlocate has
> dropped this dependency, so locate becomes unused.
> 
> > However, when I enter 'aptitude why-not locate' I'm told "Unable to find
> > a reason to remove locate."
> 
> Because the installed version of dlocate still depends on it.  Try 
> "aptitude why locate".
> 
> If you want to keep the locate package, just use
> "aptitude unmarkauto locate".  However, I recommend to switch to mlocate
> which is standard in Lenny and newer.  See the mlocate package
> description for its advantages over findutils' locate.

Thank you. I now understand.

'mlocate' was already installed but I had overlooked the line about
/usr/bin/locate using /etc/alternatives to actually point to mlocate.

Did the 'locate' database get purged when 'locate' was removed?
'mlocate' stores different info so it uses its own.

-- 
"A doctor can bury his mistakes but an architect can only
 advise his client to plant vines." -- Frank Lloyd Wright
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



aptitude wants to remove 'locate'

2009-06-14 Thread Rick Pasotto
'dlocate' now shows in the update list for 'aptitude -s safe-upgrade'
and when I try 'aptitude install dlocate' I'm told that 'locate' will be
removed.

However, when I enter 'aptitude why-not locate' I'm told "Unable to find
a reason to remove locate."

Looking at the depends, conflicts, and replaces lines I can find nothing
to indicate that upgrading 'dlocate' involves removing 'locate'.

Could someone explain what's going on?

Thanks.

-- 
"I will persist until I succeed. I was not delivered into this world in
 defeat, nor does failure course in my veins. I am not a sheep waiting to
 be prodded by my shepherd. I am a lion and I refuse to talk, to walk, to
 sleep with the sheep. The slaughterhouse of failure is not my destiny. I
 will persist until I succeed." -- OG Mandino
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



mysql and openoffice

2009-05-20 Thread Rick Pasotto
I seldom have need for openoffice but I'm thinking I'll be wanting to do
some mailmerging. So I fire up openoffice and select New-Database and
try to establish a jbdc connection to an existing mysql database. When I
click on 'Test class' I get a requester 'The JDBC driver could not be
loaded.'

Is there some additional package I need to install?

openoffice.org:
  Installed: 1:3.0.1-9
  Candidate: 1:3.0.1-9
  Version table:
 1:3.1.0-1 0
200 ftp://ftp.debian.org unstable/main Packages
 *** 1:3.0.1-9 0
990 ftp://debian.uchicago.edu testing/main Packages
100 /var/lib/dpkg/status

-- 
"Shoot for the moon. Even if you miss, you'll land among the stars - Les Brown
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: are these hacks?

2009-04-09 Thread Rick Pasotto
On Thu, Apr 09, 2009 at 06:07:59PM +0100, Harry Rickards wrote:
>
>
> On 9 Apr 2009, at 17:40, Rick Pasotto  wrote:
>
>> On Thu, Apr 09, 2009 at 05:29:26PM +0100, Harry Rickards wrote:
>>>
>>> On 9 Apr 2009, at 17:20, Rick Pasotto  wrote:
>>>
>>>> Occasionally on some websites I visit daily I'll get one of two
>>>> incorrect results:
>>>>
>>>> 1) The home page for www.sogosearch.com
>>>> 2) A page with nothing but the words "It works!" on it
>>>>
>>>> There is no pattern. It could happen on a refresh of a page or when
>>>> going to another page on the site. Often refreshing the page a  
>>>> minute
>>>> or
>>>> so later produces the correct results.
>>>>
>>>> It seems that the sogosearch may be dns related but what could be
>>>> causing the second?
>>>
>>> The it works message is the default message for an apache install.  
>>> That
>>> could also be DNS redirecting your queries to 127.0.0.1. What  
>>> happens if
>>> you type cat /etc/resolv.conf in a terminal?
>>
>> #OpenDNS
>> nameserver 208.67.222.222
>> nameserver 208.67.220.220
>> #Speakeasy
>> nameserver 216.27.175.2
>> nameserver 216.231.41.2
>>
>> Is OpenDNS having a problem?
>>
>
> I don't think OpenDNS are having a problem, and they're usually pretty  
> reliable. As John says, it may just be that the sites you're trying to  
> visit are still setting up Apace. Have you got any URLs for us to test?

Perhaps you should re-read my original message. These are sites that
I've visited daily for several years.

-- 
"A society that puts equality ... ahead of freedom will end up with
 neither equality nor freedom." -- Milton & Rose Friedman, 1979
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: are these hacks?

2009-04-09 Thread Rick Pasotto
On Thu, Apr 09, 2009 at 05:29:26PM +0100, Harry Rickards wrote:
>
> On 9 Apr 2009, at 17:20, Rick Pasotto  wrote:
>
>> Occasionally on some websites I visit daily I'll get one of two
>> incorrect results:
>>
>> 1) The home page for www.sogosearch.com
>> 2) A page with nothing but the words "It works!" on it
>>
>> There is no pattern. It could happen on a refresh of a page or when
>> going to another page on the site. Often refreshing the page a minute 
>> or
>> so later produces the correct results.
>>
>> It seems that the sogosearch may be dns related but what could be
>> causing the second?
>
> The it works message is the default message for an apache install. That 
> could also be DNS redirecting your queries to 127.0.0.1. What happens if 
> you type cat /etc/resolv.conf in a terminal?

#OpenDNS
nameserver 208.67.222.222 
nameserver 208.67.220.220
#Speakeasy
nameserver 216.27.175.2
nameserver 216.231.41.2

Is OpenDNS having a problem?

-- 
"[A]ny group is weaker than a man alone unless
 they are perfectly trained to work together."
-- Robert Anson Heinlein 1959 _StarShip Troopers_
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



are these hacks?

2009-04-09 Thread Rick Pasotto
Occasionally on some websites I visit daily I'll get one of two
incorrect results:

1) The home page for www.sogosearch.com
2) A page with nothing but the words "It works!" on it

There is no pattern. It could happen on a refresh of a page or when
going to another page on the site. Often refreshing the page a minute or
so later produces the correct results.

It seems that the sogosearch may be dns related but what could be
causing the second?

-- 
"Every political good carried to the extreme must be productive of
 evil." -- Mary Wollstonecraft, 1794
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



more aptitude confusion

2009-04-02 Thread Rick Pasotto
Today 'aptitude -s install safe-upgrade' included audacity and
audacity-data. I upgraded them and now audacity doesn't work. So I go to
/var/cache/apt/archives so I could downgrade to the previous version.
However, the most recent .deb file is timestamped March 5 -- almost a
month ago and the version number is the same as what I'm currently
running.

How could that happen?

When I say it doesn't work I mean it tells me it can't open the sound
device. However, mocp has no problem playing the file. The program is
also different in the way the menus are setup. It's reverted to the
previous display. The 'Effects' menu is back to a long list rather than
the shorter list with submenus.

I'm puzzled. More importantly, how do I get a functioning audacity?

-- 
"Success is getting what you want. Happiness is wanting what you get."
-- Dale Carnegie
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



aptitude puzzle

2009-03-30 Thread Rick Pasotto
Today's updates included openjdk-6-jre. When I try to install just this
one package aptitude wants to remove esound. When I do 'aptitude show
openjdk-6-jre' there is no mention of esound. It's not mentioned in the
conflicts, depends, or recommends.

So why does aptitude want to remove esound?

-- 
"I sit on a man's back, choking him and making him carry me, and yet
 assure myself and others that I am very sorry for him and wish to
 ease his lot by all possible means -- except by getting off his back."
    --Leo Tolstoy (1828-1910)
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: pdf -> jpg

2009-03-27 Thread Rick Pasotto
On Fri, Mar 27, 2009 at 09:59:33AM -0400, Steve Reilly wrote:
> Rick Pasotto wrote:
> > What would be a good way to create a jpg image of a pdf page?
> 
> if im not mistaken imagemagick can convert files of many different
> types.  take a look at that

Duh! I use 'convert' all the time but it didn't occurr to me that it
would handle pdf.

Thanks.

-- 
Under the species of Syndicalism and Fascism there appears for the first
time in Europe a type of man who does not want to give reasons or to be
right, but simply shows himself resolved to impose his opinions.
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



pdf -> jpg

2009-03-27 Thread Rick Pasotto
What would be a good way to create a jpg image of a pdf page?

-- 
"The whole aim of practical politics is to keep the populace
alarmed--and hence clamorous to be led to safety--by menacing it with
an endless series of hobgoblins, all of them imaginary."
   --- H. L. Mencken
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: testing microphone - how?

2009-03-24 Thread Rick Pasotto
On Wed, Mar 25, 2009 at 08:38:55AM +1100, Alex Samad wrote:
> On Tue, Mar 24, 2009 at 04:50:22PM -0400, Rick Pasotto wrote:
> > On Tue, Mar 24, 2009 at 04:44:24PM -0400, H.S. wrote:
> > > Alex Samad wrote:
> > > > On Tue, Mar 24, 2009 at 05:51:37PM +, Lisi Reisz wrote:
> > > >> On Tuesday 24 March 2009 17:21:06 Thorny wrote:
> > > >>> On Tue, 24 Mar 2009 11:26:33 +, Lisi Reisz posted:
> 
> [snip]
> 
> > > It will record from the device specified by "-D". You can list (to see
> > > which device number to use) your devices using:
> > > 
> > > ~$ arecord -l
> > 
> > Interesting but I have no idea what the output is telling me:
> > 
> >  List of CAPTURE Hardware Devices 
> > card 0: V8237 [VIA 8237], device 0: VIA 8237 [VIA 8237]
> >   Subdevices: 1/1
> >   Subdevice #0: subdevice #0
> > card 0: V8237 [VIA 8237], device 1: VIA 8237 [VIA 8237]
> >   Subdevices: 1/1
> >   Subdevice #0: subdevice #0
> 
> I am not a alsa expert, but the way I interpret this is there is 1
> counds card it has 2 devices (could be 1 analogue and 1 digital) each
> device has a set of functions / capabilities like play , record etc..

Well, I did what I should have done before -- read the man page. Turns
out 'arecord -L' (capital L) gives better info:

---
$ arecord -L
default:CARD=V8237
VIA 8237, VIA 8237
Default Audio Device
front:CARD=V8237,DEV=0
VIA 8237, VIA 8237
Front speakers
surround40:CARD=V8237,DEV=0
VIA 8237, VIA 8237
4.0 Surround output to Front and Rear speakers
surround41:CARD=V8237,DEV=0
VIA 8237, VIA 8237
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=V8237,DEV=0
VIA 8237, VIA 8237
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=V8237,DEV=0
VIA 8237, VIA 8237
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
iec958:CARD=V8237,DEV=0
VIA 8237, VIA 8237
IEC958 (S/PDIF) Digital Audio Output
null
Discard all samples (playback) or generate zero samples (capture)
---

So it looks like I don't have a mike although I have gotten it to barely
work before. The question now becomes, how do I turn the mike on?

Also, the -D parameter uses the PCM, which is what the -L gives -- not
that I know which of those numbers *is* a PCM.

-- 
"We should not postpone or prefer a wish, but do broad justice where we
 are, by whomsoever we deal with, accepting our actual companions and
 circumstances, however humble or odious as the mystic officials to whom
 the universe has delegated its whole pleasure for us."
-- Ralph Waldo Emerson
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: testing microphone - how?

2009-03-24 Thread Rick Pasotto
On Tue, Mar 24, 2009 at 04:44:24PM -0400, H.S. wrote:
> Alex Samad wrote:
> > On Tue, Mar 24, 2009 at 05:51:37PM +, Lisi Reisz wrote:
> >> On Tuesday 24 March 2009 17:21:06 Thorny wrote:
> >>> On Tue, 24 Mar 2009 11:26:33 +, Lisi Reisz posted:
> >>>> I am trying to test a microphone by some method other than ringing the
> >>>> same poor person repeatedly by VOIP.
> >>>>
> >>>> I have tried to run record applications, but cannot seem to get the
> >>>> applications going (so far Audacity and KRec).
> > 
> > have you looked at arecord
> > 
> > arecord,  aplay  -  command-line  sound  recorder  and player for ALSA
> > soundcard driver
> 
> Yes, I second that.
> 
> Try with the following command (duration is in seconds):
> ~$> arecord -D plug:hw:1 --duration=60   audio_sample.wav
> 
> It will record from the device specified by "-D". You can list (to see
> which device number to use) your devices using:
> 
> ~$ arecord -l

Interesting but I have no idea what the output is telling me:

 List of CAPTURE Hardware Devices 
card 0: V8237 [VIA 8237], device 0: VIA 8237 [VIA 8237]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: V8237 [VIA 8237], device 1: VIA 8237 [VIA 8237]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

-- 
"Martyrdom has always been a proof of the intensity, never of the correctness
 of a belief." -- Arthur Schnitzler
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



new hidden files

2009-03-21 Thread Rick Pasotto
This morning rkhunter found three new hidden files:

Warning: Hidden directory found: /etc/.java
Warning: Hidden directory found: /dev/.udev
Warning: Hidden directory found: /dev/.initramfs

Is this anything to worry about?

-- 
"A doctor can bury his mistakes but an architect can only
 advise his client to plant vines." -- Frank Lloyd Wright
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



different version on mirror

2009-03-21 Thread Rick Pasotto
This seems backwards to me:

apt-cache policy clive 
clive:
  Installed: 1.0.2-1
  Candidate: 2.1.6-1
  Version table:
 2.1.6-1 0
990 ftp://debian.uchicago.edu testing/main Packages
200 ftp://ftp.debian.org unstable/main Packages
 *** 1.0.2-1 0
100 /var/lib/dpkg/status

Why would a package version be in 'testing' on the mirror yet still in
'unstable' on the main site?

-- 
"There is only one way... to get anybody to do anything. And that is by
 making the other person want to do it." -- Dale Carnegie
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



vim and php

2009-03-18 Thread Rick Pasotto
For a long time I've had a function key mapped to add ' ... '
around a paragraph and then reformat it using gq} .

Recently the reformating became broken. It no longer joins the lines. It
just makes all lines be no longer than tw.

I finally realized that this incorrect formating behavior happened
*only* when I was editing php files. Evidently the php syntax file is
the cause of my problem and it has changed. How can I find what the
change was and fix it?

-- 
"Making fun of born-again christians is like hunting dairy cows with a
high powered rifle and scope."
-- P.J. O'Rourke
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



gconftool-2

2009-03-04 Thread Rick Pasotto
I keep my system updated daily to testing and that may be the problem
but still there's something I don't understand.

I have a script that is run by cron every 15 minutes to change the
background on my screen. Recently the script stopped working. The
strange thing is that if I run the script from the command line it works
as it always has. Actually, the script runs and does everything *except*
change the background. The line to do this is:

gconftool-2 -t str --set /desktop/gnome/background/picture_filename $FileName

Why would that line not work when executed in a script run by cron even
though it does work when the script is executed from the command line?

-- 
"The best way to raise positive children in a negative world is to have
 positive parents who love them unconditionally and serve as excellent
 role models." -- Zig Zigler
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



aptitude error message

2009-02-21 Thread Rick Pasotto
For quite some time now I've been seeing the following lines when I
upgrade packages:

database /var/lib/apt/listchanges.db failed to load.
Exception bsddb.db.DBRunRecoveryError: DBRunRecoveryError(-30975,
'DB_RUNRECOVERY: Fatal error, run database recovery -- PANIC: fatal
region error detected; run recovery') in  ignored

It doesn't seem to affect anything, but evidently something isn't quite
right. Can I do something to fix it or is it a program bug?

-- 
"The man who does things makes many mistakes, but he never makes the
 biggest mistake of all - doing nothing." -- Benjamin Franklin
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



error after testing update

2009-02-17 Thread Rick Pasotto
I updated a bunch of packages to the new testing today. I'm now getting
the following error:

Feb 17 15:02:28 niof spamd[25754]: Use of uninitialized value 
$NetAddr::IP::Util::n2d_format in sprintf at ../../blib/lib/NetAddr/IP/Util.pm 
(autosplit into ../../blib/lib/auto/NetAddr/IP/Util/ipv6_n2d.al) line 356.

Neither spamassassin nor spamc got updated but several perl libraries
did. Where/how should I report this problem or is it already known
about?

-- 
"Most of us have far more courage than we ever dreamed possible."
-- Dale Carnegie
    Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: package version numbers

2009-01-18 Thread Rick Pasotto
On Sun, Jan 18, 2009 at 12:46:32PM -0800, Daniel Burrows wrote:
> On Sun, Jan 18, 2009 at 09:42:26AM -0500, Rick Pasotto  was 
> heard to say:
> > There are several packages that, when I try to upgrade them, aptitude
> > tells me that doing so would break many other packages. For these other
> > packages aptitude says:
> > 
> > Depends: libglib1.2 (>= 1.2.0) but it is not installable
> 
>   What this means is that the solution to your dependencies that
> aptitude calculated didn't leave libglib1.2 on your system.  Probably
> the message should say "it is not going to be installed", not
> "it is not installable".
> 
>   In order to give you a more specific answer I'd need to know what you
> were trying to upgrade and ideally see all the output from aptitude.

After reading Carlos Sousa's reply I was able to figure out a little
more what's happening. I get hesitant when aptitude tells me it wants to
remove programs that I use.

Anyway, I see that xmms is replaced by xmms2 and that qiv will upgrade
with libglib1.2ldbl. My only remaining problem is multi-gnome-terminal,
which is not in lenny. Why not? There are several reasons I prefer
multi-gnome-terminal to gnome-terminal:

1)  Though the gnome-terminal help page mentions it, the actual
preference setting gives me no way to stop the cursor from blinking.
I can't stand a blinking cursor!

2)  My prefered font, the one I've been using for years, neep, is not in
the list of available fonts. It's in the xfonts-jmk package.

3)  Not really a problem, but a convenience. multi-gnome-terminal gives
me the option to open a tab as root.

4)  multi-gnome-terminal has many other options that I've become
accustomed to that are missing from gnome-terminal.

If someone could suggest how to solve those problems, I think I'll be ok.

-- 
"The successful man will profit from his mistakes and try again in a
 different way." -- Dale Carnegie
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



package version numbers

2009-01-18 Thread Rick Pasotto
There are several packages that, when I try to upgrade them, aptitude
tells me that doing so would break many other packages. For these other
packages aptitude says:

Depends: libglib1.2 (>= 1.2.0) but it is not installable

However, 'apt-cache policy libglib1.2' shows:

libglib1.2:
  Installed: 1.2.10-17
  Candidate: 1.2.10-17
  Version table:
 *** 1.2.10-17 0
100 /var/lib/dpkg/status

Isn't 1.2.10-17 greater than 1.2.0?

Could someone please explain this to me?

-- 
"Develop success from failures. Discouragement and failure are two of
 the surest stepping stones to success." -- Dale Carnegie
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: default gv paper size

2009-01-01 Thread Rick Pasotto
On Thu, Jan 01, 2009 at 12:28:39PM -0500, Douglas A. Tutty wrote:
> On Thu, Jan 01, 2009 at 11:42:52AM -0500, Rick Pasotto wrote:
> > How do I set the default paper size for gv? It always comes up A4 but I
> > always want letter. Should I make in entry in ~/.gv? What is the format?
> 
> gv has menus where you can choose the settings.  Choose the default
> paper there.

That did it. It was not obvious to me that the button labeled 'State' is
where you change preferences.

-- 
"The only purpose for which power can be rightfully exercised over any
 member of a civilised community, against his will, is to prevent harm to
 others. His own good, either physical or moral, is not a sufficient
 warrant." -- John Stuart Mill, 1859
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: default gv paper size

2009-01-01 Thread Rick Pasotto
On Thu, Jan 01, 2009 at 07:02:26PM +0200, Andrei Popescu wrote:
> On Thu,01.Jan.09, 11:42:52, Rick Pasotto wrote:
> > How do I set the default paper size for gv? It always comes up A4 but I
> > always want letter. Should I make in entry in ~/.gv? What is the format?
> 
> Try 'dpkg-reconfigure libpaper1'

At least you did say 'try'. It would be better to speak from knowledge
instead of guessing.

My default system paper size is and always has been letter. gv does not
pay any attention.

-- 
"The authority of government ... to be strictly just, it must
 have the sanction and consent of the governed. It can have no
 pure right over my person and property but what I concede to it."
-- Henry David Thoreau
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



default gv paper size

2009-01-01 Thread Rick Pasotto
How do I set the default paper size for gv? It always comes up A4 but I
always want letter. Should I make in entry in ~/.gv? What is the format?

-- 
"But a government in which the majority rule in all cases can not be based
 on justice, even as far as men understand it."  -- Henry David Thoreau
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



logrotate and apache virtual domains

2008-12-30 Thread Rick Pasotto
I have several domains with their log files in separate directories
under /var/log/apache2. Logrotate is rotating only files in
/var/log/apache2 and not in the subdirectories.

Where/how do I get logrotate to rotate the virtual host logs?

-- 
"Man is the only animal that contemplates death, and also the only animal
 that shows any sign of doubt of its finality." -- William Ernest Hocking
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Copy a file one hundred times

2008-12-13 Thread Rick Pasotto
On Sat, Dec 13, 2008 at 07:35:44PM +0100, Manon Metten wrote:
> Hi Rodolfo
> 
> On Sat, Dec 13, 2008 at 8:12 PM, Rodolfo Medina
>  wrote:
> 
> > I need the right syntax to copy file.jpg 100 times with one command so to 
> > get
> > 100 files named file1.jpg, file2.jpg, ..., file100.jpg.
> 
> 
> #!/bin/bash
> 
> for x in `seq 1 100`; do
> 
> if [[ x -lt  10 ]]; then cp file.jpg file-00$x.jpg;
> 
>   elif [[ x -lt 100 ]]; then cp file.jpg file-0$x.jpg;
> 
>   else cp file.jpg file-$x.jpg;
> 
>   fi
> 
> done

I forgot about seq. This is even better (the -w left pads with zero for
equal width):

for x in $(seq -w 1 100); do cp file.jpg file${c}.jpg; done

-- 
"Faith is often the boast of the man who is too lazy to investigate."
-- F.M. Knowles
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Copy a file one hundred times

2008-12-13 Thread Rick Pasotto
On Sat, Dec 13, 2008 at 07:12:32PM +, Rodolfo Medina wrote:
> I need the right syntax to copy file.jpg 100 times with one command so to get
> 100 files named file1.jpg, file2.jpg, ..., file100.jpg.
> 
> Can anybody suggest how to achieve that?

c=0; while [ $c -lt 100 ]; do c=$[c + 1]; n='000'$c; cp file.jpg file${n: 
-3}.jpg; done

-- 
"Never compromise principle, not even on special occasions."
--- Robert Bitzer (quoted by Marcia Pearce;
quoted in Diane Dreher 1996
_The Tao of Personal Leadership_ pg 221)
Rick Pasottor...@niof.nethttp://www.niof.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



two apache config questions

2008-12-04 Thread Rick Pasotto
First, when I start apache I get the following messages:

apache2: Could not reliably determine the server's fully qualified domain name, 
using niof.net for ServerName
[Thu Dec 04 10:13:28 2008] [warn] NameVirtualHost 69.17.2.49:80 has no 
VirtualHosts

I have several virtual domains setup in sites-available and
sites-enabled including niof.net which I consider to be my machine's
name. So evidently the startup got it right but how do I get it to
*reliably* get it right?

All the VirtualHosts are identified as 69.17.2.49:80 so why the second
message?

Second question: where can I set default Options that would apply to all
virtual hosts unless specifically overridden?

-- 
"All of us perform better and more willingly when we know why we're
 doing what we have been asked to do." -- Zig Zigler
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: using the clipboard

2008-11-27 Thread Rick Pasotto
On Thu, Nov 27, 2008 at 03:29:38PM +, Magnus Therning wrote:
> On Thu, Nov 27, 2008 at 2:41 PM, Rick Pasotto <[EMAIL PROTECTED]> wrote:
> > I have a text file of about 100 lines (more than will display on one
> > screen of less or vi). How can I get the entire file into the
> > clipboard so I can then do a single paste to get it into a web text
> > box? I know I can do it in sections but pasting uses the scroll
> > wheel and the scroll wheel wants to scroll so the text frequently
> > ends up getting inserted in the wrong place.
> >
> > Things work fine in the other direction since a browser window will
> > scroll automatically when the mouse pointer reaches the bottom or
> > top of the window.
> 
> You can use the tool xclip to read the contents of a file to the
> clipboard.

Thank you very much. xclip does exactly what I want but I didn't know
about it so it wasn't installed.

> Many x-terminal scrolls and have configurable scrollback size so if
> you're using one of those then you can most likely adjust the settings
> so that the whole file fits.
> 
> You can also open the file in vim (or gvim) and copy to the clipboard.
>  If you want the whole file then jump to the top (gg) then copy
> everything to the '+' register ("+yG).  I'm sure you can use emacs in
> some way to do the same, but you'll have to ask someone else about
> that :)

I think you meant the * register ("*yG), at least that's what ':help clip'
gives. Another wonderful vim capability that I was unaware of.

Thanks again.

-- 
"In theory, theory and practice are the same. In practice they are not."
-- Yogi Berra
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



using the clipboard

2008-11-27 Thread Rick Pasotto
I have a text file of about 100 lines (more than will display on one
screen of less or vi). How can I get the entire file into the clipboard
so I can then do a single paste to get it into a web text box? I know I
can do it in sections but pasting uses the scroll wheel and the scroll
wheel wants to scroll so the text frequently ends up getting inserted in
the wrong place.

Things work fine in the other direction since a browser window will
scroll automatically when the mouse pointer reaches the bottom or top of
the window.

-- 
"Society has arisen out of the works of peace; the essence of society
 is peacemaking. Peace and not war is the father of all things."
-- Ludwig von Mises
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How to download online videos?

2008-08-26 Thread Rick Pasotto
On Tue, Aug 26, 2008 at 06:45:51PM +0100, Rodolfo Medina wrote:
> 
> All the videos that can be viewed online but cannot be downloaded
> normally. The problem arose with a particular .flv video I wanted to
> download from a web site.  I managed to download it with MS-Windows
> RealPlayer, from the Windows partition I have on my hard disk.
> 
> I installed RealPlayer also on Debian, but it does not seem to work.
> 
> I'd be glad if anybody suggests a particular tool that's known to
> really work.

clive works with both google and youtube videos. By default it converts
flv to mp4.

youtube-dl works only with youtube and leaves in flv format.

Both have many options to control what happens to the video on your
machine. Both are standard debian packages.

-- 
"It is often easier for our children to obtain a gun than it is to
find a good school."
-- Joycelyn Elders
"Maybe that's because guns are sold at a profit, while schools are
provided by the government."
-- David Boaz
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Command-line-interface (CLI) calculator to work out the difference between 2 dates

2008-08-24 Thread Rick Pasotto
On Sun, Aug 24, 2008 at 11:25:31AM -0500, Ron Johnson wrote:
> On 08/24/08 10:54, Edward J. Shornock wrote:
> [snip]
>>
>> While I'm sure someone else will provide a much better way, I've used  
>> something like
>>
>> $ echo $(date  -d 20080824 +%j) - $(date  -d 20080724 +%j) | bc
>> 31
>
> That a good idea.  I never knew date(1) could do that.  The problem,  
> though, is that it doesn't span years.
>
> $ echo $(date -d 20090824 +%j) - $(date -d 20080724 +%j) | bc
> 30
>
> Use delta from epoch, instead.
> $ echo $[$(date -d 20090824 +%s) - $(date -d 20080724 +%s)]/86400|bc
> 396

Why pipe it to bc? Keep it in the shell:

$ echo $[$[$(date -d 20090824 +%s) - $(date -d 20080724 +%s)] / 86400]
396

-- 
"Curiosity is the very basis of education and if you tell me that curiosity
killed the cat, I say only the cat died nobly."
-- Arnold Edinborough
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Joining .rar files

2008-08-15 Thread Rick Pasotto
On Fri, Aug 15, 2008 at 08:11:00PM +0100, andy wrote:
> Hello
>
> Anybody recommend a straight-forward and easy way of joining *.rar files?

cat *.rar > rar-files.joined

-- 
Our doctrine is based on liberty. In fact, private property and
liberty, in our eyes are one and the same; for one man is made the
owner of his own services by his right and his ability to dispose
of them as he sees fit. Communism destroys liberty, for it permits
no one to dispose freely of his own labor.
-- Frédéric Bastiat (1801-1850)
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



window title

2008-07-18 Thread Rick Pasotto
Is it possible to set a gnome window title from the command line, for
example, in a bash script? 

-- 
"When dealing with people, let us remember we are not dealing with
 creatures of logic. We are dealing with creatures of emotion, creatures
 bustling with prejudices and motivated by pride and vanity."
-- Dale Carnegie
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



spamd perl lib error

2008-07-15 Thread Rick Pasotto
I've been getting the following in my logfile:

spamd[10416]: Can't locate version.pm in @INC (@INC contains: lib
/usr/share/perl5 /etc/perl /usr/local/lib/perl/5.8.8
/usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/lib/perl/5.8
/usr/share/perl/5.8 /usr/local/lib/site_perl) at
/usr/share/perl5/Mail/SPF.pm line 24.

Is this a known problem?

-- 
"If you want to be enthusiastic, act enthusiastic." -- Dale Carnegie
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



capturing BookTV videos

2008-05-20 Thread Rick Pasotto
Has anyone been able to capture/download BookTV videos under linux? They
seem to go to great lengths to hide and/or obfuscate the url so I can't
find one to give to mplayer. Actually, I can't even watch them. The page
has some CDATA with 'ActiveX' in it so maybe they require MS.

-- 
"It is not uncommon for ignorant and corrupt men to falsely charge
 others with doing what they imagine that they themselves, in their
 narrow minds and experience, would have done under the
 circumstances." -- John H. Clarke, 1917
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: graphical file browser from command line

2008-03-10 Thread Rick Pasotto
On Mon, Mar 10, 2008 at 05:19:49PM -0400, Kevin Mark wrote:
> On Mon, Mar 10, 2008 at 02:45:11PM -0400, Rick Pasotto wrote:
> > I spend most of my time on the command line and use 'less' when I want
> > to just view a file. However, there are some files that have excessively
> > long lines and I'd like to be able to left/right scroll rather than have
> > the lines wrapped. What program could I call from the command line that
> > would open such a viewer on a given file? (My desktop is gnome but kde
> > is installed.)
> > 
> In less, if you press 'v', it will open the file in VI, and then you can
> view the file there.

Except that vi(m) will not edit STDIN. That's why I was looking for a
file *viewer*.

-- 
"To respond is positive, to react is negative." -- Zig Zigler
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: graphical file browser from command line

2008-03-10 Thread Rick Pasotto
On Mon, Mar 10, 2008 at 11:32:49AM -0800, Ken Irving wrote:
> On Mon, Mar 10, 2008 at 02:45:11PM -0400, Rick Pasotto wrote:
> > I spend most of my time on the command line and use 'less' when I want
> > to just view a file. However, there are some files that have excessively
> > long lines and I'd like to be able to left/right scroll rather than have
> > the lines wrapped. What program could I call from the command line that
> > would open such a viewer on a given file? (My desktop is gnome but kde
> > is installed.)
> 
> Try less -S (which I usually alias to lesss).

That chops off the right portion of the text. That's the part I want to
see. I'm looking for something with a scrollbar.

Since I posted I found gview, which almost does what I want, but I'd
prefer a scrollbar.

-- 
"You can make more friends in two months by becoming interested in other
 people than you can in two years by trying to get other people
 interested in you." -- Dale Carnegie
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



  1   2   3   4   5   >