Re: A quick Q: how do I link LS or Ls to ls

2011-09-16 Thread lina
On Sat, Sep 17, 2011 at 12:36 PM, Kumar Appaiah
wrote:

> On Sat, Sep 17, 2011 at 12:01:50PM +0800, lina wrote:
> >Hi,
> >
> >I wonder is it possible to make the terminal recognize
> >
> >LS or Ls
> >
> >as
> >
> >ls
>
> Just add
>
> alias LS='ls'
>
> in your ~/.bashrc (or analogous for your shell).
>
> Kumar
> --
> I've seen people with new children before, they go from ultra happy to
> looking like something out of a zombie film in about a week.
>-- Alan Cox about Linus after his 2nd daughter
>
>
> --
> 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/20110917043601.ga24...@bluemoon.alumni.iitm.ac.in
>
>
Thanks both of you,

it works.

-- 
Best Regards,

lina


Re: A quick Q: how do I link LS or Ls to ls

2011-09-16 Thread Rob Hurle
On Sat, Sep 17, 2011 at 12:01:50PM +0800, lina wrote:
> I wonder is it possible to make the terminal recognize
>
> LS or Ls
>
> as
>
> ls

Become super-user (sudo):

#cd /usr/local/bin
#ln -s /bin/ls Ls
#ln -s /bin/ls LS

> only in command line in terminal.

I'm not sure where else you could use `ls` apart from the command line.

Cheers,
Rob
--
-
Rob Hurle
ANU, College of Asia and the Pacific
School of Culture, History and Language
Histories of Asia and the Pacific
e-mail:              rob1...@gmail.com
Telephone (ANU): +61 2 6125 3169
Mobile (in VN):  +84 948 243 538
Mobile (in OZ):  +61 417 293 603
-


--
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/cabms7vgd+8aer8fkv5tkvy2vynqfsi1ib3tygpt2iox5jj1...@mail.gmail.com



Re: Wiping hard drives

2011-09-16 Thread Mark
On Tue, Sep 13, 2011 at 12:59 PM, Aaron Toponce wrote:

>
> DBan is overkill, by leaps and bounds. Not only does it force the full
> drive, but the minimum number of wipes is 3. When already booted into
> your Debian system, pulling up a terminal, and running the dd(1) command
> as root is all that you need to do. Saves you gobs, and gobs of time,
> and doesn't wear out the drive in the process.
>
> Further, most GNU/Linux operating systems ship with GNU Shred. So,
> booting off a live CD or USB, and running shred(1) in the root console
> is just as effective, and performant as DBan.
>

^^ what he said.  I boot from a GParted Live usb drive because it's super
lightweight and fast, and then use dd if=/dev/zero of =/dev/sdX bs=1M to
wipe a drive.  I don't even care about using the urandom; zeros is fine for
me.

Mark


Re: A quick Q: how do I link LS or Ls to ls

2011-09-16 Thread Kumar Appaiah
On Sat, Sep 17, 2011 at 12:01:50PM +0800, lina wrote:
>Hi,
> 
>I wonder is it possible to make the terminal recognize
> 
>LS or Ls
> 
>as
> 
>ls

Just add

alias LS='ls'

in your ~/.bashrc (or analogous for your shell).

Kumar
-- 
I've seen people with new children before, they go from ultra happy to
looking like something out of a zombie film in about a week.
-- Alan Cox about Linus after his 2nd daughter


-- 
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/20110917043601.ga24...@bluemoon.alumni.iitm.ac.in



A quick Q: how do I link LS or Ls to ls

2011-09-16 Thread lina
Hi,

I wonder is it possible to make the terminal recognize

LS or Ls

as

ls

only in command line in terminal.

Thanks,



-- 
Best Regards,

lina


Re: automated editing of text files

2011-09-16 Thread Bob Proulx
Aéris wrote:
> Le 17/09/2011 00:40, Bob Proulx a écrit :
> > Ah...  Very good!  An excellent suggestion!  'find' rocks!  I will
> > note three things here however.
> > 
> > * One is that the find will recurse down through a possibly deep
> > hierarchy of directories.  It isn't an identical alternative for just
> > looking for *.txt in the current directory.  But probably that
> > difference isn't important here.  Or perhaps that difference will be a
> > really desirable feature.
> 
> Use « -maxdepth 0 » to limit to the current level only

Yes.  One of the many non-standard options available.

> > * Secondly if the add-pre-nl.sh script handle multiple file arguments
> > then instead of \; use + so that it calls it fewer times with as many
> > file arguments as possible.  It will be more efficient that way.
> 
> In this case, I prefere using « xargs » :
>   find -type f -name "*.txt" | xargs add-pre-nl.sh
> And if there is space/single-quote/double-quote/new-line in some filenames :
>   find -type f -name "*.txt" -print0 | xargs -0 add-pre-nl.sh

Using find's builtin and POSIX standard "{} +" is preferred over the
GNU extension and non-standard "-print0 | xargs -0".  Standard is
better than better.  And in this case it really is better and has the
fortune of being standard as well.  :-)

> > * And lastly that you forgot to include the directory path to find,
> > probably a '.' wanted here.
> 
> No, « find » considers the current directory if no path is given =)

I had missed that GNU extension.  But that isn't standard either.
Better to learn portable scripting first and then use the extensions
as needed knowing that they are not portable. :-)

Bob


signature.asc
Description: Digital signature


Re: automated editing of text files

2011-09-16 Thread Aéris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Le 17/09/2011 00:40, Bob Proulx a écrit :
> Ah...  Very good!  An excellent suggestion!  'find' rocks!  I will
> note three things here however.
> 
> * One is that the find will recurse down through a possibly deep
> hierarchy of directories.  It isn't an identical alternative for just
> looking for *.txt in the current directory.  But probably that
> difference isn't important here.  Or perhaps that difference will be a
> really desirable feature.

Use « -maxdepth 0 » to limit to the current level only

> * Secondly if the add-pre-nl.sh script handle multiple file arguments
> then instead of \; use + so that it calls it fewer times with as many
> file arguments as possible.  It will be more efficient that way.

In this case, I prefere using « xargs » :
find -type f -name "*.txt" | xargs add-pre-nl.sh
And if there is space/single-quote/double-quote/new-line in some filenames :
find -type f -name "*.txt" -print0 | xargs -0 add-pre-nl.sh


> * And lastly that you forgot to include the directory path to find,
> probably a '.' wanted here.

No, « find » considers the current directory if no path is given =)

- -- 
Aeris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOc9hXAAoJEK8zQvxDY4P9FJsH/2kfxAnqc10trIyJC7N6HW0I
x3Rff2Zg24+lhtRYRJPxPIXRebuFjCe1i3DVwPZ5lC9XSgX3HYPNdrxg+IDj40g/
0HsKlIEcRJen1szDGtLpyqyBHEa95kevpxd/rql9rcljJCjBCpkXnLdVLdXKjx68
QRr1a/sPAgiTK49JT+gFIdKjv9Q8ngDhMa2QhQ7Avw7wLbhd/pHrvQBi3VXteqI6
Tga6FYm9WN2DfSCD4aDPz9jdU9TSl9GGwNxm7wHqPmCDx7y8mzTD6hK/NPUo1eit
ZS9E0/OjokKlSl4WioC43kaQV/HKvebwABXKuny363KOmHazzLm/VfqxQzG8z7E=
=1UAu
-END PGP SIGNATURE-


-- 
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/4e73d857$0$26704$426a7...@news.free.fr



Re: Logitech K360 keyboard NumLock behavior gets turned on by Shift keys! [SOLVED]

2011-09-16 Thread Gilbert Sullivan

On 09/16/2011 03:02 PM, Camaleón wrote:

On Fri, 16 Sep 2011 13:24:01 -0400, Gilbert Sullivan wrote:


On 09/16/2011 12:52 PM, Camaleón wrote:

Hum... I've been reading the file that is present in GNOME
("/etc/X11/xkb/ base.xml") and I think the variable you need to set in
"/etc/default/ keyboard" could be "XKBOPTIONS=numpad:microsoft"
(applying this this may require a reboot) that way this will become a
system-wide setting regardless the DE :-?


Oh, come on, Camaleón! You've just spoiled my plans to waste a weekend
playing with xev and a ~/.Xmodmap file! I was going to remap all of the
keycodes for Shift-  combinations so that they always gave
the directional results instead of numbers. (I know this would likely
have led to some undesireable results. I was going to play with it until
I had to admit defeat or until my family whacked me up the side of the
head.)


Now you can relax, take a cold beer and watch on your HDTV the full saga
(extended version) of The Lord Of The Rings with no distractions :-P


How did you know I was a couch potato? (I guess I give off the "vibe".) 
Actually, we'll probably be watching Bramwell all weekend. We just 
started watching it on Netflix this week and absolutely love it.


But, knowing this family, if I mention Lord of the Rings there will at 
least be a debate. We're also suckers for Firefly and anything from 
Gilbert and Sullivan (purely coincidence re the name). Talk about 
eclectic tastes!





Following your earlier hints I had already asked my Ubuntu / Gnome buddy
(one of those BOFH types) if I could look at his system to see
/etc/X11/xkb/base.xml (which doesn't exist on my system) with his
NumLock behavior set to mimic Windows. He was giving me grief for asking
him to sully his system with this setting. I may have stepped on his
toes a little when I muttered something about it being pretty hard to
"sully" an Ubuntu system. He said that he'd show me the file in a while,
and then he left work for the weekend! (He'll claim on Monday that he
forgot.)

Now what am I going to do with my weekend? Thanks to you I am now typing
this from a properly-behaved (for my purposes) keyboard.

All I had to do was to change the line

XKBOPTIONS=""

to

XKBOPTIONS="numpad:microsoft"

in /etc/default/keyboard and then reboot.

You're a living doll!


Was just that!? He, he... great! :-)

I'm afraid you will also have to thanks Google's smart algorithms. Heck,
I made a simple search for "xmodmap+numpad:microsoft" (you were insisting
in xmodmap so much...) and one of the results lead me to that setting
but, to be sincere, I wasn't sure if that was going to work O:-)


Of course I was insisting on xmodmap. I don't usually do things the easy 
way. Why would I try to find something as elegant and simple as your 
solution when I could remap dozens of key combinations -- just to 
accomplish one little thing. You coming up with the 
XKBOPTIONS="numpad:microsoft" element has saved me a lot of trouble.


Again, my heartfelt thanks, and my admiration for all that you do here.

Best regards,
Gilbert


--
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/4e73d6ca.8000...@comcast.net



Re: Moving to Debian server. (Re)Visiting the Postfix or Exim decision. Asking for Debian-ites' opinions.

2011-09-16 Thread patk . 1034

> What an amazingly patronising reply from someone seeking advice!

Patronising?  Hardly.

Tbh, I'd initially considered your response of a similar vein, but chose
to give you the benefit of the doubt, thank you for your opinion, and
continue the discussion.

Seems I'm making all sorts of mistakes today.

