Re: How do you use TCPDump?

2011-03-04 Thread Chris Jones
On Fri, Mar 04, 2011 at 03:30:47AM EST, Anand Sivaram wrote:

 Correct, it is wireshark now.  Somehow I still remember that with the
 name ethereal :)

In ‘lenny’ at least, there's still a dummy ‘ethereal’ package.. That's
how I found the new name.. couldn't remember it. Anyway, I mentioned it
in case the OP needs to google for it.

cj


-- 
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/20110304115801.GA4176@pavo.local



Re: Debian 6 uninstallable?

2011-03-04 Thread Chris Jones
On Fri, Mar 04, 2011 at 06:06:34AM EST, Camaleón wrote:

[..]

 For small images (netiso) I do not tend to verify the checksum

I just did one.. takes about five seconds to generate the checksum. 

And since the checksum is going to end up very different even for a lost
bit or so.. you can tell at glance whether it's right or not.

 media, but for bigger files (CD or DVD sets) I do, just to discard any 
 problem with the burning proccess. 

I usually run md5sum a second time against the medium after burning and
it only takes a few seconds:

  # mount /dev/sdc /media
  # cd /media
  # md5sum -c md5sum.txt

But then, the only good it ever did me was to reveal some kind of bug
with md5sum.txt and the install CD not being in sync'.. :-)

Just did one with Linux Mint 10 Ubuntu version.. and I've wasted about
an hour trying to figure out why I have files listed in md5sum.txt that
do not even exist..!

I guess I should've downloaded the debian-based version instead.. 

cj


-- 
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/20110304234242.GA4059@pavo.local



Re: new hard drive usb WD My Passport essential SE 1Tb

2011-03-03 Thread Chris Jones
On Thu, Mar 03, 2011 at 03:27:50PM EST, Kjetil brinchmann Halvorsen wrote:

 I have a new usb hard drive of the specs in the subject line. On
 plugging it in it shows on the desktop, but on clicking it nothing
 happens. Anybody have experience getting this to work on debian
 (squeeze)?

I bought one of those - USB 3.0 - from amazon.com 11/22/10 and sent it
back the next day. 

Here's why:

1. It was randomly recognized when I plugged it into my router's USB
   port. Now you see it.. now you don't...
2. Same thing with the laptop running Microsoft Windows Vista..! Except
   that it was not random this time.. Vista saw it once and after that
   it disappeared.
3. It was never recognized by debian lenny.
4. I would have started researching  looked for an explanation and
   a possible fix but then I noticed that it was clucking at me every
   few seconds, like it wanted to be fed or something...
5. Amazon do have a decent return policy  I can only take so much
   aggravation these days. 

Hope you have better luck with yours.

cj


-- 
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/20110304030918.GA4250@pavo.local



Re: How do you use TCPDump?

2011-03-03 Thread Chris Jones
On Thu, Mar 03, 2011 at 09:00:43AM EST, Anand Sivaram wrote:

 Tcpdump and Ethereal are very similar in terms of capture filters.
 They both use libpcap.

I believe they call it ‘wireshark’ these days..

cj


-- 
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/20110304031150.GB4250@pavo.local



Re: A Debian -offtopic mailing list: to be or not to be

2011-03-02 Thread Chris Jones
On Wed, Mar 02, 2011 at 06:48:47AM EST, Andrei Popescu wrote:
 On Ma, 01 mar 11, 19:59:25, Chris Jones wrote:

   That shouldn't be a problem, the list is setup as close as
   possible[1] to debian-user: posting open, no reply-to munging,
   etc. so all you would need to do to move a discussion is
   reply-to-all and replace d-u with d-OT.
  
  Well, I did just that about two hours ago.. hit ‘g’ reply-to-group,
  which is the closest to reply-all I could find.. and changed d-u to
  d-ot.. and all I got was something in my inbox to the effect that my
  message was undeliverable.. So depending on your mailer, I'm
  skeptical things are that simple.
 
 My cristal ball says you have a mutt alias or hook that fills in the
 correct address for you (or something like that), but it doesn't work
 for d-community-offto...@lists.alioth.debian.org (don't forget the
 'alioth' part).

I know that Andrei.. and I know how to fix it and make it work.. but do
many people even bother adding [OT] to the subject.. or even as
I usually do myself, have the sense to drop the issue when they feel
they have abused the less tolerant subscribers' patience enough
already..? 

  In any case.. even if the above had worked.. it would only have
  posted my particular post to d-OT.. what about the previous OT
  messages that were initially posted to D-U and would be essential
  :-) to anyone catching up understanding what I am talking about..?
  And how does it guarantee that whoever takes a fancy to the OT
  thread while reading debian-user would post to debian-OT.. rather
  than follow the simplest course of action and post to debian-user..?

 And to my initial instructions, you might want to leave d-u in for the 
 *first* post[1], so that people from d-u who are interested know that 
 the discussion was moved[2].

I don't know.. in most cases, you might as well move the conversation
off-list.. and use reply-to-all if there are more than one other party
involved.. Are OT threads of such interest that they should remain
public so others get a chance to join in..? Are they worth archiving in
a public repos for posterity?

 [1] please do set Reply-To: and/or Mail-Followup-to: to
 d-community-offtopic@l.a.d.o in such cases
 
 [2] one can argue that this is not necessary or even harmful for d-u,
 since people interested in OT discussions would already be subscribed
 to d-OT, but on the other hand it might help to point out to other
 posters in the thread to stop posting to d-u in other sub-threads.

I guess I'll have to give it a try... a bit more seriously this time.

cj


--
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/20110302123435.GB8749@pavo.local



Re: Best and most popular distros for the enterprise desktop

2011-03-01 Thread Chris Jones
On Tue, Mar 01, 2011 at 10:56:14AM EST, Jason Hsu wrote:

[..]

 Linux Mint is derived from Ubuntu..

http://blog.linuxmint.com/?p=1604

cj


-- 
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/20110301190408.GE4119@pavo.local



Re: A Debian -offtopic mailing list: to be or not to be

2011-03-01 Thread Chris Jones
On Tue, Mar 01, 2011 at 04:10:01AM EST, Andrei Popescu wrote:
 On Lu, 28 feb 11, 22:47:17, Chris Jones wrote:

  So what do I do..? recommend we continue our heated discussion on
  the OT mailing list..? too bad.. she's not subscribed to D-OT .. and
  given the circumstances and our disagreement.. no way she's going to
  go through all the trouble of subscribing..
 
 That shouldn't be a problem, the list is setup as close as possible[1]
 to debian-user: posting open, no reply-to munging, etc. so all you
 would need to do to move a discussion is reply-to-all and replace d-u
 with d-OT.

Well, I did just that about two hours ago.. hit ‘g’ reply-to-group,
which is the closest to reply-all I could find.. and changed d-u to
d-ot.. and all I got was something in my inbox to the effect that my
message was undeliverable.. So depending on your mailer, I'm skeptical
things are that simple.

In any case.. even if the above had worked.. it would only have posted
my particular post to d-OT.. what about the previous OT messages that
were initially posted to D-U and would be essential :-) to anyone
catching up understanding what I am talking about..? And how does it
guarantee that whoever takes a fancy to the OT thread while reading
debian-user would post to debian-OT.. rather than follow the simplest
course of action and post to debian-user..?

cj


--
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/20110302005925.GI4119@pavo.local



Re: A Debian -offtopic mailing list: to be or not to be

2011-02-28 Thread Chris Jones
On Mon, Feb 28, 2011 at 10:34:04AM EST, Andrei Popescu wrote:
 [Cross-posted to: d-community-offtopic, debian-user]
 
 [For those who don't know what I'm talking about, please see #425439
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=425439]

 Hi,
 
 Being the stubborn person that I am, I want to give one more chance to
 the -offtopic list for Debian users and/or developers.
 
 Thanks to Holger Levsen, the list is currently hosted on
 lists.alioth.debian.org by the Debian Community project and has some
 30+ subscribers. However, activity is zero (not counting the
 occasional spam).
 
 Interestingly, the OT threads on debian-user also went down a lot
 since a few years, for reasons unknown to me.
 
 So, unless something happens on the list (apart from this thread and
 the spam) I intend to remove/delete the list within a month.

Still haunts me.. I shouldn't have done, but I bit.. and I got involved
in yet another OT squabble. Being a proud  responsible D-U citizen I'm
embarrassed .. deep down, I know I should have ignored the idiot.. but
it's too late now.. I can't just let go... I have to stick to my guns
and reply to the obnoxious poster who so ridiculed my previous valuable
contribution.. 
  
But wait.. maybe I could carry this over to D-OT, what..?

So what do I do..? recommend we continue our heated discussion on the OT
mailing list..? too bad.. she's not subscribed to D-OT .. and given the
circumstances and our disagreement.. no way she's going to go through
all the trouble of subscribing..

Otherwise.. maybe I could use the scripting capabilities of my mutt to
forward the entire thread to debian-off-topic and post some kind of
form? telling her that I'd be delighted to continue discussing.. and
if she is agreeable, she only needs to click on the proverbial ‘here’ at
the bottom of the form to be almost automatically subscribed to D-OT, so
we can ‘legally’ carry on with our jousting.. and in so doing.. stop
bothering the less tolerant technically-minded subscribers of D-U.. ??

Nobody is going to _start_ a thread on ‘debian-OT’ .. I mean OT.. sure..
but relative to what..? and there does not seem to be a simple mechanism
where one could migrate a flourishing OT sub-thread from D-Uto D-OT..

Makes sense there is ~= None activity on D-OT..

cj


--
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/20110301034717.GC4119@pavo.local



Re: Debian Multi-Media.

2011-02-23 Thread Chris Jones
On Wed, Feb 23, 2011 at 03:46:27PM EST, Ron Johnson wrote:
 On 02/23/2011 01:50 PM, Camaleón wrote:
 On Wed, 23 Feb 2011 13:34:05 -0600, Ron Johnson wrote:

 On 02/23/2011 11:16 AM, Camaleón wrote:


 Shouldn't D-M maintainers post here about any problem on the repos
 or widespread a bit more what is going on?




 Should???

 It would be *nice* and it would be *helpful* to do so, but seeing
 that neither you nor I are paying him for the time, effort,
 bandwidth, etc, those who still use oldstable should just be glad
 that he's doing it.

 I think you misunderstood my words... or maybe I didn't chose the
 right ones.

 I wasn't saying that they *should* provide _packages_ for oldstable
 releases but *notify* here -in this same mailing list, where people
 can then spread those changes elsewhere- for any update in D-M
 repositories.


 Yes, it would be nice and useful.

 However, the word should in English expresses (in gcide's words)
 moral obligation, and Christian Marillat is under no moral
 obligation to do so. Merriam-Webster uses the similar phrase express
 obligation, propriety, or expediency.

Hm.. Camaléon used the ‘interro-negative’ form: ‘shouldn't’.. 

Quite different from an affirmative ‘should’..

Take for instance:

‘Shouldn't we ban OT'ers and nitpickers from the list?’¹

I don't see much (if any) moral obligation involved in the above.. or
expediency.. or propriety..?

Rather a suggestion that so doing might be a good idea. Not essentially
different from ‘Don't you think we should ban...’ 

When I read it, I felt Camaléon meant ‘What do you guys think?’.. rather
than suggest that the DM team was under any obligation to keep us posted
with regard to their progress.

Yes..? No..?

cj

¹ A purely rhetorical question ;-)


-- 
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/20110224001134.GA4224@pavo.local



Re: Setup xterm to use TrueType Fonts in .Xdefaults

2011-02-20 Thread Chris Jones
On Sun, Feb 20, 2011 at 11:15:08AM EST, Csanyi Pal wrote:

 Hi,
 
 I'm trying to setup in .Xdefaults for xterm to use TrueType Fonts so I
 don't must use every time the 'control' key and pointer button three to
 set this up in the VT Fonts menu. 
 
 I want also to setup the geometry for xterm and enable blinking cursor
 too. 
 
 Lines that I tried to use for this setup in .Xdefaults doesn't works
 when I log out/in into X Window system, but only works when I run the
 command 'xrdb -merge .Xdefaults':
 
 xterm*geometry: 90x40
 xterm*renderFont: default
 xterm*cursorBlink: true

try (untested): 

  xterm.VT100.renderFont: default

Not sure what font ‘default’ points to..

 Also when I start another xterm window after run the command 
 'xrdb -merge .Xdefaults' I can't use the xterm menus anymore (control
 key and mouse buttons) because the menus become so large that it can't
 be displayed.

Depending on how you start X (startx?).. you could add your ‘xrdb -merge’
comnand to your ~/.xinitrc.

 I'm not sure whether is the renderFont option the right option for
 setting up xterm for TrueType Fonts?

You could also try ‘faceName’.

Check ‘man xterm’.

cj


-- 
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/20110220202203.GC4162@pavo.local



Re: xterm question [SOLVED]

2011-02-18 Thread Chris Jones
On Fri, Feb 18, 2011 at 01:47:27AM EST, Mike McClain wrote:

[..]

 After a day spent reading several articles on X and xterm I finally
 came to the realization that the use of bind you pointed out earlier
 in this thread would do what I wanted. Using ^v to see what the key
 combinations were sending it wasn't much trouble to put together
 a file to feed to bind to set the bindings I wanted.

