Re: [OT] Hard Drive Energy Not Worth Conserving drives?

2011-01-09 Thread Phil Requirements
On 2011-01-09 08:02:05 -0600, Stan Hoeppner wrote:
 If one is so power consumption conscious to be suckered into a Green
 (EARS) drive, then one needs to realize the CPU dissipates about 10
 times the wattage/heat of a hard drive.  Thus, concentrate your power
 saving efforts elsewhere than the disk drive.  Buy a non green drive,
 and save yourself these sector alignment/performance headaches.

Hi,

I just wanted to mention that this is a type of faulty logic that
we run into all the time when trying to conserve energy. The idea
that if a second thing can conserve more energy than the first, then
we do not need to conserve energy in the first thing.

It can go like this:

The first person comes along and says, Why are you so worried about
phantom power, when you can get so much more savings from switching to
CFL light bulbs?

The second person comes along and says, CFL light bulbs? Why bother
when city street lights are on ALL NIGHT LONG?.

The third person comes along and says, City street lights? What about
heating and cooling AIR PORTS around the clock?!.

Anyway, nothing personal or angry. I just wanted to mention that I seed
this as a logic fault, and it particularly happens around energy
conservation. My own opinion is that you should get energy savings
everywhere you can.

There is a separate point to argue about whether Western Digital
hard drives are really Green because they use less energy, or
if WD is using the term Green to market and sell inferior
technology.

Hope this helps,

Phil


-- 
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/20110109184822.ga5...@kasploosh.net



Re: Squeeze. How to set video res to 1366x768 in pure console?

2011-01-09 Thread Phil Requirements
On 2011-01-09 23:11:29 +0300, Mark Goldshtein wrote:
 As an experiment, from googling, I have added this:
 
 GRUB_GFXMODE=1366x768x32
 GRUB_GFXPAYLOAD_LINUX=1366x768x32
 
 to /etc/default/grub, when # update-grub2 and rebooted.
 Strange effect was achieved, I have seen 1366x768 at the grub's
 initial boot moment, where counter counts from 5 seconds to zero and
 then console switched back to 640x480. These bright 5 seconds were
 enjoyable, though...
 
 Grub restored to the original state and I continue googling.
 
 I just wonder, if there a standard tool with 'howto' how to change a
 console resolution in Debian? Or, wiki instructions maybe?

Mark,

You are almost there! You got a good-looking conosole, and
then it went bad again. I've seen that before.

Change this:

GRUB_GFXMODE=1366x768x32
GRUB_GFXPAYLOAD_LINUX=1366x768x32

To this:

GRUB_GFXMODE=1366x768x32
GRUB_GFXPAYLOAD_LINUX=1366x768x32
GRUB_GFXPAYLOAD_LINUX=keep

Run update-grub again, and see if that fixes it.

Hope this helps,

Phil


-- 
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/20110109232858.gb5...@kasploosh.net



Re: [OT] Hard Drive Energy Not Worth Conserving

2011-01-09 Thread Phil Requirements
On 2011-01-09 15:37:41 -0600, Stan Hoeppner wrote:
 Phil Requirements put forth on 1/9/2011 12:48 PM:
  On 2011-01-09 08:02:05 -0600, Stan Hoeppner wrote:
  If one is so power consumption conscious to be suckered into a
  Green (EARS) drive, then one needs to realize the CPU dissipates
  about 10 times the wattage/heat of a hard drive.  Thus,
  concentrate your power saving efforts elsewhere than the disk
  drive.  Buy a non green drive, and save yourself these sector
  alignment/performance headaches.
 
  I just wanted to mention that this is a type of faulty logic that
 
 FULL STOP.
 
 My logic is not faulty in the least bit, and your examples below are
 a bunch of crap.  Here's why: all of the excuses you list below are

snip

Hi Stan,

I was surpised that you reacted so strongly, so I went back and read
what was originally written, and how I responded. I can now see why my
comments were offensive, and so I want to apologize completely. I'm
sorry that I made the off-topic and unfair comments and couched it in
terms of faulty logic.

I think I was predisposed to see your argument incorrectly, and with
the volume of the mailing list I was probably reading too quickly. I
can now see your point, that energy savings alone are not reason
enough to pursue a certain hard drive, especially if that hard drive
has problems under Linux.  And that if one needs energy savings, it
would be better to look at the processor than a hard drive that might
cause problems.

I usually try very hard to stick to the topics at hand. On this one I
went out on a limb and fell off. I think I didn't have an adequate
breakfast.

Sorry,

Phil :c(


-- 
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/20110109235341.gc5...@kasploosh.net



Re: Squeeze. How to set video res to 1366x768 in pure console?

2011-01-09 Thread Phil Requirements
On 2011-01-09 23:28:58 +, Phil Requirements wrote:
 On 2011-01-09 23:11:29 +0300, Mark Goldshtein wrote:
  As an experiment, from googling, I have added this:
  
  GRUB_GFXMODE=1366x768x32
  GRUB_GFXPAYLOAD_LINUX=1366x768x32
  
  to /etc/default/grub, when # update-grub2 and rebooted.
  Strange effect was achieved, I have seen 1366x768 at the grub's
  initial boot moment, where counter counts from 5 seconds to zero and
  then console switched back to 640x480. These bright 5 seconds were
  enjoyable, though...
  
  Grub restored to the original state and I continue googling.
  
  I just wonder, if there a standard tool with 'howto' how to change a
  console resolution in Debian? Or, wiki instructions maybe?
 
 Mark,
 
 You are almost there! You got a good-looking conosole, and
 then it went bad again. I've seen that before.

Sorry to reply to my own self. I mis-pasted in the previous
message. I meant:
 
Change this:
 
GRUB_GFXMODE=1366x768x32
GRUB_GFXPAYLOAD_LINUX=1366x768x32
 
To this:
 
GRUB_GFXMODE=1366x768x32
GRUB_GFXPAYLOAD_LINUX=keep
 
Run update-grub again, and see if that fixes it.
 
Phil


-- 
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/2011011149.gd5...@kasploosh.net



Re: EXT4 File system viewer for Windows 7 pro 64 bit

2011-01-07 Thread Phil Requirements
On 2011-01-07 18:29:06 -0600, John Foster wrote:
 On 1/7/2011 12:40 PM, Andrei Popescu wrote:
 On Vi, 07 ian 11, 10:50:33, John W Foster wrote:
 I have to use Windows 7 Pro 64 bit for some work I do. i want to know if
 anyone knows of a viewer or file manager that I can install in Windows 7
 64bit that will allow me to peruse or copy to  from a Debian EXT4 file
 system. I have both on the same machine but ofcourse only run one at a
 time,  when I,m in the Debian system I can do this easily. Microsoft
 simply does not provide such a crossover tool. Any suggestions?
 John
 A few years back, when I was still dual-booting I was using a plugin for
 Total Commander. It could read/write ext2 and maybe also ext3, which was
 new at the time. Maybe it was updated for ext4?
 
 Regards,
 Andrei
 Thanks for these tips. It did give me an idea as well. I have
 something free commander
 that I use from my portable apps drive. I have not tried that. maybe.

John,

I have a dual-boot Windows/Debian computer, and I use Free Commander
on the Windows installation. I don't think Free Commander will help you
with this problem.

I have mostly given up trying to read ext# from Windows. When I looked into
it, I found the following problems:

1. Most of the solutions were written for ext2. They might work for ext3.
I'd _speculate_ that the old solutions would not be able to read ext4.

2. They were installable file system solutions, rather than a real part
of the operating system. I'm not an expert at it, but I didn't trust it
at the time. Read more:

http://en.wikipedia.org/wiki/Installable_File_System

3. I think I had trouble even installing these old options on 64-bit Windows.

So I came to the conclusion that this was just a shortcoming of Windows.
I would be happy to know if you found something trustworthy that works.

Hope this helps,

Phil


-- 
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/20110108012919.ga2...@kasploosh.net



Re: why is this html looks like this?

2011-01-04 Thread Phil Requirements
On 2011-01-04 22:57:07 +, Chris Davies wrote:
 Kent West we...@acu.edu wrote:
  [...] the .png file has a big black block over most of it [...]
 
 Same here. It's likely to be the png.
 Chris

No, you can tell by the arrangement of the black bars that the author
put them there on purpose, in order to cover up sensitive information.
The URL is black, the name of the tab is black, the first line of the
HTML is black, and the content of the tags is black.

Posed this way, with a blacked out image, and the same link given
twice, makes it quite a mystery as to what problem the OP would like
help solving.

My guess is the problem is that in HTML whitespace is almost always
collapsed. Try using...

style=white-space: pre

...in the parent container, whatever that may be!

Just a guess,

Phil


-- 
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/20110105004535.ga5...@kasploosh.net



Re: What happened to consolechars?

2011-01-02 Thread Phil Requirements
On 2011-01-02 14:23:55 -0500, Thomas H. George wrote:
 Some characters are not displayed correctly on my monitor.  The command
 consolechars -d used to correct this problem but now it is unknown.
 
 Specifically the problem is typically with the arrows which mutt uses to
 indicate the subject threads.  Instead of lines and arrows the display
 uses the letter a with a circumflex, the 3/4 character, the copywrite
 symbol and another special symbol.
 
 In text occasionally odd symbols appear in the middle of words and in
 place of numbers or bullets in lists of items.

I don't know the answer to where consolechars is hiding, but I wanted
to give you something else to think about. The problem you are
describing, where special characters, like line-drawing characters and
bullets, have been replaced with weird characters, is the classic
symptom of an application not supporting UTF-8.

In this case, I think it is your terminal emulator which is not
supporting UTF-8. What terminal emulator are you using? Try running
mutt in xterm and see if the arrows improve.

 Normally I just ignore all this as I know what is meant but occasionally
 it results in some ambiguity.  In the past when this was a problem I
 used the command consolechars -d where the -d was to restore a default
 character set.  Since lang=en.US,UTF-8 has always been specified in
 locale I have no idea what this default character set was, I only knew
 it fixed the problem.
 
 Now the command is gone and apt-cache search consolechars returns
 nothing.

I don't know about consolechars.

Hope that helps,

Phil


-- 
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/20110103011339.ga4...@kasploosh.net



Re: dumb question about gnash youtube-dl and watching youtube videos...

2010-12-29 Thread Phil Requirements
On 2010-12-29 14:01:31 +, Michael Fothergill wrote:
 I installed clive and then tried this:
 
 ismi...@spc2-burn4-0-0-cust110:~$ clive 
 http://www.youtube.com/watch?v=FwDYbNIHyN0

 clive 0.4.18 20080715  [Linux]
 http://www.youtube.com/watch?v=FwDYbNIHyN0fmt=18   
 143.8KB
 warn: no-media: switched to low quality
 error: Traceback (most recent call last):
   File /usr/bin/clive, line 28, in module
 Clive().main()
   File /usr/lib/python2.5/site-packages/clive/main.py, line 50, in main
 Nomad().run(self.opts, self.args, self._say)
   File /usr/lib/python2.5/site-packages/clive/nomad.py, line 108, in run
 self._check_raw_urls(raw_urls)
   File /usr/lib/python2.5/site-packages/clive/nomad.py, line 277, in 
 _check_raw_urls
 self._check_url(url, (index,len(raw_urls)))
   File /usr/lib/python2.5/site-packages/clive/nomad.py, line 377, in 
 _check_url
 self._found_urls, self._get_proxy())
   File /usr/lib/python2.5/site-packages/clive/parse.py, line 103, in parse
 length = url_data['file_length_callb'](xurl)
   File /usr/lib/python2.5/site-packages/clive/nomad.py, line 422, in 
 _callb_check_file_len
 raise CliveNoMediaError # Try low quality
 CliveNoMediaError: error: no media (http/415)
 
 What is causing this?  Is it that the file is not available to
 download or there is too much traffic to get at the file?
 
 I tried downloading a different file and got a similar set of errors a
 while back.