> Forget it, then.

As I'm not one to scoff at good advice, OK.


-- 
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/1316214162.9483.140258142078...@webmail.messagingengine.com



Re: Moving to Debian server. (Re)Visiting the Postfix or Exim decision. Asking for Debian-ites' opinions.

2011-09-16 Thread Walter Hurry
On Fri, 16 Sep 2011 15:37:29 -0700, patk.1034 wrote:

>> What difference does it make which MTA is the distribution default?
> 
> Given your response, I'd guess that it doesn't to you.  Thanks for your
> opinion.
> 
> It certainly made enough difference for Debian to choose -- differently
> than most.  I've found Debian's 'decisions' as a distro to be generally
> one of the reasons I'v considering it as my server distro.  It stands to
> reason that I'd also be interested in understanding if those historical
> reasons, or others more current, for mail server choice carry any weight
> with folks evaluating the same decision in Debain server environments
> today.
> 
>> Use whichever best suits your needs.
> 
> Although it's a rather obvious suggestion, I plan to.
> 
> I'm not planning to run a personal mail server.  I'm planning a business
> decision.
> 
> Those needs happen to include making an informed business decision that
> takes into account others experience & opinions, the state of
> community/project, etc.
> 
> Which is why I'm asking my question -- and looking forward to relevant
> answers.

What an amazingly patronising reply from someone seeking advice! Forget 
it, then.



-- 
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/j50k3o$hbg$2...@dough.gmane.org



Re: Moving to Debian server. (Re)Visiting the Postfix or Exim decision. Asking for Debian-ites' opinions.

2011-09-16 Thread patk . 1034
> But on this mailing list that is simply accepted practice.  :-)

Yes, which is why I'm here asking :-)

> You do realize that the discussing Exim and Postfix is like the
> classic discussions between emacs and vi?  It will be difficult to
> really get objective answers.  People like what they like.

Sure, and yet -- businesses manage to make objective decisions that take
into account those subjective opinions.

I'm looking to understand those viewpoints and choices.  Asking folks
that deploy services on the server platform that I hope to roll out
certainly makes sense as one data point.

> Being a Postfix person I have no comments about the Exim project.

That's certainly fair.  Perhaps there are others that have considered,
or are considering, both.  On Debian. And might share their opinions.

> Postfix development is very active.  New releases with improved
> features are released regularly.  The upstream mailing list is
> relatively friendly.  I routinely ask questions there and get good
> answers to my questions.

Certainly appears so.

> Just because installing Debian's "standard"[1] system task installs
> Exim doesn't mean that a lot of Debian users don't install Postfix.
> 
>   http://qa.debian.org/popcon.php?package=postfix

I actually suspect that there's more Postfix running out there -- as
enterprise, rather than just 'own box', server tech.

Thanks.

Pat


-- 
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/1316213174.6064.140258142074...@webmail.messagingengine.com



Re: Rolling my own

2011-09-16 Thread Dave Higgins
As per licensing, my company is very aware of what we are doing with 
regards to the different licenses.  For example, the IP we are adding is 
to a BSD licensed package.  We have a flagship product that isn't *nix 
based and we've been very careful there too, as we have utilized BSD 
licensed code there as well.  But we will provide the changes we make 
back to the community for the GPL stuff, i.e. providing the iso of the 
system and source for that which we change, which, at this point, 
nothing has changed in the GPL code base.


--
Dave Higgins
--
There are no emotional victims, only volunteers.

--
No virii here...


--
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/4e73d0fe.1000...@dkds.us



Re: Moving to Debian server. (Re)Visiting the Postfix or Exim decision. Asking for Debian-ites' opinions.

2011-09-16 Thread patk . 1034

> What difference does it make which MTA is the distribution default?

Given your response, I'd guess that it doesn't to you.  Thanks for your
opinion.

It certainly made enough difference for Debian to choose -- differently
than most.  I've found Debian's 'decisions' as a distro to be generally
one of the reasons I'v considering it as my server distro.  It stands to
reason that I'd also be interested in understanding if those historical
reasons, or others more current, for mail server choice carry any weight
with folks evaluating the same decision in Debain server environments
today.

> Use whichever best suits your needs.

Although it's a rather obvious suggestion, I plan to.

I'm not planning to run a personal mail server.  I'm planning a business
decision.

Those needs happen to include making an informed business decision that
takes into account others experience & opinions, the state of
community/project, etc.

Which is why I'm asking my question -- and looking forward to relevant
answers.

Thanks.

Pat


-- 
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/1316212649.3990.140258142072...@webmail.messagingengine.com



Re: automated editing of text files

2011-09-16 Thread Bob Proulx
Aéris wrote:
> Le 16/09/2011 23:40, Bob Proulx a écrit :
> > If there are no *.txt files then the file glob won't be expanded,
> > nothing to expand it to, and then your shell script will get a literal
> > "*.txt" as an argument.  If that minor point is important to you then
> > check that the file exists and simply break or continue if it does not.
> > 
> >   for i in *.txt; do
> > test -f "$i" || continue
> > ./add-pre-nl.sh "$i"
> >   done
> 
> Simplest version :
>   find -type f -name "*.txt" -exec add-pre-nl.sh {} \;

Ah...  Very good!  An excellent suggestion!  'find' rocks!  I will
note three things here however.

* One is that the find will recurse down through a possibly deep
hierarchy of directories.  It isn't an identical alternative for just
looking for *.txt in the current directory.  But probably that
difference isn't important here.  Or perhaps that difference will be a
really desirable feature.

* Secondly if the add-pre-nl.sh script handle multiple file arguments
then instead of \; use + so that it calls it fewer times with as many
file arguments as possible.  It will be more efficient that way.

* And lastly that you forgot to include the directory path to find,
probably a '.' wanted here.

  find . -type f -name "*.txt" -exec add-pre-nl.sh {} +

:-)

Bob


signature.asc
Description: Digital signature


Re: Moving to Debian server. (Re)Visiting the Postfix or Exim decision. Asking for Debian-ites' opinions.

2011-09-16 Thread Bob Proulx
patk.1...@sent.as wrote:
> We're evaluating our company's future server platform, and are pretty
> much decided on Debian.

An excellent choice.  But on this mailing list that is simply accepted
practice.  :-)

> I notice that Debian has settled on Exim as the default MTA, unlike many
> (most?) other distros which seem to use Postfix.

That is simply historical.  It has been that way for a very long time.
Periodically discussion appears in debian-devel (search the archives
for it) but nothing comes from it.  It is only the default and no
matter what is chosen for the default there will be those who will
want something different.  That is one of the things that makes Debian
a good choice for a base system.  It allows you to be flexible about
what you wish to do.

> As we're also evaluating our mail server tech, I'd like to understand
> the why of that decision -- and if it's still considered current/good
> advice.

It is simply "the way things have been for years and years" and for no
other reason.

> I asked in #debian, and was pointed at:
> http://feayn.org/~lewis/exim.txt.  Cute :-)

That pretty much describes the situation perfectly!  Seriously there
isn't much more reason than the above.

> From a tech perspective, having played with both now a fair amount, I
> lean towards Exim's way of doing things.

I and a good many others prefer Postfix.  But Exim isn't Bad nor Evil
and so things have remained on friendly terms.

> But there's the project/community question.

You do realize that the discussing Exim and Postfix is like the
classic discussions between emacs and vi?  It will be difficult to
really get objective answers.  People like what they like.

> Exim project appears to languish a bit -- looking at mailing list and
> #irc volume -- especially since the original dev retired, and one of the
> project's other primary devs from Cambridge seems to be not so active
> anymore.

Being a Postfix person I have no comments about the Exim project.

> Otoh, Postfix community seems active and 'verbose' ... including the
> primary dev himself.

Postfix development is very active.  New releases with improved
features are released regularly.  The upstream mailing list is
relatively friendly.  I routinely ask questions there and get good
answers to my questions.

Just because installing Debian's "standard"[1] system task installs
Exim doesn't mean that a lot of Debian users don't install Postfix.

  http://qa.debian.org/popcon.php?package=postfix

Of course since Exim is a default it has an advantage in the numbers
because a very large number of people simply take the default.  But
the fact that so many users actively take action to switch from the
default and install Postfix is telling of how well it is regarded.

Bob

[1] If you don't install the "standard system" task at installation
time then you don't get any MTA installed.  Then you can install
Postfix for the very first time if you like and in that case you have
installed Debian and never had Exim installed.  That is what I do.
Debian is very flexible and very easy to customize.


signature.asc
Description: Digital signature


Re: Moving to Debian server. (Re)Visiting the Postfix or Exim decision. Asking for Debian-ites' opinions.

2011-09-16 Thread Walter Hurry
On Fri, 16 Sep 2011 15:00:22 -0700, patk.1034 wrote:

> Hi,
> 
> We're evaluating our company's future server platform, and are pretty
> much decided on Debian.
> 
> I notice that Debian has settled on Exim as the default MTA, unlike many
> (most?) other distros which seem to use Postfix.
> 
> As we're also evaluating our mail server tech, I'd like to understand
> the why of that decision -- and if it's still considered current/good
> advice.
> 
> Yes, I'm aware that you can use whatever 'fits'.
> 
> I asked in #debian, and was pointed at:
> http://feayn.org/~lewis/exim.txt.  Cute :-)
> 
>>From a tech perspective, having played with both now a fair amount, I
> lean towards Exim's way of doing things.
> 
> But there's the project/community question.
> 
> Exim project appears to languish a bit -- looking at mailing list and
> #irc volume -- especially since the original dev retired, and one of the
> project's other primary devs from Cambridge seems to be not so active
> anymore.
> 
> Otoh, Postfix community seems active and 'verbose' ... including the
> primary dev himself.
> 
> Since 'here' is where Debian-ites 'live', I'd like to ask for
> experienced opinioins.  Specifically in a Debian-server world, why one
> over the other?
> 
> In particular, is Exim still considered a 'safe' enough long-term bet to
> base the next five years on? Is the state of the community a
> concern?  Seems that some companies, like AtMail, seem to think Exim's a
> good enough choice to build a business and product on ...

What difference does it make which MTA is the distribution default? Use 
whichever best suits your needs.



-- 
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/j50i8k$hbg$1...@dough.gmane.org



Re: automated editing of text files

2011-09-16 Thread Aéris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Le 16/09/2011 23:40, Bob Proulx a écrit :
> If there are no *.txt files then the file glob won't be expanded,
> nothing to expand it to, and then your shell script will get a literal
> "*.txt" as an argument.  If that minor point is important to you then
> check that the file exists and simply break or continue if it does not.
> 
>   for i in *.txt; do
> test -f "$i" || continue
> ./add-pre-nl.sh "$i"
>   done

Simplest version :
find -type f -name "*.txt" -exec add-pre-nl.sh {} \;