Great..!

 mike@/deb40a:~ cat xterm_bindings
 # xterm bindings2/17/11 Mc
 #   use: bind -f xterm_bindings
 #   ^Home
 \M-[1;5H: backward-kill-line
 #   ^End
 \M-[1;5F: kill-line
 #   ^Del
 \M-[3;5~: kill-whole-line
 #   ^BS
 \C-H: backward-kill-word
 #   ^Left
 \M-[1;5D: backward-word
 #   ^Right
 \M-[1;5C: forward-word

 I use these readline editing bindings on the CL all the time and
 really missed them in xterm. 

 Thanks for your help,

You're welcome, glad I could be of some help.

cj


-- 
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/20110218081019.GE29770@pavo.local



Re: How long has your Lenny - Squeeze upgrade taken?

2011-02-18 Thread Chris Jones
On Fri, Feb 18, 2011 at 04:35:54AM EST, Clive Standbridge wrote:

  Realizing this is dependent on computer specs, just curious what
  some of the people on this list have experienced for how much time
  it took to do the Lenny to Squeeze upgrade, (assuming a fully
  up-to-date Lenny system).

 Based on upgrades of earlier releases (haven't upgraded anything to
 squeeze yet), you are looking at hours, not minutes.
 
 My record is 13 hours for an etch to lenny upgrade.

Mine is something like 8 months.. due to a problem with a PCMCIA card
and looking at the wrong doc.. Of course, the issue being that specific,
there was no way it was ever going to be mentioned in the etch release
notes.:-( 

Of course, since sarge was still supported, and since I always do the
ugrade on a clone of the previous system, I had little motivation to
make things happen any faster.

But all the same, I currently have linux console resolution problems
with my squeeze upgrade with no end in sight.

Just to mention that depending on your circumstances, and how much
inconvenience you're prepared to put up with with the new system,
there's always a chance that you may run into a showstopper that may
delay the switch for much longer than the time the upgrade procedure
actually takes.

 On a 2Mbit connection only a small proportion of that time was spent
 downloading packages. The system was an AMD Duron 650MHz of 2000
 vintage, and laden with Gnome, KDE, and various server packages
 including cups, exim, apache, hplip, moinmoin.  (Note to self: purge
 unwanted software before the next upgrade).

 Even on much newer/faster and less loaded systems I don't recall any
 upgrade taking much less than an hour.
 
 You need to be on hand during the upgrade, as configuration questions
 can occur at any time.
 
 Also if you rely on the system for anything important, you need to
 allow time to diagnose and fix the fallout i.e. breakages that aren't
 covered in the release notes. It happens unfortunately.

Oh yes, it does.. :-( 

cj


-- 
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/20110218130228.GF29770@pavo.local



Re: OpenOffice has become LibreOffice?

2011-02-16 Thread Chris Jones
On Tue, Feb 15, 2011 at 07:12:02PM EST, Brad Alexander wrote:

[..]

 Honestly, I saw the writing on the wall when Elom was named CEO of
 Nokia.

It's ‘Elop’.. easy mnemonics:. rhymes with cop, flop, mop, slop, etc.

cj


-- 
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/20110216080242.GB4201@pavo.local



Re: xterm question

2011-02-16 Thread Chris Jones
On Tue, Feb 15, 2011 at 11:33:13AM EST, Chris Jones wrote:

[..]

 He probably wants:
 
 $ xrdb -load ~/.Xresources

That should  have been..

$ xrdb -merge ~/.Xresources

%-)

cj


-- 
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/20110216143927.GE4201@pavo.local



Re: xterm question

2011-02-16 Thread Chris Jones
On Wed, Feb 16, 2011 at 12:39:39PM EST, Mike McClain wrote:

[..]

 That said the complexities of 'nix is a broad subject and though
 I've been a user for many years there is still so much I don't
 know that it's easy to get overwhelmed. Rob's shortcut for instance:

 uxterm -fn -misc-fixed-medium-*-*-*-14-*-*-*-*-*-*-*

 I've looked at the man pages for xterm and uxterm and can see that
 '-fn' sets the font but have yet to find the explaination for the
 '-*-*-*-14-*-*-*-*-*-*-*' part of that line. 

Take a look at this.. Chapter 7, IIRC..

http://www.archive.org/stream/xwindowsytemosf03querarch/xwindowsytemosf03querarch.djvu

Unless your browser can display it, you need to download the .djvu file
and you can use the ‘evince’ viewer to access it. It's a scanned copy of
the original and much smaller and better quality than the .pdf. 

If you're interested in the way ‘X’ handles font specification, you will
also find a very clear description of how you can put to good use such
standard utilities as ‘xfd’ and ‘xfontsel’.

 I read through the man page for bind several times trying to understand
 how it could be used to setup key bindings and would probably be still
 scratching my head had 'which bind' not come up empty. 

Shoot... I remember thinking.. need to tell him that bind is a shell
builtin.. so you need to use ‘help bind’ or better ‘man bash’ (or ‘info
bash’) .. not ‘man bind’.. and I forgot.

 'help bind' showed me the bind you guys were using/discussing.
 I work mainly on the commandline and have setup my own inputrc and
 a script that calls loadkeys for readline editing functions in bash such
 as ^Home -- bash:backward-kill-line but never used bind by itself.
 
 Speaking of which, these mappings don't seem to carry over into xterm. 
 Can you point the way to setup similar bash functionality in xterm?

I would suspect this may have to do with navigation keys support in
XTerm .. arrows, Home.. End.. Pgup.. etc. I don't know the details
because I do my best NOT to use any keys that live beyond my stubby
fingers' reach but if you google for something like ‘xterm arrow keys’
or ‘xterm home end key’ etc. you should quickly be able to tell whether
this is relevant or yet just another bad guess on my part. If I guessed
right, it's likely going to boil down to your terminal description (cf.
the contents of the $TERM environment variable) - not describing such
capabilities for the benefit of client applications. Mileage solving
problems in this area varies.

cj


-- 
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/20110216181949.GF4201@pavo.local



Re: best labtop for debian

2011-02-16 Thread Chris Jones
On Wed, Feb 09, 2011 at 04:10:11PM EST, Celejar wrote:
 On Tue, 8 Feb 2011 15:09:23 -0700

[..]

 Good to know, thanks - I've heard that before.  The keyboard is the one
 thing about which I'm really dissatisfied with my Acer Aspire, although
 that's not Linux specific.

Not sure which particular models, which part of the world they ship..
etc. but Lenovo now often install lower quality keyboards on at least
some ThinkPads, the main difference being that where the old keyboard
had a solid metal back plate, the newer model has a thinner sheet of
metal with rectangular cutouts every couple of inches either to help
dissipate the heat or reduce the weight of the machine by a few grams.

As a result, the newer keyboards have considerably more flex than the
older models.

Seems other folks have noticed:

  http://www.google.com/search?q=thinkpad+keyboard+flex

In my case some of the keys, especially near the top right of the
keyboard, in the area where the Backspace key lives, had the ‘under the
fingers’ stability of a trampoline and produced unseemly ‘thunks’ every
time I hit them.

Better than my prose, here's an graphic illustration of the symptoms:

  http://www.youtube.com/watch?v=oKs1YqEWXD0

It was a bit of an uphill battle, but after spending over an hour of my
time on the phone with Lenovo, I was able to have one of the older
models overnighted to me free of charge under the machine's warranty.

In the event you or anyone else acquires a ThinkPad in the near future,
I advise you read recent reviews of the model you have in mind, paying
attention to what they say about the keyboard. And be prepared to fork
out an extra 50-70 dollars to buy a replacement keyboard from a 3rd
party reseller in the event Lenovo cannot / will not replace it.

Reminds me I need to buy a couple of spares while they last...

cj


-- 
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/20110217011627.GH4201@pavo.local



Re: I want beep in urxvt terminal

2011-02-15 Thread Chris Jones
On Mon, Feb 14, 2011 at 02:55:05PM EST, Csanyi Pal wrote:
 Hi,
 
 on my Debian GNU/Linux Squeeze system
 in the textual - command line environment - console I can hear beep when
 hit on keyboard Down at the and of command history,
 
 but in the grapchical environment - X Window - in a rxvt (urxvt)
 terminal I can't hear it. Why?
 
 I have installed alsa stuff, I can play music with Audacious..
 
 Any advices will be appreciated!

Does it beep in other terminals under X.. xterm, gnome-terminal..?

Shot in the dark: what does ‘xset q | grep bell’ ouput?

cj


-- 
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/20110215162447.GD4201@pavo.local



Re: xterm question

2011-02-15 Thread Chris Jones
On Tue, Feb 15, 2011 at 04:52:54AM EST, Clive Standbridge wrote:
  Every time I launch X I open a couple of xterm windows but have to
  Ctrl Middle click in the window to set the VT font to large before
  it's usable to my old eyes. I'd like to automate that but have never
  figured out how.
  I've tried set-vt-font in .Xdefaults but that didn't help and don't
  see anything in the xterm man page that makes me think it would do
  the trick.
  Suggestions?
 
 Hi Mike,
 
 One way is to put a line like one of the following in ~/.Xresources
 
 *font:  6x13
 XTerm*font: 7x14
 
 The latter affects just xterm, but the former affects anything that
 uses a font resource (xterm, rxvt, emacs, etc.).
 
 You can test changes without restarting X by running
 
 xrdb -load ~/.Xresources

He probably wants:

$ xrdb -load ~/.Xresources

cj


-- 
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/20110215163313.GE4201@pavo.local



Re: I want beep in urxvt terminal

2011-02-15 Thread Chris Jones
On Tue, Feb 15, 2011 at 11:33:45AM EST, Csanyi Pal wrote:
 Chris Jones cjns1...@gmail.com writes:

[..]

  Does it beep in other terminals under X.. xterm, gnome-terminal..?
 
 If I run the 'beep' command in any terminal emulator (xterm, urxvt,
 gnome-terminal, terminal.app) 

that's not what I meant.. 

 I can hear beep, but if I try to hit Down key when in empty
 commandline at prompt, then I can't hear beep.

OK. And this happens whichever the terminal, not just rxvt..? IOW, if
you hit PgDown with the cursor in an XTerm at the prompt and nothing
else on the command-line you don't hear a beep, correct?

  Shot in the dark: what does ‘xset q | grep bell’ ouput?

 $ xset q | grep bell
   bell percent:  50  bell pitch:  400  bell duration:  100

That was a long shot.. 

Same defaults here anyway.. and yet the beeps are quite loud when I do
anything in XTerm/bash that I shouldn't have done.. :-(

cj


-- 
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/20110215213200.GG4201@pavo.local



Re: xterm question

2011-02-15 Thread Chris Jones
On Tue, Feb 15, 2011 at 01:58:51PM EST, Mike McClain wrote:
 On Tue, Feb 15, 2011 at 07:31:01AM -0500, Rob Owens wrote:

  I call xterm from a hotkey like this:   

  uxterm -fn -misc-fixed-medium-*-*-*-14-*-*-*-*-*-*-*

 Rob your answer is way over my head. If I have any hotkeys in
 X I don't know about them and I certainly don't know how to set one.

Not it's not (over your head).. :-)

$ bind '\C-t: Hello world'  

Then when you type Ctrl-T you get:
$ Hello World

Hence:

$ bind '\C-t: xterm^M'

.. and press Ctrl-T you start a new xterm - try it.

Notes: 

1. to enter the ^M in the above bind command, you need to type CTRL-V
   and then hit the Enter key.
2. once you get add a binding to work you may want to add it to
   ~/.xinitrc
3. it may be more user-friendly to use your window manager or desktop's
   capabilities to create such custom bindings.

cj


-- 
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/20110215215209.GH4201@pavo.local



Re: Middle button copy/paste

2011-02-15 Thread Chris Jones
On Tue, Feb 15, 2011 at 10:04:51AM EST, Jochen Schulz wrote:

 Please don't top-post. Instead, trim the quotes and write your reply
 below or in-between.
 
 Radhakrishna Bhat:

  Not sure, but I think you need to be running 'gpm' daemon for middle
  button paste to work.
 
 Gpm is only needed for mouse support in the VTs. X doesn't need that.

np 

s/VT/linux\ console 

X sessions usually run on VTs as well.

/np

cj


-- 
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/20110215220127.GI4201@pavo.local



Re: xterm question

2011-02-15 Thread Chris Jones
On Tue, Feb 15, 2011 at 11:16:43PM EST, bri...@aracnet.com wrote:
 On Tue, 15 Feb 2011 16:52:09 -0500
 Chris Jones cjns1...@gmail.com wrote:
 
  $ bind '\C-t: xterm^M'
  
  .. and press Ctrl-T you start a new xterm - try it.
  
  Notes: 
  
  1. to enter the ^M in the above bind command, you need to type CTRL-V
 and then hit the Enter key.
 
 You can also use \n
 
 Just in case you can't remember ctrl-V, 

me.. it's the other way around.. I can just about remember where the 
enter key is.. :-)

but I don't do bind much..  just thought I'd tell Mike that nothing in
the stupid computer is ‘above his head’.. 

 or even worse think it's ctl-Q, since that's the emacs
 prefix-actual-key command :-)

.. and I don't do emacs either.. sorry.. 

cj


-- 
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/20110216075642.GA4201@pavo.local



Re: Help with my Squeeze upgrade! (missing fonts)

2011-02-14 Thread Chris Jones
On Mon, Feb 14, 2011 at 12:38:36PM EST, Erin Brinkley wrote:
 Chris Jones cjns1...@gmail.com wrote:
 
  On Fri, Feb 11, 2011 at 03:19:38PM EST, Erin Brinkley wrote:
  
  [..]
  
   I guess that leaves three loose ends to this whole adventure:
  
   (1) Is it recommended to try adding /usr/share/texmf and
   /usr/share/texmf-texlive fonts to fontconfig?

  Did you check the /etc/conf.d and /etc/conf.avail directories..?
  
  Or is this different on squeeze?

 Yep, sure is different! I have no /etc/conf.d or /etc/conf.avail
 directories at all!!

Ah.. thanks for the info. 

Adding this to my personal squeeze upgrade notes.

cj


-- 
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/20110214183243.GC4201@pavo.local



Re: Buffers VS Page Cache

2011-02-13 Thread Chris Jones
On Sat, Feb 12, 2011 at 08:46:40PM EST, George Shuklin wrote:

 Good day.

 I'm trying to understand difference between Buffers and Page Cache in  
 Linux, but found almost no documentation.

Where ‘in Linux’..? What exactly are you looking at..? 

 As far as I understand buffers and Page Cache serves same purpose:
 they  save recent reed/written pages and allow to reduce amount of
 actual IO.

... regardless of the OS. 

 So, the questions:

 1) What difference between buffers and page cache?
 2) What data goes to Cache?

Buffers..?

 3) What data goes to Cache?
 4) Why this separation was needed?

I'm tempted to say that if you are trying to solve a specific problem
relative to these aspects, you need to provide more information as to
what your are seeing and what you are trying to do. 

If you want to generally refine your knowledge of such aspects, I would
suggest googling a bit and reading some of the numerous articles on the
subject or the kernel documentation, and perhaps get back to the list if
you need any clarification.

cj




-- 
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/20110213164704.GA4240@pavo.local



Re: Fwd: Re: Buffers VS Page Cache

2011-02-13 Thread Chris Jones
On Sun, Feb 13, 2011 at 12:39:07PM EST, George Shuklin wrote:

 I have started my post from sentence 'almost no documentation'.

 Ok, I repeat my question in most simple form:

 cat /proc/meminfo
 MemTotal:8197852 kB
 MemFree:   89764 kB
 Buffers:   16436 kB
 Cached:  3782336 kB

[..]

Well http://www.google.com/search?q=linux+meminfo gives 137,000 results.

Are you suggesting I do your research for you?

My knowledge of these aspects is too limited to reply further.. I was
hinting that your original question was too general to attract answers.

This may provide clues or a starting point:

http://www.informit.com/content/images/0131453483/downloads/gorman_book.pdf

cj


-- 
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/20110213203511.GB4240@pavo.local



Re: Help with my Squeeze upgrade! (missing fonts)

2011-02-11 Thread Chris Jones
On Fri, Feb 11, 2011 at 03:19:38PM EST, Erin Brinkley wrote:

[..]

 I guess that leaves three loose ends to this whole adventure:

 (1) Is it recommended to try adding /usr/share/texmf and
 /usr/share/texmf-texlive fonts to fontconfig?

Did you check the /etc/conf.d and /etc/conf.avail directories..?

Or is this different on squeeze?

cj


-- 
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/20110211214952.GC4274@pavo.local



Re: guidance for making a .Xresources file.

2011-02-09 Thread Chris Jones
On Wed, Feb 09, 2011 at 12:03:04PM EST, peasth...@shaw.ca wrote:

 Appears that I need to make a .Xresources file before 
 TightVNC will work.  Can anyone recommend instructions 
 or examples for the task?  The transcript from the 
 TightVNC follows.
 
 Thanks,  ... Peter E.
 
 peter@dalton:~$ tightvncserver :1 -geometry 620x730 -depth 16
 
 New 'X' desktop is dalton:1
 
 Starting applications specified in /home/peter/.vnc/xstartup
 Log file is /home/peter/.vnc/dalton:1.log
 
 peter@dalton:~$ cat .vnc/dalton:1.log
 09/02/11 08:45:59 Xvnc version TightVNC-1.3.9
 09/02/11 08:45:59 Copyright (C) 2000-2007 TightVNC Group
 09/02/11 08:45:59 Copyright (C) 1999 ATT Laboratories Cambridge
 09/02/11 08:45:59 All Rights Reserved.
 09/02/11 08:45:59 See http://www.tightvnc.com/ for information on TightVNC
 09/02/11 08:45:59 Desktop name 'X' (dalton:1)
 09/02/11 08:45:59 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
 09/02/11 08:45:59 Listening for VNC connections on TCP port 5901
 xrdb: No such file or directory
 xrdb: can't open file '/home/peter/.Xresources'
 peter@dalton:~$

That's odd.. the vnc4server script on ‘lenny’ from the vnc4server
package tests the existence of the file:

  [ -r ~/.Xresources ]  xrdb -merge ...

Maybe you could get away with defining an empty ~/.Xresources file:

$ touch ~/.Xresources

cj


-- 
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/20110209182156.GB4239@pavo.local



Re: Help with my Squeeze upgrade! (missing fonts)

2011-02-09 Thread Chris Jones
On Wed, Feb 09, 2011 at 11:40:30AM EST, Erin Brinkley wrote:

[..]

 $ locate lmtypewriter
 /usr/share/texmf/fonts/truetype/hoekwater/lm/lmtypewriter10-regular.ttf
 $ emacs -fn LMTypewriter-10
 Font `LMTypewriter-10' is not defined
 $
 
 This used to work just fine!

That's odd.. I would've thought the ‘-fn’ flag would not support .ttf
fonts. I don't use emacs, but other X programs such as XTerm, xfd, etc.
use the ‘-fa’ flag when using the ‘typeface’ syntax. Maybe emacs doesn't
make such sublte distinctions.

 Do I have to do something new to get the /usr/share/texmf/ fonts to go
 in X now?

Since I would imagine X knows nothing about these directories (unless
you have them in an xorg.conf file for instance).. I would take a look
at fontconfig:

$ fc-list | less

Check the name under which fontconfig has it listed.. Is it
LMTypewriter-10, LMTypewriter10, LMtypewriter10.. etc. Since you spelled
the typeface differently above and below, could be a typo..?

 Also I tried xlsfonts to see if it's there, and this is weird:
 
 $ xlsfonts | grep typewriter
 ...
 -unregistered-latin modern typewriter variable 
 width-dark-o-normal--0-0-0-0-p-0-iso8859-1
 -unregistered-latin modern typewriter variable 
 width-dark-o-normal--0-0-0-0-p-0-iso8859-1
 -unregistered-latin modern typewriter variable 
 width-dark-o-normal--0-0-0-0-p-0-iso8859-15
 -unregistered-latin modern typewriter variable 
 width-dark-o-normal--0-0-0-0-p-0-iso8859-15

Since he does not know about ‘LMTypewriter-10’, you could try the ‘emacs
-fn -unregistered-latin modern typewriter variable width-* syntax..
see what happens.

 ...
 lucidasanstypewriter-10
 lucidasanstypewriter-10
 lucidasanstypewriter-10
 lucidasanstypewriter-10
 lucidasanstypewriter-10
 lucidasanstypewriter-10
 lucidasanstypewriter-10
 lucidasanstypewriter-10
 lucidasanstypewriter-12
 lucidasanstypewriter-12
 lucidasanstypewriter-12
 lucidasanstypewriter-12
 lucidasanstypewriter-12
 lucidasanstypewriter-12
 lucidasanstypewriter-12
 lucidasanstypewriter-12
 ...
 $

 I don't remember latin modern typewriter being listed like that.
 I thought it used to list out as lmtypewriter-10 ... and also, why
 are there tons of the same listings like lucidasanstypewriter-12?

Presumably you never noticed it before.. I'm sure I had not. These are
bitmap font aliases and since there are different font.aliases files in
the /usr/share/fonts/X11/misc/{75,100}dpi/ directories, there are
multiple definitions, and it appears xlsfonts lists them all.. 

 Doesn't make sense.

cj


-- 
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/20110209183911.GC4239@pavo.local



Re: guidance for making a .Xresources file.

2011-02-09 Thread Chris Jones
On Wed, Feb 09, 2011 at 01:28:53PM EST, Bob Proulx wrote:
 Chris Jones wrote:
  That's odd.. the vnc4server script on ‘lenny’ from the vnc4server
  package tests the existence of the file:
  
[ -r ~/.Xresources ]  xrdb -merge ...
 
 The vncserver uses the alternatives.  It could be one of several
 different servers.  From my machine:
 
   $ update-alternatives --display vncserver
   vncserver - auto mode
 link currently points to /usr/bin/tightvncserver
   /usr/bin/tightvncserver - priority 70
 slave vncconnect: /usr/bin/tightvncconnect
 slave vncconnect.1.gz: /usr/share/man/man1/tightvncconnect.1.gz
 slave vncserver.1.gz: /usr/share/man/man1/tightvncserver.1.gz
   Current 'best' version is '/usr/bin/tightvncserver'.
 
 The tightvncserver package says:
 
   Creating default startup script /home/bob/.vnc/xstartup
 
 And that file is:
 
   #!/bin/sh
 
   xrdb $HOME/.Xresources
   xsetroot -solid grey
   #x-terminal-emulator -geometry 80x24+10+10 -ls -title $VNCDESKTOP Desktop 
 
   #x-window-manager 
   # Fix to make GNOME work
   export XKL_XMODMAP_DISABLE=1
   /etc/X11/Xsession
 
 But undoubtedly other vnc servers create different files there. :-)

Ah, yes.. I'm unclear as to how I got to have vnc4server and
tightvncserver both installed on my machine. :-)

Now the problem is that I use the old, possibly deprecated, ~/.Xdefaults
and I have a lot of stuff in there. Since I was in a rush and testing
something unrelated, when I saw that I was gettting the wrong fonts,
colors, etc. etc. I just duplicated did: cp .Xdefaults .Xresources.  

That's what gave me the idea of the empty ~/.Xresources file. 

But since debian systems also have tons of X system-wide resources in
/etc/X11/app-defaults/*, I think I should keep that in mind, and check
whether whatever vnc server I'm running is aware of those.. or maybe
they're picked up by default anyway and I shouldn't worry about it.

cj


--
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/20110209185522.GD4239@pavo.local



Re: Help with my Squeeze upgrade! (missing fonts)

2011-02-09 Thread Chris Jones
On Wed, Feb 09, 2011 at 01:34:36PM EST, Erin Brinkley wrote:
 Camaleón noela...@gmail.com wrote:

  This is a shoot in the dark, but maybe you are experiencing some of the 
  side effects this FAQ is pointing out :-?

 Seems like a good idea. I checked it. Now in /etc/fonts/local.conf
 there is no mention of bitmapped fonts, but instead there's a symlink
 70-no-bitmaps.conf in /etc/fonts/conf.d/ ... so I deleted it and
 updated the font cache. Got about 250 new fonts ... but my
 LMTypewriter-10 was not among them!

Maybe I misunderstood, but I thought LMTypewriter was a true type font?

cj


-- 
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/20110209191218.GE4239@pavo.local



Losing hi-res with Xen kernel

2011-02-09 Thread Chris Jones
I did the following to set up a Xen dom0:

1. squeeze AMD64 install on a new partition
2. apt-get install the Xen packages (cf. Xen/debian wiki)
3. tweak the grub2 environment and install it to the MBR
4. boot the Xen dom0 kernel

Now, the odd thing is that while doing steps [2-3] above, I'm working at
my preferred 1920x1200 resolution, but after I boot the Xen kernel, I'm
down to 1280x800.. 

When I reboot into that system pointing to squeeze's original ‘non-Xen’
64-bit kernel, I'm back at 1920x1200.. 

Has anyone witnessed a similar scenario..? 

Could it be caused by some peculiarity of the Xen-ified kernel that
prevents the ‘nouveau’ driver from loading and results in a fallback to
one that does not support my display's optimal resolution..?

Any idea how I should go about fixing this..?

Thanks,

cj



-- 
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/20110209194329.GF4239@pavo.local



Re: guidance for making a .Xresources file.

2011-02-09 Thread Chris Jones
On Wed, Feb 09, 2011 at 04:32:05PM EST, Dr. Ed Morbius wrote:

[..]

 They do?
 
 It's not configured by default or populated in /etc/skel.  I doubt
 most users would go about adding one themselves.  

Trust the little beggars..

 Yes, _if_ you're going to specify custom xrdb resources, that's the
 default place to do so, but for the bulk of the userbase, that's
 probably two or three levels of obscure arcana.

.. drop your guard and reality ‘obscurely’ hits back and bites your ass.

 An empty .Xresources should work just fine, but if that's required by
 the tightvnc (or other) package, I'd file a bug.

Odd vnc4server doesn't have this particular issue. Someone and somebody
are apparently not talking... 

cj


--
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/20110209224812.GG4239@pavo.local



Re: Help with my Squeeze upgrade! (missing fonts)

2011-02-09 Thread Chris Jones
On Wed, Feb 09, 2011 at 02:11:41PM EST, Erin Brinkley wrote:
 Chris Jones cjns1...@gmail.com wrote:
 
  That's odd.. I would've thought the ‘-fn’ flag would not support .ttf
  fonts. I don't use emacs, but other X programs such as XTerm, xfd, etc.
  use the ‘-fa’ flag when using the ‘typeface’ syntax. Maybe emacs doesn't
  make such sublte distinctions.
 
 The normal way I do it is in my .emacs file:
 
 (set-face-attribute 'default nil :font LMTypewriter10-18)

Ah.. You have ‘emacs’ linked to some GUI (xemacs?) incarnation, right?

I don't know about the above syntax, but after installing the ‘context’
package, I definitely have the ‘latin modern typewriter‘ and the ‘latin
modern typewriter variable width’ fonts in the Options- Fonts submenu.. 

That's in lenny.. Do you have these in squeeze?

cj


-- 
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/20110210024736.GH4239@pavo.local



[OT] Expert install.. was: help

2011-02-07 Thread Chris Jones
On Wed, Feb 02, 2011 at 08:13:37PM EST, Joey Hess wrote:

[..]

 There is no need to use any expert install option with squeeze. Simply
 follow the instructions it presents:

Maybe the next incarnation of the installer should do away once and for
all with this ‘expert’ misnomer.

Although it may require being marginally more knowledgeable to carry out
successfully, the difference between the default install and the
so-called ‘expert‘ mode is not so much a matter of ‘expertise’ but
rather a matter of whether the default options judiciously chosen to
address the more common scenarios cover your needs or not.

I feel that something along the lines of ‘advanced options’ rather than
this confusing and unnecessarily intimidating appellation would be more
to the point.

cj


--
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/20110207184819.GE4500@pavo.local



Re: Firware drivers?

2011-02-07 Thread Chris Jones
On Mon, Feb 07, 2011 at 10:28:19PM EST, Tarek Soliman wrote:
 On Mon, Feb 07, 2011 at 01:03:43PM -0800, Arthur Barlow wrote:

  Are you guys kidding??!!!  I've been using testing for years with
  very little problems.

 You should know that every time a release happens, both testing and
 unstable go into flux.

 Here are some free tips for everyone:
 
 Do not track stable or testing. Track the release names instead.
 This will prevent unexpected upgrades

 If you've been tracking testing (e.g. squeeze in this case) and
 a release happens, don't switch to the next one until a month after
 the stable release. This is because of the dozens of maintainers who
 have been holding it in. system. Have knoppix or some liveCD handy and
 learn how to chroot.
 
 I understand your pain and frustration but you're not going to make
 any friends here with this kind of attitude.

 I had to upgrade 5 machines on Sunday and I spent the whole day doing
 it because of various problems. I followed the release notes and one
 of the lenny laptops that had an nvidia card lost its console when
 I upgraded the kernel and udev and rebooted. (as instructed by the
 upgrade guide) I didn't lash out because I knew it was risky and
 I knew there was a way out. This is what comes out of years of using
 debian.

Food for thought.. I've printed it as a reminder.. in the event I run
into some real nasties and start losing my cool.

cj


-- 
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/20110208061555.GA4221@pavo.local



Backup media - double-layer DVD

2011-02-02 Thread Chris Jones
I burn my backups to regular single-layer DVD's once in a while. DVD+RW
is what I use, but now it looks like I'm flirting with their limit in
terms of capacity.. 

In the long run, this probably means that I need to review my backup
policies, maybe separating /home from the rest of the system, but this
has made me curious as to what dual-layer DVD burners/media may offer.

I didn't find much in terms of easy-to-digest documentation, and I'm
under the impression that dual-layer DVD's are WORM-only.. IOW multiple
writes are not supported (?).  

Sounds like they're meant for audio/video stuff rather than really
useful as a backup medium, no?

Do some of you people still use DVD's as an external medium for
backups..? 

Has anyone run into this problem and come up with a solution that's
practical, simple, and elegant?

Thanks for your comments,

cj



-- 
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/20110202160711.GA4093@pavo.local



Re: Backup media - double-layer DVD

2011-02-02 Thread Chris Jones
On Wed, Feb 02, 2011 at 11:27:57AM EST, Gilbert Sullivan wrote:
 On 02/02/2011 11:07 AM, Chris Jones wrote:

 I burn my backups to regular single-layer DVD's once in a while. DVD+RW
 is what I use, but now it looks like I'm flirting with their limit in
 terms of capacity..

[..]

 My comments probably won't be very helpful to you. I seem to be at
 about  the same point as you, with respect to use of optical discs for
 backup  purposes. I use them only for the really important stuff that
 I want  backed up to a separate system, an external portable hard
 drive, AND to  optical disc.

One trick I use is copy my back-up file (encrypted) to my cell phone's
micro-SD.. In the event disaster struck, I would either be out of the
house with my cell phone, or grab a few belongings including said mobile
before I rushed outside. The problem with that is that it still has the
original vfat .. formatting, and whatever it is, it doesn't like 4G+
files either :-)

 I bought a cakebox of DVD+R(DL) discs thinking that I could just keep
 on  using xfburn. Unfortunately, xfburn isn't interested. I've only
 managed  to use brasero to burn a large ( 4.3 GB) tar.gz file to
 a dual layer  disc, and the results of hashing the file on the DL disc
 didn't match the hash of the original file. So, I've started splitting
 my archive files and burning them to single-layer discs.

I guess that addresses my original question in good part.. I already
have a large enough collection of coasters, thank you.

 I'd love to be able to use the dual layer discs. And I'd even consider
 buying and using a BluRay drive -- if that would offer a valid
 solution  for burning my data in one go. But I wonder if BR isn't
 multimedia-centric in the same way as dual layer DVD+R(DL).

Apart from the cost of the medium... I am very suspicious of all the
hidden stuff that infects anything Blu-Ray.. And you're probably right..
may turn out to be unsuitable for data archiving. 

 I don't ever do multi-session burning, though. I just do single
 track-at-once burns. I've run into too many issues in the past with
 borked ToC (though that was under Windows). I'm a simple guy. 

Same here.. That's one of the reason I'm not in too much of a rush to
revamp my current backup procedures.

 If it bit  me once without what I consider to be good cause, I don't
 pet it again.

:-)

cj


-- 
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/20110202181020.GB4093@pavo.local



Re: Backup media - double-layer DVD

2011-02-02 Thread Chris Jones
On Wed, Feb 02, 2011 at 11:18:06AM EST, Camaleón wrote:
 On Wed, 02 Feb 2011 11:07:11 -0500, Chris Jones wrote:
 
 (...)
 
  Do some of you people still use DVD's as an external medium for
  backups..?

 I prefer to store data in hard disks, but DVD-RAM (DL) could be worth
 a try in the event I'd look for an optical backup solution.

Thanks, will check whether my drive supports them.

cj


-- 
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/20110202181129.GC4093@pavo.local



Re: Backup media - double-layer DVD

2011-02-02 Thread Chris Jones
On Wed, Feb 02, 2011 at 11:18:06AM EST, Camaleón wrote:
 On Wed, 02 Feb 2011 11:07:11 -0500, Chris Jones wrote:
 
 (...)

  Do some of you people still use DVD's as an external medium for
  backups..?

 I prefer to store data in hard disks, but DVD-RAM (DL) could be worth
 a try in the event I'd look for an optical backup solution.

hwinfo has storage.cdrom.dvdram=true.. which looks promising.. 

Doesn't say anything about double-layer.. or are they dual-sided?

Thanks,

cj


-- 
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/20110202184443.GD4093@pavo.local



Re: Backup media - double-layer DVD

2011-02-02 Thread Chris Jones
On Wed, Feb 02, 2011 at 02:10:53PM EST, Curt Howland wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 
 =
  I prefer to store data in hard disks, but DVD-RAM (DL) could be 
 worth
  a try in the event I'd look for an optical backup solution.
 
 Thanks, will check whether my drive supports them.
 =
 
 Here's one way to find out:
 
 =
 $ dmesg | grep -i dvd
 [4.391488] ata6.00: ATAPI: Optiarc DVD RW AD-7170A, 1.02, max 
 UDMA/66
 [4.398498] scsi 5:0:0:0: CD-ROMOptiarc  DVD RW 
 AD-7170A  1.02 PQ: 0 ANSI: 5
 [5.065253] sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw 
 xa/form2 cdda tray
 =
Looks promising:

sr0: scsi3-mmc drive: 62x/62x writer dvd-ram cd/rw xa/form2 cdda tray

 
 One thing that tripped me up when I first used DVD-RAM is that it is 
 unbelievably SLOW. When I thought the system was done writing, it 

Ouch.. I read something in wikipedia re: fast media not being sold in
the US..

 
 Also, don't buy cheap. For all their 20 year archive design, I've 
 had files lost on three different DVD-RAM disks, something I never 

Ah.. good to know. Never trusted optical drives in the first place.

There's an up-front cost involved, but provided I create ext2
partitions, it looks like SD cards might be the better solution. 

Thanks,

cj

Paul.. I think you sent your post to my personal e-mail rather than the
list, somehow.. so I cannot use your message to reply to the list
without unseemly contortions :-)

In any event, I also create and store my backups on a HDD.. and ‘once in
a while’.. that's roughly every month when I remember.. copy the files
to optical media. Not sure it's worth the trouble but that's my lot.. On
the 2-3 occasions where I needed to take a look at an earlier state of
my system, I used the disk versions of the backups.. but then what
happens if/when your/my house is struck by lightning, flooded, bombed,
repossessed.. etc..? 

I think the sd card on my cell-phone is a pretty good solution after
all.. fast.. reliable.. I hope :-) .. hassle-free (so I'm less likely to
skip the routine).. effective.. since it's highly unlikely I lose my
phone and my house at the same time.. relatively safe physically, with
the card tucked away in the entrails of my cell phone.. and with decent
encryption.. not likely any thieving THD will get to my PINs and stuff
before my credit cards expire. And pretty economical too, since the lone
16GB card I already own should suffice for years to come.

Thanks,

cj


-- 
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/20110202202524.GE4093@pavo.local



Re: Backup media - double-layer DVD

2011-02-02 Thread Chris Jones
On Wed, Feb 02, 2011 at 02:27:50PM EST, Camaleón wrote:
 On Wed, 02 Feb 2011 13:44:43 -0500, Chris Jones wrote:

  Doesn't say anything about double-layer.. or are they dual-sided?
 
 Hum, OSTA calls them double-sided ;-P
 
 http://www.osta.org/technology/dvdqa/dvdqa6.htm

Looks like I suspected right, then.. but anyway, what with all the good
things I'm hearing about DVD-RAM's, I think I'll pass.

cj


-- 
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/20110202212616.GF4093@pavo.local



Waiting for Squeeze - was: Backup media - double-layer DVD

2011-02-02 Thread Chris Jones
On Wed, Feb 02, 2011 at 05:35:51PM EST, Gilbert Sullivan wrote:
 On 02/02/2011 01:10 PM, Chris Jones wrote:
 (...)

 One trick I use is copy my back-up file (encrypted) to my cell
 phone's micro-SD.. In the event disaster struck, I would either be
 out of the house with my cell phone, or grab a few belongings
 including said mobile before I rushed outside. The problem with that
 is that it still has the original vfat .. formatting, and whatever it
 is, it doesn't like 4G+ files either :-)

 People think I'm crazy, 

Oh, no... not at all... ;-)

 but, when I leave the house, I always carry a  disc wallet that holds
 the last year's worth of weekly full backups on  DVD+R. (Well,
 I probably am crazy, but this isn't a sign of it.)

I'm looking into implants.. I mean sticking non-volatile memory under my
skin in carefully selected areas of my body, in case I run into serious
trouble but am fortunate to end up only partially dismembered..
presumably with some form of Bluetooth or Wifi integration so I can
conveniently upload my backups...

 I also double the weekly backups every month, and I keep the monthly  
 second copy in a safe deposit box. I also rotate USB external drives  
 through that safe deposit box. 

Ah.. I detect a flaw... you mean you actually do not rotate safe deposit
boxes..? Are you serious..?

 This is only for the really important  data, though. Miscellaneous
 other stuff just resides on two systems and  an external drive.

 (...)

 Apart from the cost of the medium... I am very suspicious of all the
 hidden stuff that infects anything Blu-Ray.. And you're probably right..
 may turn out to be unsuitable for data archiving.

 Yup, I'm probably going to stick to using dual layer DVDs and Blu-Ray  
 strictly for movies I've paid for.

 Be happy!

Yeah.. let's try that.

cj


-- 
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/20110203002611.GI4093@pavo.local



Re: /etc/X11/Xsession.d

2011-01-27 Thread Chris Jones
On Thu, Jan 27, 2011 at 10:59:21PM EST, T o n g wrote:
 Hi,
 
 Anywhere I can read more about /etc/X11/Xsession.d?
 
 I want to use it to start an app when X starts, synergyc to be exact, 
 following the steps from
 http://tacticalcoder.com/blog/2009/05/using-synergy-software-kvm-with-osx-
 and-linux/
 
 The ubuntu community documentation has instructions on setting up the 
 client to automatically start. They can be found here. In a nutshell you 
 make a script. . . Name this script 12synergy and make it executable. 
 Place this script in the /etc/X11/Xsession.d folder. This causes Synergy 
 to start as root when the computer boots.
 
 This just doesn't work for me. No synergyc in ps when X (re)starts.
 
 Is there any way that I can troubleshoot this? 

Maybe look in ~/.xsessions-errors.

If that doesn't help, you could run your script manually from an XTerm
and see if you get any error messages..?

cj  


-- 
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/20110128043531.GB4117@pavo.local



Re: Where are xrandr settings stored?

2011-01-22 Thread Chris Jones
On Sat, Jan 22, 2011 at 11:13:29AM EST, Camaleón wrote:

[..]

 # xrandr --output VBOX0 --mode 1280x60_60.00

[..]

 1/ How can it that xrandr settings are remembered for all the users 
 session?
 
 2/ What is the involved file/tweak command to revert any change and reset 
 its settings?

You could try brute force to narrow it down a bit:

# touch /tmp/xxx
# xrandr ...
# find / -type f -newer /tmp/xxx  /tmp/filelist
# rm /tmp/xxx

 You may want to run this on a VM with a small file system, and stick the
commands in a bash script to limit the number of false positives.

cj



-- 
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/20110122200922.GA4169@pavo.local



Re: Where are xrandr settings stored?

2011-01-22 Thread Chris Jones
On Sat, Jan 22, 2011 at 04:21:35PM EST, Camaleón wrote:
 On Sat, 22 Jan 2011 15:09:22 -0500, Chris Jones wrote:

[..]

  You could try brute force to narrow it down a bit:
  
  # touch /tmp/xxx
  # xrandr ...
  # find / -type f -newer /tmp/xxx  /tmp/filelist 
  # rm /tmp/xxx

   You may want to run this on a VM with a small file system, and
   stick the commands in a bash script to limit the number of false
   positives.
 
 That creates a file with 23,339 records on it. Most (all?) of the
 modified files are under /sys and /proc folder. 

Hehe.. just making sure you were paying attention :-)

I ran the above test and after grepping out the /sys  /proc's, I came
up with just one file... Xorg.0.log..!

So it looks like this setting is remembered somewhere outside the file
system.

cj


-- 
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/20110123010344.GB4169@pavo.local



Re: how to set imagemagicks tmp folder?

2011-01-21 Thread Chris Jones
On Fri, Jan 21, 2011 at 04:14:43AM EST, S Mathias wrote:

 my /tmp is too small [when i want to use convert]. how can i set
 imagemagick, to use an other tmp folder, what has enough space?
 
 thank you!

Try (untested):

  MAGICK_TMPDIR=./mytmpdir convert ..

If you need this on a permanent basis, you may want to export
MAGICK_TMPDIR in - e.g., your .bashrc

See discussion under:

  /usr/share/doc/imagemagick/www/resources.html

cj


-- 
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/20110121132842.GA5670@pavo.local



Re: Netgear WG111 USB wifi adapter works with squeeze / gnome

2011-01-19 Thread Chris Jones
On Wed, Jan 19, 2011 at 05:54:10PM EST, Celejar wrote:
 On Tue, 18 Jan 2011 23:04:23 -0500
 Chris Jones cjns1...@gmail.com wrote:
 
  On Tue, Jan 18, 2011 at 03:23:49PM EST, Celejar wrote:
   On Wed, 29 Dec 2010 20:10:07 -0800
   Peter Tenenbaum peter.g.tenenb...@gmail.com wrote:
   
I recently had to add wifi to my squeeze / gnome desktop.  Based on some
reviews I bought a Netgear WG111 USB wifi adapter, and I found that 
when I
plugged it into a USB port on my desktop it worked instantly -- no
configuration or package installation necessary.

Is there a repository where these sorts of success stories are tracked?
   
   A bit late, but FTR:
   
   http://linux-wless.passys.nl/ 
   
   A great resource.
  
  A bit puzzled about the disclaimer, though:
  
  ‘This list doesn't specify anything about how much of your card is
  supported. So a card that only works without encryption is listed the
  same as one that also has support for WEP/WPA.’
  
  Not sure I want to donate my bandwidth to any TDH that might sniff my
  available presence the minute I cruise along in their neighborhood...
 
 But the very next line reads:
 
 For the specifics about how much of your card is supported, please
 refer to the driver page listed for your card.
 
 IIUC, the driver docs will generally tell you what has been
 implemented.

Ah.. now I see it.. Sorry for the noise.

cj


-- 
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/20110120021316.GB4113@pavo.local



Re: Netgear WG111 USB wifi adapter works with squeeze / gnome

2011-01-18 Thread Chris Jones
On Tue, Jan 18, 2011 at 03:23:49PM EST, Celejar wrote:
 On Wed, 29 Dec 2010 20:10:07 -0800
 Peter Tenenbaum peter.g.tenenb...@gmail.com wrote:
 
  I recently had to add wifi to my squeeze / gnome desktop.  Based on some
  reviews I bought a Netgear WG111 USB wifi adapter, and I found that when I
  plugged it into a USB port on my desktop it worked instantly -- no
  configuration or package installation necessary.
  
  Is there a repository where these sorts of success stories are tracked?
 
 A bit late, but FTR:
 
 http://linux-wless.passys.nl/ 
 
 A great resource.

A bit puzzled about the disclaimer, though:

‘This list doesn't specify anything about how much of your card is
supported. So a card that only works without encryption is listed the
same as one that also has support for WEP/WPA.’

Not sure I want to donate my bandwidth to any TDH that might sniff my
available presence the minute I cruise along in their neighborhood...

cj


-- 
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/20110119040423.GB11185@pavo.local



Re: Lenny - xvinfo: No Adaptors present.. No XVideo

2011-01-17 Thread Chris Jones
On Mon, Jan 17, 2011 at 09:12:35AM EST, Camaleón wrote:

[..]

 Okay, just remember Squeeze uses a different set of driver (nouveau) than 
 lenny (nv), it is possible that you don't need to tewak anything there.

Thanks, I'll remember this thread when I'm ready to switch to squeeze.

cj


-- 
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/20110117213247.GA11185@pavo.local



Re: Lenny - xvinfo: No Adaptors present.. No XVideo

2011-01-16 Thread Chris Jones
On Sat, Jan 15, 2011 at 06:58:54AM EST, Camaleón wrote:
 On Fri, 14 Jan 2011 21:03:19 -0500, Chris Jones wrote:
 
  On Fri, Jan 14, 2011 at 12:37:11PM EST, Camaleón wrote:
  
  [..]

 Some comments on the log...
 
 ***
 (II) Loading /usr/lib/xorg/modules/extensions//libglx.so
 (II) Module glx: vendor=NVIDIA Corporation
 compiled for 4.0.2, module version = 1.0.0
 Module class: X.Org Server Extension
 (II) NVIDIA GLX Module  173.14.09  Thu Jun  5 00:07:40 PDT 2008
 (II) Loading extension GLX
 **
 
 It seems

Ten years I've been using X every day and apart from a few silly tricks
learned through experience.. I'm just about as ignorant as I was when
I started off.

 loading the GLX module using some part of the nvidia closed 
 drivers... how is that possible? :-?

Broken environment..? :-)

 Now look mine:
 
 ***
 (II) LoadModule: glx
 (II) Loading /usr/lib/xorg/modules/extensions//libglx.so
 (II) Module glx: vendor=X.Org Foundation
 compiled for 1.4.2, module version = 1.0.0
 ABI class: X.Org Server Extension, version 0.3
 (==) AIGLX enabled
 (II) Loading extension GLX
 ***
 
 Here is loading the Xorg stock GLX extension.

I _assumed_ I might be able to conjure up some trick or other to switch
between the nvidia and nv drivers.. maybe not quite on the fly.. but at
least without having to reboot.. as a result, you caught me right in the
middle of testing possible solutions and I had not removed the nvidia
packages.

As Sven rightly observed, what I had failed to notice was that since
I had no GLX at all loaded in my Xserver.. OpenGL programs did not work
any more.. But as Sven also remarked, this is a separate problem.

 ...
 
 And there is something more in your log it caught my attention:
 
 ***
 (II) Primary Device is: PCI 01:00:0
 (--) Assigning device section with no busID to primary device
 (--) Chipset Unknown NVIDIA chip found
 ***
 
 And now compare to mine:
 
 ***
 (II) Primary Device is: PCI 01:00:0
 (--) Assigning device section with no busID to primary device
 (--) Chipset Quadro FX 1500 found
 ***

This log is lenny's.. and my card is unsupported by either ‘nv’ or
‘nvidia’, so that would appear to be consistent.

 I still don't see why are you so reluctant to test the closed source
 driver. Just to test, for seeing how it goes and if it solves nothing
 then at least you can decide the next step with confidence :-)

Not at all. I tested it under squeeze where my card is supported and the
newer nvidia driver addresses the ‘black console’ issue. On the other
hand, I was experiencing extreme slowness in programs such as icesweasel
and a completely broken keyboard with stuff like the down arrow key
mapped to Mode_Switch (!) .. try to do a dpkg-reconfigure that brings up
ncurses screens with a broken down arrow.

At that point, I decided that it made better sense to reinstall squeeze
at some point in the future and start again from scratch.  

But since the card is working fine in ubuntu 10.10, I am not really
worried about getting this to work now. 

At this point, I am more concerned as to what completely borked my
out-of-the-box squeeze environment.

 You said your card was unsupported and you maybe right.
 
 - Lenny ships nvidia-glx 173.14.09 and your card is not listed:
 
 http://us.download.nvidia.com/XFree86/Linux-x86/173.14.09/README/appendix-a.html
 
 - But Squeeze ships nvidia-glx 195.36.31 and your card appears
 there:
 
 http://us.download.nvidia.com/XFree86/Linux-x86/195.36.31/README/supportedchips.html

 So you can test the closed driver in squeeze and see how it goes. If
 all is fine you can then install the latest driver available from
 nvidia site in lenny (it will require driver compilation).

Thanks, but since within a few months I will have switched to squeeze
for my activities.. it's probably not worth it. After all, the only
thing (apart from DRI) that's not working in lenny, is that I have to
use the ‘x11’ video driver in  mplayer.. and as a result, I cannot watch
the news full-screen. I can live with that.

cj


-- 
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/20110116212417.GA4196@pavo.local



Re: Lenny - xvinfo: No Adaptors present.. No XVideo

2011-01-16 Thread Chris Jones
On Sat, Jan 15, 2011 at 07:26:08AM EST, Sven Joachim wrote:
 On 2011-01-15 12:58 +0100, Camaleón wrote:

[..]

  It seems loading the GLX module using some part of the nvidia closed
  drivers... how is that possible? :-?
 
 Because the nvidia-glx package is installed, even though Chris does
 not use it.  This is bad because no program that uses OpenGL will be
 able to run, but not directly related to the problem.

Good catch..

  And there is something more in your log it caught my attention:
 
  ***
  (II) Primary Device is: PCI 01:00:0
  (--) Assigning device section with no busID to primary device
  (--) Chipset Unknown NVIDIA chip found
 
 Yeah, the nv driver is too old and does not really know the card.
 Should not be much of a problem, though.

Just the XVideo stuff, where I'm concerned.

  I still don't see why are you so reluctant to test the closed
  source driver. Just to test, for seeing how it goes and if it solves
  nothing then at least you can decide the next step with confidence
  :-)

 I wonder why Chris bought a laptop with such a powerful card in the
 first place if he has no use for it.  Intel graphics would have been
 cheaper and also cause much less headaches.

Incompetence..? :-)

I needed a new laptop urgently because my 11-year old machine's display
was on its way out, and when I saw a high-end machine from a year ago at
25% of the original price at the lenovo outlet.. with specs that should
prove suitable for hopefully many years to come, I verified other folks
had gotten it to work with GNU/linux. Since the laptop was not built to
order, I was not in a position to make any changes to the configuration.
I wasn't going to look a gift horse in the mouth.

And who knows, contrary to the color calibrator, fingerprint reader, and
other options that I have little use for.. I might find some uses to
make up for the dollars this card is going to add to my electricity
bill.

cj



-- 
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/20110116214031.GB4196@pavo.local



Lenny - xvinfo: No Adaptors present..

2011-01-14 Thread Chris Jones
I'm in the last stages of migrating my (mostly legacy) stuff to a newer
laptop and cannot get mplayer to work as well as I had hoped on debian
lenny. 

On my previous system with an old ATI Mach64, I specified the XVideo
output driver and was getting pretty decent results.

On the new system, with a fairly current nvidia video card, and the
default ‘nv’ free driver, only the sound appears to work when I stream
TV news channels or play .flv videos. 

The only workaround that I have found so far is to use the ‘sdl’ driver
instead of ‘xv’ but the picture is pretty bad and the sound quality is
unacceptable. 

I searched for solutions or a workaround and did not see as much as an
explanation. 

That's how I learned that there is something in X called ‘XVideo’ and
that in such circumstances, I should run the ‘xvinfo’ command to help
diagnose the problem.

Well, here is the output:

  $ xvinfo
  X-Video Extension version 2.2
  screen #0
  no adaptors present

I'm not sure whether it's relevant, but oddly, xdpyinfo informs me that:

  ...

  number of extensions:30
  BIG-REQUESTS
  Composite
  DAMAGE
  ...
  XTEST
  XVideo-
  ...

In any event, I ran that same xvinfo command on the old laptop and got
about two screenfuls of output for my trouble, one line accurately
naming my video card somewhere near the top, followed by many lines of
cryptic output.

Is this telling me is that the XVideo extension on the new machine is
not enabled?

I have among other things a Ubuntu 10.10 system on the same laptop and
with the proprietary ‘nvidia’ driver, the xvinfo command produces output
similar to what I am getting on my former machine.

Hoping that this might be a simple case of debian ’lenny’ being too old
for my hardware and that I only needed to be patient and the problem
would take care of itself, I proceeded to boot into debian ‘squeeze’,
but unfortunately, I got the exact same results as on lenny: no video
with ‘xv’, very choppy sound with ‘sdl’, and xvinfo outputs the same
three messages as above.

I am not really keen on installing the ‘nvidia’ driver on the debian
systems, but on the other hand, it would be nice to be able to take
a quick look at the news and such without having to reboot..

Is this situation to be expected, or is there any way I could get this
to work?

All apologies if this is a well-known issue and I did not chance upon
the solution.

If anyone has run into similar problems, maybe they could give me a push
in the right direction?

Thanks,

cj


-- 
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/20110114082432.GA4143@pavo.local



Re: Lenny - xvinfo: No Adaptors present..

2011-01-14 Thread Chris Jones
On Fri, Jan 14, 2011 at 09:11:33AM EST, Camaleón wrote:
 On Fri, 14 Jan 2011 03:24:32 -0500, Chris Jones wrote:

[..]

  Is this telling me is that the XVideo extension on the new machine
  is not enabled?

 You can check it:
 
 stt008:~# cat /var/log/Xorg.0.log | grep XVideo
 (II) Loading extension XVideo
 (II) Loading extension XVideo-MotionCompensation

I saw these as well. 

Makes it all even curiouser since the only (EE) messages I saw were
relative to the touchpad - disabled in the BIOS so I need to comment it
out in xorg.conf - and slightly more to the point (but to be expected)
a message where Xorg complains about not being able to initialize the
GLX extension.

[..]

 Hum... I get output from two lenny systems running nv and nvidia
 so the problem must be in other place :-?

What does xvinfo tell you on the system where you're running nv..?

In other words, should I expect failure with the xvinfo output I am
getting, or should I just ignore it?

  I am not really keen on installing the ‘nvidia’ driver on the debian
  systems, but on the other hand, it would be nice to be able to take
  a quick look at the news and such without having to reboot..
 
 The closed source driver for nvidia works quite well under my lenny
 systems, I have no complaints (easy to install and very stable).
 I only have it installed on systems where I need additional
 capabilities that nv driver cannot provide.

I innocently thought I wouldn't need any ‘additional capabilities’..
just watching the news once in a while.. no fancy 3D gaming or such
like..

And since the ‘nvidia’ driver that comes with lenny does not support my
card, I figured installing it was both unnecesssary and asking for
trouble.

cj


-- 
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/20110114170812.GB4143@pavo.local



Re: Lenny - xvinfo: No Adaptors present..

2011-01-14 Thread Chris Jones
On Fri, Jan 14, 2011 at 09:20:37AM EST, Klistvud wrote:
 Dne, 14. 01. 2011 09:24:32 je Chris Jones napisal(a):

[..]

 On the new system, with a fairly current nvidia video card, and the
 default ‘nv’ free driver, only the sound appears to work when I stream
 TV news channels or play .flv videos.

 It may be that the nv driver you use is simply slower than the
 proprietary nvidia driver. 

At first glance, does not account for the fact that I do see some crappy
video with other mplayer -vo's such as ‘sdl’ or ‘x11’. 

 See http://wiki.debian.org/NvidiaGraphicsDrivers#Installation-1 for
 installing the proprietary nvidia driver from the Debian repositories.

 Hoping that this might be a simple case of debian ’lenny’ being too old
 for my hardware and that I only needed to be patient and the problem
 would take care of itself, I proceeded to boot into debian ‘squeeze’,
 but unfortunately, I got the exact same results as on lenny: no video
 with ‘xv’, very choppy sound with ‘sdl’, and xvinfo outputs the same
 three messages as above.

 Unless you have very specific needs, Squeeze is the way to go on a laptop 
 machine. 

Since it will happen any time soon, I decided it made more sense to wait
till squeeze becomes stable.. 

 A more recent kernel, more hardware is supported, ext4  filesystem,
 and so on. There is really no reason to stick with Lenny in  your case
 as far as I can see (but the decision is yours, of course).

I have an up-to-date squeeze environment ready to roll.. but I'm having
the exact same problem with it.. Looks like regardless of the version,
‘nv’ doesn't play well with my video card.

 I am not really keen on installing the ‘nvidia’ driver on the debian
 systems,

 You can say that again.

I ran a quick test about a month ago with the proprietary driver, plus
patched kernel.. etc. and I what I saw was that hardware rendering
worked fine. But the linux console was non functional. Let me login,
type startx, etc. but all I could see was a black screen. Impractical
for normal utilization.. 

This problem is fixed with the newer version of the ‘nvidia’ driver that
comes with ubuntu 10.10. Ibid. squeeze, presumably.

 but on the other hand, it would be nice to be able to take a quick
 look at the news and such without having to reboot..

 Is this situation to be expected, or is there any way I could get
 this to work?

 I'm afraid it's the former. Freedom never comes cheap (i.e. without  
 sacrifice).

I'll give the ‘nouveau’ driver a run for its money when I'm done
switching to squeeze.

cj


-- 
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/20110114175521.GC4143@pavo.local



Re: Lenny - xvinfo: No Adaptors present..

2011-01-14 Thread Chris Jones
On Fri, Jan 14, 2011 at 11:06:51AM EST, Sven Joachim wrote:
 On 2011-01-14 09:24 +0100, Chris Jones wrote:

  I'm in the last stages of migrating my (mostly legacy) stuff to a newer
  laptop and cannot get mplayer to work as well as I had hoped on debian
  lenny. 
 
  On my previous system with an old ATI Mach64, I specified the XVideo
  output driver and was getting pretty decent results.
 
  On the new system, with a fairly current nvidia video card, and the
  default ‘nv’ free driver, only the sound appears to work when I stream
  TV news channels or play .flv videos. 
 
 The problem is that
 
 a) fairly current hardware may generally not work very well with a
relatively old system (Lenny's kernel and the nv driver are from
mid-2008), and

Yes, we are agreed..

 b) the nv driver does not support the XVideo extension on GeForce 8 and
newer.

I don't know if my card (Quad FX 3700M - mobile version) is newer. But
on squeeze I do see it listed among many others in the Xorg log
suggesting it might be supported. It is not listed in lenny's Xorg logs.

  Hoping that this might be a simple case of debian ’lenny’ being too old
  for my hardware and that I only needed to be patient and the problem
  would take care of itself, I proceeded to boot into debian ‘squeeze’,
  but unfortunately, I got the exact same results as on lenny: no video
  with ‘xv’, very choppy sound with ‘sdl’, and xvinfo outputs the same
  three messages as above.
 
 Which video driver do you use?  

Since I have no gaming needs or such, I was planning on using the ‘nv’
driver on both systems.

 On Squeeze, nouveau is the default, and it does support XVideo here:

 ,
 | % xvinfo 
 | X-Video Extension version 2.2
 | screen #0
 |   Adaptor #0: Nouveau GeForce 8/9 Textured Video
 | [...]
 `