It is not an error due to youtube, or too much traffic. That is a good
old-fashioned python error trace. It looks like an error in clive itself.

There is no problem with youtube or the video in question. I can retrieve
the video with no problem:

cclive http://www.youtube.com/watch?v=FwDYbNIHyN0
fetch config ...done.
verify video link ...done.
youtube_FwDYbNIHyN0.flv 5%1.7M / 34.6M

A few days ago, Pablo suggested that the version of clive in Lenny does
not work very well, but the version in backports works okay. So you will
want to try the version in backports.

http://packages.debian.org/lenny-backports/clive

How to install things from backports has been discussed recently in
other threads.

I am no expert in clive, since I mostly use cclive. But one thing I know
is that you usually need to have a recent version, since places like
youtube are always tinkering with their protocol.

Hope this helps,

Phil


-- 
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/20101230001034.ga4...@kasploosh.net



Re: How to upgrade chain-booted grub-pc?

2010-12-29 Thread Phil Requirements
On 2010-12-29 12:28:07 -0800, Mike Bird wrote:
 A dist-upgrade to Squeeze results in a chain boot
 comprising both grub1 (grub-pc) and grub2.
  ^^^
 Today's grub-pc update now wants to know where to
 automatically install, presumably because it does
 not recognize grub2's chain-boot setup.
 
 Unfortunately, I also don't know the details of
 what grub2 did to make the chain boot, so I don't
 know what to tell grub1 (grub-pc) when it asks:
 
 The grub-pc package is being upgraded. This menu
 allows you to select which devices you'd like
 grub-install to be automatically run for, if any.
 
 Does anyone have any solid recommendations (no
 wild guesses please) as to how to determine the
 best response?

This is not advice for your problem, I just wanted to
point out something I noticed. Your description of the
two grubs conflicts with my understanding of them. As
far as I know, the following is true:

grub1 = grub-legacy
grub2 = grub-pc

So, in my understanding grub1 != grub-pc. That alone may
give you a way to understand what grub-pc is asking you.

Hope this helps,

Phil


-- 
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/20101230041210.gb4...@kasploosh.net



Re: dumb question about gnash youtube-dl and watching youtube videos...

2010-12-24 Thread Phil Requirements
On 2010-12-24 10:23:18 -0600, Hugo Vanwoerkom wrote:
 Celejar wrote:
 Hugo Vanwoerkom hvw59...@care2.com wrote:
 Celejar wrote:
 Hugo Vanwoerkom hvw59...@care2.com wrote:
 Celejar wrote:
 Phil Requirements simultane...@comcast.net wrote:
 On 2010-12-23 09:09:56 -0600, Hugo Vanwoerkom wrote:
 /Thu Dec 23-09:05:15# mplayer E6ROSTqm2KQ.flv
 (snip)
 Playing E6ROSTqm2KQ.flv.
 TiVo file format detected.
 MPEG: No audio stream found - no sound.
 MPEG: FATAL: EOF while searching for sequence header.
 Video: Cannot read properties.
 TiVo file format detected is what went wrong. It cannot read the
 properties of the video because it has wrongly detected the video.
 On my system, playing one of those flv files looks like this:
 
 mplayer youtube_9sJUDx7iEJw.flv
 (snip)
 Playing youtube_JMSepxmZQNg.flv.
 libavformat file format detected.
 Do you have libavcodec installed? On my system it is libavcodec52.
 See:
 
 http://lists.mplayerhq.hu/pipermail/mplayer-users/2006-March/058756.html
 
 The problem does seem to be a missing libavformat.  Where'd you get
 that mplayer build from?  Try a newer one, or build your own?
 http://debian-multimedia.org/dists/unstable/main/binary-i386/package/mplayer-nogui.php
 I'm using mplayer from dmo, and it works fine with all YouTube videos
 (although I don't use the nogui version).
 
 Can you give 'apt-cache policy mplayer'?
 
 h...@debian:/$ apt-cache policy mplayer-nogui
 mplayer-nogui:
Installed: 2:1.0~rc3++svn20100804-0.1
Candidate: 2:1.0~rc3++svn20100804-0.1
Version table:
   *** 2:1.0~rc3++svn20100804-0.1 0
  500 http://www.debian-multimedia.org/ sid/main i386 Packages
  100 /var/lib/dpkg/status
 
 Okay, I seem to have the same version installed.  I'm pretty much out
 of idea, except for the one raised by Phil above, about libavformat /
 libavcodec.  Do you have those packages installed (libavformat52,
 libavcodec52)?
 
 h...@debian:/sda7/hda10/Hugo's avi's$ apt-cache policy libavformat52

 libavformat52:
   Installed: 5:0.6.1+svn20101128-0.1
   Candidate: 5:0.6.1+svn20101128-0.1
   Version table:
  *** 5:0.6.1+svn20101128-0.1 0
 500 http://www.debian-multimedia.org/ sid/main i386 Packages
 100 /var/lib/dpkg/status
  4:0.5.2-6 0
 500 http://ftp.de.debian.org/debian/ unstable/main i386 Packages

 h...@debian:/sda7/hda10/Hugo's avi's$ apt-cache policy libavcodec52
 
 libavcodec52:
   Installed: 5:0.6.1+svn20101128-0.1
   Candidate: 5:0.6.1+svn20101128-0.1
   Version table:
  *** 5:0.6.1+svn20101128-0.1 0
 500 http://www.debian-multimedia.org/ sid/main i386 Packages
 100 /var/lib/dpkg/status
  4:0.5.2-6 0
 500 http://ftp.de.debian.org/debian/ unstable/main i386 Packages
 

All of the packages you have look similar (in version numbers)
to the ones I have. Mine came from squeeze, not sid, and I don't
know if that makes a difference.

Try this to see what demuxers are avaialable for your mplayer:

mplayer -demuxer help

Check the output to see if lavf or lavfpref is available.

Using the -demuxer option, you can force a certain demuxer to be used.
Try one of these:

mplayer -demuxer +lavfpref youtube_9sJUDx7iEJw.flv
mplayer -demuxer +lavf youtube_9sJUDx7iEJw.flv


-- 
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/20101224195011.ga2...@kasploosh.net



Re: dumb question about gnash youtube-dl and watching youtube videos...

2010-12-23 Thread Phil Requirements
On 2010-12-23 09:09:56 -0600, Hugo Vanwoerkom wrote:
 
 /Thu Dec 23-09:05:15# mplayer E6ROSTqm2KQ.flv
 (snip)
 Playing E6ROSTqm2KQ.flv.
 TiVo file format detected.
 MPEG: No audio stream found - no sound.
 MPEG: FATAL: EOF while searching for sequence header.
 Video: Cannot read properties.

TiVo file format detected is what went wrong. It cannot read the
properties of the video because it has wrongly detected the video.
On my system, playing one of those flv files looks like this:

mplayer youtube_9sJUDx7iEJw.flv
(snip)
Playing youtube_JMSepxmZQNg.flv.
libavformat file format detected.
 
Do you have libavcodec installed? On my system it is libavcodec52.

Phil


-- 
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/20101223182516.ga4...@kasploosh.net



Re: dumb question about gnash youtube-dl and watching youtube videos...

2010-12-22 Thread Phil Requirements
On 2010-12-22 19:51:08 +, Michael Fothergill wrote:
 would be good but you need to figure out how to get a software
 trufflehound to sniff at this sort of URL
 http://www.youtube.com/watch?v=FwDYbNIHyN0 (or something similar) and
 then find the .flv or .swf truffle that I am interested in pointing
 gnash at.
 
 Looks like youtube-dl would do this.
 

Try this easy recipe:

clive http://www.youtube.com/watch?v=FwDYbNIHyN0
[wait for arrival]
mplayer youtube_FwDYbNIHyN0.flv

I use cclive for this purpose, and it works. However, cclive is
not avaialable in Lenny as far as I can tell.

clive is available for Lenny, and should behave in the same way.
However, I can not vouch for it because it's not the one I use.

Hope this helps,

Phil


-- 
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/20101223024217.ga10...@kasploosh.net



Re: rsync; Shouldn't Deleted Files be Deleted on the Backup?

2010-12-13 Thread Phil Requirements
On 2010-12-13 13:22:17 -0600, Martin McCormick wrote:
 Joao Ferreira gmail writes:
  that is exactly what --delete does. I've been using it for some time and
  it works just fine for me.
 
 Problem is solved. If you have the b flag as one of your flags
 as in backup, it apparently insures that once a file is there,
 it does not go away. This could be very useful in some
 situations, but this is not what I wanted right now so I took
 out the b flag and it now deletes any files in the copy that are
 no longer in the master.
 

If you just quit the -b flag team, then you might want to come over to
the -a flag team. -b is for backup and -a is for archive. What's
the difference between a backup and an archive?, you might ask. Well,
the archive team has better jerseys.

For keeping a one to one copy of a file system, this rsync shortcut is
commonly thrown around:

rsync -av --del /source/path /destination/path

Just an idea,

Phil


-- 
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/20101214033644.ga21...@kasploosh.net



Re: [Semi-OT] Cropping a letterbox MPEG-2 file is easy enough...

2010-12-11 Thread Phil Requirements
On 2010-12-10 22:03:55 -0600, Ron Johnson wrote:
 But how do I save the output?
 
 After reading the mplayer and ffmpeg man page and Googling, these
 are the three methods I tried, but none of them work.
 
 $ mplayer foo.mpeg -vf crop=720:352:0:64 \
 -dumpstream -dumpfile bar.mpeg
 
 $ mplayer foo.mpeg -vf crop=720:352:0:64 -o bar.mpeg
 
 $ mencoder foo.mpeg -vf crop=720:352:0:64 \
 -ovc copy -oac copy -o bar.mpeg
 
 $ ffmpeg -i foo.mpeg -vf crop=720:352:0:64 \
 -vcodec copy -acodec copy bar.mpeg

How about this one:

mencoder foo.mpeg \
-vf crop=720:352:0:64 \
-oac copy \
-ovc lavc \
-lavcopts vcodec=mpeg2video \
-o newfile.avi

This one is a little tricky, because mencoder will transcode
your file if you're not careful. So this part...

-ovc lavc -lavcopts vcodec=mpeg2video

...needs to change according to what your source material is.
I think the above might work for DVD material?

 (Yes, Handbrake makes the job trivial, but no, I don't want to
 transcode the file, just crop and save.  Disk is cheap and I want
 to retain DVD quality.)

I also hate to have quality degraded, which happens very easily
with videos.

Hope this helps,

Phil


-- 
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/20101211083115.ga9...@kasploosh.net



Re: [Semi-OT] Cropping a letterbox MPEG-2 file is easy enough...

2010-12-11 Thread Phil Requirements
On 2010-12-11 10:52:02 -0600, Ron Johnson wrote:
 On 12/11/2010 02:31 AM, Phil Requirements wrote:
 On 2010-12-10 22:03:55 -0600, Ron Johnson wrote:
 But how do I save the output?
 
 After reading the mplayer and ffmpeg man page and Googling, these
 are the three methods I tried, but none of them work.
 
 $ mplayer foo.mpeg -vf crop=720:352:0:64 \
  -dumpstream -dumpfile bar.mpeg
 
 $ mplayer foo.mpeg -vf crop=720:352:0:64 -o bar.mpeg
 
 $ mencoder foo.mpeg -vf crop=720:352:0:64 \
  -ovc copy -oac copy -o bar.mpeg
 
 $ ffmpeg -i foo.mpeg -vf crop=720:352:0:64 \
  -vcodec copy -acodec copy bar.mpeg
 
 How about this one:
 
  mencoder foo.mpeg \
  -vf crop=720:352:0:64 \
  -oac copy \
  -ovc lavc \
  -lavcopts vcodec=mpeg2video \
  -o newfile.avi
 
 
 Does mencoder peek at the outfile extension to determine container type?

Sorry! The avi thing is a typo. I had written my example command, then
I changed it to match your example command, but I forgot to change the
name of the output file. It should have read:

 mencoder foo.mpeg \
 -vf crop=720:352:0:64 \
 -oac copy \
 -ovc lavc \
 -lavcopts vcodec=mpeg2video \
 -o bar.mpeg

Sorry for the confusion,

Phil


-- 
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/20101212015658.ga2...@kasploosh.net



Re: no x windows

2010-12-04 Thread Phil Requirements
On 2010-12-04 23:07:31 -0500, shawn wilson wrote:
 so, i go to install openssh-server on a machine that i intend to be a web
 development environment and it wants to install libx11-6, x11-common,
 libx11-data and some other stuff. i went to track down what was depending on
 x libraries, but i decided it really doesn't matter - why do i need x
 libraries to run an ssh server?

You certainly don't need X to have a ssh server. I only looked at it
it briefly, but I'm guessing it tried to install the package xauth,
which is a recommends of openssh-server.

The new default for aptitude is to say yes to recommends. There is a
way to configure your machine so that it says no by default to
recommends. That has been discussed recently on this list.
 
 i've spent two hours googling (and even bing) on how to keep x windows off
 of debian. i've found tons of stuff about x windows problems which is ironic
 since my problem is keeping a minimalistic system which doesn't include x. i
 know one of the options gentoo's ports offers is not installing x (or used
 to offer).