- -- 
Aeris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOc8RvAAoJEK8zQvxDY4P9gbUH/2W5qTMILYW6ETTKKLnI+j2+
Ar5O8XhnnaQrTtLQgxzTiYfp0ErUL/pin8q/hYDh6bzDgnX4pog+6L+wJi/iV/Cx
Ob0tGvQQZjA2Y9oeTgkBRpxiiYKTohZK0cBYF8+Sf6w/+dLAF2lM3BygaRBkFcBM
4EuoOybM3GJq+jpsRyHiFCflOK+04yBzgSCyIL7awlviUchxFqVzwLpCaZe+FDSc
tSPBxL5UbP+LI+YfACiYHeJQmpnXGgeHj6Lkyxv7d1DLVRsjZRBt4jEDYCPjgPfW
UUO4NMKbH4adv1HnFUH72vB35G2aMuFylXd36Xx0Nozv+3LMWdtrCUK+Ois8pHM=
=lwDc
-END PGP SIGNATURE-


-- 
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/4e73c475$0$17327$426a7...@news.free.fr



Moving to Debian server. (Re)Visiting the Postfix or Exim decision. Asking for Debian-ites' opinions.

2011-09-16 Thread patk . 1034
Hi,

We're evaluating our company's future server platform, and are pretty
much decided on Debian.

I notice that Debian has settled on Exim as the default MTA, unlike many
(most?) other distros which seem to use Postfix.

As we're also evaluating our mail server tech, I'd like to understand
the why of that decision -- and if it's still considered current/good
advice.

Yes, I'm aware that you can use whatever 'fits'.

I asked in #debian, and was pointed at:
http://feayn.org/~lewis/exim.txt.  Cute :-)

>From a tech perspective, having played with both now a fair amount, I
lean towards Exim's way of doing things.

But there's the project/community question.

Exim project appears to languish a bit -- looking at mailing list and
#irc volume -- especially since the original dev retired, and one of the
project's other primary devs from Cambridge seems to be not so active
anymore.

Otoh, Postfix community seems active and 'verbose' ... including the
primary dev himself.

Since 'here' is where Debian-ites 'live', I'd like to ask for
experienced opinioins.  Specifically in a Debian-server world, why one
over the other?

In particular, is Exim still considered a 'safe' enough long-term bet to
base the next five years on? Is the state of the community a
concern?  Seems that some companies, like AtMail, seem to think Exim's a
good enough choice to build a business and product on ...

Thanks!

Pat


-- 
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/1316210422.28317.140258142062...@webmail.messagingengine.com



Re: Rolling my own

2011-09-16 Thread Bob Proulx
Dave Higgins wrote:
> My company is producing a value-added distribution.  The base system
> is Debian GPL.  We're adding a package that has our IP in it.  We'll
> host a repository that maintains the Debian packages and our
> packages.  While we could just do a "standard" distribution, we do
> want to change some defaults to send it out the door.

I think Debian will make a great operating system distribution for you
and will be very easy for you to use and set up.

I don't know the best practices for the branding of it.  I think it
would be good to be careful about how things are labeled so that this
isn't confused with a standard stock Debian installation disk.  People
are already confused thinking that Ubuntu and Mint are Debian for
examples and yet those are appropriately and clearly labeled otherwise.

Things to be careful of in terms of licensing are if your packages
extend a copyleft'd package then you would need to comply with the
terms of the copyleft in order to distribute it.  And of course you
are required to provide sources for any of the copyleft'd parts.  But
I will assume you are familiar with the licensing issues and have that
handled.

> I need a CD that has the a 3.0 kernel and other more recent versions
> of software then is in the official repository.
> 
> Simple-CD and Debian Live Magic work great to create a minimal
> install iso, but how do I put the 3.0.4 kernel packages in place?

I believe when you create the iso image you can specify to include
specific packages.  To be honest I haven't done that step in recent
memory and so I have no suggestions for you.  Sorry.  I was hoping it
was going to be something simple like modifying the initrd or
something.  :-)  I have been working with netbooting a lot lately and
have mostly left physical media behind.

But as I recall when using Debian Live to create an image it is
possible to specify specific packages to be included.  I believe you
can specify additional repositories and as such can include backports
for example for a newer kernel.  Or other such options.  I think that
is the right place to start looking.  Here are some references.

  http://wiki.debian.org/DebianLive/HowTo/Step-by-Step

  
http://live.debian.net/manual/en/html/customizing-package-installation.html#417

Perhaps someone else will have a better suggestion.

Bob


signature.asc
Description: Digital signature


Re: automated editing of text files