I tried to activate the nouveau driver which was indeed installed by
default, but this eventually caused squeeze to freeze.. couldn't even
ssh to the laptop from another machine.

In any case, before the freeze, I did manage to run xvinfo.. same as
with ‘nv’.. no adaptors present.

 And what's your graphics card?  Use lspci -k to also show its kernel
 drivers, if any.

On lenny, this is all I see that looks like a graphics card:


01:00.0 VGA compatible controller: nVidia Corporation Device 061e (rev a2)
Kernel modules: nvidiafb, nvidia


But lsmod shows that these modules were not loaded.

Looks like it's going to be a difficult card and I guess I should focus
on getting it to work in squeeze at this point. 

cj


-- 
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/20110115011539.GA4242@pavo.local



Re: Lenny - xvinfo: No Adaptors present.. No XVideo

2011-01-14 Thread Chris Jones
On Fri, Jan 14, 2011 at 12:37:11PM EST, Camaleón wrote:

[..]

 Maybe it's time for you attach/upload the whole /var/log/Xorg.0.log
 file :-)

Hey.. why not.. 

  http://pastebin.com/38DZcW7D

Enjoy¹..!

cj

¹ this is the log on ‘lenny’



-- 
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/20110115020319.GB4242@pavo.local



Re: X Keyboard layout trouble