I can see that you would have trouble find that information in a web
search.  I think that getting a system with X should be as simple as
not allowing it to be installed. I think the problem you are running
into is that the package system is pulling in recommends
automatically.

 i've found some options in dpkg, but nothing in apt-get. i don't see anyway
 to pass dpkg's --ignore-depends with apt-get. i'm thinking i'm looking for
 something in /etc/apt/apt.conf or apt-config but i can't come up with
 anything.

You can ignore a recommends at the time of installing by doing:

aptitude install openssh-server -R

I don't use apt-get, but when I search inside the man page...

man apt-get

...I see the option --no-install-recommends. So that would translate
into:

apt-get install openssh-server --no-install-recommends

If you want to set an option so that aptitude says no by default
to recommends, you can try this tutorial:

http://linux.koolsolutions.com/2009/01/07/howto-tell-apt-get-not-to-install-recommends-packages-in-debian-linux/

 is it possible to have a functioning debian install without x windows? if
 so, why isn't this documented maybe in the debian faq or something?

Yes, many computers do not use X, especially server computers.

I think one reason it is not documented is because many people setting
up CLI-only computers, or server computers, are already experienced
with wrangling their package management software.

Hope this helps,

Phil


-- 
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/2010120507.ga18...@kasploosh.net



Re: Ability to write to CD-R went away?

2010-12-03 Thread Phil Requirements
On 2010-12-02 13:58:00 -0700, lbml...@hethcote.com wrote:
 
 Hi all, I have a problem that is causing me difficulty debugging
 and/or deciding where to send a bug report.
 
 Under lenny with 2.6.26-2-amd64 I can write both CD-R and CD-RW
 media on the Pioneer and Plextor drives on my system. Upgraded to
 squeeze and 2.6.32-5-amd64 and I can no longer write CD-R but I can
 write CD-RW. I can write CD-Rs with 2.6.26 and squeeze (but then I
 lose Xwindows).

I only have one small idea. Device names changed between 2.6.26 and
2.6.32, and this caused me some problems with wodim. Prior to the
change, I did something like:

wodim dev=/dev/hdc ...

After the change, I had to switch the terminology:

wodim dev='/dev/scd0' ...

Maybe you have some old device names buried in scripts that worked
in the past? You can do wodim --devices to get a list of the
current device names according to wodim, and maybe search through
any scripts or wodim config files for stale information?

You can safely ignore this idea if it is too basic.

Phil


-- 
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/20101203083347.ga2...@kasploosh.net



Re: what is the use of -c parameter of column(1), can you demonstrate with an example?

2010-11-16 Thread Phil Requirements
On 2010-11-16 11:33:56 +0800, Zhang Weiwu wrote:
 On 11/03/2010 10:04 AM, Zhang Weiwu wrote:
   problem:
 
  The usage with -t is to form a table, which, although code level
  implementation is similar to multi-column layout, in fact is a very
  different usage than what is mentioned in the first paragraph.
 
 Now I think the right move would be to add the -t parameter to the
 command it really belongs to: expand(1)
 
 Quote from manual:
 
 Convert tabs in each FILE to spaces, writing to standard output.
 With no FILE, or when FILE is -, read standard input.
 
 The feature of expanding field separator to an automatically
 calculated value existed in column as a convenient (or lazy) design,
 not a usage-oriented design.

If I understand what you are saying, then I disagree with you.
The column -t utility is much more closely related to the
rest of the column utility than it is to expand.

expand is only for converting tabs to spaces. It does not try
to make pretty output that lines up in columns. It doesn't act
on anything but tabs.

Let's compare:

expand-- converts tabs to spaces
column-- takes a list and displays it in columns
column -t -- takes lines of data, splits each line, displays the result in 
columns

It seems to me that expand and column -t have very different
uses. Maybe I am not understanding your point?

Phil


-- 
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/20101116233911.ga5...@kasploosh.net



Re: what is the use of -c parameter of column(1), can you demonstrate with an example?

2010-11-16 Thread Phil Requirements
On 2010-11-17 13:12:38 +0800, Zhang Weiwu, Beijing wrote:
 While I see it this way:
 
 expand-- Format tab-indented text and tab-separated tables using spaces.
 column -t -- Format tab-separated tables using spaces.
 column-- Format lists into columns.

column -t does much more than format tabs into spaces.

It can use a comma as a separator, for processing CSV data.

column -t -s ',' myfile.csv

It can use a space as a separator, for processing aptitude update.

sudo aptitude update | column -t

It can use a colon as a separator, for processing /etc/group.

column -t -s ':' /etc/group

 Pick this scenario:
 
 A user have tab-separated tabular data.
 
 1. He try to format it, using expand -t 8
 2. He see it's not good enough, he does it again with expand -t 10
 3. He see it's okay for some columns, but is too wide for others. Then he 
 uses column -t

It seems to me that the only thing this scenario proves is that
sometimes you need to use expand, and sometimes you need to
use column -t. They are different tools, with different purposes.

 I follow the idea that usage leads to tools, that you have tools for a
 usage, while traditional column tool seems to design from tools to
 usage, that you have tools which can used for usages. I guess this is
 more rational from learning prospective.

The column utility was written to satsify a need! For any long skinny
list of text, it will put that list into *columns* that fit on the
screen better, so you don't have to do as much scrolling.

column -t also satisfies a need! It takes ragged columns of output
and spreads them out so they are nicely aligned... and therefore
readable.

I hope I have understood your argument correctly,

Phil


-- 
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/20101117072200.gb5...@kasploosh.net



Re: Wayland Unity -- any repercussions on Debian?

2010-11-09 Thread Phil Requirements
On 2010-11-09 07:53:19 -0600, Mark Allums wrote:
 On 11/9/2010 6:56 AM, Tom H wrote:
 On Tue, Nov 9, 2010 at 7:19 AM, Camaleónnoela...@gmail.com  wrote:
 On Tue, 09 Nov 2010 13:08:05 +0100, Klistvud wrote:
 
 As you probably know, Ubuntu is planning to replace X11 with the Wayland
 Display Management System, and replace Gnome with Unity. X11 and Gnome
 
 I hope it's just an Ubuntu trend and not affecting/spreading to other
 distros:-)
 
 Debian hasn't adopted upstart so why should it adopt unity? I'm sure
 that it'll end up in the Debian repos for those of us who want to
 try/use it. It would be fun (perverse, sadistic fun though!) to follow
 any debian-devel thread started by someone proposing to make unity the
 Debian default. :)
 
 So the stories about X being ripped out and replaced in Ubuntu
 11.10/12.04/... might not be entirely accurate.
 
 
 With Ubuntu 10.04, and even more so with Meercat and now with this,
 it seems like Ubuntu has jumped on the crazy train.  I hope they
 don't get *too* far away from Debian, for dozens of reasons, but it
 might be interesting to see what happens.  In the meantime, I hope
 Debian remains stable and reliable.
 