2011-09-16 Thread Bob Proulx
Bonno Bloksma wrote:
> The last part is more of a bash problem I think as most of the files
> have spaces in them. Not my idea, it's how the files were delivered
> to me. :-(
> 
> So the command line:
>   for i in `ls *.txt` ; do ./add-pre-nl.sh $i; done

Eww..  Don't say `ls *.txt` there but just say *.txt there.  No need
for ls to be there.  Just let the shell do it.

> does not cut it as it chops the filesnames up and issues each part to the
> add-pre-nl script. :-(

Add double quotes around the variable to preserve the whitespace.

  for i in *.txt ; do ./add-pre-nl.sh "$i"; done

If there are no *.txt files then the file glob won't be expanded,
nothing to expand it to, and then your shell script will get a literal
"*.txt" as an argument.  If that minor point is important to you then
check that the file exists and simply break or continue if it does not.

  for i in *.txt; do
test -f "$i" || continue
./add-pre-nl.sh "$i"
  done

Bob


signature.asc
Description: Digital signature


Re: Encoder for linux

2011-09-16 Thread darkestkhan
2011/9/15 Carl Fink :
> On Fri, Sep 16, 2011 at 09:26:48AM +1000, Scott Ferguson wrote:
>
>> Anyway - upon perusal it's not powerful by Linux standards knowing
>> your chosen desktop whould simplify things.
>>
>> $ apt-cache search encoder
>> will give you an idea of the staggering list of choices, whereas the
>> reference "tool" has only a limited number of codec choices.
>>
>> Some possible candidates not already suggested:-
>> Arista, and Nautilus-Arista (Gnome)
>> Winff (any DE)
>
> None of which would have occurred to me. How about ffmpeg and mencoder?
> --
> Carl Fink                           nitpick...@nitpicking.com

In my experience ffmpeg works very well, though I'm using it mostly
for converting video files to .ogv and audio files to .ogg (beside
using it to decode various audio/video files by means of glorious
vlc), never used it this way from vlc.

darkestkhan
--
Feel free to CC me.
jid: darkestk...@gmail.com
May The Source be with You.


--
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/CACRpbMjnB2�sd08wx-gc+arttf9gp6zyp06tqcghppj8w...@mail.gmail.com



Re: automated editing of text files

2011-09-16 Thread Tom H
On Fri, Sep 16, 2011 at 5:14 PM, Bonno Bloksma  wrote:
>
>>> linbobo:~/sedtest# sed 's_\n\n_\n\n\n_' >> >new.txt linbobo:~/sedtest# less new.txt
>
>> You want to change the regexp here. In regular expressions '^' matches
> start of line and '$' matches end of line.
>> Your sed instruction above should be something like 's/^$/\n/',
> or more generally 's/^\(\)$/\1\n/'.
>
> Ok, I've got most of it. The last part is more of a bash problem I think as
> most of the files have spaces in them. Not my idea, it's how the files were
> delivered to me. :-(
>
> So the command line:
>  for i in `ls *.txt` ; do ./add-pre-nl.sh $i; done
> does not cut it as it chops the filesnames up and issues each part to the
> add-pre-nl script. :-(
> If I just use
>  ./add-pre-nl.sh file\ name\ with\ spaces.txt
> it will produce the result I want.

Use "$i" for the filenames with spaces to remain whole.


--
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/CAOdo=syhrd5sx1h6ftrbk46c++u8w2zbzndw7r+hvr0m7ku...@mail.gmail.com



RE: automated editing of text files

2011-09-16 Thread Bonno Bloksma
Hi Tom (and others)

>> linbobo:~/sedtest# sed 's_\n\n_\n\n\n_' > >new.txt linbobo:~/sedtest# less new.txt

> You want to change the regexp here. In regular expressions '^' matches
start of line and '$' matches end of line.
> Your sed instruction above should be something like 's/^$/\n/',
or more generally 's/^\(\)$/\1\n/'.

Ok, I've got most of it. The last part is more of a bash problem I think as
most of the files have spaces in them. Not my idea, it's how the files were
delivered to me. :-(

So the command line:
  for i in `ls *.txt` ; do ./add-pre-nl.sh $i; done
does not cut it as it chops the filesnames up and issues each part to the
add-pre-nl script. :-(
If I just use
  ./add-pre-nl.sh file\ name\ with\ spaces.txt
it will produce the result I want.

Does someone know the solution or should I ask in a bash Group?

Bonno




-- 
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/005501cc74b5$966cff50$c346fdf0$@blok...@tio.nl



Flash hardware acceleration see-through bug

2011-09-16 Thread Jonathan Hanger
Flash hardware acceleration is causing a see-through bug on my PC;
that means, if I'm watching a video on any streaming media that uses
Flash, I'll see the video everywhere (password prompt screen, in other
navigator tabs, through text...). How can I fix this?


-- 
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/caje+ahzah8poj_aj2ogtv7xa6iwpq9wd4mzmx_rom25ae4f...@mail.gmail.com



Re: Rolling my own

2011-09-16 Thread Dave Higgins
My company is producing a value-added distribution.  The base system is 
Debian GPL.  We're adding a package that has our IP in it.  We'll host a 
repository that maintains the Debian packages and our packages.  While 
we could just do a "standard" distribution, we do want to change some 
defaults to send it out the door.


I need a CD that has the a 3.0 kernel and other more recent versions of 
software then is in the official repository.


Simple-CD and Debian Live Magic work great to create a minimal install 
iso, but how do I put the 3.0.4 kernel packages in place?


Thanks for this information.
--
Dave Higgins
--
There are no emotional victims, only volunteers.

--
No virii here...


--
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/4e73adfd.20...@dkds.us



Re: nvidia driver strangeness

2011-09-16 Thread Brad Alexander
Hi Bob,

It does sound like my problem. As I said, I rolled back to the earlier
version, and the only thing not working is wine. When starting an app in
wine (either playonlinux or straight wine), I get:

[POL_Wine] Message: Running wine-
/home/storm/.PlayOnLinux/wineprefix/starcraft2/drive_c/Program
Files/StarCraft II/StarCraft II.exe
err:virtual:map_image failed to set 6020 protection on section .text,
noexec filesystem?
wine: Unhandled page fault on execute access to 0x004be98c at address
0x4be98c (thread 0009), starting debugger...

I haven't had time to review my last upgrade to see what might have
triggered this, but I'm hoping someone may have seen it... Hopefully, I'll
have time to look into this more tonight.

Regards,
--b

On Fri, Sep 16, 2011 at 2:49 PM, Bob Proulx  wrote:

> Brad Alexander wrote:
> > Has anyone seen any odd behavior out of the nvidia drivers of late?
> > ...
> > I guess my questions are 1) Has anyone encountered this? and 2) should I
> > roll back to the nvidia drivers 280.13-5 or even -4?
>
> Read through this bug and see if it is your problem:
>
>  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641344
>
> A friend of mine was hit with that problem yesterday.  I am thinking
> that you are getting hit by it too.
>
> Bob
>


Re: Small local caching proxy

2011-09-16 Thread Dan Ritter
On Sat, Sep 17, 2011 at 01:17:18AM +0600, Gary Golden wrote:
> Hello, list.
> 
> I'm looking for a small caching proxy which I would run for my own use
> on localhost.
> I don't require ACL or other multiuser features, I just want to save
> some bandwidth.
> 
> I installed squid, but it's there is too much manuals to read.
> I just want to achieve this simple task.

Squid isn't a bad choice, actually -- you just need a simple
configuration to allow everything. 

-dsr-

-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20110916194705.gt2...@tao.merseine.nu



Re: Logitech K360 keyboard NumLock behavior gets turned on by Shift keys! [SOLVED]

2011-09-16 Thread Camaleón
On Fri, 16 Sep 2011 13:24:01 -0400, Gilbert Sullivan wrote:

> On 09/16/2011 12:52 PM, Camaleón wrote:
>> Hum... I've been reading the file that is present in GNOME
>> ("/etc/X11/xkb/ base.xml") and I think the variable you need to set in
>> "/etc/default/ keyboard" could be "XKBOPTIONS=numpad:microsoft"
>> (applying this this may require a reboot) that way this will become a
>> system-wide setting regardless the DE :-?
> 
> Oh, come on, Camaleón! You've just spoiled my plans to waste a weekend
> playing with xev and a ~/.Xmodmap file! I was going to remap all of the
> keycodes for Shift- combinations so that they always gave
> the directional results instead of numbers. (I know this would likely
> have led to some undesireable results. I was going to play with it until
> I had to admit defeat or until my family whacked me up the side of the
> head.)

Now you can relax, take a cold beer and watch on your HDTV the full saga 
(extended version) of The Lord Of The Rings with no distractions :-P

> Following your earlier hints I had already asked my Ubuntu / Gnome buddy
> (one of those BOFH types) if I could look at his system to see
> /etc/X11/xkb/base.xml (which doesn't exist on my system) with his
> NumLock behavior set to mimic Windows. He was giving me grief for asking
> him to sully his system with this setting. I may have stepped on his
> toes a little when I muttered something about it being pretty hard to
> "sully" an Ubuntu system. He said that he'd show me the file in a while,
> and then he left work for the weekend! (He'll claim on Monday that he
> forgot.)
> 
> Now what am I going to do with my weekend? Thanks to you I am now typing
> this from a properly-behaved (for my purposes) keyboard.
> 
> All I had to do was to change the line
> 
> XKBOPTIONS=""
> 
> to
> 
> XKBOPTIONS="numpad:microsoft"
> 
> in /etc/default/keyboard and then reboot.
> 
> You're a living doll!

Was just that!? He, he... great! :-)

I'm afraid you will also have to thanks Google's smart algorithms. Heck, 
I made a simple search for "xmodmap+numpad:microsoft" (you were insisting 
in xmodmap so much...) and one of the results lead me to that setting 
but, to be sincere, I wasn't sure if that was going to work O:-)

Greetings,

-- 
Camaleón


-- 
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/pan.2011.09.16.19.02...@gmail.com



Re: automated editing of text files

2011-09-16 Thread Bob Proulx
Bonno Bloksma wrote:
> Have been experimenting some with it but...
> 
> linbobo:~/sedtest# sed 's___' new.txt
> linbobo:~/sedtest# less new.txt
> 
> And indeed I will see  on that line instead of  but...
> 
> linbobo:~/sedtest# sed 's_\n\n_\n\n\n_' new.txt
> linbobo:~/sedtest# less new.txt
> 
> Will not create a new line after  :-(

Using sed is a good tool for this but if you want to append then you
should use the 'a' command.

  $ printf "one\ntwo\nthree\nfour\n"
  one
  two
  three
  four

  $ printf "one\ntwo\nthree\nfour\n" | sed '/two/a\
  -> foo'
  one
  two
  -> foo
  three
  four

But using Perl (or Ruby or Python or ...) is also easy.

  $ printf "one\ntwo\nthree\nfour\n" | perl -lne 'print $_; print "-> foo" if 
$_ =~ m/two/'
  one
  two
  -> foo
  three
  four

Bob


signature.asc
Description: Digital signature


Re: nvidia driver strangeness

2011-09-16 Thread Bob Proulx
Brad Alexander wrote:
> Has anyone seen any odd behavior out of the nvidia drivers of late?
> ...
> I guess my questions are 1) Has anyone encountered this? and 2) should I
> roll back to the nvidia drivers 280.13-5 or even -4?

Read through this bug and see if it is your problem:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641344

A friend of mine was hit with that problem yesterday.  I am thinking
that you are getting hit by it too.

Bob


signature.asc
Description: Digital signature


Re: Rolling my own

2011-09-16 Thread Bob Proulx
Dave Higgins wrote:
> ... the question at hand is how do I add a file to a CD and get the
> file to install at install time?  It shouldn't be as mysterious as
> it seems to be, i.e. I should be able to edit a file and say add
> this file.

A little more information would be helpful.  Do you just want to add a
file to someplace such as /usr/local/bin/somescript?  Or is it an
additional package to be installed such as 'less'?  Or do you want
additional driver firmware (e.g. nonfree firmware) to be automatically
available?  You want to have a CD that can install and have the system
end up with the extra stuff?

As with many things there are many ways to do something.  Here is
something similar to what I am doing.  Add a preseed.cfg script to
your CD.  In the preseed you can add additional packages to be
installed.  Ensure those packages are installable from the CD.
Additionally the preseed file can specify a late_command script to be
run at the end of the installation.  Since it is a script it can do
many things there such as planting unpackaged files.

The topic of preseed.cfg files is a confusing one.  It isn't that
there isn't documentation.  The problem is that there is so much
documentation that it makes your head spin trying to read it all.
Here is a start.

  http://wiki.debian.org/DebianInstaller/Preseed

And if you search around for specific things you will find a lot of
documentation on the topic.  However I think it isn't easy to get
going on it and there are many loose end leaves of documentation pages
scattered here and there.  Asking questions may be necessary.

The basic idea would be to take the cd or dvd installation media that
you wish to install and unpack it into a live directory.  Then add in
any extra packages to the media that you need.  Since the disk is
already full if you add something you may have to remove something
else from it to keep the size small enough to burn back to cd/ddv
media.  This makes booting from a USB storage device much easier since
it has more flexibility.  Then add a preseed.cfg file to the top level
directory that contains a "d-i pkgsel/include" line (it will make
sense when you do it) listing the extra packages you wish installed.
Along with other customizations you might desire.  Or add in a "d-i
preseed/late_command" customization to run a script.  Use the script
to perform your modifications.  I am intentionally just giving the
ideas because the details for any of the above would be very long and
it doesn't make sense to spew them out unless that is really the
direction you are looking to go.

If you say a few more words about what you are trying to accomplish
and if something like the above seems reasonable then I would be happy
to write up some recipies on how to do it.  I might not know all of
the tricks but with help from others on the list it should work out. :-)

Bob


signature.asc
Description: Digital signature


Re: 3D.rendering became slow since moved to wheezy.

2011-09-16 Thread Arnt Karlsen
On Fri, 16 Sep 2011 22:30:46 +0700, Sthu wrote in message 
<4e736bb0.45c8e30a.0d79.0...@mx.google.com>:

> Thank You for Your time and answer, Arnt:
> 
> >> Hmm. To me whole the problem is strange - I think there should be
> >> no 3D or it should be at some little variable FPS change after the
> >> upgrade, but it works as follows : from about 420 in Squeeze down
> >> to 60 Wheezy...  
> >
> >..in glxgears?  ;o)
> 
> Yes. Pardon, forgot to say.
> 
> >..if you get 60fps with FlightGear-2.4, I'd say you have a successful
> >update. 
> 
> I do not play the game. But my beloved OpenArena became a lot slower -
> almost impossible to play w/ the fastest settings... :(

..dunno OpenArena, to help investigate your problem, install and start
FlightGear-2.4 and chk the orange number in the lower right hand corner,
should match your screen refresh rate, just like glxgears and I _guess_
OpenArena too.

> >> Therefore I want to find out the culprit - it worked and worked
> >> much better than now but something drags it down.  
> >
> >..only the glxgears fps rate, or is the desktop slower?
> 
> No. Desktop does not seem to be slower. - I tested in K/LX -DEs.

..ok. 


-- 
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/20110916200424.5d9e0...@nb6.lan



Re: Rolling my own

2011-09-16 Thread Dan Ritter
On Fri, Sep 16, 2011 at 09:40:16AM -0600, Dave Higgins wrote:
> I appreciate the help here.  But the question at hand is how do I
> add a file to a CD and get the file to install at install time?  It
> shouldn't be as mysterious as it seems to be, i.e. I should be able
> to edit a file and say add this file.
> 
> Or am I going about it wrong?  Do I need to set up the repository
> first, change the source list and then build the image from there?

That's not a bad way of doing it.

Then, when you add more packages, you can do an aptitude update;
aptitude upgrade from your repository.

-dsr-


-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
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/20110916175756.gs2...@tao.merseine.nu



Re: About ATI video card

2011-09-16 Thread Arnt Karlsen
On Fri, 16 Sep 2011 08:59:47 -0400, co...@esid.gecgr.co.cu wrote in
message
:

> Hi
> 
> First I want to know how I can find out about the video card or on my
> Debian squeeze.
> 
> I put a video capture card is ATI AGP 64 MB.

..yes???

..chk your output of 'lspci -vvv '.

> I know how to put drivers at this or if the installed system??

..try 'aptitude install xserver-xorg-video-ati ', it should pick 
one of xserver-xorg-video-r128 or xserver-xorg-video-radeon to 
run the hardware, you will also want the linux-firmware packages.

> How do I can watch TV through it?? which program to use??

.._if_ it is a video capture card, you can use it to watch e.g. 
your video camera's video output, or output from another pc's 
video card.  

..if it is a good old standard video (output) card, use it the 
same way you would use a standard video card.  
TV programs, I dunno, I don't watch TV.

> 
> regards
> Cosme
> 
> 
> 
> 
> 


-- 
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/20110916195532.61007...@nb6.lan



Re: Logitech K360 keyboard NumLock behavior gets turned on by Shift keys! [SOLVED]

2011-09-16 Thread Gilbert Sullivan

On 09/16/2011 12:52 PM, Camaleón wrote:

Hum... I've been reading the file that is present in GNOME ("/etc/X11/xkb/
base.xml") and I think the variable you need to set in "/etc/default/
keyboard" could be "XKBOPTIONS=numpad:microsoft" (applying this this may
require a reboot) that way this will become a system-wide setting
regardless the DE :-?