2011-01-07 Thread Chris Jones
On Thu, Jan 06, 2011 at 05:15:28PM EST, Robert Latest wrote:

[..]

 What now? I'm stumped.

Works here out of the box on Debian stable.

Since I do not run dwm, I did the following:

$ /bin/su -
# apt-get install dwm
# adduser dwm # password .. enter .. enter
# cd /home/dwm
# echo 'exec dwm'  .xinitrc
# chown dwm.dwm .xinitrc
# exit

CTRL+ALT+F2   # switch to console

login as dwm

$ startx
ALT+SHIFT+Enter   # start an xterm
$ setxkbmap de# with dead keys
$ setxkbmap de -variant nodeadkeys# w/o  dead keys

AltGr+7   -  {
AltGr+8   -  [   # etc..

Since I installed stable only a couple of weeks ago, I think that rather
than dwm, it's something in your setup that's causing the problem.

You could try the above and see what happens with a virgin test user.

Here's the keyboard stanza in my xorg.conf:


Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  XkbRules  xorg
Option  XkbModel  pc104
Option  XkbLayout us
Option  XkbOptionsctrl:swapcaps
EndSection


Basically similar to yours.. 

My (wild) guess is that your AltGr/AltGr key is mapped to Mod1 instead
of Mod3 but I could be wrong about that.

What does xmodmap (with no flags) output? Does it have both Alt_L and
Alt_R mapped to Mod1?

Just to eliminate any keyboard peculiarities, did you try to plug in
an external keyboard?

cj









-- 
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/20110107172752.ga4...@pavo.local



Re: squeeze us-intl w/ dead keys on i386/pc/qwerty keyboard

2011-01-05 Thread Chris Jones
On Wed, Jan 05, 2011 at 06:39:53AM EST, Henrique de Moraes Holschuh wrote:
 On Tue, 04 Jan 2011, Doug wrote:
  There's a better way. It uses a subset of Unicode and the compose
  key. On a normal PC keyboard, you have to make a compose key out
 
 You must be joking.  That will work well only if you're writing english
 text, which will require the use of the compose key rarely.
 
 Perfect dead key support is a *must* for many languages.  It is a
 reverse killer feature: if it is not there, it kills the product ;-)

Matter of preference, I would say..

The nationals of some European countries are at home with dead keys
because that's the way their keyboards are laid out, Portugal is a good
example. And then there are those countries that favor precomposed
glyphs and an additional modifier, such as Germany. 

Probably one of the strengths of English as an international language is
that you can type it without any remapping on just about any keyboard
that's based on the latin alphabet.

Apart from the tiny minority who happen to be literate in two or more
languages outside English, the problem is mostly for those who need to
type another language on a standard U.S. keyboard.

And the fact that U.S. keyboards have one key less (the one at the
bottom left of the keyboard, next to Left-Shift) than European keyboards
does not make things any easier.

Personally, even though I am pretty sure that with adequate practice,
dead keys would eventually prove more efficient than using AltGr, I find
the mechanism confusing because with most text-entry systems.. you don't
see anything.. hm.. did I hit that dead key or did I miss it..? What do
I do now.. because if I hit it again, it's going to beep at me.. all
rather stressful.. :-) And continually having to hit the spacebar after
single quotes is really a pain.

As to the X Compose key, (and alter egos like Vim and GNU/screen's
digraphs), it gives you the worst possible experience: confusing like
dead keys, and impractical since one extra keystroke is required for
each combined letter. Their only good point is that the key combinations
being mnemonic in nature, you don't have to memorize key locations.

Maybe the better solution for those who program and type in English most
of the time, and only occasionally need to switch to another language is
dead keys accessible via Mod3?

Otherwise, if they really are serious about typing in half a dozen
languages, or for those who constantly need to switch between Sanskrit
and ancient Greek, the way to go is probably to acquire a 105-key
unlabeled European keyboard and toggle layouts on the fly. But even for
such tiny minorities, acquiring typing skills on different layouts
requires considerable time and effort.

cj


-- 
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/20110105201031.ga4...@pavo.local



Re: sleeping the system vs hibernate or suspend

2011-01-05 Thread Chris Jones
On Wed, Jan 05, 2011 at 01:08:27PM EST, Hugo Vanwoerkom wrote:
 Hugo Vanwoerkom wrote:
 Hugo Vanwoerkom wrote:

[..]

 When I issue 'acpitool -s' from konsole on X, the system does not shut  
 down right and does not resume but boots with the 4 disks messed up.


 But sad to say it only works about 50% of the time. Either suspend is not 
 right or the resume fails. Worse than early missile firings. :-(

Hm.. I didn't follow the thread, but I'd rather have my 4 disks messed
up 50% of the time than 100% of the time :-)

cj


-- 
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/20110105201527.gb4...@pavo.local



Re: care and feeding (no longer resembles: Can Debian Backup ntfs File System?)

2011-01-05 Thread Chris Jones
On Wed, Jan 05, 2011 at 11:01:03AM EST, Miles Fidelman wrote:
 Lisi wrote:
 On Wednesday 05 January 2011 15:15:43 Camaleón wrote:

[..]

 They know that the computer needs electricity and that the car needs petrol.
 I doubt that most people know more than that.

 Well, I would hope they also know that their car needs (at least in the US):
 - scheduled maintenance
 - an annual inspection
 - a registration sticker
 - insurance
 As well as:
 - at some point, they took a driving test, and some of the  
 rules-of-the-road stuck
 - they need to renew their license
 - drive somewhere in the vicinity of the speed limit
 - stop for red lights and stop signs
 - don't drive under the influence
 - don't sit in a closed garage with the motor running
 - how to change a tire (or at least, how to call AAA)

Muted chuckles.. what part of the U.S. are you referring to..?

 The analogy to cars is a good one.  It seems reasonable to expect
 a  computer user to acquire a set of skills akin to what one needs to
 drive  and maintain a car.  It's probably not reasonable to require
 a computer  user to acquire skills akin to obtaining a pilot's
 license.

As long as they don't get it into their heads to invest in a 5-ton
previously owned mainframe and attempt to drive it around the block,
nobody's going to care.

cj


-- 
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/20110105203144.gc4...@pavo.local



Re: squeeze us-intl w/ dead keys on i386/pc/qwerty keyboard

2011-01-04 Thread Chris Jones
On Tue, Jan 04, 2011 at 10:57:22AM EST, David A. Bandel wrote:
 Folks,
 
 I've googled this with no helpful results (several unhelpful results
 regarding dpkg-reconfigure console-data though).
 
 I want to get back to the old behavior I had where my i386/pc/qwerty
 keyboards had dead keys for international characters (like ~n, but
 with the ~ over the n).

[..]

$ setxkbmap us -variant intl  # switch to dead keys intl layout
$ setxkbmap us# back to basic US layout

cj


-- 
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/20110104182516.ga4...@pavo.local



Re: What happened to consolechars?

2011-01-03 Thread Chris Jones
On Mon, Jan 03, 2011 at 06:01:58AM EST, Roger Leigh wrote:
 On Mon, Jan 03, 2011 at 01:13:39AM +, Phil Requirements wrote:
  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.
   
   Now the command is gone and apt-cache search consolechars returns
   nothing.
  
  I don't know about consolechars.
 
 That's probably because Debian switched back from console-tools to
 kbd.  console-tools was unmaintained and kbd supported more stuff.
 You want to use setfont, or just edit /etc/default/console-setup
 and restart console-setup.  Note that setfont /is/ consolechars,
 but supports larger fonts.  I'm using a 16×32 font with the following
 settings:
 
 CHARMAP=UTF-8
 CODESET=Uni2
 FONTFACE=TerminusBold
 FONTSIZE=32x16
 
 i.e. /etc/default/console-setup is where setfont gets the font
 information from; you don't need to run it by hand yourself.  This
 is actually a nice improvement over the previous methods.

Also, take a look at ‘unicode_start’.

cj


--
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/20110103134821.gb4...@pavo.local



Re: What happened to consolechars?

2011-01-03 Thread Chris Jones
On Mon, Jan 03, 2011 at 02:42:19PM EST, Roger Leigh wrote:
 On Mon, Jan 03, 2011 at 08:48:21AM -0500, Chris Jones wrote:

[..]

  Also, take a look at ‘unicode_start’.

 Note that if the locale set in /etc/default/locale (or
 /etc/environment on older systems) has a UTF-8 charmap (as reported by
 locale charmap), then the console will be put into unicode mode by
 default automatically by the init scripts, which run unicode_start for
 you.

God's in his heaven, and all's well with the world.

cj


--
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/2011010321.ga4...@pavo.local



Re: sleeping the system vs hibernate or suspend

2011-01-02 Thread Chris Jones
On Sun, Jan 02, 2011 at 02:18:40PM EST, bri...@aracnet.com wrote:
 Hi,
 
 Someone posted (to this list) a simple command line for sleeping the
 system.

[..]

$ xset dpms force suspend # ..?

cj


-- 
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/20110103054957.ga4...@pavo.local



Re: [OT] Stupid consumers and inferior hardware

2011-01-01 Thread Chris Jones
On Fri, Dec 31, 2010 at 08:33:28PM EST, John Jason Jordan wrote:

[..]

 It will be a long time before I install an nVidia proprietary driver
 again.

When I installed ‘lenny’ on this new laptop, the ‘nv’ driver was the
default. At some point I figured I'd watch some TV news, and I noticed
that the successive frames were not rendered smoothly and that the audio
was unpleasantly lagging. I noticed the same with diverse podcasts and
yotube flsame flash videos. 

I proceeded to install the version of the proprietary nvidia driver that
comes with ‘lenny’ and everything I threw at it was just about as smooth
as on my TV.

Am I mistaken in assuming that you now need hardware acceleration for
a pleasant video experience?

I have not tried the ‘nouveau’ driver and have not had the time to
research it and verify how well my card is supported.

I could be wrong but my impression is that due to Nvidia's policies,
support for recent video cards is usually either non-existent or
incomplete (?)

So, depending on your hardware and what you plan to do with it, I'm not
sure you can stay away from proprietary drivers at this point.

cj


-- 
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/20110101203752.ga25...@pavo.local



Re: Monitor question

2010-12-30 Thread Chris Jones
On Thu, Dec 30, 2010 at 12:58:42AM EST, Stan Hoeppner wrote:
 Johan Kullstam put forth on 12/29/2010 11:25 PM:

  Good for you.  My gripe is that one can no longer choose.  It's
  shortscreen or nothing.
  
  I had an old thinkpad t42 with a 14 1440x1050 and it rocked.  It
  weighed only 4.5 lbs even with cd drive.  For me, it was an optimal
  size and weight.  The current offerings are all inferior - they are
  heavier, have less vertical screen dimension and worse resolution.
 
 You're a member of a super-minority Johan.  

Nobody would deny that IT professionals are a tiny minority. Even if you
add the comparatively much larger numbers of non-IT professionals, you
are looking at a small share of the market, and not the most profitable
thereof. The masses have much lower expectations/exigencies, resulting
in higher margins. In a somewhat different walk of life, even Blackberry
have gotten wise to these aspects and are now focusing on producing for
the masses.

 The majority of the marketplace wants wide screen, which is why you're
 finding little or nothing else but widescreen.  Even the little toy
 netbook computers all have widescreen LCDs.

And using them for anything but entertainment (movies, video  TV
streaming, gaming..) is a nightmare. I was configuring one lately,
1024x600 screen resolution, out-of-the-box ubuntu/gnome desktop and even
with a very small font, and I frequently had to use Alt+left mouse to
drag the popup dialogs upwards: the ‘OK’, ‘cancel’ buttons were
off-screen.

Fortunately, I don't use GUI's much on my own machines, so I'm quite
flexible, but right now it looks like 10+ years of tweaking the ergonomy
of the desktop has gone down the tube in a matter of a few months. 

The only way out of this dilemma would appear to start off with the
highest available resolution you can lay your hands on - ie. HDTV's
1080p, and try to recreate a sane 4:3 screen or thereabout and use only
part of the display¹.

As long as you are able to get such a portable system that features such
high resolution, that is.

I recently looked at the Thinkpad offering, and Lenovo's specs and
customization pages have become extremely vague about the actual pixel
dimensions of the displays available for their different models. From
what I have seen, it looks like all Thinkpads except the 15 lbs. 17
W701ds come with 1600x900 as the highest resolution. And more often than
not that is only an option. Now that's precisely 30% shorter than the
hi-res screens of the past decade - ie. 1600x1200 or the wide-screen
1920x1200, and still 15% less height than the 1400x1050 that was
commonly featured on 15 laptops before the advent of wide screens. 

Among other things, what this means is that you will have to use smaller
fonts to make an entire page of a pdf document fit on one screen. To the
point where you have to lean forward to read comfortably. And this is
even more of a problem when the document you are viewing features the
standard A4 paper size rather than U.S. letter because pages are an
extra 8.5% taller.

 That's very telling about the market.

As in.. whatever the suckers' preferences, one size fits all makes good
economic sense from the vendor/manufacturer's perspective?

cj

¹ Ubuntu's new ‘Unity’ desktop appears to be a move in that direction.


-- 
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/20101230220319.ga4...@pavo.local



Re: USB soundbar as default audio device

2010-12-29 Thread Chris Jones
On Wed, Dec 29, 2010 at 03:48:52AM EST, Dotan Cohen wrote:
 On Tue, Dec 28, 2010 at 23:15, Chris Jones cjns1...@gmail.com wrote:
  Ubuntu is now heavily invested in Pulse Audio so what you learn in
  Debian won't necessarily apply there. You might want to convince your
  friend to use Debian instead.
 
  Hm. I may end up doing that..
 
  What's the deal with Pulse Audio..
 
  It's available in debian stable.. any reason I should not use myself as
  well it if it ‘just works’..?
 
 
 Pulse Audio is very mature and usable in Ubuntu 10.10, I recommend
 using it if it works for you. But it tool some hard years to get to
 that state, therefore PA has a very bad reputation.
 
 I recommend that you just continue using Ubuntu 10.10 if that works
 for the express purpose that that machine was intended for. If you
 outgrow Ubuntu, you'll know!

Thanks. Will wait till squeeze becomes stable and give it another shot.

cj


-- 
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/20101229182638.ga11...@pavo.local



Re: USB soundbar as default audio device

2010-12-28 Thread Chris Jones
On Mon, Dec 13, 2010 at 03:35:01PM EST, Russell L. Harris wrote:

  Chris Jones wrote:

   Maybe I should send it back  use the compatiblity lists to try
   and get something that's supported out of the box.
  
 Consider a Lexicon Alpha (US$60) or Lexicon Omega (US$180).  See
 broadcast suppliers such as www.bswusa.com or www.fullcompass.com.
 
 Typically the only configuration needed is a simple .asoundrc file
 such as the following:

 
 pcm.!default {
 type hw
 card Omega
 }
 ctl.!default {
 type hw
 card Omega
 }

Sounds like I should have asked questions before the fact :-)

cj


-- 
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/20101228184232.ga4...@pavo.local



Re: USB soundbar as default audio device