I like this phrasing, that Ubuntu has jumped on the crazy train.  I
don't totally agree with that, but it really encapsulates a line of
thought.

A different idea is that Ubuntu is trying to be very forward-thinking,
because they want to be the Next Big Thing. I think they are looking
into the future and seeing: handheld computers, thin clients, cloud
computing, and whatever else is in their crystal ball.

For Ubuntu to thrive in the future, they need to be cool, modern,
slick, etc. Windows, Apple, and Google all are developing features to
make themselves the Next Big Thing. I think Ubuntu is looking around
the software landscape and trying to figure out what they can pick up
that will make themselves vital and modern. They want to win in the
popular imagination, and that will take some changes (according to their
crystal ball).


-- 
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/20101109173247.ga2...@kasploosh.net



Re: what is the use of -c parameter of column(1), can you demonstrate with an example?

2010-11-03 Thread Phil Requirements
On 2010-11-03 15:05:55 +0800, Zhang Weiwu wrote:
  On 11/03/2010 01:44 PM, Phil Requirements wrote:
  I find that the column utility belongs to bsdmainutils package, so
  it's a BSD application, not a GNU one. I think it would make sense to
  file a bug, since you want to offer an improvement.
 
 Thanks for point that bsdmainutils out. I had been using FreeBSD for a
 few years before using Linux. I wonder which is the true upstream of
 bsdmainutils? I might file the bug in FreeBSD project, if it is the
 upstream of this Linux package, and hope the changes slip in Linux in a
 few years.
 

It's definitely hard to know where to file a bug for these old
unix apps that are so widespread.

Thanks for bringing up this discussion of the column utility.
I am having fun using it. I just did:

   aptitude update | column -t

Much better!

Phil


-- 
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/20101103230257.ga4...@kasploosh.net



Re: what is the use of -c parameter of column(1), can you demonstrate with an example?

2010-11-02 Thread Phil Requirements
On 2010-11-03 09:44:04 +0800, Zhang Weiwu wrote:
 Can someone dealt with gnu before tell if gnu utilities too bureaucratic
 to accept any change? If they still can accept some change, I would like
 to request an update the man page (I wouldn't file a bug just to wait
 for it to sink in some decades).

I find that the column utility belongs to bsdmainutils package, so
it's a BSD application, not a GNU one. I think it would make sense to
file a bug, since you want to offer an improvement.

 It says:
 
  The column utility formats its input into multiple columns.  Rows are
  filled before columns.  Input is taken from file operands, or, by
  default, from the standard input.  Empty lines are ignored.
 
  The options are as follows:
 
  -c  Output is formatted for a display columns wide.
 
  -t  Determine the number of columns the input contains and create a
  table.  Columns are delimited with whitespace, by default, or
  with the characters supplied using the -s option.  Useful for
  pretty-printing displays.
 
 
 This man page have 2 problems. First:
 
 The first paragraph's mentioning of 'column' obviously means
 something different than the '-c' paragraph's mentioning of 'column'.
 
 In the first paragraph it means what we usually mean column in
 typography, like on daily newspaper: one or more vertical blocks of
 text positioned on a page, usually wraps at 3 to 10 words per line.
 
 The '-c' paragraph it means what column means in man stty(1).

The manual page seems terse to me, but I understand it. When I view
man pages, certain things show up as bold and as underlined.  Does that
happen on your system or locale? So when I read the option for -c, to
me it looks like this:

-c  Output is formatted for a display ulcolumns/ul wide.

On my system, uderlined text is shown in a different color. Because
the word columns is in a different color, I know they are referring
to some kind of variable or argument. Then I can refer to the
synopsis and try to decipher what they mean by column.

I still agree with you that the manual page could be improved, by the way.
But I wanted to mention the underline thing, because those don't show
up in these emails, and might not show up on everyone's computer.

 Second problem:
 
 The usage with -t is to form a table, which, although code level
 implementation is similar to multi-column layout, in fact is a very
 different usage than what is mentioned in the first paragraph.

I agree with you that the column command has a dual function (tables
and columns), and that the dual function is not reflected in the man
page. It seems like they tried to make the man page terse. I prefer
longer and better explanations, but some people don't see it that way.

 A less confusing version from a non-English speaker would be to change
 it to:
 
 The column utility formats its input into a multi-column layout or
 to a table. By default it forms a multi-column layout, taking the
 input, filling rows before columns. With -t it forms a table,
 expanding the field separator to align table columns.
 
 The options are as follows:
 
 -c columns
 Output is formatted for a terminal that has that number of
 columns. Default is the current terminal's column number. Refer
 to stty(1) for more info about terminal columns. A character is
 as wide as one or two columns of a terminal.
 
 -t
 Create a table instead of making a multi-column layout. Columns
 are delimited with whitespace, by default, or with the
 characters supplied using the -s option. Useful for
 pretty-printing tabular data.

Seems better to me. The people who wrote the original man page almost
certainly were not considering non-English speakers.

Phil


-- 
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/20101103054450.ga21...@kasploosh.net



Re: What packages do I need for the ROX desktop environment?

2010-10-30 Thread Phil Requirements
On 2010-10-30 20:55:12 -0500, Jason Hsu, embedded engineer, Linux user wrote:
 What packages do I need for the ROX desktop environment?  This is
 the same DE used in Puppy Linux.  The clickable icons on the Puppy
 Linux desktop are provided by ROX, which provides the functionality
 of GNOME or KDE in a MUCH lighter package.
 

I don't think I would call Rox a desktop environment. It's more
like a multi-faceted app. It definitely doesn't have the scope
of a desktop environment, and yes it would be very much smaller.

Try these:

aptitude search ^rox
aptitude show rox-filer
sudo aptitude install rox-filer -s

Hope that helps,

Phil


-- 
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/20101031043745.ga16...@kasploosh.net



Re: [SOLVED!] Communicating with USB Modem

2010-10-17 Thread Phil Requirements
On 2010-10-13 22:28:10 -0400, Hal Vaughan wrote:
 Comments and some info at the bottom, so it makes sense when you read it.  
 (Hey, there's NO way I'm going to top post on this list!)
 
 Now I have a few notes on this, since there's been a few private
 conversations with people who are in or have seen this thread.
 
 1) I'm basically making a black box for the people I'm working
 with.  I do NOT want them messing with the computer I give them.
 Many times, in embedded systems, there is no PCI slot.  Sometimes
 there is, but I can't count on that.  (I haven't picked my hardware
 config yet.)  So I really need an external modem since the only
 connection I can count on is a USB connector.  (Even with embedded,
 most systems have 2 or more USB connectors, and some people may need
 to hook up a printer there.)

I see that here in Point 1 you rule out a PCI card-based solution
while also admitting that the hardware has not yet been specified. It
seems feasible that if you found a really great and cheap PCI modem,
you could spec the hardware around that.

I mention this because it seems to me that an external USB modem is
not very black box. There would be your discrete little appliance
with a very conspicuous dongle coming off it. A PCI internal modem
that fits inside the appliance would be much more black-box-like.

The problem with PCI card modems is that they are not so likely to
support GNU/Linux. So they aren't a clear winner. But they would be
better for a black box.

 2) I can't count on having an RS232 interface, so that rules out a
 lot of good modems.