Oh, come on, Camaleón! You've just spoiled my plans to waste a weekend 
playing with xev and a ~/.Xmodmap file! I was going to remap all of the 
keycodes for Shift- combinations so that they always gave 
the directional results instead of numbers. (I know this would likely 
have led to some undesireable results. I was going to play with it until 
I had to admit defeat or until my family whacked me up the side of the 
head.)


Following your earlier hints I had already asked my Ubuntu / Gnome buddy 
(one of those BOFH types) if I could look at his system to see 
/etc/X11/xkb/base.xml (which doesn't exist on my system) with his 
NumLock behavior set to mimic Windows. He was giving me grief for asking 
him to sully his system with this setting. I may have stepped on his 
toes a little when I muttered something about it being pretty hard to 
"sully" an Ubuntu system. He said that he'd show me the file in a while, 
and then he left work for the weekend! (He'll claim on Monday that he 
forgot.)


Now what am I going to do with my weekend? Thanks to you I am now typing 
this from a properly-behaved (for my purposes) keyboard.


All I had to do was to change the line

XKBOPTIONS=""

to

XKBOPTIONS="numpad:microsoft"

in /etc/default/keyboard and then reboot.

You're a living doll!

Best regards,
Gilbert


--
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/4e738631.1030...@comcast.net



Re: Worst Admin Mistake? was --> Re: /usr broken, will the machine reboot ?

2011-09-16 Thread Brad Alexander
Thanks, Aaron...Using ssh is brilliant. I have a script I set up once called
bashprompt that I stick in /etc and source from .bashrc, but this could be a
more elegant solution (though somewhat higher maintenance).

--b

On Thu, Sep 15, 2011 at 11:53 AM, Aaron Toponce wrote:

> On Thu, Sep 15, 2011 at 04:43:34PM +0200, Bonno Bloksma wrote:
> > I have been looking at LocalCommand an PermitLocalCommand in the
> > ssh_config file but the documentation is a bit sparse.
> > Is it indeed all client sided, then how do I specify which command to use
> for which server?
> > Can you provide a few sample lines?
>
> I blogged about it here: http://pthree.org/?p=2007
>
> > p.s. Will that work with a PuTTY session from a Windows client as well?
>
> Well, it depends. LocalCommand is a command that is running local to your
> SSH client. I'm not sure what is available to you on a Windows machine with
> PuTTY, but you can certainly dig around and see what you get. Or you could
> install Cygwin, and get access to a unix-like environment, where you have
> better tools to do something like this.
>
> --
> . o .   o . o   . . o   o . .   . o .
> . . o   . o o   o . o   . o o   . . o
> o o o   . o .   . o o   o o .   o o o
>


Re: Logitech K360 keyboard NumLock behavior gets turned on by Shift keys!

2011-09-16 Thread Camaleón
On Fri, 16 Sep 2011 12:20:46 -0400, Gilbert Sullivan wrote:

> On 09/16/2011 10:46 AM, Camaleón wrote:
>> Mmm, I've found this:
>>
>> http://wiki.xfce.org/faq#keyboard
>>
>> Which seems pointing to "xfce4-xkb-plugin" package, do you already have
>> this one installed? At a first glance the plugin looks very similar to
>> "gnome-keyboard-properties", maybe you can edit the keyboard layout
>> options from here :-?
> 
> Yes. I should have mentioned that I had read the xfce.org faq. This
> plugin was already present on my system as a standard part of the
> "goodies" meta-package. AFAICT it only exposes the same functionality as
> the keyboard properties applet in Xfce settings. This looks very much
> like the gnome-keyboard-settings applet, but it's just missing the
> "miscellaneous compatibility settings" feature. That's where gnome
> provides the ability to make the NumLock / Shift key behave the way they
> do on Windows systems.

Ouch! :-)

> Heh. I've been doing so much editing the past couple of days I'll
> probably have adapted to the keyboard working this way before I find out
> how to change the behavior!
> 
> ;-)
> 
> But it's all worth it anyway, if I can do a little learning.
> 
> One thing that's been getting me into a bit of trouble is that I've done
> some editing on remote Windows systems, and I've been falling back into
> the habit of using the numeric keypad a la Windows behavior. Then when I
> switch back to editing on the local machine I'm all thumbs again.
> 
> You've been more than helpful. I just have to do my homework to figure
> this out -- now that I know that I'm not seeing aberrant behavior from
> either Debian testing OR from the keyboard hardware. Between xev and
> xmodmap a little time and experimentation may provide me what I need.
> The xfce faq does warn that there have been quite a few issues using
> xmodmap. I guess I'll find out!

Hum... I've been reading the file that is present in GNOME ("/etc/X11/xkb/
base.xml") and I think the variable you need to set in "/etc/default/
keyboard" could be "XKBOPTIONS=numpad:microsoft" (applying this this may 
require a reboot) that way this will become a system-wide setting 
regardless the DE :-?

Greetings,

-- 
Camaleón


-- 
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/pan.2011.09.16.16.52...@gmail.com



Re: automated editing of text files

2011-09-16 Thread rlharris

> I have a bunch of files where I need an extra line after a  code. So
> I need to change CRLF (or LF) to CRLFCRLF.
>
> Which toool can I use for that, I can't remember which tool is a good one
> for this and google is no help.
> I am not fluent in any of the programming languages but I do write bash
> scripts.

A Perl script is a very nice way -- likely the very best way -- to do
this.  You can write a script to operate automatically on every file in a
directory, searching for the  code and making the insertion.

RLH


-- 
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/e2d9f06a7090d930def87db5bba9b53a.squir...@squirrelmail.hal-pc.org



Re: automated editing of text files

2011-09-16 Thread Camaleón
On Fri, 16 Sep 2011 17:24:52 +0200, Bonno Bloksma wrote:

> Hi Camaleón,
> 
>>> I have a bunch of files where I need an extra line after a  code.
>>> So I need to change CRLF (or LF) to CRLFCRLF.
>>> 
>>> Which toool can I use for that, I can't remember which tool is a good
>>> one for this and google is no help.
>>> I am not fluent in any of the programming languages but I do write
>>> bash scripts.
> 
>> I bet you can do this with a bash script for looping into the text
>> files and then replacing the text with "sed".
>>
>>Yep, something like this:
>>
>>http://www.cyberciti.biz/faq/unix-linux-replace-string-words-in-many-files/
> 
> By looking at my UnixUtils list which I have on my Windows machine I had
> found sed as well. :-) Have been experimenting some with it but...
> 
> linbobo:~/sedtest# sed 's___' new.txt
> linbobo:~/sedtest# less new.txt
> 
> And indeed I will see  on that line instead of  but...
> 
> linbobo:~/sedtest# sed 's_\n\n_\n\n\n_' new.txt
> linbobo:~/sedtest# less new.txt
> 
> Will not create a new line after  :-(

Hum... not sure if this what you need, but it should be something like:

sm01@stt008:~$ echo "" | sed -e "s//\n/g"


sm01@stt008:~$ 

Greetings,

-- 
Camaleón


-- 
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/pan.2011.09.16.16.25...@gmail.com



Re: automated editing of text files

2011-09-16 Thread Tom Furie
On Fri, Sep 16, 2011 at 05:24:52PM +0200, Bonno Bloksma wrote:

> linbobo:~/sedtest# sed 's_\n\n_\n\n\n_' new.txt
> linbobo:~/sedtest# less new.txt

You want to change the regexp here. In regular expressions '^' matches
start of line and '$' matches end of line. Your sed instruction above
should be something like 's/^$/\n/', or more generally
's/^\(\)$/\1\n/'.

Cheers,
Tom

-- 
The only problem with being a man of leisure is that you can never stop
and take a rest.


signature.asc
Description: Digital signature


Re: Logitech K360 keyboard NumLock behavior gets turned on by Shift keys!

2011-09-16 Thread Gilbert Sullivan

On 09/16/2011 10:46 AM, Camaleón wrote:

Mmm, I've found this:

http://wiki.xfce.org/faq#keyboard

Which seems pointing to "xfce4-xkb-plugin" package, do you already have
this one installed? At a first glance the plugin looks very similar to
"gnome-keyboard-properties", maybe you can edit the keyboard layout
options from here :-?


Yes. I should have mentioned that I had read the xfce.org faq. This 
plugin was already present on my system as a standard part of the 
"goodies" meta-package. AFAICT it only exposes the same functionality as 
the keyboard properties applet in Xfce settings. This looks very much 
like the gnome-keyboard-settings applet, but it's just missing the 
"miscellaneous compatibility settings" feature. That's where gnome 
provides the ability to make the NumLock / Shift key behave the way they 
do on Windows systems.


Heh. I've been doing so much editing the past couple of days I'll 
probably have adapted to the keyboard working this way before I find out 
how to change the behavior!


;-)

But it's all worth it anyway, if I can do a little learning.

One thing that's been getting me into a bit of trouble is that I've done 
some editing on remote Windows systems, and I've been falling back into 
the habit of using the numeric keypad a la Windows behavior. Then when I 
switch back to editing on the local machine I'm all thumbs again.


You've been more than helpful. I just have to do my homework to figure 
this out -- now that I know that I'm not seeing aberrant behavior from 
either Debian testing OR from the keyboard hardware. Between xev and 
xmodmap a little time and experimentation may provide me what I need. 
The xfce faq does warn that there have been quite a few issues using 
xmodmap. I guess I'll find out!


Many thanks again.

Best regards,
Gilbert


--
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/4e73775e.8060...@comcast.net



Re: Rolling my own

2011-09-16 Thread Dave Higgins
I appreciate the help here.  But the question at hand is how do I add a 
file to a CD and get the file to install at install time?  It shouldn't 
be as mysterious as it seems to be, i.e. I should be able to edit a file 
and say add this file.


Or am I going about it wrong?  Do I need to set up the repository first, 
change the source list and then build the image from there?


Thanks,
--
Dave Higgins
--
There are no emotional victims, only volunteers.

--
No virii here...


--
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/4e736de0.4020...@dkds.us



Re: 3D.rendering became slow since moved to wheezy.

2011-09-16 Thread Sthu Deus
Thank You for Your time and answer, Arnt:

>> Hmm. To me whole the problem is strange - I think there should be no
>> 3D or it should be at some little variable FPS change after the
>> upgrade, but it works as follows : from about 420 in Squeeze down to
>> 60 Wheezy...  
>
>..in glxgears?  ;o)

Yes. Pardon, forgot to say.

>..if you get 60fps with FlightGear-2.4, I'd say you have a successful
>update. 