2010-12-28 Thread Chris Jones
On Mon, Dec 13, 2010 at 03:26:12PM EST, deloptes wrote:
 Chris Jones wrote:

   input,hidraw0: USB HID v1.10 Device [HOLTEK  AudioHub Speaker] on
   usb-:00:07.2-1.4.4 usb 1-1.4.4: New USB device found,
   idVendor=046d, idProduct=0a0e usb 1-1.4.4: New USB device
   strings: Mfr=1, Product=2, SerialNumber=0 usb 1-1.4.4: Product:
   AudioHub Speaker usb 1-1.4.4: Manufacturer: HOLTEK
   
   Not much that looks like a reference to a chip, at least to my
   uneducated eyes. As you notice the device doubles as a USB hub.
  
   I couldn't find information about the chip or even if the card is
  supported
  
  http://www.linux-usb.org/usb.ids
  
  According to the above, HOLTEK aren't even supposed to make USB
  audio stuff.. :-) Maybe I should send it back  use the compatiblity
  lists to try and get something that's supported out of the box.
 
 I would suggest to ask or to look into the development branches of the
 linux kernel or ask the kernel usb audio developers. It might be that
 they need to add just the id to the code to get support for it.If you
 have some C programming skills you even can try hacking it yourself.
 
 Another option and I think here the problem is that alsa is not
 working for this device - thus the system recognizes it but can not
 associate it with a driver (snd-usb-audio).
 
 especially this link sound like your problem
 
 http://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg1472852.html

As it happens it works in ubuntu 10.10 out of the box. I only need to go
to the sounds preferences and switch cards and sound is routed to the
soundbar. Both the media controls (volume, mute) on the laptop's
keyboard and the volume knob work.

I'll see if I can get it to work in squeeze by comparing the
configurations. 

cj


-- 
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/20101228184627.gb4...@pavo.local



Re: Monitor question

2010-12-28 Thread Chris Jones
On Mon, Dec 27, 2010 at 08:46:38PM EST, Stan Hoeppner wrote:
 Chris Jones put forth on 12/27/2010 7:00 PM:
  On Mon, Dec 27, 2010 at 10:57:31AM EST, Camaleón wrote:

  On Fri, 24 Dec 2010 10:30:57 -0500, Mark Neidorff wrote:
  
  [..]
  
  When it comes to LCD/TFT, you have to pay attention to native
  resolution. 
  
  I agree. And the highest you can get. 

 Not necessarily.  This is highly dependent on the users(s) of the
 monitor.
 
 I built my folks a new PC last year (Athlon II X2 Rigor 2.8 w/ ATI
 north bridge video) and got them a 24 Asus widescreen LCD to go with
 it.  Dad is 73 Mom is 68.  Dad wears trifocals and Mom bifocals.  No
 matter what font size (WinXP) 

[..]

My remark was to be taken in the context of environments that are
configurable to the users' rather than the vendor's preferences. 

;-)

cj


-- 
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/20101228210701.gc4...@pavo.local



Re: USB soundbar as default audio device

2010-12-28 Thread Chris Jones
On Tue, Dec 28, 2010 at 01:46:13PM EST, Dotan Cohen wrote:

 Ubuntu is now heavily invested in Pulse Audio so what you learn in
 Debian won't necessarily apply there. You might want to convince your
 friend to use Debian instead.

Hm. I may end up doing that.. 

What's the deal with Pulse Audio..

It's available in debian stable.. any reason I should not use myself as
well it if it ‘just works’..?

cj


-- 
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/20101228211532.gd4...@pavo.local



Re: Monitor question

2010-12-27 Thread Chris Jones
On Mon, Dec 27, 2010 at 10:57:31AM EST, Camaleón wrote:
 On Fri, 24 Dec 2010 10:30:57 -0500, Mark Neidorff wrote:

[..]

 When it comes to LCD/TFT, you have to pay attention to native
 resolution. 

I agree. And the highest you can get. 

 Look, 17 displays tend to use the same resolution (dots per inch)
 than 19 ones (1280x1024) so people tend to think they gain when
 buying a 17 screen because they get the same viewable area but they
 pay less (17 monitors are cheaper).

Being near-sighted, a 17 monitor suits me best: with larger monitors,
I am so close to the display that I constantly have to move my head to
the right, to the left, to the right.. and end up with a crick in the
neck. :-)

 But I prefer to stick to 19 LCD screens (and avoid as much as I can
 those wide/narrow screens, 16:9 or 16:10) because text and icons are
 larger than in 17 displays and I get a good resolution (1280x1024 is
 better than a wide screen (1280x800).

Have you had too much champagne over the holiday? :-) 

Last time I looked, all _affordable_ monitors I could find were 16:9
aka. Hollywood's preferred 1080p. And as far as recent laptop models are
concerned, they are all 16:9. From what I understand, the manufacturers
have stopped making proper _computer_ displays.

The 4:3 aspect ratio displays that I like.. or the possibly even better
5:4 that you recommend are pretty much a thing of the past. If I had the
money, I might purchase a couple of QSXGA 2560x2048 screens right now..
while they last. But apart from the fact that I am unsure they would
play well with X/linux and run-of-the-mill hardware, the price of such
fiends is rather a deterrent.

[..]

 OTOH, you can always adjust your DPI to a higher value (i.e., 120dpi) so 
 while you keep your current/recommended resolution, all, icons and text 
 will display bigger and your eyes will suffer less :-)

Yes, that's usually the sensible approach when you want to stick with
the native resolution of your physical screen (as you should) and
globally adjust the size of your fonts, icons, etc. to whatever suits
your particular preferences or your eyesight's idiosyncrasies. 

I have noticed that out of the box, and before you fool him by running
X with a lower dpi (such as 96), gnome presents you with large fonts and
icons that make your high-res display look as if it were a 1024x768 or
less. Rather than change font sizes in all kind of never obvious places,
reduce the height or the panels, etc. it is considerably easier and more
reliable to change the dpi and restart X.

cj


-- 
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/20101228010017.ga4...@pavo.local



[OT] Re: lenny squeeze etc etc

2010-12-26 Thread Chris Jones
On Wed, Dec 22, 2010 at 11:30:33AM EST, John Hasler wrote:

[..]

 I have not seen a movie in more than twenty years and probably never
 will see one again.

 I find the entire entertainment industry and everyone associated with
 it faintly disgusting, and, in any case, like popular music, movies
 are 99% boring crap.  The ocassional gem (usually a rhinestone) is not
 worth sorting through the rest.

Not sure about ‘gems’.. but if you have not seen it already, you might
have fun watching:

  http://www.youtube.com/watch?v=56ahqtLA3ZYfeature=related

Quite relevant.

cj


-- 
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/20101226193652.gh4...@turki.gavron.org



Re: No devices found in X

2010-12-22 Thread Chris Jones
On Tue, Dec 21, 2010 at 08:59:17AM EST, Celejar wrote:

[..]

 If we can establish that this was the problem (that it must be
 built-in, and not built as a module), is this a bug?  I suppose that I
 should at least update the Wiki to warn about this.

Not sure if it's relevant, but this vaguely reminds me of having had to
add my old ATI mach64's module 'atyfb' to /etc/initramfs-tools/modules
to run the FB console in 1400x1050 mode without having to compile custom
kernels. Timing issue, I guess. I see that I still have it configured
this way in my lenny setup.

I've never had a machine with an intel chip and frambuffer console
issues, so I wouldn't know if this makes any sense in your case, of
course.

cj


-- 
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/20101222140334.gm3...@turki.gavron.org



Re: No devices found in X

2010-12-22 Thread Chris Jones
On Wed, Dec 22, 2010 at 03:30:38PM EST, Celejar wrote:
 On Wed, 22 Dec 2010 09:03:34 -0500
 Chris Jones cjns1...@gmail.com wrote:
 
  On Tue, Dec 21, 2010 at 08:59:17AM EST, Celejar wrote:

[..]

  Not sure if it's relevant, but this vaguely reminds me of having had to
  add my old ATI mach64's module 'atyfb' to /etc/initramfs-tools/modules
  to run the FB console in 1400x1050 mode without having to compile custom
  kernels. Timing issue, I guess. I see that I still have it configured
  this way in my lenny setup.

[..]

 Interesting, thanks.  I'm going to file a bug with upstream, and I'll
 report back here when I've done so.

If you still have your old kernel w/o the module built-in, and if there
is framebuffer console module for your chip that is comparable to atyfb
for the mach64 rage/pro, you could also see if (re)gen'ing your initrd
makes any difference. I haven't looked at that stuff in years, but
I vaguely remember that it was as simple as running update-initramfs in
the initramfs-tools package. But don't take my word for it, unless you
are familiar with the proedure, you do need to research it a bit.

cj


-- 
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/20101223002921.gn3...@turki.gavron.org



Re: dist upgrade nightmare!

2010-12-15 Thread Chris Jones
On Wed, Dec 15, 2010 at 10:32:42AM EST, Jude DaShiell wrote:

 I tried taking a friend's machine from lenny to squeeze and it turned
 into a disaster.  As a consequence of the attempt his entire package
 update and repair systems are broken.  apt-get -f install can't fix
 anything and dpkg --configure -a can't fix anything anymore and as
 a consequence of those  two acts, it's impossible to update his
 system.  I can't even downgrade  back to lenny!  What I would like to
 know is if emergency procedures exist that can clear the mess out that
 these operations created and get the  system back to some known state.
 I wouldn't mind this so much if the  upgrade had simply failed but
 a system breaking like this where even  though useable with the
 squeeze kernel on it is there nothing can be  installed or uninstalled
 with apt-get and aptitude apparently got turned  into a zombi placed
 in not fully installed or uninstalled or deferred  status.  If I had
 done this to my own computer that would be one thing,  but this is
 a computer of a friend and I don't appreciate these tools for  having
 ended up leaving this kind of damage.

Hey Jude,

Sorry to hear about that.

Whether upgrading your own system or your friend's, the correct upgrade
procedure is as follows:

1. Clone your existing system to a new partition¹
2. Update your booloader so you have access the clone
2. Read the release notes, etc.
3. From the clone, run the update, upgrade, dist-upgrade procedure
4. Test the resulting system for a couple of days.
5. Delete the old system if you need to reclaim the disk space

In any case, there is _always_ a quick painless way to ‘downgrade back
to lenny’.. such as restoring from the full backup you made prior to
running the dist-upgrade.

As others have said, booting off a rescue disc and backing up anything
worth saving is still an option. Reinstalling and restoring the user
data shouldn't be difficult.

Cheers,

cj


-- 
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/20101215213253.gb3...@turki.gavron.org



Re: User stylesheets with mozilla browsers

2010-12-11 Thread Chris Jones
On Sat, Dec 11, 2010 at 06:35:35AM EST, Joel Roth wrote:

 On Fri, Dec 10, 2010 at 10:56:08AM -0500, Chris Jones wrote:

  Is there any way I could use a custom stylesheet to make my web browser
  rearrange text in two or more columns so I don't get my eyes crossed
  when I'm reading?
  
  Come to think of it, a web browser with vertical vim-style vertical
  splits, where you could display the contents of 2-3 tabs side by side
  would be nice.

[..]

 This site doesn't give you two columns, but does offer
 a variety of other choices to make websites more legible.
 
 Gets installed as a javascript program in a bookmark
 that you click on to reformat a site.
 
 http://lab.arc90.com/experiments/readability/

For H's sake.. I don't even use a bookmark toolbar :-)

Not having a clue as to what this thing is/does.. where the source is...
who the blessed author is and how long he plans on staying alive and
hopefully maintaining his creation... such as keeping abreast of browser
upgrades in an timely fashion, for instance.. I'll pass on this one :-)

All that stuff kinda reminds me.. of Microsoft Windows practices.. you
drool, you click, and yet another piece of potential scumware graciously
installs itself and infects your computer.

Add-ons, indeed...

Nothing personal, I assure you: To be honest, I did activate the
bookmarks ‘bar’ in seamonkey and checked what this add-on does before
(hopefully..?) removing it. If nothing else, playing with it gave me
perspective in an area of computing I am totally unfamiliar with. 

Thanks a bunch for the suggestion.

FYI, y'all.. css3's ‘column-width’ and ‘column-count’ may need a bit of
tweaking my end yet, but that's what I was looking for.

HTH :-)

cj


-- 
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/20101212053950.ga3...@turki.gavron.org



Re: USB soundbar as default audio device

2010-12-10 Thread Chris Jones
On Fri, Dec 10, 2010 at 03:29:19AM EST, deloptes wrote:
 Chris Jones wrote:

[..]

 I wanted to know if it is a webcam or something else

Well, no.. they're sort of a longish thing with 2 or more speakers that
you connect to audio sources with weak output, such as subnotebooks or
netbooks, etc.

[..]

  $ tail /var/log/messages
  
  usb 1-1.4: USB disconnect, address 13
  usb 1-1.4.4: USB disconnect, address 14
  usb 1-1.4: new full speed USB device using uhci_hcd and address 15
  usb 1-1.4: configuration #1 chosen from 1 choice
  hub 1-1.4:1.0: USB hub found
  hub 1-1.4:1.0: 4 ports detected
  usb 1-1.4: New USB device found, idVendor=05e3, idProduct=0607
  usb 1-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
  usb 1-1.4: Product: USB2.0 Hub
  usb 1-1.4.4: new full speed USB device using uhci_hcd and address 16
  usb 1-1.4.4: configuration #1 chosen from 1 choice
  input: HOLTEK  AudioHub Speaker as /class/input/input11
  input,hidraw0: USB HID v1.10 Device [HOLTEK  AudioHub Speaker] on
  usb-:00:07.2-1.4.4 usb 1-1.4.4: New USB device found, idVendor=046d,
  idProduct=0a0e usb 1-1.4.4: New USB device strings: Mfr=1, Product=2,
  SerialNumber=0 usb 1-1.4.4: Product: AudioHub Speaker
  usb 1-1.4.4: Manufacturer: HOLTEK
  
  Not much that looks like a reference to a chip, at least to my
  uneducated eyes. As you notice the device doubles as a USB hub.

  I couldn't find information about the chip or even if the card is
 supported
 
 http://www.linux-usb.org/usb.ids

According to the above, HOLTEK aren't even supposed to make USB audio
stuff.. :-) Maybe I should send it back  use the compatiblity lists to
try and get something that's supported out of the box.

  What would a chip identifier look like?

 it doesn't matter when it is usb - the point was the information above
 about the ids

Or maybe I could try plugging it into a Windows system and see what kind
of drivers get installed? That might tell me more about what it really
is and make it easier to search for solutions?

Thanks,

cj


-- 
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/20101210132331.gb13...@turki.gavron.org



User stylesheets with mozilla browsers

2010-12-10 Thread Chris Jones
Is there any way I could use a custom stylesheet to make my web browser
rearrange text in two or more columns so I don't get my eyes crossed
when I'm reading?

Come to think of it, a web browser with vertical vim-style vertical
splits, where you could display the contents of 2-3 tabs side by side
would be nice.

Thanks,

cj


-- 
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/20101210155608.ge13...@turki.gavron.org



Re: User stylesheets with mozilla browsers

2010-12-10 Thread Chris Jones
On Fri, Dec 10, 2010 at 12:27:55PM EST, Camaleón wrote:
 On Fri, 10 Dec 2010 10:56:08 -0500, Chris Jones wrote:
 
  Is there any way I could use a custom stylesheet to make my web browser
  rearrange text in two or more columns so I don't get my eyes crossed
  when I'm reading?
  
  Come to think of it, a web browser with vertical vim-style vertical
  splits, where you could display the contents of 2-3 tabs side by side
  would be nice.
 
 You can avoid loading CSS at all (view/page layout/none).

How is that going to make the lines shorter?

Sorry if I was unclear but what I mean is that I am reading plain text
and with the small fonts I favor, the lines are so long on the new 1080p
screens that I often have problems keeping my eye level with them. So
I was thinking of reformatting these pages along the lines of what you
commonly see in newspapers. 

Take for instance:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt  ut labore  et dolore magna  aliqua. Ut enim  ad minim
veniam, quis nostrud exercitation ullamco  laboris nisi ut aliquip ex ea
commodo consequat. Duis  aute irure dolor in  reprehenderit in voluptate
velit  esse  cillum  dolore  eu fugiat  nulla  pariatur. Excepteur  sint
occaecat  cupidatat non  proident, sunt  in culpa  qui officia  deserunt
mollit anim id est laborum.

versus:

Lorem   ipsum   dolor  sit   amet,consequat. Duis  aute irure  dolor
consectetur adipisicing  elit, sedin   reprehenderit  in   voluptate
do  eiusmod  tempor incididunt  utvelit esse cillum dolore eu fugiat
labore et  dolore magna aliqua. Utnulla   pariatur. Excepteur   sint
enim ad minim veniam, quis nostrudoccaecat  cupidatat non  proident,
exercitation ullamco  laboris nisisunt in culpa qui officia deserunt
utaliquip   ex   eacommodomollit anim id est laborum.   

Not very useful here, since the lines in my MUA are limited to 72
columns and obviously the justification does not play well with a fixed
width font, but hopefully the above example will clarify.

 But maybe you are more interested in something like this add-on:
 
 https://addons.mozilla.org/en-US/firefox/addon/2108/
 

I installed the ‘Stylish’ addon, and hunted down a couple of ‘user
styles’ that looked like they might do what I want.. It turned out they
did not do anything that I could see. 