Another problem with these hardware modems is that they are large
and require their own power supply, so they are not at all
resembling a black box.

 3) Yes, I know about US Robotics, I have known about them since my
 Apple ][e days.  (Yes, I'm that ancient!)  However, their modem is
 almost twice as much as this one and if things go well, I could need
 20 or more of these systems, and 20 * $20 = $400.  That pays for 40
 group Argentine tango lessons or almost pays for a 10 pack of
 private ballroom lessons.  I'd rather be dancing with women than
 spending extra on modems when I don't have to.  I know that's just
 crazy and silly, but that's the way I am.

Don't pay more than you have to, as long as everything works
to your standard.

 4) I spent the better part of an afternoon and evening on trying to
 get the Encore modem to work and couldn't, so I ordered the Rosewill
 one.  Yes, I'd love to have pursued it, but considering that, at
 this point, I'm only working with one modem and not mass-ordering
 them, it makes no sense to spend hours on making a modem work when
 $30 will get me one that should work.  Again, I know it's silly, but
 I'd rather be dancing with women than working at my computer.  At
 some point, if an idea hits me, I may go back to working on the
 Encore modem, but for now I don't see the point of investing more
 time in it.

I agree that for your purposes it does not make sense to try to make
the Encore modem work, since you are trying to set up something worth
replicating. Why spend many hours battling a modem if you don't have
to?
 
 Thanks to all that helped me with this.  I would love it if I didn't
 need to add another package, especially one not in repositories, but
 this works and it doesn't take much to work, and including this
 package as part of my setup won't be too hard at all.  I don't know
 what kind of reputation Rosewill has, but I've had good luck with
 them, so I'll be sticking with their modem for now and when I get to
 doing the mass-ordering as well.
 
 If people still have more suggestions, I'm still open, but I'm not
 going to spend hours Googling or researching or compiling to get the
 Encore working.
 
 Again, thanks for the help!
 
 Hal
 

Thank you for posting the update on this issue. It is interesting to
know the outcome of all the work you are doing.

I think you Rosewill solution is fine, though I would want to make
sure it performs well over time before deploying two dozen of them.

I only responded because I have this nagging feeling that, as
long as you're going to all this trouble, a PCI card-based solution
would be a lot more black-box-like.

On the other hand, I get the feeling that you do not want the RD
phase to go on for a long time, because it is cutting in to your other
interests.  In which case you might not want to investigate every
possible approach.

Phil


-- 
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/20101018043839.ga29...@kasploosh.net



Re: Communicating with USB Modem

2010-10-10 Thread Phil Requirements
On 2010-10-09 23:17:40 -0400, Hal Vaughan wrote:
 On Oct 9, 2010, at 10:17 PM, Phil Requirements wrote:
 
  The one I used was US Robotics, but I can't lay my hand on it right
  this minute to say the product number.
 
 I saw some USR USB modems, but considering how I'll be buying a
 number of these, and footing the price myself (for various reasons,
 I can't really pass along this cost to my clients), if the $25 modem
 I ordered works, I'll be using it over the $45-$50 USR modems.  It's
 pricing.  Now if they're flaky, then, yes, I'll spend more, but if
 they work, I won't.
 

I agree that you should go with the cheapest one that works as expected.
I don't mean to imply that US Robotics USB modems are better than any
other one, just mentioning that it worked for me. US Robotics had a good
reputation around hardware modems, but then they made WinModems, and
now these USB modems are a breed apart from either of those two. Now
their reputation is ?

I bet part of what you get for $47 from USR is their name brand, and
maybe a RMA policy or warrantee. But if a Rosewill behaves the same, I
doubt the hardware will be much different or more flaky. I'm out on a
limb here, though, because I haven't actually tested different brands
or looked at the hardware.


-- 
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/20101010065109.ga11...@kasploosh.net



Re: Communicating with USB Modem

2010-10-09 Thread Phil Requirements
On 2010-10-09 20:22:41 +, Camaleón wrote:
 On Sat, 09 Oct 2010 15:29:40 -0400, Hal Vaughan wrote:
  On Oct 9, 2010, at 12:44 PM, Camaleón wrote:
 
[big snip]
 
 When it comes to modems and linux, the only way to hit the right device 
 is by using a RS-232 modem. No drivers needed and straight-forward setup 
 for all kind of services (dial-up connection, fax facility...).
 
 Yes, yes... I know. Serial port is a scarce resource in modern 
 motherboards and n[eo]tbook computers ;-(
 

I was connecting by dialup only for about three years until recently.
I agree that RS-232 hardware modems are good.

But there is also a new breed of external USB modems that works just
as easily. The one I bought was US Robotics. It was plug and play, no
additional driver needed.

I bought that modem because the computer that used it did not have
a serial port.


-- 
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/20101010020508.ga2...@kasploosh.net



Re: Communicating with USB Modem

2010-10-09 Thread Phil Requirements
On 2010-10-09 19:26:42 -0400, Hal Vaughan wrote:
 On Oct 9, 2010, at 6:49 PM, Camaleón wrote:
[big snip]
  O.k. I also think geting an USB modem to work should just be plug and 
  play and no needing to mess with drivers at all. But it could worst: 
  there are some embedded modems (those you can find in notebooks) that 
  lack of any driver and they render completely useless.
 
 Yes, that's true.  And, unfortunately, I had information indicating
 that any USB modem would be similar to RS-232 in that it'd be
 plug-n-play.  That's not so.  And, while I'm looking at embedded
 computers (right now I'm waiting to see if the new Soekris Net-6501
 will do well for me), at least the modems aren't embedded!  And if I
 do use Soekris, they have a serial port -- you HAVE to use as a
 terminal during setup, so once I get the original image created and
 working, I can copy it to an image file and easily install it on
 flash cards and just insert it, without using the serial port on
 each one.  And when they're deployed, I may be able to use it for an
 RS-232 modem, but I'm not committing to that yet.
 

I had an external USB modem that was initially very gratifying, to
use with a computer that had no serial port. I plugged it in, the
system found it, and I was online in minutes. No external drivers.
It was a very nice experience after having spent many hours trying
to get drivers to work for WinModem cards.

The one I used was US Robotics, but I can't lay my hand on it right
this minute to say the product number.

I did have some problems with this modem over time. The main thing
I remember is it would get moved from /dev/ttyUSB0 to /dev/ttyUSB1
occasionally. Or sometimes when the machine was booted the device
wouldn't get established. I don't know if these were problems with
the modem or my system.

I wanted to point out that the modem I had initially seemed very good
because of how easy installation was. But that's not the whole story.
And that there are some plug and play USB modems out there.


-- 
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/20101010021707.gb2...@kasploosh.net



Re: What controls font settings?

2010-10-04 Thread Phil Requirements
On 2010-10-03 18:44:17 -0400, vr wrote:
 
 I was using wmaker on Debian unstable.  During my netinst
 installation I did not use tasksel to pick desktop or base
 system.  I've manually installed xserver-xorg, etc., to get my
 desktop going.
 
 Eventually I installed emelfm and its fonts appeared small and
 tight.  After a few days I did an apt-get dist-upgrade and the fonts
 looked spotty in emelfm, iceweasel, and just wmaker in general.  I
 installed xfce4 tonight and the fonts and GUI became really smooth.
 But emelfm and iceweasel and the xfce4 menu still has largish
 looking fonts, although they are smooth.
 
 Aside from configuring each app to use specific fonts, what's
 controlling this 'under the hood' font activity so to speak?
 

You might want to try using different GTK themes. GTK themes will
influence the look of Iceweasel, emelFM, and other applications
that use the GTK toolkit.

You will probably be able to find a GTK theme that makes your fonts
look more to your liking. Make sure you have gtk2-engines installed,
then try out some different GTK themes.

Just an idea,

Phil


-- 
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/20101004214039.ga26...@kasploosh.net



Re: [OT] a radar-like tracking device

2010-09-30 Thread Phil Requirements
On 2010-09-30 23:58:58 +0800, Zhang Weiwu wrote:
 On 2010年09月30日 23:34, Zhang Weiwu wrote:
  # If it works outdoor it's enough. No need to use indoor.
  # If it can find the 'partner' in 150 meters it's good enough. 300 meter
  even better. Longer not needed.
 
 In fact, consider the low requirement of the application, a simple
 device like this will do:
 
1. have a button on one device
2. have a beep device on the other
3. if I press the button it give a short beep so loud that I can hear
   in 150 meters
 
 Then I will be able to use the nature radar: my hearing ability, to
 locate the object. It's actually pretty precious, precious for my
 scenario. With a single beep I have both angel information and distance
 information. (To not to bother others too much, using a recorded dog
 bark instead of a beep would be helpful.)
 

Maybe radio could do what you need. A lot of household stuff like
cordless phones and wirless routers work with radio, and have a
range like you're talking about. Radio would work well outdoors.

You can try googling radio homing device. I found stuff like the
following links at the top of the results:

[1] http://www.hopperanalytical.com/blog/arduino-homing-device-prototype
[2] 
http://www.spyreview.co.uk/2007/07/02/personal-homing-device-find-your-stuff/

Just an idea,

Phil


-- 
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/20100930181939.ga4...@kasploosh.net



Re: Proposal of Fluxbox styles for Debian

2010-09-26 Thread Phil Requirements
On 2010-09-26 22:04:53 +0930, Dale wrote:
 
 If anyone knows the author(s) of the said wallpaper images used in the
 screen shots, could you please let me know so I can add credit to them
 in the style source(s), As the images are included in the current
 version of Fluxbox 1.1.1+dfsg2-1.
 

Dale,

Did you look at the file '/usr/share/doc/fluxbox/AUTHORS'? I don't have
fluxbox installed myself, so I can't check it. But it might list the
people who made the previous themes. And whoever made the themes might
know who made the backgrounds, or they may have made the backgrounds.

You may have already tried this approach, since it is pretty basic.

Phil


-- 
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/2010092605.ga7...@kasploosh.net



Re: Re: Exim4 setup for LAMP web site.

2010-09-24 Thread Phil Requirements
On 2010-09-24 07:41:45 -0700, Gary Roach wrote:
 I got that a valid DNS name isn't present. What do I do about it.
 Does this mean that I need to submit something to my ISP or use one
 of my existing email accounts for a name or stick in something from
 the returns I get from running host. I know what them problem is. I
 just don't know how to fix it. I use Verizon Fios with  an M1424WR
 router if that is any help.
 
 Gary R.
 

Gary,

I understand you are setting up a LAMP server. My question is,
are you doing this from home? Are you using your normal residential
internet service to accomplish this task? Or do you have a server
located in some facility with an ISP, or is it a virtual server?

Either way, probably the easiest way to get Exim4 to send mails
is to send them through a smarthost. Rather than having Exim4 send
mail directly, it just relays them to your ISP's mail server, which
then does the work of delivering them.

The benefit of this approach is that ISP mail servers are generally
trusted, whereas random small mail servers are not trusted, for good
reason.

The way I accomplished this was to use the Exim4 automatic configurator
as much as possible:

sudo dpkg-reconfigure exim4-config

The first question is where you say you're going to use a smarthost.
The following questions are also important. Try to make sense of
what they are asking, and answer appropriately.

To be able to send mail through your ISP's mail server, you need
to know:

  * the name of the mail server
  * a valid user name
  * the user's password

In my case I had to manually enter that information. I didn't know
exactly how to do it, so I consulted the man page for exim4 config files:

man exim4-config_files

Reading that, I found out that I need to put my information into
/etc/exim4/passwd.client, and the format was like this:

mail.myisp.com:myuser:mypassword

...where mail.myisp.com is the name of your ISP's mail server that
you're allowed to use, myuser is your user name with the ISP, and
mypassword is the password of the user.

That is a very quick overview of how my machine sends emails.
If you have not already tried this approach (sending through a
smarthost), it might be something to try.

An alternate to this approach is what someone else suggested:
you purchase a domain name and set yourself up as a full-on
mail server. That is probably overkill for what you want to do.

Hope this helps,

Phil


-- 
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/20100924181404.ga9...@kasploosh.net



Re: Proposed Fluxbox style for Debian

2010-09-19 Thread Phil Requirements
On 2010-09-18 22:31:06 +0930, Dale wrote:
 Hi All,
 
 I have done some more work and now have 2 styles going so people can
 choose either the light or the dark. All can be found on the wiki[1]
 at the the usual place.
 
 Comments and/or suggestions more than welcome :-)
 
 On 17 September 2010 14:01, Dale quail.li...@gmail.com wrote:
  Hi All,
 
  I have done some fixing and theses are the fixes I have done,
 
  * Fixed the fade on the menu
  * Adjusted toolbar, window title bar, menu bar heights from 14 to 18
  * Adjusted font sizes to suit.
 
  I have also added and overlay example to the wiki page[1] of some
  overrides to the theme, and updated the screenshots.
 
  Comments and/or suggestions more than welcome
 
  On 16 September 2010 18:35, Dale quail.li...@gmail.com wrote:
   Hi All,
  
   I have been working on a new Fluxbox style[1] for Debian and hopefully
   come the default theme for a release like squeeze, or the next the
   next Debian release.
  
   Comments and/or suggestions more than welcome
  

Dale,

The scheme that is called Light does not seem very light to me.  I see
that it has more contrast than the Dark theme, but it still uses a
dark background and dark window titles. Overall, it still looks like a
dark theme to me, albeit one with more contrast. Maybe the name is
misleading?

When I think about a typical light theme, I think of a light colored
background with dark text.  For example, the editor that is showing in
one of the screenshots is using the GTK theme Clearlooks (I
think). That is a light theme because it uses white and light gray
backgrounds, black text, and color for accents.

It might be nice to have a true light theme for people who like those.
Apparently, a lot of people like them. Or it might suffice to change
the name of the existing second theme? I guess I would vote for more
difference between the two themes.

Some ideas to take or leave, no need to change anything on my account.

Phil


-- 
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/20100920020731.ga13...@kasploosh.net



Re: RS232-to-USB adapter with dial-up modem

2010-09-17 Thread Phil Requirements
On 2010-09-17 13:28:52 -0700, S D wrote:
 On Fri, 9/17/10, Camaleón noela...@gmail.com wrote:
  On ???, SD wrote:
  
   On Fri, 9/17/10, Camaleón wrote:

Device is detected at /dev/ttyUSB0.

Have you tried to communicate with the modem using
low-level tools, such minicom?
   
   No. Anything in particular I should try? Thanks
  
  Nonthing special. Well, just that you can establish a dialog with
  your modem by sending AT commands and even place calls. And
  minicom is perfect for that :-)
 
 Here's a couple of other things I tried. I replaced 
   /dev/ttyS0
 with
   /dev/ttyUSB0
 in  /etc/ppp/peers/provider.
 
 Still getting Connect script failed error:
 
 Tried minicom. Minicom doesn't seem to allow me to type any commands
 and seemingly responds only to Ctrl A Z. Here's what I see when
 minicom starts.
 
 Welcome to minicom 2.3
 
 OPTIONS: I18n
 Compiled on Feb 24 2008, 16:35:15.
 Port /dev/ttyUSB0
 
  Press CTRL-A Z for help on special keys
 
 Any ideas? Thanks
 

What are you using to try to dial out?

I always used wvdial. What I would suggest, if you haven't tried it,
is to install wvdial. As part of the installation, it will try to
detect and configure the modem.

You can re-run the configuration at any time by doing:

   sudo wvdialconf

Check /etc/wvdial.conf to see if it found anything for your modem. If
it did, fill out the phone number, user name, password, then try to
dial out:

sudo wvdial

Just a basic idea, maybe one you already tried.

Phil


-- 
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/20100917222351.ga2...@kasploosh.net



Re: Unicode Character key-in problem

2010-09-16 Thread Phil Requirements
On 2010-09-16 12:27:35 -0400, Daniel Barclay wrote:
 Phil Requirements wrote:
 On 2010-09-10 18:56:03 -0400, Daniel Barclay wrote:
 Phil Requirements wrote:
 ...
 GNU/Linux has an *improved* method of inputting these special
 characters.  In Windows, you have to memorize these four digit codes
 that don't mean anything. In GNU/Linux, I memorize two-letter codes
 that actually hint at the meaning.
 
 On the other hand, a method based on hexadecimal character codes
 can handle a lot more characters than you can memorize two-key
 combinations for, and ... [you] can use standard Unicode code
 point numbers for characters (which are also used in HTML,
 [etc.]).  the character in those other places; learning a hex code
 would.)
 
 
 I agree with your point that the ability to enter hex codes would be
 portable in a certain way. However, they are not mnemonic at all, and
 are difficult to memorize.
 
 I was trying to address the very specific problem the original poster
 had laid out. He had certain characters that he needed frequently,
 which he had memorized the decimal ASCII code for. In that situation
 (an average user who needs to enter some special characters now and
 then) I still think that the two-letter mnemonic codes are an
 improvement over memorizing decimal ASCII codes.
 
 
 I didn't mean that GNU/Linux isn't improved because it adds the
 composition method (or that the composition is an improvement in many
 cases).  I just meant to point out that it wouldn't clearly be an
 improvement if Linux(/GTK/X11/etc.) had also dropped the numeric entry
 method.
 
 (I'm thinking of when Macintoshes first came out--they added (relative
 to typical computers of the day) the mouse, which was a big improvement
 in most cases, but they dumbly dropped the left and right arrow keys.
 That combination definitely was _not_ an improvement in cases such as
 correcting a typo a couple of characters back from the text cursor.)
 
 Daniel
 