I do not play the game. But my beloved OpenArena became a lot slower -
almost impossible to play w/ the fastest settings... :(

>> Therefore I want to find out the culprit - it worked and worked much
>> better than now but something drags it down.  
>
>..only the glxgears fps rate, or is the desktop slower?

No. Desktop does not seem to be slower. - I tested in K/LX -DEs.


-- 
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/4e736bb0.45c8e30a.0d79.0...@mx.google.com



RE: automated editing of text files

2011-09-16 Thread Bonno Bloksma
Hi Camaleón,

>> I have a bunch of files where I need an extra line after a  code.
>> So I need to change CRLF (or LF) to CRLFCRLF.
>> 
>> Which toool can I use for that, I can't remember which tool is a good
>> one for this and google is no help.
>> I am not fluent in any of the programming languages but I do write bash
>> scripts.

> I bet you can do this with a bash script for looping into the text files 
> and then replacing the text with "sed".
>
>Yep, something like this:
>
>http://www.cyberciti.biz/faq/unix-linux-replace-string-words-in-many-files/

By looking at my UnixUtils list which I have on my Windows machine I had found 
sed as well. :-)
Have been experimenting some with it but...

linbobo:~/sedtest# sed 's___' new.txt
linbobo:~/sedtest# less new.txt

And indeed I will see  on that line instead of  but...

linbobo:~/sedtest# sed 's_\n\n_\n\n\n_' new.txt
linbobo:~/sedtest# less new.txt

Will not create a new line after  :-(

Bonno




--
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/002601cc7484$c8216a80$58643f80$@blok...@tio.nl



Re: (SOLVED) Debian Testing usb device permission only root

2011-09-16 Thread Brian
On Fri 16 Sep 2011 at 11:53:19 +, Camaleón wrote:

> On Thu, 15 Sep 2011 11:29:58 -0500, Johnny wrote:
> 
> > I have been googling to fix this problem I did find a solution to fix it
> > and I did not have GDM installed, I was using slim to login so I
> > installed GDM3 and now the usb devices can mount and I can add files as
> > a user now with no problem
> 
> Hum... I'm not sure how a login manager could have solved this, maybe 
> gdm3 pulled the required packages to get the USB device to be properly 
> addressed and set by udev rules.

The KDE, XFCE and GNOME metapackages all install consolekit. Consolekit
is picky about what it will talk with to set up authorisation via
policykit for mounting, shutdown, rebooting etc. Kdm, gdm3 and lightdm
are the best of friends with it and keep on its good side by saying the
right things,

Slim and xdm don't know the right form of words to put them on a par
with the other DMs (slim is unmaintained and xorg hasn't altered xdm
yet) so their users don't get to mount usb devices from the desktop.

It is possible to sneak past consolekit if you don't mind losing the
ability to have seats.


-- 
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/20110916150226.GD17810@desktop



Re: automated editing of text files

2011-09-16 Thread Camaleón
On Fri, 16 Sep 2011 17:01:40 +0200, Bonno Bloksma wrote:

> I have a bunch of files where I need an extra line after a  code.
> So I need to change CRLF (or LF) to CRLFCRLF.
> 
> Which toool can I use for that, I can't remember which tool is a good
> one for this and google is no help.
> I am not fluent in any of the programming languages but I do write bash
> scripts.

I bet you can do this with a bash script for looping into the text files 
and then replacing the text with "sed".

Yep, something like this:

http://www.cyberciti.biz/faq/unix-linux-replace-string-words-in-many-files/

Greetings,

-- 
Camaleón


-- 
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/pan.2011.09.16.15.13...@gmail.com



automated editing of text files

2011-09-16 Thread Bonno Bloksma
Hi,

I have a bunch of files where I need an extra line after a  code. So I
need to change CRLF (or LF) to CRLFCRLF.

Which toool can I use for that, I can't remember which tool is a good one
for this and google is no help.
I am not fluent in any of the programming languages but I do write bash
scripts.

Bonno Bloksma




-- 
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/001001cc7481$8a358bf0$9ea0a3d0$@blok...@tio.nl



Re: Logitech K360 keyboard NumLock behavior gets turned on by Shift keys!

2011-09-16 Thread Camaleón
On Fri, 16 Sep 2011 10:21:15 -0400, Gilbert Sullivan wrote:

> On 09/16/2011 07:35 AM, Camaleón wrote:

(...)

>> 1/ Install just "gnome-keyboard-properties" (which is part of the
>> gnome- control-center package) in XFCE. Duuno if this will pull many
>> unwanted dependencies, if yes, stop.
> 
> Yes, I had already considered that, but I'm not finding a way in
> aptitude to limit this installation in any meaningful way. Looks like a
> LOT of dependencies. I wouldn't really worry about the number or size of
> the dependencies, per se, but I'm concerned that I might be adversely
> affecting my DE.

Understood. Let's discard then this option.

>> 2/ GNOME stores the values set from the "gnome-keyboard-properties"
>> applet under "/etc/X11/xkb/base.xml", maybe you can use this file also
>> in XFCE to mimic the desired key-combo behaviour :-?
>>
>>
>>
> On my Xfce systems that file doesn't exist. I can do some research and
> experimentation to see if something along this line may work. I'm also
> looking at the Xfce keyboard properties files to see if I might be able
> to accomplish what I want by editing them. The problem is that I'm not
> having any luck finding documentation on those files -- particularly
> with respect to implementing new features.

Mmm, I've found this:

http://wiki.xfce.org/faq#keyboard

Which seems pointing to "xfce4-xkb-plugin" package, do you already have 
this one installed? At a first glance the plugin looks very similar to 
"gnome-keyboard-properties", maybe you can edit the keyboard layout 
options from here :-?
 
> I'm also doing research on XMODMAP to see if I can do something with it.
> 
> Many thanks, Camaleón, for your great ideas.

You're welcome :-)

Greetings,

-- 
Camaleón


-- 
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/pan.2011.09.16.14.46...@gmail.com



Re: /var/log/syslog is smaller than last time checked!

2011-09-16 Thread Camaleón
On Fri, 16 Sep 2011 17:12:26 +0300, Jari Fredriksson wrote:

> I just received this message from logcheck, on two machines (Debian), at
> the same minute. They do not share /var/log/ via NFS or anything.
> 
> What might this be? Same minute!
> 
> System Events
> =-=-=-=-=-=-=
> ***
> *** This could indicate tampering. 
> *** WARNING ***: Log file /var/log/syslog is smaller than last time
> checked!

Hum... could it be because logrotate made its job and cutted the syslog 
file while logcheck was analyzing it? 

It could be just a pure casualty :-?

Greetings,

-- 
Camaleón


-- 
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/pan.2011.09.16.14.24...@gmail.com



Re: Logitech K360 keyboard NumLock behavior gets turned on by Shift keys!

2011-09-16 Thread Gilbert Sullivan

On 09/16/2011 07:35 AM, Camaleón wrote:

On Thu, 15 Sep 2011 13:35:35 -0400, Gilbert Sullivan wrote:

(sorry to be so succinct on my last post but I had to go out and had no
the time to reply to you appropriately) :-)



I greatly appreciate any time you have for me.


Maybe you can make some comparison of the key you get using "xev", that
is, run xev, put num. lock off and press shift (read the screen) then
press end and see if what you get difference when you do the same but
with num. lock enabled :-?


I can work with that later. In the meantime I've learned by looking at a
system running the Gnome DE that there is a setting in
gnome-keyboard-properties that lets me switch this function so that the
keyboard functions the way I want it to work -- with NumLock in the off
condition the Shift key doesn't override and turn on the numbers. In
other words, I want the numeric keypad to behave with the shift key
depressed exactly as it behaves with the Ctrl key depressed. No numbers,
just cursor movement.

I am, however, using Xfce as my DE, and I'm not at all interested in
using Gnome. I imagine that, if I work hard enough at it, I'll find a
way to change the behavior to suit me in Xfce.


Hum... okay, so you finally discovered that the behaviour you got was the
usual one (nothing wrong here) and besides you also found the way to get
the behaviour _you want_ (shift not overriding num. lock) when using
GNOME by means of gnome-keyboard-properties but you like more XFCE and
want to be there, right? :-)

Well, for this I can give you two hints:

1/ Install just "gnome-keyboard-properties" (which is part of the gnome-
control-center package) in XFCE. Duuno if this will pull many unwanted
dependencies, if yes, stop.


Yes, I had already considered that, but I'm not finding a way in 
aptitude to limit this installation in any meaningful way. Looks like a 
LOT of dependencies. I wouldn't really worry about the number or size of 
the dependencies, per se, but I'm concerned that I might be adversely 
affecting my DE.




2/ GNOME stores the values set from the "gnome-keyboard-properties"
applet under "/etc/X11/xkb/base.xml", maybe you can use this file also in
XFCE to mimic the desired key-combo behaviour :-?

Greetings,



On my Xfce systems that file doesn't exist. I can do some research and 
experimentation to see if something along this line may work. I'm also 
looking at the Xfce keyboard properties files to see if I might be able 
to accomplish what I want by editing them. The problem is that I'm not 
having any luck finding documentation on those files -- particularly 
with respect to implementing new features.


I'm also doing research on XMODMAP to see if I can do something with it.

Many thanks, Camaleón, for your great ideas.

Best regards,
Gilbert


--
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/4e735b5b.3080...@comcast.net



/var/log/syslog is smaller than last time checked!

2011-09-16 Thread Jari Fredriksson

I just received this message from logcheck, on two machines (Debian), at
the same minute. They do not share /var/log/ via NFS or anything.

What might this be? Same minute!

System Events
=-=-=-=-=-=-=
***
*** This could indicate tampering.
*** WARNING ***: Log file /var/log/syslog is smaller than last time checked!


-- 

Tell the truth or trump--but get the trick.
-- Mark Twain, "Pudd'nhead Wilson's Calendar"



signature.asc
Description: OpenPGP digital signature


About ATI video card

2011-09-16 Thread cosme
Hi

First I want to know how I can find out about the video card or on my
Debian squeeze.

I put a video capture card is ATI AGP 64 MB.

I know how to put drivers at this or if the installed system??

How do I can watch TV through it?? which program to use??

regards
Cosme





-- 
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/a27ea11e185590c35bcfb1d665631342.squir...@sax.esid.gecgr.co.cu



Re: Still can't install wheezy on a 2011 iMac

2011-09-16 Thread Stephen Allen
On Fri, Sep 16, 2011 at 06:00:06PM +1000, Mike Hore wrote:
> 
> Thanks.  I had looked at that and I think I've got the video problem
> sorted out -- but the boot is still hanging at a later stage as I
> explained in my earlier post.
> 
> Cheers,  Mike.

There is a Debian Mac list; probably get better help there too.


-- 
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/20110916123317.ga2...@thinkpad.gateway.2wire.net



Re: (SOLVED) Debian Testing usb device permission only root

2011-09-16 Thread Camaleón
On Thu, 15 Sep 2011 11:29:58 -0500, Johnny wrote:

>>> johnny@xxx:~$ ls -la /media/usb0
>>> ls: cannot access /media/usb0: No such file or directory
>>>  
>> Err, is the device connected? :-?
>>
>> Attach the USB player and run "dmesg|tail", put here the output.
>>
>>
>>
> I have been googling to fix this problem I did find a solution to fix it
> and I did not have GDM installed, I was using slim to login so I
> installed GDM3 and now the usb devices can mount and I can add files as
> a user now with no problem