I know next to nothing about web browser technology, so it may very well
be that I what I had in mind is not possible. :-(

Thanks,

cj


-- 
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/20101210210152.gg13...@turki.gavron.org



Re: User stylesheets with mozilla browsers

2010-12-10 Thread Chris Jones
On Fri, Dec 10, 2010 at 04:22:16PM EST, Camaleón wrote:

[..]

 You can use some custimozations (bigger text, no background images nor
 underline links) but changing the whole site default layout for each
 site on-the-fly is not something that can be 100% automated ;-(

This web page is only a couple year old and looks promising:

  
http://welcome.totheinter.net/2008/07/22/multi-column-layout-with-css-and-jquery/

It does state that, in 2008 at least, there was no ‘native CSS support
for multi-column newspaper-style layouts’. Not sure if this still hold
true.

cj


-- 
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/20101211002139.gl13...@turki.gavron.org



Re: Directory and file permissions

2010-12-08 Thread Chris Jones
On Wed, Dec 08, 2010 at 07:17:41AM EST, Lisi wrote:
 My google foo seems to have deserted me completely.  Could someone take 
 pity? :-(
 
 Is it possible for a directory to have lower permissions than the files it 
 contains?  And could those who have permissions for the files, but not the 
 directory, gain access to the files?
 
 My instinct says no.  But it would not be for the first time if my instinct 
 is 
 wrong.
 
 Thanks for any help anyone feels able to give,

There's the case where you only set the ‘x’ flag for group  other:

$ mkdir /tmp/t
$ chmod go-rw /tmp/t
$ ls -alchd /tmp/t
drwx--x--x 2 me me 4.0K 2010-12-08 08:33 /tmp/t
$ echo ‘xxx’  /tmp/t/t.txt
$ ls -alch /tmp/t
-rw-r--r--  1 me me  4 2010-12-08 08:45:47.0 -0500 x.txt
$ chmod ugo+rwx /tmp/t/t.txt
$ ls -alch /tmp/t
-rwxrwxrwx  1 me me  4 2010-12-08 08:45:47.0 -0500 x.txt

Now user ‘her’ can cd to /tmp/t/ but cannot ‘ls’ its contents.

Even bash tab completion will refuse to yield any of the directory's
secrets.

So if ‘her’ knows that there is a file named ‘x.txt’ in there, she can
list or modify its contents, execute it if something executable lives in
there. 

What ‘her’ cannot do is anything that would require read or write
permissions to the /tmp/t directory, such as list (ls) or change (rm,
mv..) its contents.

With the above scenario, the directory has lower permissions than the
files it contains and ‘those who have permissions’ - everybody in this
instance - to the files can ‘gain access’ to the files (rw access).

Barring any typos and stuff, the above should be correct, but if you
google for ‘linux file permissions’ you shall come up with clearer and
likely more reliable explanations.

What I do not know is why this was thus designed, except perhaps to
confuse the likes of me..

cj



-- 
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/20101208140457.gi3...@turki.gavron.org



USB soundbar as default audio device

2010-12-06 Thread Chris Jones
I am trying to set up a USB sound bar on someone else's laptop running
ubuntu 10.10 with a gnome desktop.

Since it did not work out of the box, I thought I'd first enhance my
non-existent skills in this area by first practicising on my machine
with debian ‘lenny’ and no DE environment. 

I discovered rather quickly that what goes on behind the scenes is that
said sound bar is (emulates?) an additional sound card.

As a result, I have to direct each program that produces some form or
other of sound output to use the second audio device rather than the
default builtin sound card.

I am able to get ‘mplayer’ to do this but I have no idea how I could
convince the flash plugin behind my web browser to do this, for
instance.

Is there any way I can make the sound bar the system's default and be
done with it?

While testing, I tried redirection when launching programs from the bash
prompt -- i.e. adding ‘/dev/dsp  /dev/dsp1’ -- with unsatisfactory
results: below par sound quality, loud cracks, the speakers go silent
for brief periods of time, etc.

I do not have access to the other laptop right now, but I would assume
gnome has some sort of GUI that lets you specify your default device
‘system-wide’?

Another thing I noticed is that the volume button on the sound bar does
not work: I have to start alsamixer to control the volume, which is not
optimal. 

Does this mean that I am using a default generic audio USB driver for
this device and that I should look for something a bit more specific
that might support additional hardware features?

While I am at it I thought I might as well learn how these things work
and stop guessing :-)

Is there a reliable up-to-date document that you would recommend
reading?

Thanks,

cj

P.S. I refrained from posting the 3 pages output by ‘lsusb -vs’. Not
sure if that would help at this point.


-- 
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/20101206164243.gd3...@turki.gavron.org



Re: USB soundbar as default audio device

2010-12-06 Thread Chris Jones
On Mon, Dec 06, 2010 at 12:15:33PM EST, deloptes wrote:
 Chris Jones wrote:
 
  I am trying to set up a USB sound bar on someone else's laptop running
  ubuntu 10.10 with a gnome desktop.
 
 what is this sound bar? something to eat :-)?

No, a place where they charge the patrons for listening :-)

[..]

  Is there any way I can make the sound bar the system's default and be
  done with it?
 
 you can read ALSA docs - they are weired but very good. I usually do few
 steps to setup a card. You have two options - to setup system wide or user
 specific

That's what I was looking for.

  While testing, I tried redirection when launching programs from the bash
  prompt -- i.e. adding ‘/dev/dsp  /dev/dsp1’ -- with unsatisfactory
  results: below par sound quality, loud cracks, the speakers go silent
  for brief periods of time, etc.
 
 dsp is OSS (not ALSA) and it works only with additional modules (loaded and
 configured)

OK.

  I do not have access to the other laptop right now, but I would assume
  gnome has some sort of GUI that lets you specify your default device
  ‘system-wide’?
 
 check if there is pulse audio installed and running - this might be what you
 are looking for (there is something pactrl or alike or gui for this - I'm
 not using it but it's the future, so possibly you can use it)

Will do.

  Another thing I noticed is that the volume button on the sound bar does
  not work: I have to start alsamixer to control the volume, which is not
  optimal.
  
  Does this mean that I am using a default generic audio USB driver for
  this device and that I should look for something a bit more specific
  that might support additional hardware features?
 
 I would say this was the configuration for the default card (built in)

.. and volume and other controls on a builtin sound card would be rather
inconvenient? :-)

  While I am at it I thought I might as well learn how these things work
  and stop guessing :-)
 
 then start reading at
 http://www.alsa-project.org/main/index.php/Documentation

Looks more than promising, thanks!

[..]

  P.S. I refrained from posting the 3 pages output by ‘lsusb -vs’. Not
  sure if that would help at this point.
  
 
 thanks, but it would help though to mention what kind of chip your usb card
 has (or vendor + model)

Not sure about the model - the vendor is actually Logitech.

$ tail /var/log/messages

  usb 1-1.4: USB disconnect, address 13
  usb 1-1.4.4: USB disconnect, address 14
  usb 1-1.4: new full speed USB device using uhci_hcd and address 15
  usb 1-1.4: configuration #1 chosen from 1 choice
  hub 1-1.4:1.0: USB hub found
  hub 1-1.4:1.0: 4 ports detected
  usb 1-1.4: New USB device found, idVendor=05e3, idProduct=0607
  usb 1-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
  usb 1-1.4: Product: USB2.0 Hub
  usb 1-1.4.4: new full speed USB device using uhci_hcd and address 16
  usb 1-1.4.4: configuration #1 chosen from 1 choice
  input: HOLTEK  AudioHub Speaker as /class/input/input11
  input,hidraw0: USB HID v1.10 Device [HOLTEK  AudioHub Speaker] on 
usb-:00:07.2-1.4.4
  usb 1-1.4.4: New USB device found, idVendor=046d, idProduct=0a0e
  usb 1-1.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
  usb 1-1.4.4: Product: AudioHub Speaker
  usb 1-1.4.4: Manufacturer: HOLTEK

Not much that looks like a reference to a chip, at least to my
uneducated eyes. As you notice the device doubles as a USB hub.

What would a chip identifier look like?

 I usually setup my notebook following way
 
 *) Add the user to the audio(+video) group

Did that.

 *) create a file /etc/modprobe.d/sound  with following
 
## ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-hda-intel
alias snd-card-1 snd-usb-audio

## module options should go here
#options snd-hda-intel index=0 model=dell-m6,ref,auto
#options snd-hda-intel index=0 model=ref enable_msi=1
options snd-hda-intel index=0 model=ref
#options snd-hda-intel index=0 model=hp-dv5 enable_msi=1 position_fix=1
options snd-usb-audio index=1

I currently have this:

  $ cat /etc/modprobe.d/sound
  alias snd-card-0 snd-es1968
  options snd-es1968 index=0

Let me check what this does before I make any changes.

 This way I have always the built in card configured as 0 which means first
 and the usb as second

Ah.. nice.

 The options you'll find in the kernel version /Documentation
 
 *) For user specific configuration and experimenting with alsa you can use
 
   $HOME/.asoundrc

excellent!

[..]

On Mon, Dec 06, 2010 at 12:17:02PM EST, Hugo Vanwoerkom wrote:

[..]

 the default sound is index=0

Thanks to both!

cj


-- 
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/20101206181840.ge3...@turki.gavron.org



Re: apt-get apting uc?

2010-11-24 Thread Chris Jones
On Wed, Nov 24, 2010 at 03:50:08AM EST, Andrei Popescu wrote:
 On Ma, 23 nov 10, 23:52:50, Chris Jones wrote:
  After syncing via an apt-get update and running an apt-get upgrade, I am
  seeing some unfamiliar messages¹ when I try to install new packages:
 
 Do you mean these?

Yes, forgot to add an explanatory footnote.

Retrieving bug reports... Done
Parsing Found/Fixed information... Done
  → serious bugs of fusesmb (- 0.8.7-1) done
 #536907 - fusesmb: FTBFS: configure: error: Please install nmblookup. 
  (Fixed: fusesmb/0.8.7-1.1)
  → grave bugs of fuse-utils (- 2.7.4-1.1+lenny1) pending
 #602333 - /usr/bin/fusermount: fusermount allows unmount any filesystem
  → Summary:
 fuse-utils(1 bug), fusesmb(1 bug)
  → Are you sure you want to install/upgrade the above packages? [Y/n/?/...]

 [...]
 
  Does the above mean that something in the debian respositories has
  changed during the eight months when I was unable to use debian and that
  I needed to follow suit and make changes to /etc/apt/sources.list?
  
  Since I hit enter and accepted the default ‘Y’ when asked to confirm
  whether I wanted to install the packages, have I hosed apt on my system?
  
  Or is it just a case of my apt-get upgrade having upgraded apt and the
  newer version being more verbose?
 
 Seems like you installed apt-listbugs ;)

Good catch!

/var/log/apt/term.log.* tells me that it was installed on 01/18/2010 and
‘history | grep listbugs’ indeed logged the corresponding ‘apt-get
install’ command.

I cannot remember what I was thinking and the other packages that
I installed at that time do not really provide any clues.

I did an ‘apt-get -s remove apt-listbugs’ and as expected it did not try
to remove anything else -- i.e. so it wasn't pulled in when I installed
another package. 

I'll leave it at that and read the listbugs manual now. See how I can
put this mysterious gift from the debian heavens to good use.

Thanks,

cj

¹ as indicated by the ‘→’ right-arrows.


--
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/20101124175524.gf2...@turki.gavron.org



Re: [OOT] Free Software - was Re: Toner refill

2010-11-23 Thread Chris Jones
On Wed, Nov 17, 2010 at 01:25:20PM EST, Bob Proulx wrote:
 Chris Jones wrote:
  Boyd Stephen Smith Jr. wrote:
   Free Software has *never* been about cost.  It is about the
   freedoms to use, study, and modify the software.  
  
  How would one ‘use, study, and modify the software’ if one could not
  afford it in the first place?
 
 The cost is not a monetary cost.

[..]

On Wed, Nov 17, 2010 at 03:33:08PM EST, Boyd Stephen Smith Jr. wrote:
 In 20101117172626.gb30...@turki.gavron.org, Chris Jones wrote:
 On Thu, Oct 28, 2010 at 12:25:00PM EDT, Boyd Stephen Smith Jr. wrote:
 
 [..]
 
  Free Software has *never* been about cost.  It is about the
  freedoms to use, study, and modify the software.
 
 How would one ‘use, study, and modify the software’ if one could not
 afford it in the first place?
 
 Those are the rights guaranteed by Free Software to entities receiving
 the software.  They do not make a requirement that everyone is able to
 receive the software.

[..]

Thanks for reminding me that the discussion was in reference to the GPL
concept of ‘Free Software¹’ as stated in its preamble, rather than the
generally accepted meaning of ‘free software’ in everyday English.

All the same, from a general perspective, I still pretty much stand by
what I wrote, namely that the relative success of GNU/Linux and other
non-proprietory software and the incredible diversity of options we now
have to populate our machines is first and foremost due to the fact that
said software is available for download at no monetary cost to the
user/developer.. even if at least where GNU software is concerned, this
aspect is only a side-effect.

I mean, what good does it do to a would-be ‘Free Software’ developer to
eventually ‘get credit for his work’ if he cannot afford the luxury of
a C compiler to start off with? 

Incidentally, I became a user of free software after I bought a laptop
on a whim, when after a couple weeks, I got bored with the copy of Win98
that came with it. I resented the fact that I did not have the freedom
to customize it to my liking save for trivial stuff like changing the
size of my fonts or the colors of my GUI. So I drove to the store and
paid $179.00 for a boxed copy of RedHat 6.2. Only later did I find out
about ‘gratis’. Later yet about ‘libre’.. 

I, for one should know the difference.

cj

¹ Where it becomes even more confusing for humble users like myself is
  that ‘Free Software’ apparently means different things depending on
  who you listen to: http://wiki.debian.org/DFSGLicenses


-- 
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/20101124041736.gc2...@turki.gavron.org



Re: [OOT] Free Software - was Re: Toner refill

2010-11-23 Thread Chris Jones
On Wed, Nov 17, 2010 at 01:25:20PM EST, Bob Proulx wrote:
 Chris Jones wrote:
  Boyd Stephen Smith Jr. wrote:
   Free Software has *never* been about cost.  It is about the
   freedoms to use, study, and modify the software.  
  
  How would one ‘use, study, and modify the software’ if one could not
  afford it in the first place?
 
 The cost is not a monetary cost.

[..]

On Wed, Nov 17, 2010 at 03:33:08PM EST, Boyd Stephen Smith Jr. wrote:
 In 20101117172626.gb30...@turki.gavron.org, Chris Jones wrote:
 On Thu, Oct 28, 2010 at 12:25:00PM EDT, Boyd Stephen Smith Jr. wrote:
 
 [..]
 
  Free Software has *never* been about cost.  It is about the
  freedoms to use, study, and modify the software.
 
 How would one ‘use, study, and modify the software’ if one could not
 afford it in the first place?
 
 Those are the rights guaranteed by Free Software to entities receiving
 the software.  They do not make a requirement that everyone is able to
 receive the software.

[..]

Thanks for reminding me that the discussion was in reference to the GPL
concept of ‘Free Software¹’ as stated in its preamble, rather than the
generally accepted meaning of ‘free software’ in everyday English.

All the same, from a general perspective, I still pretty much stand by
what I wrote, namely that the relative success of GNU/Linux and other
non-proprietory software and the incredible diversity of options we now
have to populate our machines is first and foremost due to the fact that
said software is available for download at no monetary cost to the
user/developer.. even if at least where GNU software is concerned, this
aspect is only a non-intentional side-effect.

I mean, what good does it do to a would-be ‘Free Software’ developer to
eventually ‘get credit for his work’ if he cannot afford the luxury of
a C compiler to start off with? 

Incidentally, I became a user of free software after I bought a laptop
on a whim, when after a couple weeks, I got bored with the copy of Win98
that came with it. I resented the fact that I did not have the freedom
to customize it to my liking save for trivial stuff like changing the
size of my fonts or the colors of my GUI. So I drove to the store and
paid $179.00 for a boxed copy of RedHat 6.2. Only later did I find out
about ‘gratis’. Later yet about ‘libre’.. 

I, for one should know the difference.

cj

¹ Where it becomes even more confusing for humble users like myself is
  that ‘Free Software’ apparently means different things depending on
  who you listen to: http://wiki.debian.org/DFSGLicenses


--
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/20101124042445.gd2...@turki.gavron.org



apt-get apting uc?

2010-11-23 Thread Chris Jones
After syncing via an apt-get update and running an apt-get upgrade, I am
seeing some unfamiliar messages when I try to install new packages:


  # apt-get install fuse-utils fusedav fuseext2 fusefat fuseiso fuseiso9660 
fusesmb
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  The following packages were automatically installed and are no longer 
required:
libx264-60 libenca0
  Use 'apt-get autoremove' to remove them.
  The following extra packages will be installed:
libcdio7 libfuse2 libiso9660-5 libneon26-gnutls libumlib0
  The following NEW packages will be installed:
fuse-utils fusedav fuseext2 fusefat fuseiso fuseiso9660 fusesmb libcdio7 
libfuse2 libiso9660-5 libneon26-gnutls libumlib0
  0 upgraded, 12 newly installed, 0 to remove and 8 not upgraded.
  Need to get 626kB of archives.
  After this operation, 1520kB of additional disk space will be used.
  Do you want to continue [Y/n]? y
  Get:1 http://ftp.us.debian.org lenny/main libfuse2 2.7.4-1.1+lenny1 [125kB]
  Get:2 http://ftp.us.debian.org lenny/main fuse-utils 2.7.4-1.1+lenny1 [17.9kB]
  Get:3 http://ftp.us.debian.org lenny/main libneon26-gnutls 0.26.4-2+b1 
[96.3kB]
  Get:4 http://ftp.us.debian.org lenny/main fusedav 0.2-2 [20.7kB]
  Get:5 http://ftp.us.debian.org lenny/main fuseext2 0.3-1 [11.5kB]
  Get:6 http://ftp.us.debian.org lenny/main fusefat 0.1a-1 [32.4kB]
  Get:7 http://ftp.us.debian.org lenny/main fuseiso 20070708-1 [21.3kB]
  Get:8 http://ftp.us.debian.org lenny/main libcdio7 0.78.2+dfsg1-3 [143kB]
  Get:9 http://ftp.us.debian.org lenny/main libiso9660-5 0.78.2+dfsg1-3 [112kB]
  Get:10 http://ftp.us.debian.org lenny/main libumlib0 0.5-2 [9608B]
  Get:11 http://ftp.us.debian.org lenny/main fuseiso9660 0.2b-1 [8936B]
  Get:12 http://ftp.us.debian.org lenny/main fusesmb 0.8.7-1 [27.7kB]
  Fetched 626kB in 1s (606kB/s)
  Reading package fields... Done
  Reading package status... Done
  Retrieving bug reports... Done
  Parsing Found/Fixed information... Done
→ serious bugs of fusesmb (- 0.8.7-1) done
   #536907 - fusesmb: FTBFS: configure: error: Please install nmblookup. 
(Fixed: fusesmb/0.8.7-1.1)
→ grave bugs of fuse-utils (- 2.7.4-1.1+lenny1) pending
   #602333 - /usr/bin/fusermount: fusermount allows unmount any filesystem