Daniel,

I see what you mean, that it's good to have multiple input methods,
depending on what the user is accustomed to. Definitely agree.

One small point worth noting is that the traditional Windows method of
inputting special characters, going way back for decades, was to enter
the *decimal* ASCII code. So even though GNU/Linux has a method for
entering hex Unicode code points, a migrating user still has to learn
new tricks (convert decimal to hex, or memorize new hex codes).

Windows does have a way to enter Unicode code points, but I haven't
used it. I think it's safe to say that most Windows users with this
problem are accustomed to *decimal* ASCII codes.

Phil


-- 
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/20100916202421.ga3...@kasploosh.net



Re: Proposed Fluxbox style for Debian

2010-09-16 Thread Phil Requirements
On 2010-09-16 18:35:14 +0930, Dale wrote:
 Hi All,
 
 I have been working on a new Fluxbox style[1] for Debian and hopefully
 come the default theme for a release like squeeze, or the next the
 next Debian release.
 
 Comments and/or suggestions more than welcome
 
 Regards
 Dale
 
 [1] http://wiki.debian.org/DebianArt/Themes/Debian_LibStick
 

Dale,

I like it overall. I like the colors, especially the blue color and
the blue outlining. I like the dark colors also.

One thing that catches my eye is the fades. The window titles have a
fade from the center out, which I like. But then the menu highlighting
has a fade from left to right. To my eye, these two different kinds of
fades seem to compete with each other. One possible change would be to
make the menu highlighting not use a fade, or have the same fade as
the title bar. And maybe vary the color of the highlighting vis-a-vis
the title bar?

That's my only suggestion!

Phil


-- 
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/20100916204704.gb3...@kasploosh.net



Re: HP LaserJet 5L - cannot print postscript from cmd line

2010-09-15 Thread Phil Requirements
On 2010-09-15 22:38:02 +0100, michael wrote:
 Folks, I've tried and tried but have failed to get my HP LaserJet 5L,
 connected by parallel port, to print postscript from the command line.
 It will print a page from say iceweasel but just isn't having 
  lpr test.ps
 do the expected thing - rather it prints out the postscript file line by
 line by line.
 
 This is under Debian Lenny (amd64) on a new build on my SATA HDD. Irony
 is I did have it working on Lenny (amd64) previously with my old IDE
 HDD. I've compared the two but can't see what differs.
 
 I'm not quite sure what info is best to send, but hopefully the below
 will help. All help appreciated. Thanks, Michael 
 

I do not know super-much about this issue, but I have one small
idea. Maybe you had some packages installed on your old system that
are not present on your new system?

For example, today I was looking at the package foomatic-filters.
The description for that package sounds like what you want to do:
convert .ps into code that can be used by your printer.

Just an idea,

Phil


-- 
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/20100915220543.ga12...@kasploosh.net



Re: Unicode Character key-in problem

2010-09-14 Thread Phil Requirements
On 2010-09-10 18:56:03 -0400, Daniel Barclay wrote:
 Phil Requirements wrote:
 ...
 GNU/Linux has an *improved* method of inputting these special
 characters.  In Windows, you have to memorize these four digit codes
 that don't mean anything. In GNU/Linux, I memorize two-letter codes
 that actually hint at the meaning.
 
 On the other hand, a method based on hexadecimal character codes can
 handle a lot more characters than you can memorize two-key combinations
 for, and instead of using keyboard-layout-specific combinations, can use
 standard Unicode code point numbers for characters (which are also used
 in HTML, XML, JavaScript, Java, Ruby I think, and who know where else).
 (That is, learning learning a multi-key compose combination for a
 character won't help you when you want to enter the encoded form of
 the character in those other places; learning a hex code would.)
 

I agree with your point that the ability to enter hex codes would be
portable in a certain way. However, they are not mnemonic at all, and
are difficult to memorize.

I was trying to address the very specific problem the original poster
had laid out. He had certain characters that he needed frequently,
which he had memorized the decimal ASCII code for. In that situation
(an average user who needs to enter some special characters now and
then) I still think that the two-letter mnemonic codes are an
improvement over memorizing decimal ASCII codes.

It's a good and valid point about working with Unicode codes. But my
email that you are quoting was written on a simpler level than that.


-- 
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/20100915045804.ga3...@kasploosh.net



Re: Wireless keyboard is not working with grub2

2010-09-14 Thread Phil Requirements
On 2010-09-09 11:54:32 +0530, Kousik Maiti wrote:
 Hi list,
 I have wireless keyboard and mouse of Logitech. I have duel boot
 system. During boot keyboard is not working so I am not able to choose OS.
 Is there any solution?
 

Someone already suggested that this might be a USB vs PS/2 issue.
They suggested changing a setting in the BIOS.

I have an old computer that has a USB keyboard.  In order to have the
keyboard work at boot time, I have to use a USB to PS/2 converter, and
plug the keyboard into the PS/2 port.

So if you don't have a BIOS option for a USB keyboard, because the computer
is too old, you can try a USB to PS/2 converter.

Hope this helps,

Phil


-- 
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/20100915050759.gb3...@kasploosh.net



Re: Unicode Character key-in problem

2010-09-08 Thread Phil Requirements
On 2010-09-07 22:44:27 -0400, Doug wrote:
 
 In DOS and all versions of Windows, going back to the stone age, you
 could hold ALT and press 3 digits of the extended (128~255) ASCII
 table, using the number pad, and get all kinds of foreign and other
 useful characters. For instance, if you wanted a German ess-tset
 character, you would hold ALT and push 225, like this: ß.  I'm
 writing this from Win 7, and you can see that it works. It also
 works in Open Office in the Windows version. Something similar in MS
 Word--I think Word requires a 0 before the code.
 
 As far as I can tell, this does _not_ work in Debian or in
 PcLinuxOs, the two Lx's I have present access to.  Not in plain
 files like KWrite, and not in Open Office. I don't understand what
 the above correspondent is getting at (I don't know what Unicode
 is).  How, in plain English, can one get foreign characters in Linux
 without using an international keyboard?  (I assume that works, as
 the international keyboard is a choice in many distros, under
 Locale.)  Or is it basically just not possible?
 

Doug,

It is very much possible to input foreign characters in GNU/Linux.
And it's easier than in Windows, though it is *different*.