Hum... I'm not sure how a login manager could have solved this, maybe 
gdm3 pulled the required packages to get the USB device to be properly 
addressed and set by udev rules. 

Well, good it is working now :-)

Greetings,

-- 
Camaleón


-- 
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/pan.2011.09.16.11.53...@gmail.com



Re: Logitech K360 keyboard NumLock behavior gets turned on by Shift keys!

2011-09-16 Thread Camaleón
On Thu, 15 Sep 2011 13:35:35 -0400, Gilbert Sullivan wrote:

(sorry to be so succinct on my last post but I had to go out and had no 
the time to reply to you appropriately) :-)

>> Maybe you can make some comparison of the key you get using "xev", that
>> is, run xev, put num. lock off and press shift (read the screen) then
>> press end and see if what you get difference when you do the same but
>> with num. lock enabled :-?
> 
> I can work with that later. In the meantime I've learned by looking at a
> system running the Gnome DE that there is a setting in
> gnome-keyboard-properties that lets me switch this function so that the
> keyboard functions the way I want it to work -- with NumLock in the off
> condition the Shift key doesn't override and turn on the numbers. In
> other words, I want the numeric keypad to behave with the shift key
> depressed exactly as it behaves with the Ctrl key depressed. No numbers,
> just cursor movement.
> 
> I am, however, using Xfce as my DE, and I'm not at all interested in
> using Gnome. I imagine that, if I work hard enough at it, I'll find a
> way to change the behavior to suit me in Xfce.

Hum... okay, so you finally discovered that the behaviour you got was the 
usual one (nothing wrong here) and besides you also found the way to get 
the behaviour _you want_ (shift not overriding num. lock) when using 
GNOME by means of gnome-keyboard-properties but you like more XFCE and 
want to be there, right? :-)

Well, for this I can give you two hints:

1/ Install just "gnome-keyboard-properties" (which is part of the gnome-
control-center package) in XFCE. Duuno if this will pull many unwanted 
dependencies, if yes, stop.

2/ GNOME stores the values set from the "gnome-keyboard-properties" 
applet under "/etc/X11/xkb/base.xml", maybe you can use this file also in 
XFCE to mimic the desired key-combo behaviour :-?

Greetings,

-- 
Camaleón


-- 
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/pan.2011.09.16.11.35...@gmail.com



Re: [OT] Signed download from sourceforge

2011-09-16 Thread Camaleón
On Thu, 15 Sep 2011 20:01:08 -0400, Dan wrote:

> I was wondering how to download a binary in a secured way from
> sourceforge.

Uh? :-?

> With debian it is very straightforward, you download it, check the
> md5sum or sha1 and then check the signature.
> 
> In sourceforge I see that you can find the md5 and the sha1 but they are
> both transmited with http and not with https. So, How can I trust the
> source? Do I miss something? Someone can hack the router (for example)

Mmm... "https://"; does not add any extra security layer that solves your 
concern, I mean, with sha1 or md5sum you can ensure the file you download 
is the same as it is in the server and has not beed changed not corrupted.

But now think about it... how do you know the file you are going to 
download is good? Even it is signed it can contain "bad" code >;-)

In brief, adding a secure channel here (like https) does not make sense 
as you are not transferring sensitive information, it's all public :-)

Greetings,

-- 
Camaleón


-- 
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/pan.2011.09.16.10.49...@gmail.com



Re: Free drivers for AMD Radeon (Vaio S)

2011-09-16 Thread Camaleón
On Thu, 15 Sep 2011 19:52:35 -0400, Dan wrote:

> On Thu, Sep 15, 2011 at 8:12 AM, Camaleón  wrote:

(...)

>>> Why would you stay away from Mac...
>>
>> More than from a Mac (which I find it very well designed machines) I
>> would stay away from Apple (the company). I've never seen a company
>> that try to limit their users the way they do and enforce their
>> senseless policies (what you can do or don't with their devices), in
>> that regard is even worst than MS :-/
>>
>>> and why did you mention compatibility? Everything should work with
>>> Debian because it is a PC.
>>
>> Uff, if you think so... I think it's still not so easy to run something
>> different than MacOS (or windows) in their computers :-)
>>
>>> They are just using the new EFI system, but what I understood is that
>>> EFI will be the standard in the near future.
>>
>> U/EFI is now a standard but still not widely used. But EFI is not what
>> it scares me of Apple :-)
>>
>>
>>
> Hi Camaleón,
> 
> My concern was about being able to use the graphic card and the
> computer. I should be able to turn off the AMD card with vgaswitcheroo.
> And hopefully in a near future it should be possible to use the AMD card
> with FOSS drivers.

I think you could still make use of the ATI card by means of the closed 
source driver, should you need to get more "VGA power" for your apps (I 
mean, in the event "radeon" driver is still not supporting that chipset) 
but the most important part, from my POV, is to be able to switch from 
intel to amd VGA with no hassle. If that can be done with the laptop, 
then you should not have any problem.
 
> I do agree with you that Apple is a closed minded company, and I do not
> like what their policies. But I also think that their computers
> (Macbooks pro) are quite nice (reliable and stylish).

Yes, in fact they have in their files one of the most valued designer 
engineers, many times awarded for his creations so I fully agree they 
make very good products despite the company guidelines and policies.

> You used U/EFI and EFI. Are both the same? 

IIRC, EFI was the original Intel's name and then evolved to UEFI, by the 
time more companies joined to the working group to enhance the first 
specification. But yes, practically both refer to the same.

> Is there something special about the EFI from Macs? or it is completely
> EFI standard.

Dunno :-?

My guess (but take it as it is, just a "guess") is that Mac's EFI is 
based on the standards and is fully compliant to them but when it comes 
to the "software" part (firmware), the logic that controls it... well, I 
would not put my hand on the fire for that assertion, remember that Apple 
is a company that makes software _and_ hardware and they are interested 
in make "their" products to play perfectly and are fully integrated with 
"their" software :-)

> Why do you say that it is not so easy to run anything different than
> MacOS in their computers?

Because they prepare and certify their computers/devices to run with just 
MacOS (or their mobile OS, iOS).

So what we finally have is a closed OS system like MacOS running over 
supposedly standard irons. If you want to keep MacOS and add another OS 
would be more difficult than if you only wanted to run Debian on it.

Greetings,

-- 
Camaleón


-- 
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/pan.2011.09.16.10.37...@gmail.com



Re: Bugreport system down?

2011-09-16 Thread Camaleón
On Thu, 15 Sep 2011 20:11:03 +0200, Hans-J. Ullrich wrote:

> do yoi know, if the bugreporting system is down? 

(...)

The last bug I reported by e-mail was on September 12th and that time it 
was working as usual :-?

Greetings,

-- 
Camaleón


-- 
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/pan.2011.09.16.10.04...@gmail.com



Re: USB ACM vs USB memory device conflict

2011-09-16 Thread Camaleón
On Thu, 15 Sep 2011 13:22:50 -0400, Thomas H. George wrote:

> On Thu, Sep 15, 2011 at 02:44:28PM +, Camaleón wrote:

(...)
 
>> I would investigate this further by reading the mobile phone's manual
>> :-?
>> 
> The phone's manual instructions are to connect the usb cable and then in
> settings/tools chose USB Mass Storage.  

That it is.

> My problem is that immediately upon connecting the usb cable the phone
> is choosen as a modem.  

That should be normal. I mean, I understand the mobile phone is set, by 
default, to act as a modem so as soon as it is connected to the PC it is 
detected in that way. It should switch to mass storage afterwards.

> When I select the USB Mass Storage option the phone displays a picture
> of a phone and a pc with a dot bouncing back and forth between them but
> there is no indication on the Debian terminal of any change.  Leaving
> the phone in this mode I disconnect and reconnect the usb cable.  The
> result shown in syslog is

(...)

Okay, I've already seen that you were able to solve it (by means of rapid 
connection of the cell phone when set at "USB Mass Storage Mode") on a 
later post, good! :-)

Greetings,

-- 
Camaleón


-- 
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/pan.2011.09.16.10.00...@gmail.com



Re: VMware templates and Disk UUID in Squeeze

2011-09-16 Thread Stan Hoeppner

On 9/15/2011 10:49 PM, Patrick Zaloum wrote:

Hello
We are currently upgrading our Lenny machines to Squeeze. We use VMware
almost exclusively. In the upgrade, Squeeze prefers using UUID in the fstab
file. Initially I saw nothing wrong with this, until I installed my new
template VM's. For fun I provisioned 2 VM's and to my annoyance they have
the same UUIDs as the template for each of the partitions.

I was wondering if anyone see potential problems with this? I.e. all future
VM's based on this template with the same disk UUID?


This is a VMware guest deployment issue, not a Linux issue.  Such UUID 
issues are well documented in the VMware forums.


--
Stan


--
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/4e731acc.8040...@hardwarefreak.com



Re: Debian Policy questions

2011-09-16 Thread Andrei Popescu
On Vi, 16 sep 11, 00:48:25, Ivan Shmakov wrote:
> 
>   I wonder if there should be a separate mailing list to Cc: such
>   bug reports.  (debian-dependency-inquisitors@, perhaps?)

I don't think dependencies need any special handling compared to other 
bug reports. In cases where you don't agree with the resolution you can 
discuss the issue - together with the maintainer - on debian-devel.

>   I seem to remember that there was a longstanding issue with
>   Depends: logrotate.  Of course, no package should ever be
>   “rendered unusable” (which, AIUI, is the very essense of
>   Depends:) should logrotate not be installed!  Yet, there seem to
>   be something like 45 packages that Depends: on it as per Debian
>   Wheezy.

Could you provide concrete examples? I assume packages not logging to 
syslog do need some rotation of their logs, otherwise they could render 
systems unusable by filling up the drive.

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: linux-kbuild-3.1.0 ?

2011-09-16 Thread Tom H
On Thu, Sep 15, 2011 at 8:01 AM, Camaleón  wrote:
> On Wed, 14 Sep 2011 22:16:32 +0200, Sven Hoexter wrote:
>> On Wed, Sep 14, 2011 at 04:14:31PM +, Camaleón wrote:
>>
>>> Well, then who/what is the target of "linux-headers-3.1.0-rc4-amd64"
>>> package? I mean, if it is not installable -on purpose- because of the
>>> broken dependency, what is it aimed for? Just curious :-?
>>
>> You can try out the kernel image, so to speak the kernel itself, and
>> check if it works on your hardware. It's just the surounding toolchain
>> to build e.g. dkms modules etc. which is missing. But that doesn't
>> prevent you from checking if $latest-fix-in-upstream-rc fixes one of
>> your reported or not reported problems.
>
> Yeah, I understand that kernel headers are focused to developers or
> people who needs compiling their own packages but it is still needed for
> that purposes, I mean, there can be people running Debian kernel 3.1 that
> needs to test how compiling works and with no headers package available
> that seems not possible :-?
>
> In brief, why having a package with broken dependecies that cannot be
> installed, better not having it at all? Mmm, unless the package itself
> has to be created to satisfy another package dependencies...