→ Summary:
   fuse-utils(1 bug), fusesmb(1 bug)
→ Are you sure you want to install/upgrade the above packages? [Y/n/?/...]


My sources.list is as follows, unchanged since September 2009:


deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main
deb http://www.debian-multimedia.org lenny main


Does the above mean that something in the debian respositories has
changed during the eight months when I was unable to use debian and that
I needed to follow suit and make changes to /etc/apt/sources.list?

Since I hit enter and accepted the default ‘Y’ when asked to confirm
whether I wanted to install the packages, have I hosed apt on my system?

Or is it just a case of my apt-get upgrade having upgraded apt and the
newer version being more verbose?

Thanks,

cj


-- 
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/20101124045250.ge2...@turki.gavron.org



Re: [OT] Re: Toner refill

2010-11-17 Thread Chris Jones
On Thu, Oct 28, 2010 at 12:25:00PM EDT, Boyd Stephen Smith Jr. wrote:

[..]

 Free Software has *never* been about cost.  It is about the freedoms
 to use, study, and modify the software.  

How would one ‘use, study, and modify the software’ if one could not
afford it in the first place?

 During the early years, the GNU project ran on profits from selling
EMACS and the GNU GPL is specifically worded to allow commercial
distribution of the software licensed under it.  Licenses which do not
allow commercial distribution are not DSFG-free.
 
 I suggest against using toner or ink jet cartridges that are not
 certified by the printer manufacturer since my experience has shown
 them to be inferior products.  Most often, they over-saturate the page
 leading to streak, smears, or even splotches and lower effective DPI.
 
 Refilled / recycled cartridges are a different story.  It depends on
 the refill method, but they usually work just as well as new
 cartridges.

Good to know. Thanks.

cj

-- 
Lads whose job is still to do
Shall whet their knives and think of you. 
- Hugh Kingsmill


--
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/20101117172626.gb30...@turki.gavron.org



Re: how to make the console not blank out and change resolution?

2010-11-17 Thread Chris Jones
On Sat, Oct 23, 2010 at 02:52:00PM EDT, jida...@jidanni.org wrote:
 Allow me to ask a stupid question.

Permission granted.

 You see, when that happens, whatever that was on the screen goes away.
 Nor was most of what was on the screen at that point stored in dmesg or
 in any /var/log/* file, not can it be ShiftPgUp'ed to anymore.
 
 So I would like to stop the blanking just one time to get a look at what
 was on the screen at that point.

You could _try_ hitting CTRL-S / CTRL-Q.

cj

-- 
Lads whose job is still to do
Shall whet their knives and think of you. 
- Hugh Kingsmill


-- 
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/20101117170316.ga30...@turki.gavron.org



Re: Air compressors vs. canned air

2010-02-17 Thread Chris Jones
On Wed, Feb 17, 2010 at 08:09:17AM EST, John Hasler wrote:
 Chris Jones writes:

  What seems to be happening is that I am a rather 'energetic' typist,
  and those keyboards were never designed to cope with intensive
  typing in the first place.
 
 Then you need an IBM Model M.  You won't wear it out.

I've tried external keyboards with laptops but they don't work for me.

The wikipedia article is an interesting read, though.

On Wed, Feb 17, 2010 at 09:24:39AM EST, Stephen Powell wrote:

 I second that motion!  I have two of them.  I wish I had more.  They
 are the best keyboards ever made, in my humble opinion.  (Or at least
 the best keyboards I personally have ever used.)  Unfortunately, IBM
 has not made this keyboard, or any keyboard, for that matter, in
 years.  But I heard on the news about a year ago that some company was
 making a clone of these keyboards, using IBM's old factory, if I'm not
 mistaken, for high-end typing power users.  The electronics have been
 updated for a USB interface instead of the original PS/2 interface.
 But the key action is identical.  They aren't cheap!  But if your
 computer can handle a traditional PS/2 keyboard connection, and if you
 are lucky enough to find one of the original ones used, you might get
 it for a reasonable price.

An outfit called Unicomp apparently makes them nowadays:

http://unicomp.com

 These are 101-key keyboards, not 104-key keyboards.  They don't have
 the two Windows® logo keys or the menu key.  But who cares!  I never
 use those keys anyway.

They can come in handy as an extra modifier, such as if you need to
juggle extra keyboard layouts, for instance.

CJ


-- 
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/20100217163152.ga9...@turki.gavron.org



Re: Air compressors vs. canned air

2010-02-17 Thread Chris Jones
On Wed, Feb 17, 2010 at 11:55:27AM EST, Andrew Euell wrote:

 That thing is a tank, but don't forget your earplugs.

Another thing that probably wouldn't work for me.

Please trim.. please don't top post.. 

CJ


-- 
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/20100217182553.gb9...@turki.gavron.org



Re: Air compressors vs. canned air

2010-02-16 Thread Chris Jones
On Tue, Feb 16, 2010 at 01:12:24AM EST, Kent West wrote:
 Chris Jones wrote:

  ...at this point I'm concerned the connector might be
  reaching the end of its useful life, and that means the next step would
  be replacing the motherboard.

 Or just solder in a new connector

Yes, more cost-effective if I can find one, and easier than installing a
new motherboard. The problem is the platic thingy that locks in place
the strip of wired plastic that connects the keyboard has kind of come
loose. I managed to put it back in place w/o taking the entire case
apart, but I should look into replacing it before it fails.

Thanks for the tip,

CJ


-- 
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/20100216082711.gh3...@turki.gavron.org



Re: Air compressors vs. canned air

2010-02-16 Thread Chris Jones
On Wed, Feb 17, 2010 at 12:28:17AM EST, Andrew Sackville-West wrote:
 On Tue, Feb 16, 2010 at 12:24:19AM -0500, Chris Jones wrote:

[...]

 have you tried running an old one through the dishwasher? works for
 the old model m's and many other keyboards...

Yes, I've heard that before, but I have never tried it.

But since it's not a matter of individual keys getting stuck, I don't
think the problem is caused by stuff collecting under the key caps.

What seems to be happening is that I am a rather 'energetic' typist, and
those keyboards were never designed to cope with intensive typing in the
first place. As a result, after a few months' use, the little rubber
nipples that are meant to push the keys back up when they are released
start wearing out and lose their elasticity. 

Thanks,

CJ


-- 
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/20100217070921.ga2...@turki.gavron.org



Re: portable Debian

2010-02-15 Thread Chris Jones
On Mon, Feb 15, 2010 at 11:45:22AM EST, Stefan Monnier wrote:
  Not that I can confirm my USB stick 'portable debian' would work on a
  wide range of systems. For a number of reasons I was not able to pursue
  this much further than what is described in my notes, one of them being
  that I did not have access to a target machine (or machines) and
  discover possible/probable problems.
 
 A good place to test your system is the local consumer
 electronics store.

Closed a couple of years ago, CompUSA that is.

I still have a Best Buy not too far from me, but I'm not sure they would
be agreeable beyond a quick boot, which would be okay if everything
works, but not ideal if you need to debug the thing. The local library
might be a more comfortable place, but if I told them what I plan to do,
they might get nervous and call the cops or something.

CJ


-- 
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/20100216043917.gd3...@turki.gavron.org



Re: portable Debian

2010-02-15 Thread Chris Jones
On Mon, Feb 15, 2010 at 11:36:23AM EST, Stefan Monnier wrote:

[..]

 - getting your BIOS find your kernel:
   - some machines can't boot from USB at all.
   - others can, but with some restrictions (typically Apple hardware,
 so I end up having to setup my flash key with grub-efi-32,
 grub-efi-64, and grub-pc, which is poorly supported under Debian).
   - of course yet other machines aren't even using the IA32 instruction
 set, so you may need several separate installs (PowerPC/Mips/Arm/...).

What I did on my machine with a BIOS that will never recognize USB
devices, was boot off of the hard drive grub and then point grub2 to the
USB device from the shell that's accessible by hitting 'c' on the grub
boot menu.

With current versions of grub-pc, you have to load the two USB modules
manually, which on my hardware takes for ever. But when you see the USB
light come on, you know you're in business.

 - getting your kernel to find the root filesystem.  Your external hard
   disk partition will typically not have a fixed device name like
   /dev/sdb2, so you'll want to refer to it with its UUID, label, or via
   LVM naming.

Yes. 

 - Some udev rules try to give unique and *stable* names to devices by
   simply remembering the names they used in the past.  On a system that
   you move around on many different machines, this can be a pain in the
   rear, since your only ethernet card may easily end up named eth7
   (because eth0-eth6 were already used for the cards on other machines).
   So you may want to rm /etc/udev/rules.d/70-persistent-* in your
   /etc/rc.local.

Good point. I've had this 'project' on the back burner for a while and I
think it's time to take another look and finalize portability aspects.

Thanks,

CJ


-- 
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/20100216044744.ge3...@turki.gavron.org



Re: Air compressors vs. canned air

2010-02-15 Thread Chris Jones
All sound advice and thanks to all for your comments.

Come to think of it, I should have mentioned that I only routinely use
air on the laptop's keyboard, a flimsy model that vaguely tries to
impersonate the real thing, with enough space between the key caps to
let stuff like bread crumbs, hairs, not to mention ambient dust.. etc.
fall between the keys, which in time is likely to form a nice sticky
paste on their underside and end up making some of the keys difficult to
operate.

So, I'm thinking that for this kind of job, provided the ambient air is
not too humid and I give the compressor a few trial burst away from the
keyboard to hopefully get rid of most of the moisture and possible oil
residues, something like a portable car tire inflator combined with a
vac might work for me. 

I have changed that laptop's keyboard 4-5 times already, and since
replacements only cost about $20.00 + SH.. a cost-effective solution is
to swap in a new keyboard when the current one stops working to my
satisfaction, but at this point I'm concerned the connector might be
reaching the end of its useful life, and that means the next step would
be replacing the motherboard.

As to cleaning the inside of the laptop, that's something I only do when
I have some other reason the open the case, such as when I felt it was
time to change the CPU's thermal pad. Since I rarely have to do anything
that makes it necessary to open the case, even if I feel it's a ripoff,
I don't mind spending a few dollars on a can of air all that much.

Thank you for your comments.

CJ





-- 
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/20100216052419.gf3...@turki.gavron.org



Re: font substitution by acroread

2010-02-13 Thread Chris Jones
On Sat, Feb 13, 2010 at 06:32:13AM EST, Florian Kulzer wrote:
 On Wed, Feb 10, 2010 at 17:12:54 -0500, Chris Jones wrote:

[..]

  What I vaguely had in mind is that you select a given string or
  paragraph, and you have an option called Properties maybe, that
  tells you everything about said string/paragraph, including the font
  family, style, etc. 
 
 The pdfedit tool can be used to do roughly that, but you still need to
 know a bit about the internals of PDF files: Pdfedit allows you to
 navigate the document tree of the PDF, so you can go to Pages 
 $PAGENUMBER  Dictionary  Resources  Font. This will show you a list
 of all the fonts used on that page; however, the names will be
 meaningless internal designations like F5. You can further expand
 any such font entry to find its FontDescriptor, which (finally!) shows
 you font properties like FontName, FontWeight, ItalicAngle, etc.

Which is why having the pdf viewer do the work might not be a bad idea
after all :-)

 You can also mark a passage of text to see the associated Tf operators,
 which will tell you the internal name of the font, but then you still
 have to find out the real name by looking at the Resources of the page
 as described above.

Useful workaround, much appreciated.

CJ



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



Re: portable Debian

2010-02-13 Thread Chris Jones
On Sat, Feb 13, 2010 at 08:44:59AM EST, Germana Oliveira wrote:

 Well, no, what i really want is a portable Debian, so i can, for
 example, build a web app and show it everywhere without need a web
 server and just have my own configuration and run it every where

Is this what you are talking about?

http://osdir.com/ml/debian-user-debian/2009-12/msg4.html

I did something similar and started documenting it in the attached
draft.

CJ
Title: The quick and Dirty LiveUSB

The quick and Dirty LiveUSBTable of Contents1. Hardware2. Cloning the system3. Configuring grub-pc4. Configuring the clone5. On my laptop6. Other machines6.1. Booting the clone6.2. Running the clone7. Synchronisation8. Conclusion9. AppendixChris Jones cjns1...@gmail.comAbstractAfter cloning my debian lenny system to another partition on my hard drive in order to safely
upgrade to debian testing, I realized that I could use the same technique to create a bootable copy
of my current system that I could carry around on a USB stick, and hopefully boot any PC I might run
into, as long as it had one free USB port, thus saving myself the headaches and backaches of taking
my laptop with me, and yet have both all my data and my highly specific desktop everywhere I go.Well, here’s how it went.1. HardwareThe entire procedure was tested on a Dell Inspiron 7500 laptop, whose BIOS is not capable of
booting off of a USB device. The USB stick is an 8GB Sandisk Cruzer Micro, acquired from my local
Radio Shack at the reasonable cost of about USD 20.00. Since the laptop only supports USB 1.1,
running linux off of the USB stick turned out to be very slow, with a very noticeable lag when
starting applications.2. Cloning the systemThere are other tools, but since there were parts of my debian lenny file system I did not wish to
copy to the USB stick, I found that rsync was fitted well this particular task. Since I had never
used rsync, it was also well worth the extra effort to gain some familiarity with rsync, since once
the clone is finalized, it will be imperative to keep the two systems in sunc', something that rsync
does efficiently, and that other tools do not appear to do out of the box.One useful aspect of rsync is that it supports dry runs via the -n | --dry-run flags, which lets you
verify ahead of time that your carefully carved rsync command is doing what you expect.It seems to be indispensable to run rsync as the superuser, since my personal user does not have
read access to all the files that need to be copied to the target system.Some directories were not copied to the target system, either because their content is specific to
the source system, such as /proc, /tmp, /sys, or because their usefulness on the target system was
questionable, such as my collection of debsrc’s for instance, and would both use up space on the USB
stick, and greatly increase the time it takes to clone the system.NoteIt appears that the main difficulty with rsync is to understand exactly how to specify the
directories that need to be excluded from the cloning.Here are the commands that I issued:# mount -t ext2 /dev/sda1 /media/memstick

# rsync -av / /media/memstick
# rsync -av /usr /media/memstick
# rsync -av /home/myuser/ /media/memstick/home
# rsync -av /var /3. Configuring grub-pcthe idea was to verify that at least on the same hardware as the cloned system everything workedthe bug, and how I was advised to work around it for now (debug=uhci,ohci,usbms + insmod uhci  usbms and the
orange light came on)adding 2 stanzas to /etc/grub.d/40_custom + update-grub4. Configuring the cloneobviously /etc/fstab must be adjusted to mount the file system on the USB sticknetwork aspects - the laptop has a pcmcia nic - what happens with a regular PCI nic, how about WiFi.. what of
funnyISP issues: I have cable, what about DSL.. ISDN.. good old POT modems..udev - avoid creating new devices for ethx or cdrom’s etc. on each new machineXorg - I love native resolutions .. I hate black screensother?5. On my laptopeverything worked first time around, albeit slowlywhat I tested: ….6. Other machines6.1. Booting the cloneneed to make the USB bootableneed to burn a grub rescue CD for those systems whose BIOS cannot boot off of a USB device6.2. Running the cloneBe prepared! it may not be convenient to travel back to the main system to fix stuff.. and it may likewise not
be easy to fix them locally. Bring along a copy of a decent rescue CD just in caseneed as generic a config as possible
need to separate private data from programsis it a good idea to have one partition for the the system and another for /home?security  privacy issues - at least be aware of the fact that USB sticks are small and it’s easy to lose
them,  or forget them on some public PC somewheres..Slowness of the system7. SynchronisationAll done with mirrors .. rsync I mean.This needs to be optimized and easy as peach .. since it is imperative to do it immediately upon booting into
the main system and before leaving on an 

Re: portable Debian

2010-02-13 Thread Chris Jones
On Sat, Feb 13, 2010 at 10:27:39AM EST, Germana Oliveira wrote:
 I have problems with that:

The attachment only contains personal notes and is not to be taken as a
formal HowTo or anything of that type. It was meant to answer your
question: 'is it possible' and hopefully provide general directions.

Not that I can confirm my USB stick 'portable debian' would work on a
wide range of systems. For a number of reasons I was not able to pursue
this much further than what is described in my notes, one of them being
that I did not have access to a target machine (or machines) and
discover possible/probable problems.

 Well, I guess that since my pcmcia nic won't be there on the target
 system(s), I should remove the corresponding udev rule for instance. 

 So, what i understand is that i have to remove this rule in my 'external
 Debian' ?

No. This was only meant as an example of configuration aspects specific
to my regular system whose cloning might be useless or even harmful on
the 'portable' version.

As explained above, I have not been able to confirm that.

 and something i dont understand is the UUID stuff... (im not a pro
 configuring Debian - as you can see)

I don't recall anything about UUID's in my notes.

 I have to do all this changes in my 'external Debian'? - i guess is a
 stupid question but i feel i have to do it

A far more robust solution would probably be to use debian-live and
figure out how you can make it copy over everything that's specific to
your 'regular' system so that when you boot the debian-live system you
are presented with the spitting image of your regular system. 

I understand this should be possible but is rather involved and requires
some scripting.

Where I had a problem with the debian-live approach, is that unless you
want to recreate your debian-live environment each time you leave home
in a rush, and have decided that you will not make any changes to the
clone that you will want to copy back to your 'regular system', you need
to find some way to synchronize the two incarnations of your system. 

I didn't see much in debian-live that would help achieve that with
minimal effort, presumably because that's not its intended purpose.

But if you don't need a clone of your entire working environment but
rather only plan to demo a particular application, it sounds like a
generic debian-live system that includes the system components that you
need to support your application (libraries, daemons, etc.) on one
partition together with a /custom partition with everything you need to
run your application that you could mount manually after booting the
debian-live system would do the trick?

Come to think of it, you probably do not even need debian-live for that,
any generic live-CD should probably work just as well.

Thanks,

CJ


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



  1   2   3   4   5   >