Like you, I was accustomed to the Windows way of inputting special
characters. There were several special characters that I always input
with 3- or 4-digit codes. ALT+0161, ALT+0181, and ALT+0191 to name a
few.

Let's say I want an upside down exclamation mark, so I can write ¡Ay
de mi! In Windows, you would do something like ALT+0161.

In GNU/Linux, I hit the Compose Key, then !, then !.

Let's say I want to type mu, so that it looks like this: µ.
In Linux, I hit the Compose Key, then m, then u.

GNU/Linux has an *improved* method of inputting these special
characters.  In Windows, you have to memorize these four digit codes
that don't mean anything. In GNU/Linux, I memorize two-letter codes
that actually hint at the meaning.

!! -- ¡
mu -- µ
c| -- ¢
e= -- €
Y= -- ¥
ss -- ß

The thing that worked for me was:

1. Set up a Compose Key (plenty of tutorials online)
2. Learn the simple logical two-letter codes (plenty of docs online)

You may already have a Compose Key set up, I wouldn't know.  I had
to set mine up manually. Getting that done is the hardest
part. Learning the codes is easy because they are all common sense.

There might be some other ways to get the function you want, but I
wanted to tell you what worked for me.

I don't know any way to use the actual 4-digit codes that one can use
in Windows. In my opinion, the GNU/Linux method is better.

If you get this working, it will work in a terminal, in a browser, in
KWrite, or whatever else you can think of.

Hope this helps,

Phil


-- 
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/20100908060101.ga32...@kasploosh.net



Re: No icons, help.

2010-09-08 Thread Phil Requirements
On 2010-09-07 23:48:33 -0400, Doug wrote:
 On 9/7/2010 10:27 PM, Neal Hogan wrote:
 On Tue, Sep 7, 2010 at 8:02 PM, Dougdmcgarr...@optonline.net  wrote:
 
 I ordered and received the Debian LXDE version, and am presently
 running the LIVE version, just to get a feel for things.  I will
 have to install the program because I'm taking a Linux/Unix course
 at the local community college, and the instructor wants to use
 Debian.  Most of the time the class will apparently be using a CLI.
 However, in the meantime, on my own time, I would like to be able to
 use the program for other things.
 
 How does one put icons on the desktop???
 
 What desktop? Have you been using, in your extensive Linux experience,
 Gnome, KDE, XFCE, blackbox, fluxbox, . . ., what?
 
 The desktop I refer to is that big space above the system tray, (which
 recent Linux distros call the panel for some reason).  In all the
 other distros, it is easy to drag an icon from wherever it occurs
 and place it on the desktop. Or in PcLOs, you right-click on the
 
 [snip]

Doug,

LXDE is made to be very light. It's supposed to be fast for people
who don't want a lot of frilly features. I have the feeling that it is
not the right desktop for you, because you want a lot of features. If
you have already tried Gnome and didn't like it, then I suggest trying
KDE. It will have all of the desktop icon support you are looking for,
and will be familiar from your other GNU/Linux adventures.

You shouldn't need to download Firefox nor Thunderbird. They are available
as Debian packages, though with different names. Do these commands
in a terminal:

sudo aptitude install iceweasel
sudo aptitude install icedove

Or you can use synaptic and search for iceweasel and icedove, if
you like using synaptic.

Phil


-- 
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/20100908062439.gb32...@kasploosh.net



Re: newbie intro

2010-08-14 Thread Phil Requirements
On 2010-08-14 11:16:23 -0500, Tom Poe wrote:
 Camaleón wrote:
 On Sat, 14 Aug 2010 09:51:21 -0500, Tom Poe wrote:
 
 Hi:  Is this correct list for learning how to install and use
 debian?
 
 I hope so :-)
 
 [snip] 

 workstation/server.  The desktop has two hard drives, 80GB and
 160GB.  Would like to use both drives as one.  Not sure how to
 prepare drive settings to install with reformatting both when
 inserting CD/DVD.  Any suggestions appreciated (really limited
 computer skills, here).
 Tom
 

Tom,

I'm not sure what you mean by use both drives as one, but I think
you are adding some complexity that doesn't need to be there. Since
you are just starting, I suggest you DO NOT try to merge the disks
in any way. Here is a different suggestion.

You are probably somewhat familiar with the linux file system from
using Ubuntu. One of the basic concepts, different from Windows, is
that there is only one file system on the machine, and every hard
disk, or CD, or DVD, or flash drive is integrated somewhere into this
file system. There is no C:\, nor D:\, nor E:\, but only one file
system /.

My computer has three hard drives and, 2 DVD drives, some network
drives. And they all work as one, which is part of your wishlist.
Here is the more basic way to accomplish this:

Install the operating system onto whichever drive is newer and
more trustworthy. Ignore the other hard drive during the installation
process. After the system is up and running well, you will add that
second hard drive back into your system, and use it for some function
that needs extra storage.

You could use the second hard drive as a backup:

/the root of the file system
/home/tom/   your home folder
/mnt/backup/ -- everything placed in this folder goes on your 2nd hdd

Or you could use the second hard drive to store digital camera
images:

/   the root of the file system
/home/tom/  your home folder
/home/tom/images/Canon/ -- everything place in this folder goes on your 
2nd hdd

This is a more simple, basic, normal setup. Once you are using
the computer, all hard drives will seem to be unified into this
one file system. They will all function as one and be totally
transparent to you. It will all appear to be one big 240 GB file
system. Would that be good enough?

Phil


-- 
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/20100814211813.ga1...@kasploosh.net



Re: It also lists the DBM library this is being used: s/this/that/ ?

2010-08-13 Thread Phil Requirements
On 2010-08-10 19:31:19 -0500, green wrote:
 Regid Ichira wrote at 2010-08-10 08:10 -0500:
Does `It also lists the DBM library this is being used' a
  correct English phrase?
 
 Probably not.  And neither is your question; 's/Does/Is'  :)
 
 I suppose you could submit a severity=minor bug about the file.


It was probably meant to say:

It also lists the DBM library that is being used...

Phil


-- 
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/20100813205009.ga2...@kasploosh.net



Re: Getting uvesafb to work on Squeeze

2010-08-09 Thread Phil Requirements
On 2010-08-09 04:43:59 +0200, Frank Steinmetzger wrote:
 Am Montag, 9. August 2010 schrieb Tom H:
  On Sun, Aug 8, 2010 at 5:14 PM, Frank Steinmetzger war...@gmx.de wrote:
   On ye olde Gentoo I was a happy user of uvesafb at my laptop’s native
   resolution of 1400x1050. A while ago I installed Squeeze, and naturally,
   I would like it to also have a tiny console font. (The “Tiny Console
   Font” thread is what got me into investigating this issue again). :o)
   
  If you are using grub2, try changing the values of
  GRUB_GFXMODE
  GRUB_GFXPAYLOAD_LINUX
  in
  /etc/default/grub
  to your required resolution and run
  update-grub
 
 I now saw the boot messages at 1400x1050 right away. However, the colours 
 were 
 all wrong, everything was brighter and the hue was set off. I.e. white now 
 was 
 light green, red became purple and so on. fbset now said that the framebuffer 
 was EFI VGA instead of VESA VGA.
 

I did a lot of experimenting with different framebuffer settings
recently, and with some of the experiments I saw the same green color
as you are describing. In the end I determined that the pale green
color was due to the color depth portion of the framebuffer mode.

For example, the following setting will produce that pale green color:

GRUB_GFXMODE=1024x768x16

But if you change the color depth to 24 or 32, everything turns out better:

GRUB_GFXMODE=1024x768x24

I noticed in your description of the solution, that you did not
specify a color depth one way or another. It might be something to
consider.

Just in case it's helpful,

Phil


-- 
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/20100809065344.ga3...@kasploosh.net



Re: horrible mc colorscheme

2010-06-09 Thread Phil Requirements
On 2010-04-18 14:42:15 -0500, Hugo Vanwoerkom wrote:
godo wrote:
Hugo Vanwoerkom wrote:
Hugo Vanwoerkom wrote:

Hi,

I just made the mistake of my life and upgraded mc from
2:4.6.2~git20080311-4 to 3:4.7.0.1-1.


So what happened is that starting with 4.7.0 mc supports skins.

I found no skins anywhere with my choice for years: white background.

So it's back to the old blue default because it takes days of
diddling to make up a skin.


Hi,
I was just download and open elite_commander skin.
I think if in:
[core]
_default_=gray;

change to white
[core]
_default_=white;
it should be white background.

 
 It's not that simple as I mention there: when you change that
 default option all the directory entries turn bright white and in
 mcedit the entries turn black on white with a blue background which
 looks ridiculous.
 
 The problem is that they changed a major function without fallback
 and without a spectrum of options.
 
 Too bad but it's waiting until skins get developed or pinning mc to
 prevent 4.7.0.1 from installing.
 

Hugo,

I recently upgraded my mc to try to fix an issue. I use a custom theme
for mc, and the upgrade made my theme go a little weird. So this
weekend I redid my theme to fit into the new skins paradigm.  It was
not too hard to do.

While I was at it, I made a white background theme that you might want
to try. Personally, I don't use a white background because some colors
like yellow, green, and cyan don't show up very well. But I thought it
was an interesting exercise, and it didn't take too long.

You might want to try it, you can get a copy here:

http://www.kasploosh.com/out/polar_bear.ini

Copy it to this path on your local system:

~/.mc/skins/polar_bear.ini

Close all instances of mc so that the ini file will be available for
editing.  Edit ~/.mc/ini, search for skin, and change it to this:

skin=polar_bear.ini

After that, you should have a white background, assuming you did not revert
your mc to the 4.6 line already.

My overall impression is that the team that is revising mc is doing a good
job. This change to using skins is a step in the right direction. It makes
the themes *much* easier to edit. In the past they were located directly in
~/.mc/ini and it was a mess. The syntax for the skins is barely different
than the previous method, so it's not a giant change.

The documentation is lagging, as happens with a lot of projects. But it's
nice to see that they are fixing some longstanding issues.

Feel free to change anything in this theme according to your preferences.
Everybody experiences colors differently. One note is that I tried to make
this look good both in console mode and in an xterm. If you only use mc
inside an xterm, some of the color choices could be different.

Hope this helps,

Phil


-- 
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/20100609215912.ga28...@kasploosh.net



Re: Where is the Xorg.conf - to setup XKB layouts on Squeeze?

2010-06-04 Thread Phil Requirements
On 2010-06-04 20:20:32 +0200, Wolodja Wentland wrote:
 On Fri, Jun 04, 2010 at 20:03 +0200, Paul Chany wrote:
  Unfortunately for this I have to have setup XKeyboard layouts in
  xorg.conf. I had this setup on Debian Lenny because there is the file
  /etc/X11/Xorg.conf but here on Squeeze I can't find any Xorg.conf.
 
 If you *need* a Xorg.conf there is no harm in creating one and *all*
 user configuration should happen in there. (as opposed to arcane
 udev/hal rules). Take a look at [1] if you want more information. :)
 

Yes, you need to create a simple xorg.conf, because they aren't
used by default. I had to create xorg.conf on my system to specify
some keyboard options. It works nicely.

Take care to use the proper spelling for the file name.

  /etc/X11/Xorg.conf but here on Squeeze I can't find any Xorg.conf.
 ^
Should be:

/etc/X11/xorg.conf
 ^
Good luck!

Phil


-- 
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/20100604191807.ga4...@kasploosh.net



Re: Dependency based boot sequence conversion

2010-05-28 Thread Phil Requirements
On 2010-05-27 20:30:09 -0400, Joey Hess wrote:
Sven Joachim wrote:
 What will the boot sequence be when I convert?
 Anybody know how to wring that out of insserv?
 
 Try the following (you don't have to be root for that):
 
 $ cp -a /etc/{init,rc?}.d /tmp/
 $ /sbin/insserv -p /tmp/init.d/
 
 And inspect the /tmp/rc?.d directories.

I recently converted a fairly stock desktop system to dep based boot.
Here's how git describes the changes (thanks to using etckeeper):

[master c392728] dep based boot
 Author: root r...@localhost
 298 files changed, 107 insertions(+), 58 deletions(-)
 create mode 100644 init.d/.depend.boot
 create mode 100644 init.d/.depend.start
 create mode 100644 init.d/.depend.stop


I think the short answer is the rc directories will look almost
exactly the same, but the numbers change.

I changed to dependency-based booting a while back. Some time later, I
wanted to make MySQL not start at boot. I looked in the rc dirs and
thought, What the heck? I thought these were going to change?
They looked the same as ever.

I was expecting them to go away and be replaced by a ???
Maybe some kind of binary config file? Held only in memory??
What does it mean, this awful sounding 'dependency-based booting'?

Glad to find out it didn't change too much.

Phil


-- 
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/20100528052809.ga13...@kasploosh.net



Re: X freezes with 2.6.32-5; okay with 2.6.26-2

2010-05-22 Thread Phil Requirements
On 2010-05-13 08:42:09 -0500, Kent West wrote:
 I've got an older 600MHz PIII running Sid; if I boot into the
 installed 2.6.26-2-68 kernel, everything's fine, but if I boot into
 the installed 2.6.32-5-68 kernel, everything's fine until X is
 started (either manually or with a session manager or even when

Hi, I don't know if this will fix your problem or not. But when
somebody says my system worked fine with 2.6.26, now it won't work
with 2.6.32 there is one alarm bell that goes off in my head.

Sometime between 2.6.26 and 2.6.30 the Debian team removed proprietary
firmware blobs from the kernel. Several of these blobs are related
to ATI video drivers, including one for r128.

I had a similar issue to you when I moved from 2.6.26 to 2.6.30. I
don't think X stopped working for me, but performance went way
down. While troubleshooting the problem (for a long time), I found a
mention in the README.Debian that said this important firmware had
been removed. I think it was removed at 2.6.29

Do aptitude show firmware-linux-nonfree to see what I mean.

  * Rage 128 CCE microcode (r128/r128_cce.bin) 

I installed the firmware on my systems, but I'm not convinced it worked,
because my video performance doesn't seem as good as it was before.

Make sure to read the READMEs for your video card driver. I think it
will be in /usr/share/doc/r128.

Hope this helps,

Phil


-- 
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/20100523055708.ga2...@kasploosh.net



Re: Thunderbird's WebMail addon (used together with `-Hotmail' extension of it) download sometimes all the e-mails since some date, even if they have already been retrieved at another period