See the bottom of this page
http://wiki.debian.org/HowToRebuildAnOfficialDebianKernelPackage

It's not clear from the bug report link posted earlier whether it's
-headers or -kbuild or, most likely, both, that's not packaged for
experimental but it's clear that it seems to be a DIY project in that
repo.


--
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/CAOdo=Swc_9T562Bv_CRE6nb=zd8grgazuz5pwqo4pz3uttp...@mail.gmail.com



Re: nvidia driver strangeness

2011-09-16 Thread Brad Alexander
Thanks, Dave.

I wound up rolling back to 280.13-4, which meant that I had to end up
downloading xserver-xorg-core_1.10.4-1 from wheezy. (The current version of
xserver-xorg-core ships with xorg-video-abi-11, and 13-4 requires abi-10.)

So I downgraded the following packages:

xserver-xorg-video-nvidia_280.13-4
libgl1-nvidia-alternatives_280.13-4
libgl1-nvidia-glx_280.13-4
libglx-nvidia-alternatives_280.13-4
nvidia-alternative_280.13-4
nvidia-glx_280.13-4
nvidia-kernel-dkms_280.13-4
nvidia-vdpau-driver_280.13-4
xserver-xorg-video-nvidia_280.13-4
xserver-xorg-core_1.10.4-1
xserver-xorg-input-evdev_2.6.0-2+b1

And everything seems to be working so far...Though I fully expect to find
some other bombshells with some Xserver function that I forgot to downgrade.

--b

On Thu, Sep 15, 2011 at 11:36 PM, Dave Thayer <
debian1125820.dmtha...@recursor.net> wrote:

> On Thu, Sep 15, 2011 at 07:37:58PM -0400, Brad Alexander wrote:
> > Has anyone seen any odd behavior out of the nvidia drivers of late? I
> > upgraded my sid workstation tonight, and got the following updates:
> >
>
> I'm getting similar wierdness with my sid, additionaly I can crash X
> by running libreoffice or xeyes(!). I suspect that this is related to
> , which suggests rolling back
> xserver-xorg-core rather than the nvidia stuff.
>
> I haven't had time to try this, in spite of the fact that my
> productivity is being killed by not having xeyes working...
>
>
> HTH
>
> dt
>
> --
> Dave Thayer   | Whenever you read a good book, it's like the
> Denver, Colorado USA  | author is right there, in the room talking to
> d...@thayer-boyle.com | you, which is why I don't like to read
>  | good books. - Jack Handey "Deep Thoughts"
>
>
> --
> 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/20110916033609.ga11...@thayer-boyle.com
>
>


Re: Debian 6 iSCSI root boot problem

2011-09-16 Thread Stan Hoeppner

On 9/14/2011 10:39 AM, Andrés Durán wrote:

Hello to all, and sorry for may bad english, i'm Spanish.

I'm trying to install Debian 6 on one server without internal disks, I 
have a Workstation running Debian 6 too that run as an iSCSI Target. This work 
station is configured as iSCSI target with the package iscsitarget, it is 
running without problems. The logical drive is exported perfectly.

On the other hand (the initiator), the server is an HP DL380 G6, it  
have an network controller with boot from iSCSI support, we like use it to 
start Debian 6 without PXE, BOOTP, usb or something else.
I'm using this post "http://www.david-web.co.uk/blog/?p=188"; to install Debian in 
the Target drive using iSCSI protocol (Debian is installed correctly in the remote drive using this 
method), but when I finish the installation and the server restart it is unable to boot. The grub 
is installed on the remote drive, and the Network firmware is well configured and it is connected 
to the remote drive at the moment of boot, but when the Grub of the remote drive try to start it 
show an error that says: "Grub Read Error" and the boot process is stopped at this time. 
At this time no grub rescue mode is available and no interactive methods is possible to debug the 
boot process.

Here is the details of the server and his network controller (Chipset Broadcom BCM5709C): 
"http://h18000.www1.hp.com/products/quickspecs/13234_div/13234_div.HTML";

Because I'm using the iSCSI firmware provided by the network card, I'm not doing nothing in 
the last process of the post "http://www.david-web.co.uk/blog/?p=188"; where the post 
says: "DON’T allow the system to reboot – the installed system can’t boot yet. I decided that 
I wanted to boot using BOOTP and TFTP".

Please, ¿could someone help me?


You're using an iSCSI HBA that provides the entire iSCSI solution in 
firmware, but you've followed instructions on installing Debian to boot 
using a software iSCSI initiator.  That combo won't work.


Read this:
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01555874/c01555874.pdf

HP has geared this doc toward Windows users, but it has all the settings 
information you need to get this working.


Do not use the software initiator.

Make sure you set "Windows HBA mode" to "enable" in the option ROM 
settings menu of the DL380 BIOS, and that the iSCSI config parameters 
are correct in the HBA firmware setup.  Then, boot the Debian installer 
CD/DVD in the DL380 G6.  If the correct driver module for the BCM5709C 
in full firmware iSCSI mode isn't automatically loaded, manually load it 
yourself.  One driver may handle both modes.  I've not used this HP HBA 
so I can't say for sure.


When you get to the partitioning menu you should see the disk device, 
just as if this were an SAS drive on a PCIe SAS card.  Partition and 
format it as you normally would, complete the installation, and reboot. 
 Unless the wrong driver module gets loaded, or you don't have all the 
BIOS/HBA firmware settings correct, it should work fine.  And without 
having to use the slower, less reliable, software iSCSI initiator.


--
Stan


--
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/4e730b31.9050...@hardwarefreak.com



Re: Still can't install wheezy on a 2011 iMac

2011-09-16 Thread Mike Hore

Hi Scott,


On 16/09/11 15:56, Mike Hore wrote:

Hi again --

Hmm... no replies.  I take it then that NOBODY is running Debian on one
of this year's iMacs??  Maybe I should just go away and try again in a
few months?

Cheers,  Mike.



I don't run a Mac - or I'd have posted earlier, but... it appears that
other people do - including the wiki page author Kereoz (Christophe Hauser).


I'd like to contact him directly but couldn't work out his email address.



NOTE: "latest" Mac and "aluminium iMac Intel 12,1" doesn't mean anything
to me... so apologies if you've already looked at these and/or they're
not relevant.


Thanks.  I had looked at that and I think I've got the video problem 
sorted out -- but the boot is still hanging at a later stage as I 
explained in my earlier post.


Cheers,  Mike.


---
  Mike Horemike_h...@aapt.net.au
---


--
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/4e730206.9090...@aapt.net.au



Re: Still can't install wheezy on a 2011 iMac

2011-09-16 Thread Miles Bader
Mike Hore  writes:
> Hmm... no replies.  I take it then that NOBODY is running Debian on one
> of this year's iMacs??  Maybe I should just go away and try again in a
> few months?

Hmm, remember only a fraction of debian users actually use the mailing
lists... (and I suppose even some devs may not read the user list)

-Miles

-- 
Friendship, n. A ship big enough to carry two in fair weather, but only one
in foul.


-- 
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/buo7h59m2ls@dhlpc061.dev.necel.com



Re: Still can't install wheezy on a 2011 iMac

2011-09-16 Thread Scott Ferguson
On 16/09/11 15:56, Mike Hore wrote:
> Hi again --
> 
> Hmm... no replies.  I take it then that NOBODY is running Debian on one
> of this year's iMacs??  Maybe I should just go away and try again in a
> few months?
> 
> Cheers,  Mike.
> 

I don't run a Mac - or I'd have posted earlier, but... it appears that
other people do - including the wiki page author Kereoz (Christophe Hauser).

NOTE: "latest" Mac and "aluminium iMac Intel 12,1" doesn't mean anything
to me... so apologies if you've already looked at these and/or they're
not relevant.

http://charles.plessy.org/Debian/debi%C3%A2neries/iMac/ [*1]
http://mirror.aarnet.edu.au/pub/debian/dists/wheezy/
I have no idea how authoritive this writer is:-
http://mjg59.dreamwidth.org/2929.html
(I've certainly seen Debian running on a very recent hi-end Mac laptop
earlier this year - so it is possible).

and of course Kereoz's MacIntel kernel page (seems it hasn't been
updated in a few years):-
http://kereoz.alwaysdata.net/index.php?page=kernel


You could also try the macintel developers list:-
https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel
or their archives:-
http://sourceforge.net/mailarchive/forum.php?forum_name=mactel-linux-devel

And Arch might provide some useful tips:-
https://bbs.archlinux.org/viewtopic.php?id=116390


> 
> 
>> Hi all,
>>
>> It's been a few weeks now, so I'm wondering if there's been any progress
>> on this. I think the relevant bugs are #637284 and 627705 - neither have
>> had any activity during these few weeks. Is everybody on holidays??
>>
>> -- Mike.
>>
>>> Hi again,
>>>
>>> I was directed to the wiki:
>>>
>>> http://wiki.debian.org/iMacIntel
>>>
>>> Apparently this section has been updated:
>>>
>>> Update (2011/08/12) : aluminium iMac Intel 12,1 / Wheezy , see the
>>> "video" section.
>>>
>>> However this didn't work for me. Even applying the radeon.modeset=0 line
>>> in the boot parameters just leads to a blank screen with a flashing
>>> cursor at the top. 

Have you tried disabling frame buffer mode?

>>> Booting into rescue mode gives me a root shell, and I
>>> applied the suggested updates to /etc/apt/sources.list, but aptitude
>>> update failed with messages saying the server locations couldn't be
>>> resolved. I tried a ping to the actual IP address, but got the message
>>> "Network unreachable".

http://mirror.aarnet.edu.au/pub/debian/dists/wheezy/
is definitely there, and responding - that *is* the address referenced
by the /etc/apt/sources.list entry of:-
deb http://mirror.aarnet.edu.au/debian wheezy main contrib non-free

ie. the following *won't* work:-
ping http://mirror.aarnet.edu.au/debian
(because there's no such URL)

>>>
>>> So I'm still stuck. I think this could possibly be bug # 627705, lack of
>>> kernel support for the Broadcom ethernet card. But I'm not sure. My
>>> installer was a weekly build from a few weeks ago -- should I try a
>>> later build? I don't want to take the time if I'm just going to end up
>>> in the same place.

Can't you manually download the packages from another machine?


>>>
>>> Cheers, Mike.
>>>
>>> ---
>>> Mike Hore mike_h...@aapt.net.au
>>> ---
>>>
>>>
>>
>>
> 
> 

Cheers


[*1]
http://source.charles-plessy-org.branchable.com/?p=source.git;a=history;f=Debian/debi%C3%A2neries/iMac.en.po;hb=HEAD

-- 
"I ascribe to Mark Twain's theory that the last person who should be
President is the one who wants it the most. The one who should be picked
is the one who should be dragged kicking and screaming into the White
House."
— Bill Hicks


-- 
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/4e72fb32.20...@gmail.com