2010-05-20 Thread Phil Requirements
On 2010-05-18 22:16:57 +0200, tv.deb...@googlemail.com wrote:
 Le 18/05/2010 21:30, Merciadri Luca wrote:
 some add-ons, such as `WebMail'. This add-on lets it fetch your e-mails
 from mail servers only dealing with special protocols (not as POP, IMAP,
 etc.). I use it together with `WebMail -Hotmail', that is, to check my

 Hi, don't know about your problem but there's no need any more for
 webmail hotmail addon, just use pop3.live.com as your pop server and
 smtp.live.com for smtp. It works with old accounts in @hotmail
 too.
 

+1 for this suggestion.

I remember the days when I had to set up a computer to get Hotmail
using the WebMail add-on. It never seemed to work quite right.

But then a magical thing happened and Microsoft started having a
POP3 service for hotmail accounts. We kicked that WebMail add-on
to the curb, and never looked back.

Have a nice day,

Phil


-- 
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/20100520060313.ga24...@kasploosh.net



Re: emacs22-nox emacs23-nox how to run with X and without X on same machine?

2010-05-13 Thread Phil Requirements
On 2010-05-13 00:13:15 -0400, Mitchell Laks wrote:
 How can I get to use both emacs23-nox and emacs with gtk BOTH on the
 same machine, sometimes with X and sometimes without?

Hi Mitchell,

If you want to use Emacs with the GUI interface sometimes, you can
safely ignore the emacs23-nox package. You don't need to have both
emacs23 and emacs23-nox installed.

emacs23 - includes both the GUI version and the text-mode version.
emacs23-nox - has had all the GUI stuff stripped out.

Here's how I like to use Emacs, so it can be used in both GUI and
text-mode at the same time. First, I start Emacs in daemon mode:

emacs --daemon

Then I use emacsclient to open files from the command line or
from a file manager.

emacsclient myfile.txt -c
emacsclient myfile.txt -t

Using the -c option, the file will be opened in a GUI window.
Using the -t option, the file will be opened in text mode.

Hope this helps,

Phil


-- 
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/20100513063035.ga2...@kasploosh.net



Re: Simple tool to extract sound from video?

2010-05-08 Thread Phil Requirements
On 2010-05-07 23:52:47 -0500, Ron Johnson wrote:
On 05/07/2010 09:48 PM, Phil Requirements wrote:
On 2010-05-07 18:19:44 +0200, Merciadri Luca wrote:
Rob Owens wrote:
Avidemux can do it also.  It's a GUI, but I think it's more
straightforward to do it with ffmpeg, as suggested above

Thanks. ffmpeg does actually, exactly what I want. Thanks. (For such
things, people habitually ask for a mere commandline use, at least me.)

to watch videos, so I have an mplayer recipe to do this same job.  It
goes like this:

 mplayer myvideo.avi -vc null -vo null -ao pcm:file=myvideo.wav

$ mplayer ${i}.mpeg -dumpaudio -dumpfile ${i}.raw_audio
$ file ${i}.raw_audio
$ mv ${i}.raw_audio ${i}.whatever


Yes, another interesting way to use mplayer. You can use the
-dumpaudio option to get the raw audio data out of the file.  I am
usually not trying to get the raw audio however, because it might be
compressed or encoded in weird ways. I usally want to have a nice
uncompressed wav file that I can work with. And mplayer is pretty
handy for that...

So many choices!

Phil


-- 
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/20100508064633.gb1...@kasploosh.net



Re: Simple tool to extract sound from video?

2010-05-07 Thread Phil Requirements
On 2010-05-07 18:19:44 +0200, Merciadri Luca wrote:
Rob Owens wrote:
 Avidemux can do it also.  It's a GUI, but I think it's more
 straightforward to do it with ffmpeg, as suggested above

Thanks. ffmpeg does actually, exactly what I want. Thanks. (For such
things, people habitually ask for a mere commandline use, at least me.)


I wanted to add a different command line solution. I use mplayer a lot
to watch videos, so I have an mplayer recipe to do this same job.  It
goes like this:

mplayer myvideo.avi -vc null -vo null -ao pcm:file=myvideo.wav

This is just another option. I think mplayer makes some things easier
because it chooses codecs for you. If mplayer can play your file, it
can also write it to disk.

Hope this helps,

Phil


-- 
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/20100508024845.ga1...@kasploosh.net



Re: Making onscreen fonts read-able[was:New monitor, how to change screen resolution?]

2010-05-05 Thread Phil Requirements
On 2010-04-30 10:05:42 +0200, James Stuckey wrote:

http://www.jhstuckey.com/1080.jpeg

Does that look right to you?

I think the problem you are having is un-themed GTK. You don't have
a desktop suite, so maybe you're like me and you like to keep your
system lean and mean. If so, it could be that you don't have any GTK
themes installed. A simple, lightweight GTK theme will drastically
improve the appearance of Iceweasel. The default GTK theme is called
Raleigh and it's not very good, the fonts are too big, and so on.

I lived without a theme for a while until I got so sick of how ugly
my GTK apps were. Then I went searching for themes and everything's
better. You can even get themes that are light and have good
performance.

If you are interested in getting some simple GTK themes:

aptitude install gtk2-engines

Hope this helps,

Phil


-- 
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/20100505073523.ga5...@kasploosh.net



Console font turned cyan

2010-04-11 Thread Phil Requirements
 I don't know when it happened but it must have been during some
 aptitude upgrade run lately: My console font turned from white to
 cyan. At first I thought that the red VGA signal had a bad contact,

I was recently experimenting with framebuffer settings, and when I tried certain
settings, I got something very similar to what you are describing. Specifically,
I got the pale green text when I chose a framebuffer setting of a certain bit
depth, and it had the multi-color smeary looking distortion.

I wanted my framebuffer to be nice because I use some console apps and I
don't always like to run X. I was experimenting with lots of settings. When I
tried 1024x768x24, it looks nice. 1024x768x32 is also nice.

But when I tried 1024x768x16 or 1024x768x8, the colors were all wrong, and the
main console font was a sickly green color. Not quite cyan, but similar.

Your framebuffer could have gone on the fritz with your recent update if you
changed from grub-legacy to grub-pc (the new grub). The new grub has a different
way of setting up framebuffers, you can't use vga=795 any more.

If you want to try to chase down a new-grub framebuffer problem, try looking
at these:

/etc/grub/default
GRUB_GFXMODE=1024x768x32 (or whatever you choose)
GRUB_TERMINAL
update-grub
gfxpayload

These are just some ideas that I thought might be helpful.

Phil


-- 
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/20100411070120.ga6...@kasploosh.net