Re: ompile 32 bit debian source on 64 bit machine

2009-08-07 Thread Siggy Brentrup
On Sat, Aug 08, 2009 at 14:09 +0800, Umarzuki Mochlis wrote:

> there is one actually http://packages.debian.org/sid/i386/zsnes
> but it seems such a hassle to do it.

8-() ???

> so, after getting the source with apt-get source source-name, what command
> to be used to compile it?

After doing an apt-get source PACKAGE (don't issue this in an overly crowded
directory) you'll find sources unpacked in directory PACKAGE-VERSION

 % cd PACKAGE-VERSION
 % sudo ./debian/rules binary # builds all .debs

That's all if you don't want to change anything in code or packaging.
You didn't forget to aptitude build-deps PACKAGE before getting the
source I presume.

HTH
  Siggy
-- 
Please don't Cc: me when replying, I might not see either copy.
   bsb-at-psycho-dot-informationsanarchistik-dot-de
   or:bsb-at-psycho-dot-i21k-dot-de
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org


signature.asc
Description: Digital signature


Re: ompile 32 bit debian source on 64 bit machine

2009-08-07 Thread Umarzuki Mochlis
2009/8/8 Mark Allums 

> Umarzuki Mochlis wrote:
>
>> I found that there's only 32 bit binary of zsnes on sid and it's only 32
>> bit.
>>
>> Would the step is as simple as adding a sid mirror in sources.list,
>> aptitude update, then apt-get -t sid source zsnes?
>> -- Gmail - ompile 32 bit debian source on 64 bit machine -
>> umarz...@gmail.com
>> Regards,
>>
>> Umarzuki Mochlis
>> http://gameornot.net
>>
>
> Uh, sort-of, but you wouldn't get what you want.  I think.  What do you
> want, exactly?
>
> Haven't checked up on the source, but it may not be 64-bit clean.  That is,
> it might be compiled on amd64 by a 64-bit compiler, but that might not make
> it be what you expect it to be.  E.g., a variable might need to be a 32-bit
> type, recompiling might change it to 64-bit.  The difference would be
> significant in an emulator, and it being 64 bits could lead to undesired
> results.
>
> Looking in Sid, I don't see zsnes as a package, I only see
> visualboyadvance.  Are you sure you know what you need?
>

there is one actually http://packages.debian.org/sid/i386/zsnes
but it seems such a hassle to do it.

so, after getting the source with apt-get source source-name, what command
to be used to compile it?

>
> Mark Allums
>
>


-- 
Regards,

Umarzuki Mochlis
http://gameornot.net


Re: Configuring polkit-gnome-authorization without a root password

2009-08-07 Thread Louis Housman
On 8/8/09, Ron Johnson wrote:
> On 2009-08-07 08:41, Louis Housman wrote:

[...]

> Serious, not-flippant response: if you like the Ubuntu Way, why not
> install Ubuntu instead of Debian?

One reason: Debian unstable. 2nd Reason: Debian does boot faster.

Main reason for my question is that all I want is the convenience of
having to remember two different passwords (root and $USER). So, no, I
don't want the bathwater (all the other Ubuntu changes) with the baby
(sudo-style sysadministration).

So the question remains. How do I configure polkit without a root password?


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



Re: ompile 32 bit debian source on 64 bit machine

2009-08-07 Thread Mark Allums

Umarzuki Mochlis wrote:
I found that there's only 32 bit binary of zsnes on sid and it's only 32 
bit.


Would the step is as simple as adding a sid mirror in sources.list, 
aptitude update, then apt-get -t sid source zsnes? 


--
Regards,

Umarzuki Mochlis
http://gameornot.net


Uh, sort-of, but you wouldn't get what you want.  I think.  What do you 
want, exactly?


Haven't checked up on the source, but it may not be 64-bit clean.  That 
is, it might be compiled on amd64 by a 64-bit compiler, but that might 
not make it be what you expect it to be.  E.g., a variable might need to 
be a 32-bit type, recompiling might change it to 64-bit.  The difference 
would be significant in an emulator, and it being 64 bits could lead to 
undesired results.


Looking in Sid, I don't see zsnes as a package, I only see 
visualboyadvance.  Are you sure you know what you need?


Mark Allums


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




Re: Etch to 5.0.2 upgrade failed - Encrypted filesystem will not boot

2009-08-07 Thread Andrew Reid
On Wednesday 05 August 2009 19:54:50 line...@ruiner.halo.nu wrote:
> I tried configuring fstab to use the UUID from blkid, but I had the same
> problem.  Could the problem be that the SCSI drives are not coming up until
> cryptsetup has loaded?

  Hi again lineman (and list).

  Just for another data-point, I have just now finished
upgrading my laptop, with the dm-crypt-encrypted hard
drive, from etch to lenny.  There were several minor
issues with packages, but the crypto part worked fine.

  (Anticipating doing this myself is part of why I
was following this thread...)

  I *do* see the "Driver 'sd' needs updating" message,
but my system boots, so that's apparently unrelated.

  My /etc/fstab file doesn't use UUIDs, it lists the
device-mapper names of all the devices, and it works.
This shouldn't matter in any case for the root FS, it's
mounted before /etc/fstab is read, and the device name 
is taken from the kernel args.

  I tried booting with the "break" boot option, which drops
you into the busybox shell at the init-premount step, and
tried to see if I could manually set up the crypto, but it's
a bit complicated, and relies on environment variables which
are set for the scripts, but apparently not set in the shell.

  One thing you *can* do easily is, boot with the "break" 
option, and from within the resulting shell, run 
/scripts/init-premount/udev, which will create all the devices.  
You can then do an "ls" in /dev, and see if the relevant 
hard drive partition (/dev/sda5, in your case) is are present -- 
this tests the udev step pretty directly.

  Hope this helps.  

-- A.
-- 
Andrew Reid / rei...@bellatlantic.net


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



Re: WRT54G WAN access failure

2009-08-07 Thread Umarzuki Mochlis
Well, sometime the VPI/VCI value had to be correct for your ISP especially
if the router is not provided by your ISP. I had a problem once connecting
with DLink router with its default setting.

2009/8/8 Charlie 

> On Sat, 8 Aug 2009 02:47:18 + Joel Roth  shared
> this with us all:
>
> >I have problems with basic configuration:
> >
> >Computer ---> Router ---> DSL modem
>
> I don't know anything about this kind of thing but will have a stab at
> it:
>
> Shouldn't it be Modem > Router -> Computer/s
>
> But that might only be for satellite and it works.
>
> Hope I haven't mislead you.
>
> Charlie
>
> --
> Registered Linux User:- 329524
> +++
> All wisdom is rooted in learning to call things by the right name. When
> things are properly identified, they fall into natural categories and
> understanding becomes orderly. .Confucius
> >>>
> Debian GNU/Linux - just the best way to create magic
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
>
>


-- 
Regards,

Umarzuki Mochlis
http://gameornot.net


Re: WRT54G WAN access failure

2009-08-07 Thread Charlie
On Sat, 8 Aug 2009 02:47:18 + Joel Roth  shared
this with us all:

>I have problems with basic configuration: 
>
>Computer ---> Router ---> DSL modem

I don't know anything about this kind of thing but will have a stab at
it:

Shouldn't it be Modem > Router -> Computer/s

But that might only be for satellite and it works.

Hope I haven't mislead you.

Charlie

-- 
Registered Linux User:- 329524
+++
All wisdom is rooted in learning to call things by the right name. When
things are properly identified, they fall into natural categories and
understanding becomes orderly. .Confucius
>>>
Debian GNU/Linux - just the best way to create magic


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



ompile 32 bit debian source on 64 bit machine

2009-08-07 Thread Umarzuki Mochlis
I found that there's only 32 bit binary of zsnes on sid and it's only 32
bit.

Would the step is as simple as adding a sid mirror in sources.list, aptitude
update, then apt-get -t sid source zsnes?

-- 
Regards,

Umarzuki Mochlis
http://gameornot.net


WRT54G WAN access failure

2009-08-07 Thread Joel Roth
I'd like to ask for help setting up a used router for my
brother.

First of all, I get usual internet services without the
router:

Computer ---> DSL modem

I have problems with basic configuration: 

Computer ---> Router ---> DSL modem

The panel LEDs display normally, and 
the router gets a pingable WAN address from the DSL modem.
However

ping google.com returns 'unknown host'

ping 74.125.45.100 (google.com) returns 'destination unreachable'

Resetting the router to factory defaults doesn't help.

Any ideas for what to try? Thanks.

Joel

-- 
Joel Roth


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



Trying to boot Lenny after installation

2009-08-07 Thread Sine 39

Hi, I'm new to Debian and haven't posted to a mailing list for years so I hope 
I've posted to the right place, please point me in the right direction if not 
:)!

 I tried to install Debian sometime ago and ultimately
failed. I now have a lot more time on my hands to perservere and am
determined to do everything I can to get it functioning and at least
submit a bug report if not! Basically I have installed the latest
graphical version of Lenny. The installation process runs without a
hitch except for the fact it fails to detect my wireless network (I
guess I need to install a driver but this doesn't concern me too much
at this stage). But when I try to boot into Lenny for the first time
this fails for a reason which is not immediately clear. I have
attempted to boot 3 times and copied the last few lines of code that
appear on the screen when doing so at the bottom of this message.

As a result of a previous post on Debian forums I have tried booting (without 
success) with:

noapic nolapic acpi=off ide=nodma
and also
noapic nolapic acpi=off noapm

I have also tried Squeeze and hit the same problems.

I
have read the official Debian Lenny installation guide which states
that if the installation process completes OK but Lenny then fails to
boot then it is likely only a minor problem preventing the boot
process. It suggests using rescue mode from the installation CD and
seeking advice on how to do so. I have booted into rescue mode onto the
partition on which Lenny is installed and this works OK.

So
basically this is just to ask has anybody got any ideas on how to fix
the installation in rescue mode or any other ideas on getting Lenny to
boot?

Thanks in advance for any help, I have included my full
system specs at the bottom of the message followed by the code that
appears at the end of 3 boot processes.

Adam

System Details:

Bios: Phoenix - Award Bios D686 v6.00PG
Bios Date: 09/21/05
Video Bios Date: 11/22/05

Motherboard: Foxconn 915A03 (915A01-P/915A03-P/915P7AC) 
Chipset (North Bridge): Intel Grantsdale Gi915GV
Processor: Intel Pentium 4 3GHz
Memory: 1GHz DDR SDRAM (memory type correct I think!)

Graphics Card: nVIDIA GeForce 6200 (256mb cache / memory)
Hard Drive: Western Digital WDC WD1600JS-55NCB1
DVD RW Drive: Sony DVD RW DW-G1
Wireless PCI Card: Belkin Wireless G Desktop Card Version 7000uk (rev 700f)
Ethernet Adapter / Modem: Smartlink 2800 (do not use)

Boot 1:

EIP [] kmap_atomic_prot+0x65xcc SS:ESP 0068:f6f2fe8c
---[end trace 71ac36db2592cbf  ]--
note: udevd[1397] exited with preempt_count 1
Fixing recursive fault but reboot is needed!

Boot 2:

EIP: [] native_apic_write+0xe/0x11 SS:ESP 0068:f6f27b9c
--[end trace 65a860b8278944e7  ]--
Fixing recursive fault but reboot is needed!


Boot 3:

EIP: [] native_apic_write+0xe/0x11 SS:ESP 0068:f6f47dac
--[end trace 0b0cb169ac33a17b  ]--
_

Upgrade to Internet Explorer 8 Optimised for MSN.  

http://extras.uk.msn.com/internet-explorer-8/?ocid=T010MSN07A0716U

Re: about a feature which I found in Gnome

2009-08-07 Thread Rob Owens
On Fri, Aug 07, 2009 at 03:45:46PM +0200, Wolodja Wentland wrote:
> On Thu, Aug 06, 2009 at 21:18 -0400, Rob Owens wrote:
> > On Thu, Aug 06, 2009 at 10:48:12AM -0600, Paul E Condon wrote:
> > > I like the way I can plug a USB device into a USB socket and have it
> > > mounted automatically within a few seconds. I expecially like the
> > > way a device that has a label given to it is mounted on a
> > > mount-point that is named with that label, and when I un-mount the
> > > device that mount point is removed from /media - all automatically.
> > > What are the packages that actually implement this feature? Can I
> 
> > apt-get install gnome-volume-manager then call it at the start of your
> > session like this:
> > 
> > /usr/lib/gnome-volume-manager/gnome-volume-manager -d yes
> 
> As i have detailed in a post [1] from June this year it is no longer
> possible to use g-v-m as packaged in Squeeze as automount daemon.
> 
Whoops, sorry for the misinformation.  I had tested it a few months back
on Lenny and it worked.

-Rob


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



Re: Configuring polkit-gnome-authorization without a root password

2009-08-07 Thread Ron Johnson

On 2009-08-07 08:41, Louis Housman wrote:

I've configured my Debian for Ubuntu (and Mac)-style system
administration, which means basically having the root account locked
(no password). I do all the "root" tasks via sudo or the graphical
gksudo front end.

However, I seem unable to configure System / Authorizations
(polkit-gnome-authorization) via this method. Polkit demands a root
password.

What changes do I need to make to my Debian setup that would allow me
to configure Authorizations without an explicit root password. I know
this is possible since this is how Ubuntu does it. Ubuntu allows the
"blessed" user (the user granted admin privileges via sudo) to
configure Polkit using the user's login password.


Serious, not-flippant response: if you like the Ubuntu Way, why not 
install Ubuntu instead of Debian?


--
Scooty Puff, Sr
The Doom-Bringer


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




Re: something wrong with my audio card

2009-08-07 Thread Ron Johnson

On 2009-08-07 08:25, oomengnan wrote:

Hello :
I am a debian user , Thanks for your hard-working .
I have a laptop ,HP CQ45-306TX ,I use Debian testing amd64
I use alsa + pulseaudio system .
and I have installed the flash play 10 for linux 64bit successfully.
Here are the problems I've encountered: When I open the websites
like youtube with SWF files in it , the  browser (iceweasel & opera)

> can load and play the SWF files, but it cannot play it
> fluently , and with the inpediment in sound and the video
> was stucked. I fail to close the browser safely for it was in

zombie process. So I have to kill the process with the command.
I used to install the Ubuntu linux in my laptop, and it worked
successfully.


Many people (including me) have found that Pulse Audio isn't "up to 
snuff".  Remove PA and try just using ALSA.


--
Scooty Puff, Sr
The Doom-Bringer


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




Re: question about Dash

2009-08-07 Thread John Magolske
>> I just tried `dpkg-reconfigure dash` and it broke some of my
>> wrapper scripts. At some point I'll make them POSIX compliant, but
>> until then I'd like to set my system back to what it was. I tried
>> `dpkg-reconfigure bash`, but a particular wrapper script is still
>> failing (worked fine before `dpkg-reconfigure dash`). Any suggestions
>> regarding how to set things back? I'm running sid.
> 
> dpkg-reconfigure -p low dash
> Answer "no" to the "Install dash as /bin/sh" question.
> Dash should then remove it's diversion of /bin/sh -> /bin/sh.distrib

Thanks! That did the trick.

> but you should really do as Siggy suggested and use "#!/bin/bash" as
> your shebang line if you don't have time to properly fix the script.

Good call, when I have a bit more time I'll change the shebang lines
in the relevant scripts to #!/bin/bash and set the default shell back
to dash. Then, when I have even more time I'll fix those scripts.

John


-- 
John Magolske
http://B79.net/contact


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



Re: Little OT : Software for Active Noise Cancelling or Reduction

2009-08-07 Thread Tzafrir Cohen
On Thu, Aug 06, 2009 at 09:39:18AM -0500, John Hasler wrote:
> Mark writes:
> > Is it technically not feasable, meaning that a room is too large to do
> > noise cancelling in, or not feasable from the linux software
> > prespective?
> 
> Noise-canceling headphones only cancel noise right at the headphones so
> the size of the room is not relevant.  Even so, dedicated DSP hardware
> is required.  A process running under Linux cannot possibly be fast
> enough.  It would have to process at least two samples per cycle of the
> highest frequency of interest.  It doesn't matter how powerful your
> processor is: the latency would kill you.

Considering audio voice processing is done at the host anyway, why not
also cancel acoustic echo?

http://speex.org/docs/manual/speex-manual/node4.html#SECTION0045

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


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



Re: Utility to decompress .ape files.

2009-08-07 Thread Sthu Deus
Thank You for Your time and answer, Gilles:

> You can decompress Monkey Audio files with maclinux.
> You can find informations here :
> http://aidanjm.wordpress.com/2007/01/26/using-monkeys-audio-ape-files-in-ubuntu/

Mac is the program from the package. If You did mean that.


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



Re: Utility to decompress .ape files.

2009-08-07 Thread Sthu Deus
Thank You for Your time and answer, Teemu:

> I have never used this myself but debian-multimedia repository [1] has
> monkeys-audio package which should do what you want.

mac program - of which I have spoken is of the package.


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



Re: question about Dash

2009-08-07 Thread Boyd Stephen Smith Jr.
In <20090807182009.gd2...@mail.b79.net>, John Magolske wrote:
>* Andrei Popescu  [090807 07:38]:
>> then just install dash, let it take over the /bin/sh symlink (run
>> 'dpkg-reconfigure dash' if you're on lenny) and enjoy the additional
>> speed. I've been doing this for years without ill effects. You will
>> also notice if any 'sh' scripts are using bash extensions ;)
>
>I just tried `dpkg-reconfigure dash` and it broke some of my
>wrapper scripts. At some point I'll make them POSIX compliant, but
>until then I'd like to set my system back to what it was. I tried
>`dpkg-reconfigure bash`, but a particular wrapper script is still
>failing (worked fine before `dpkg-reconfigure dash`). Any suggestions
>regarding how to set things back? I'm running sid.

dpkg-reconfigure -p low dash
Answer "no" to the "Install dash as /bin/sh" question.
Dash should then remove it's diversion of /bin/sh -> /bin/sh.distrib

If that doesn't work just do (as root):
ls -snf bash /bin/sh

That will fix up your /bin/sh symlink, but you should really do as Siggy 
suggested and use "#!/bin/bash" as your shebang line if you don't have time 
to properly fix the script.

/me recently fixed a *lot* of ksh scripts to use /bin/ksh instead of 
/bin/sh.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



signature.asc
Description: This is a digitally signed message part.


Re: question about Dash

2009-08-07 Thread Siggy Brentrup
On Fri, Aug 07, 2009 at 11:20 -0700, John Magolske wrote:
> * Andrei Popescu  [090807 07:38]:
> > then just install dash, let it take over the /bin/sh symlink (run
> > 'dpkg-reconfigure dash' if you're on lenny) and enjoy the additional
> > speed. I've been doing this for years without ill effects. You will
> > also notice if any 'sh' scripts are using bash extensions ;)
> 
> I just tried `dpkg-reconfigure dash` and it broke some of my
> wrapper scripts. At some point I'll make them POSIX compliant, but
> until then I'd like to set my system back to what it was. I tried
> `dpkg-reconfigure bash`, but a particular wrapper script is still
> failing (worked fine before `dpkg-reconfigure dash`). Any suggestions
> regarding how to set things back? I'm running sid.

Nope, my suggestion is: remove bashisms from that script or use
the #!/bin/bash shebang.

Regs
  Siggy
-- 
Please don't Cc: me when replying, I might not see either copy.
   bsb-at-psycho-dot-informationsanarchistik-dot-de
   or:bsb-at-psycho-dot-i21k-dot-de
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org


signature.asc
Description: Digital signature


Re: question about Dash

2009-08-07 Thread John Magolske
* Andrei Popescu  [090807 07:38]:
> then just install dash, let it take over the /bin/sh symlink (run
> 'dpkg-reconfigure dash' if you're on lenny) and enjoy the additional
> speed. I've been doing this for years without ill effects. You will
> also notice if any 'sh' scripts are using bash extensions ;)

I just tried `dpkg-reconfigure dash` and it broke some of my
wrapper scripts. At some point I'll make them POSIX compliant, but
until then I'd like to set my system back to what it was. I tried
`dpkg-reconfigure bash`, but a particular wrapper script is still
failing (worked fine before `dpkg-reconfigure dash`). Any suggestions
regarding how to set things back? I'm running sid.

Regards,

John


-- 
John Magolske
http://B79.net/contact


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



Re: Whats your name?

2009-08-07 Thread gaudencio abril
Check out my live webcam its free!! Check my cams Dear debianuser! Get Yourself 
a cool, short @in.com Email ID now!


Re: Utility to decompress .ape files.

2009-08-07 Thread Teemu Likonen
On 2009-08-07 17:43 (+0700), Sthu Deus wrote:

> I have a mac program that decompresses .ape files. But with a number
> of .ape files the program crashes and I see that it is no longer
> supported as the last version was of year 2007.
>
> Can You recommend an utility that can decompress .ape files to .wav or
> .flac beside the mac one?

I have never used this myself but debian-multimedia repository [1] has
monkeys-audio package which should do what you want. Package's
description:

Monkey's Audio is a highly efficient and popular lossless audio
codec.

It is a tuned compressor for audio, like mp3, ogg, etc - but
"lossless" in that it does not completely discard information, and
performs more of a "zipping" that can be reversed at any time and
generate the original source audio file (hence "lossless" vs
"lossy").

Features:
* Efficient (fast and great compression)
* Perfect sound - absolutely no quality loss
* Incorporates redundant CRC's to ensure proper decompression of
  data
* Tagging support - extremely flexible APE Tags

--- 
 1. http://www.debian-multimedia.org/


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



Re: Utility to decompress .ape files.

2009-08-07 Thread Gilles Mocellin
On Fri, Aug 07, 2009 at 05:43:03PM +0700, Sthu Deus wrote:
> Good day.
> 
> I have a mac program that decompresses .ape files. But with a number of .ape
> files the program crashes and I see that it is no longer supported as the last
> version was of year 2007.
> 
> Can You recommend an utility that can decompress .ape files to .wav
> or .flac beside the mac one?
> 
> Thank You for Your time.

You can decompress Monkey Audio files with maclinux.
You can find informations here :
http://aidanjm.wordpress.com/2007/01/26/using-monkeys-audio-ape-files-in-ubuntu/


signature.asc
Description: Digital signature


RE: vbetool post required in Stable but not in Sid - What changed?

2009-08-07 Thread Kushal Koolwal

> Probably X and/or the corresponding driver.
Perhaps it is not the X because this happens even when I suspend from
just a plain text console.

Regarding driver, I am not sure either. I am not using any type of
framebuffer driver (not even vesa). I am just suspending from the default
"ugly" console.

Kushal Koolwal

I do blog at http://blogs.koolwal.net/

_
Get back to school stuff for them and cashback for you.
http://www.bing.com/cashback?form=MSHYCB&publ=WLHMTAG&crea=TEXT_MSHYCB_BackToSchool_Cashback_BTSCashback_1x1

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



Utility to decompress .ape files.

2009-08-07 Thread Sthu Deus
Good day.

I have a mac program that decompresses .ape files. But with a number of .ape
files the program crashes and I see that it is no longer supported as the last
version was of year 2007.

Can You recommend an utility that can decompress .ape files to .wav
or .flac beside the mac one?

Thank You for Your time.


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



Re: question about Dash

2009-08-07 Thread Boyd Stephen Smith Jr.
In <20090807072350.ga17...@samad.com.au>, Alex Samad wrote:
>On Thu, Aug 06, 2009 at 11:24:18PM -0600, Paul E Condon wrote:
>> Recent mentions of dash on this list prompted me to try to learn more
>> about it.
>> I feel uncomfortable being so totally ignorant about an impending change
>> in Debian. I want to read something, but can't find anything to read.
>
>from my understanding
>
>dash is a posix compliant shell
>bash isn't - well it has whats called bash-isms

Both are POSIX compliant as far as I can tell.

>all scripts that work in
>sh should work in dash and bash
>dash should work in bash

This means that if you write a script using only POSIX features it will work 
on both shells.

>not all bash scripts will work in sh or dash

However, there are many, many bashisms (some of which are also kshisms) that 
work in bash but are NOT POSIX features.  Dash does not implement all of the 
bashisms (or kshisms), so it cannot run scripts using them.

For many years, /bin/sh was bash on Debian.  Because of this many users, 
maintainers, and developers got used to using bashisms even in scripts that 
were executed by /bin/sh.  (Bash does turn off some features when invoked as 
/bin/sh, but not many.)

Even users, maintainers, and developers that came from other OSes were used 
to some of these features.  The Korn Shell--ksh--has been the default user 
shell on many UNIXes, and sometimes was even used as /bin/sh.

As such, the vast majority of shell scripts are NOT POSIX compliant, so even 
with a POSIX shell as /bin/sh many scripts break.

>the first line is used to invoke a program to process the script for
>example
>
>there is name for this, but I can't remember it right now.

The "#!" is colloquially referred to as a shebang.[1]  In all known 
implementations of POSIX, "#!" as the first two characters in a shell script 
indicates that the rest of the line is used as the command interpreter.  
Implementations vary in how they do path lookup on this and how whitespace 
is handled and if/when the line is truncated.[2]

>Bashism - off the top of my head, I believe things like $(( - arithmetic
>expressions

three=$((1 + 2))
nine=$((three * 3))
twelve=$((38 / $three))

is a valid SUSv2 shell script.  Not sure about ISO POSIX.

"local" is a bashism.  ("local" is also a "dashism"; Debian policy requires 
/bin/sh to support lexically scoped environment variables.)
Array variables are a kshism inherited by bash
"<<<" is a bashism
print is a kshism inherited by bash

There are many others.  The Open Group publishes the Single Unix 
Specification (SUS), available free-of-charge from their website after a 
single registration form.  As holders of the UNIX trademark, they determine 
what is and what isn't "UNIX".  Part of being "UNIX" is conformance to the 
Single Unix Specification, which started as (and still is) POSIX plus 
extensions.  That document will tell you exactly what features you can 
expect from a UNIX shell (usually /bin/sh) -- anything not listed should 
normally be avoided (or you should specify what shell you want).
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/

[1] Unless you run the Linux distribution "#!" which they pronounce as 
crunch-bang.

[2] Oddly enough, using a #! line makes any shell script have "undefined" 
behavior and thus be--strictly speaking--POSIX non-compliant.  All known 
implementations of the POSIX standard use the #! line similarly, so 
#!/bin/sh works on all of them.


signature.asc
Description: This is a digitally signed message part.


Re: question about Dash

2009-08-07 Thread Paul E Condon
On 2009-08-07_11:20:25, Andrei Popescu wrote:
> On Thu,06.Aug.09, 23:24:18, Paul E Condon wrote:
> > Recent mentions of dash on this list prompted me to try to learn more
> > about it. I googled and learned that it has a different convention for
> > indicating that a file is a script that should be processed by
> > dash. This affects only the first line of a script.
>  
> The first line in a script *should* indicate what program is to be used 
> to interpret it. The most common script interpreter on a GNU/Linux 
> system is a "Bourne shell" (sh) *clone*. Both bash and dash are such 
> clones.  The downside to bash (the "Bourne again shell") is that it has 
> a *lot* of extensions, and even worse, it's using them even if called as 
> 'sh' (yes, it can tell if it was invoked as 'sh' or 'bash').
> 
> Dash ("Debian Almquist SHell") also has two or three extensions, but 
> these are specifically allowed by Debian Policy, it is about 10 times 
> smaller than bash and significantly faster.
> 
> Of course, you probably won't notice the speed difference on a three 
> line script.
> 
> > Is this the only difference in coding scripts? I know it is said to be
> > smaller and faster, which is good, but are there things that need to
> > be changed in a bash script, after the first line, in order to make it
> > into a proper dash script? What are they? Where can I learn what to
> > change in my scripts? Or is it just smaller and faster with no
> > conversion pain?
> 
> If your scripts do not use bash extensions (bashisms) and the shebang is
> 
>   #!/bin/sh
> 
> then just install dash, let it take over the /bin/sh symlink (run 
> 'dpkg-reconfigure dash' if you're on lenny) and enjoy the additional 
> speed. I've been doing this for years without ill effects. You will also 
> notice if any 'sh' scripts are using bash extensions ;)
> 
> A safer way to do this is to use the 'checkbashisms' script in the 
> package 'devscripts' first. Beware though that 'checkbashisms' is not 
> 100% sure. In the end you won't know unless you check the scripts 
> yourself (if you know what to look for) or just try to run them with 
> dash:
> 
> /bin/dash my_custom_script.sh
> 
> If you do find a script that doesn't work with dash (but does with bash) 
> you can:
> 
> 1. try to rewrite it in 'sh'
> 2. change the shebang to point to 'bash'
> 
> Option 1. is good if you want to make your scripts more portable.
> Option 2. is easier, especially on complex scripts.
> 
> BTW, this talk about 'dash' vs. 'bash' is NOT about the user shell (the 
> shell that is specified in /etc/passwd and started on login to the 
> console or when you open a terminal emulator). As a user shell dash is 
> NOT apropiate, unless you are running some embedded system with very 
> little storage/memory.

I looked at /etc/passwd on my lenny desktop and saw the root and my user,
pec, both have bash specified upon login. For me, there is no reason to
pursue this further. I was worried about maybe having to make a conversion
at an inconvenient time because bash was being removed from Debian, and
curious if there might be some benefit to me from converting. I'm now 
convinced that neither is true. 

If I ever think I could become a Debian package maintainer, learning to
work with dash will be something I have to do, but by then there will
be lots of package scripts in dash to study and copy from, I'm sure. 
And I am acutely aware that ignorance of dash is not the only condition
that I will have to remedy ;-)

Thanks.
-- 
Paul E Condon   
pecon...@mesanetworks.net


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



Re: Lenny Installation from USB Memory stick using DVD .iso image

2009-08-07 Thread Mark
Successfully installed Lenny using this method last night.  The only
post-installation tweak was to comment out the cd-rom line in
/etc/apt/sources.list so aptitude doesn't try to look at the usb memory
stick when looking for updates.

Other than that she worked like a charm.

Mark

On Fri, Aug 7, 2009 at 12:38 AM, Jochen Schulz  wrote:

> Mark:
> >
> > - used "shred" command to blank memory stick
> > - used GParted to create 2 partitions: (1) a 1 GB FAT16 partition that I
> > made bootable via Manage Flags; (2) the remainder (~6.6 GB) I formatted
> to
> > ext3
> > - followed the instructions here
> > http://www.debian.org/releases/stable/i386/ch04s03.html.en for the FAT16
> > partition.
> > - unmounted FAT16 partition, then mounted ext3 partition and copied dvd
> .iso
> > image into ext3 partition
> >
> > Booted from the USB stick and the Debian installer began.  Didn't install
> > yet (just tested to see if it booted to the .iso and it looks like it
> > started okay) but I anticipate this working when I try to install
> tonight.
>
> Thanks for sharing this. I would have thought d-i doesn't find the ISO
> that way. Very useful to know.
>
> J.
> --
> At night I go to the kitchen; specifically, the knife drawer.
> [Agree]   [Disagree]
> 
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkp72dwACgkQ+AfZydWK2zkk5gCfeihyeoIfuoJyzPufUyBQXHEy
> uLQAnjOR8aA7+wDAw73BlZJKcDFC1ua+
> =Rnid
> -END PGP SIGNATURE-
>
>


Re: Xorg is very slow.

2009-08-07 Thread Andrew Sackville-West
On Fri, Aug 07, 2009 at 09:00:58PM +0800, Magicloud Magiclouds wrote:
> Really? I am sorry, I did searched about "xorg 7.4 2.6.18", nothing
> useful came out
> Could you give me the google link? Thanks.

A google link won't help you. you are running a kernel that is several
years old with the latest xorg. there are bound to be
problems. Upgrade your kernel and then if the problem persists, ask
again. 

> > On Fri, 7 Aug 2009 16:41:06 +0800, Magicloud wrote in message
> > <3bd412d40908070141u4c2c2f7ase647a3cca0fb8...@mail.gmail.com>:
> >
> >> For some reason, I cannot upgrade my kernel
> >> Reconfiguring does not work.
> >> And, since it has been a long time, the log is gone

If you have problems upgrading your kernel, you should start a new
thread to discuss that. Be sure to include pertinent output from the
upgrade attempt. No one can help you if you do not provide the output
from the attempt to upgrade.

A


signature.asc
Description: Digital signature


Re: about a feature which I found in Gnome

2009-08-07 Thread Wolodja Wentland
On Thu, Aug 06, 2009 at 21:18 -0400, Rob Owens wrote:
> On Thu, Aug 06, 2009 at 10:48:12AM -0600, Paul E Condon wrote:
> > I like the way I can plug a USB device into a USB socket and have it
> > mounted automatically within a few seconds. I expecially like the
> > way a device that has a label given to it is mounted on a
> > mount-point that is named with that label, and when I un-mount the
> > device that mount point is removed from /media - all automatically.
> > What are the packages that actually implement this feature? Can I

> apt-get install gnome-volume-manager then call it at the start of your
> session like this:
> 
> /usr/lib/gnome-volume-manager/gnome-volume-manager -d yes

As i have detailed in a post [1] from June this year it is no longer
possible to use g-v-m as packaged in Squeeze as automount daemon.

The reason for that is that the Gnome developers migrated this
functionality to nautilus. Unfortunately it is not possible to run
nautilus as daemon without having it managing your "Desktop" as well. I
really wonder what g-v-m is used for these days then?!

If you want nautilus to manage your Desktop anyway you just have to
start it and you can use basically any WM or DE you like 

I am using halevt for automounting right now, but you will need to fix a
few bugs [2] in order to use it. These bugs are only related to the way
halevt is packaged within Debian right now and are easy to fix. Apart
from these problems halevt works like a charm and might be the most
lightweight solution for automounting removeable devices.

with kind regards

Wolodja

[1] http://lists.debian.org/debian-user/2009/06/msg00744.html
[2] http://bugs.debian.org/cgi-bin/pkgreport.cgi?package=halevt


signature.asc
Description: Digital signature


something wrong with my audio card

2009-08-07 Thread oomengnan
Hello :
I am a debian user , Thanks for your hard-working .
I have a laptop ,HP CQ45-306TX ,I use Debian testing amd64
I use alsa + pulseaudio system .
and I have installed the flash play 10 for linux 64bit successfully.
Here are the problems I've encountered:
When I open the websites like youtube with SWF files in it , the browser 
(iceweasel & opera) can load and play the SWF files, but it cannot play it 
fluently , and with the inpediment in sound and the video was stucked. I fail 
to close the browser safely for it was in zombie process. So I have to kill the 
process with the command.
I used to install the Ubuntu linux in my laptop, and it worked successfully. 
 
Here list some infomaiton of my hardware.

(command)$lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory 
Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express 
Graphics Port (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI 
Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio 
Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 
(rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 
(rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 
(rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 
(rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 
(rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 
(rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #6 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI 
Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 
03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation G98 [GeForce 9200M GS] 
(rev a1)
04:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI 
Express Gigabit Ethernet controller (rev 02)
06:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller
06:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller
06:00.3 System peripheral: JMicron Technology Corp. MS Host Controller
06:00.4 System peripheral: JMicron Technology Corp. xD Host Controller

Thank you !


Configuring polkit-gnome-authorization without a root password

2009-08-07 Thread Louis Housman
I've configured my Debian for Ubuntu (and Mac)-style system
administration, which means basically having the root account locked
(no password). I do all the "root" tasks via sudo or the graphical
gksudo front end.

However, I seem unable to configure System / Authorizations
(polkit-gnome-authorization) via this method. Polkit demands a root
password.

What changes do I need to make to my Debian setup that would allow me
to configure Authorizations without an explicit root password. I know
this is possible since this is how Ubuntu does it. Ubuntu allows the
"blessed" user (the user granted admin privileges via sudo) to
configure Polkit using the user's login password.

Thanks in advance.


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



Re: about a feature which I found in Gnome

2009-08-07 Thread Preston Boyington
Paul E Condon wrote:


> I like the way I can plug a USB device into a USB socket and have it
> mounted automatically within a few seconds. I expecially like the way
> a device that has a label given to it is mounted on a mount-point that
> is named with that label, and when I un-mount the device that mount
> point is removed from /media - all automatically.

I have used several different desktops and window managers, but recently
I've moved to using LXDE.  The file manager PCFileMan is extremely user
friendly.

I also have Compiz installed with LXDE.  I don't mind a little eye candy
occasionally, but I turn it off when watching movies in Smplayer.

a quick google shows this (older) article about the desktop.  you can
see the filemanager and such there.

http://www.desktoplinux.com/news/NS7428727466.html

-- 

Arrant Drivel - really, it's just trash...
http://www.arrantdrivel.com/

Where the road takes me - a highwayman's perspective
http://www.prestonboyington.com/


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



Re: Xorg is very slow.

2009-08-07 Thread Magicloud Magiclouds
Really? I am sorry, I did searched about "xorg 7.4 2.6.18", nothing
useful came out
Could you give me the google link? Thanks.

On Fri, Aug 7, 2009 at 7:28 PM, Arnt Karlsen wrote:
> On Fri, 7 Aug 2009 16:41:06 +0800, Magicloud wrote in message
> <3bd412d40908070141u4c2c2f7ase647a3cca0fb8...@mail.gmail.com>:
>
>> For some reason, I cannot upgrade my kernel
>> Reconfiguring does not work.
>> And, since it has been a long time, the log is gone
>> Now, even I only start a term and run top, Xorg takes about 60% of a
>> CPU. Is there any information like "New xorg does not work with
>> 2.6.18 kernel!"
>
> ..yes, google it, top-poster.
>
>> On Fri, Aug 7, 2009 at 7:40 AM, Arnt Karlsen wrote:
>> > On Thu, 6 Aug 2009 17:28:55 +0800, Magicloud wrote in message
>> > <3bd412d40908060228n6cb1b143nc9893c4a9dcb...@mail.gmail.com>:
>> >
>> >> Hi,
>> >>   I am using Debian Sid, with 2.6.18 kernel. A few days ago (two
>> >> weeks? maybe), when I apt-get upgrade, I noticed that some parts of
>> >> xorg were upgraded. Then the nightmare began.
>> >>   When I started firefox, the CPU usage was full, things were very
>> >> slow. I had to kill firefox, to make everything back to normal. The
>> >> firefox is all right, nothing wrong, I belive.
>> >>   Also is openoffice, picasa, etc...
>> >>   It seemed that, xorg now is using CPU to draw the screen. So,
>> >> anything with a complex
>> >>  UI will take all CPU usage.
>> >>   Any configuration that I should modify?
>> >>   Thanks.
>> >
>> > ..first of all, do a complete aptitude safe-upgrade, then
>> > an aptitude full-upgrade to emulate a dist-upgrade.
>> >
>> > ..you have an old junky Sid that sounds pretty much like a
>> > Microsoft shills bait attempt to prove Debian or GNU or GPL
>> > or Linux etc, bad. ;o)
>
> ..another hint is how they top-post.
>
> --
> ..med vennlig hilsen = with Kind Regards from Arnt... ;o)
> ...with a number of polar bear hunters in his ancestry...
>  Scenarios always come in sets of three:
>  best case, worst case, and just in case.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>
>



-- 
竹密岂妨流水过
山高哪阻野云飞


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



Re: about a feature which I found in Gnome

2009-08-07 Thread Clive Standbridge
> I like the way I can plug a USB device into a USB socket and have it
> mounted automatically within a few seconds. I expecially like the
> way a device that has a label given to it is mounted on a
> mount-point that is named with that label, and when I un-mount the
> device that mount point is removed from /media - all automatically.

> What are the packages that actually implement this feature? Can I
> simply install those packages and have the feature without having
> the rest of Gnome? Does it come automatically if I attempt to
> transition to Xfce, for example? I'm pretty sure the feature also
> comes with KDE, but that, I think, is unlikely to be free of
> un-desired features.

Alternatively install the usbmount package. It mounts/unmounts USB
storage on insertion/removal. Otherwise it keep out of your
face. usbmount has no GUI dependencies. It works a treat.

Just remember to "sync" before unplugging (of course that's important
for all automatic mount methods).


-- 


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



Re: Cannot start Xserver

2009-08-07 Thread Arnt Karlsen
On Thu, 6 Aug 2009 16:42:48 -0500, Cybe wrote in message 
<20090806164248.2ce57...@wizardstower>:

> On Thu, 6 Aug 2009 14:26:12 -0700 (PDT)
> geor  wrote:
> 
> > i will try to install Nvidia from non-free
> > and if gonna be something wrong i will post it back here.
> > Best Regards.
> > Geor.
> 
> In the meanwhile using the nv driver will get you back into X, if you
> so desire.

..and so _may_ the nouveau driver, which is in main and 
where the developers could use your feedback. ;o)
http://nouveau.freedesktop.org/wiki/

..is xserver-xorg-video-nouveau anywhere near experimental?

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


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



Re: Xorg is very slow.

2009-08-07 Thread Arnt Karlsen
On Fri, 7 Aug 2009 16:41:06 +0800, Magicloud wrote in message 
<3bd412d40908070141u4c2c2f7ase647a3cca0fb8...@mail.gmail.com>:

> For some reason, I cannot upgrade my kernel
> Reconfiguring does not work.
> And, since it has been a long time, the log is gone
> Now, even I only start a term and run top, Xorg takes about 60% of a
> CPU. Is there any information like "New xorg does not work with
> 2.6.18 kernel!"

..yes, google it, top-poster.

> On Fri, Aug 7, 2009 at 7:40 AM, Arnt Karlsen wrote:
> > On Thu, 6 Aug 2009 17:28:55 +0800, Magicloud wrote in message
> > <3bd412d40908060228n6cb1b143nc9893c4a9dcb...@mail.gmail.com>:
> >
> >> Hi,
> >>   I am using Debian Sid, with 2.6.18 kernel. A few days ago (two
> >> weeks? maybe), when I apt-get upgrade, I noticed that some parts of
> >> xorg were upgraded. Then the nightmare began.
> >>   When I started firefox, the CPU usage was full, things were very
> >> slow. I had to kill firefox, to make everything back to normal. The
> >> firefox is all right, nothing wrong, I belive.
> >>   Also is openoffice, picasa, etc...
> >>   It seemed that, xorg now is using CPU to draw the screen. So,
> >> anything with a complex
> >>  UI will take all CPU usage.
> >>   Any configuration that I should modify?
> >>   Thanks.
> >
> > ..first of all, do a complete aptitude safe-upgrade, then
> > an aptitude full-upgrade to emulate a dist-upgrade.
> >
> > ..you have an old junky Sid that sounds pretty much like a
> > Microsoft shills bait attempt to prove Debian or GNU or GPL
> > or Linux etc, bad. ;o)

..another hint is how they top-post.

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


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



Re: Little OT : Software for Active Noise Cancelling or Reduction

2009-08-07 Thread Micha Feigin
On Thu, 6 Aug 2009 06:08:50 -0400
Mark Neidorff  wrote:

> On Wednesday 05 August 2009 04:42 pm, John Hasler wrote:
> > M writes:
> > > i was considering to buy headphones with Active Noise Cancelling /
> > > Reduction.
> > >
> > > But before spend money, i'd like to know if there's a software that
> > > could do the same job (for free).
> >
> > No.  Not feasible.
> > --
> > John Hasler
> 
> Is it technically not feasable, meaning that a room is too large to do noise 
> cancelling in, or not feasable from the linux software prespective?
> 

Pretty much technically not feasable and from a scientific point of view, not 
even mathematical

Think of it this way, if you want to cancel a sound wave you and another sound
wave traveling in the same direction but inverted. Think of sea waves, you need
to invert the wave. If they travel at different directions they will cancel at
some points and add at others and may not even exist together at some places.
You would also get different effects at different wave lengths due to the
differing relative error.

This mean that you need to cancel the wave exactly at the source or on a
complete sphere around the source (with an accurate rendition on that sphere
which would mean nano speakers). The second problem is that you also need exact
measurements to create the cancellation wave, also on the entire sphere, and to
take account the delay between measuring and reacting (even assuming zero time
computation).

This is only partially feasible at the headphone level where the listener and
speaker are close together with a know orientation relative to the microphone,
minimizing the relative error, this also explains why you get noise reduction
and not noise cancellation and different effective with different noises
(depending on the uniformity, pitch and direction). A good algorithm also needs
to take into account where the speaker, microphone and listener are all
relatively located and take an assumption on the direction the noise is coming
from. 

It may be feasible to improvise noise cancellation headphones though, by
sticking a microphone on the headphones and feed the input back inverted with
the correct delay and volume. At this level it would only take some
electronics, no processor at all.

I don't have the time though to create a simulation at the moment to see if you
need some processor based optimization of not. It does sound like a fun test
though.

> Mark
> 
> 


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



/dev/usb/hiddev0 - linux-image-2.6.26-2-486

2009-08-07 Thread Csanyi Pal
Hi,

I want to use this software:
http://openprog.altervista.org/op.tar.gz

to use this hardware:
http://openprog.altervista.org/

I must to have
/dev/usb/hiddev0

so the 'op' software can to do job.

I'm using linux-image-2.6.26-2-486.

I'm try to load the kernel module
usbhid
but that don't create automatically the hiddev0 device.

Which kernel module to load to have
/dev/usb/hiddev0

device?

--
Regards, Paul Chany
http://csanyi-pal.info


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



print jobs missing line feeds

2009-08-07 Thread Jude DaShiell
It seems the reason everything now prints out on one line after the header 
prints is because the postscript file being created has had line feeds 
stripped out.  I saved the output of a2ps -r -o biglots.doc biglots.txt 
and ran file biglots.doc to find out it was postscript level 3.  So mv 
biglots.doc biglots.ps and ps2asccii biglots.ps showed the same thing that 
was hitting the printer, no line feeds everything on one line except the 
header and footer.  What can be done with cups to have it not strip line 
feeds in files?




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




Re: question about Dash

2009-08-07 Thread Siggy Brentrup
On Fri, Aug 07, 2009 at 11:20 +0300, Andrei Popescu wrote:
> On Thu,06.Aug.09, 23:24:18, Paul E Condon wrote:
> > Recent mentions of dash on this list prompted me to try to learn more
> > about it. I googled and learned that it has a different convention for
> > indicating that a file is a script that should be processed by
> > dash. This affects only the first line of a script.
>  
> The first line in a script *should* indicate what program is to be used 
> to interpret it. The most common script interpreter on a GNU/Linux 
> system is a "Bourne shell" (sh) *clone*. Both bash and dash are such 
> clones.  The downside to bash (the "Bourne again shell") is that it has 
> a *lot* of extensions, and even worse, it's using them even if called as 
> 'sh' (yes, it can tell if it was invoked as 'sh' or 'bash').
> 
> Dash ("Debian Almquist SHell") also has two or three extensions, but 
> these are specifically allowed by Debian Policy, it is about 10 times 
> smaller than bash and significantly faster.
> 
> Of course, you probably won't notice the speed difference on a three 
> line script.
> 
> > Is this the only difference in coding scripts? I know it is said to be
> > smaller and faster, which is good, but are there things that need to
> > be changed in a bash script, after the first line, in order to make it
> > into a proper dash script? What are they? Where can I learn what to
> > change in my scripts? Or is it just smaller and faster with no
> > conversion pain?
> 
> If your scripts do not use bash extensions (bashisms) and the shebang is
> 
>   #!/bin/sh
> 
> then just install dash, let it take over the /bin/sh symlink (run 
> 'dpkg-reconfigure dash' if you're on lenny) and enjoy the additional 
> speed. I've been doing this for years without ill effects. You will also 
> notice if any 'sh' scripts are using bash extensions ;)
> 
> A safer way to do this is to use the 'checkbashisms' script in the 
> package 'devscripts' first. Beware though that 'checkbashisms' is not 
> 100% sure. In the end you won't know unless you check the scripts 
> yourself (if you know what to look for) or just try to run them with 
> dash:
> 
> /bin/dash my_custom_script.sh
> 
> If you do find a script that doesn't work with dash (but does with bash) 
> you can:
> 
> 1. try to rewrite it in 'sh'
> 2. change the shebang to point to 'bash'
> 
> Option 1. is good if you want to make your scripts more portable.
> Option 2. is easier, especially on complex scripts.
> 
> BTW, this talk about 'dash' vs. 'bash' is NOT about the user shell (the 
> shell that is specified in /etc/passwd and started on login to the 
> console or when you open a terminal emulator). As a user shell dash is 
> NOT apropiate, unless you are running some embedded system with very 
> little storage/memory.
> 
> Regards,
> Andrei
> -- 
> If you can't explain it simply, you don't understand it well enough.
> (Albert Einstein)

I fully agree with Andrei in what he is saying (including his .sig :)
If interested, you might also whant to look at:

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

for historical background and more (even Bourne's macros making C look
like algol68).

Regs
  Siggy

-- 
Please don't Cc: me when replying, I might not see either copy.
   bsb-at-psycho-dot-informationsanarchistik-dot-de
   or:bsb-at-psycho-dot-i21k-dot-de
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org


signature.asc
Description: Digital signature


Re: Xorg is very slow.

2009-08-07 Thread Magicloud Magiclouds
For some reason, I cannot upgrade my kernel
Reconfiguring does not work.
And, since it has been a long time, the log is gone
Now, even I only start a term and run top, Xorg takes about 60% of a CPU.
Is there any information like "New xorg does not work with 2.6.18 kernel!"

On Fri, Aug 7, 2009 at 7:40 AM, Arnt Karlsen wrote:
> On Thu, 6 Aug 2009 17:28:55 +0800, Magicloud wrote in message
> <3bd412d40908060228n6cb1b143nc9893c4a9dcb...@mail.gmail.com>:
>
>> Hi,
>>   I am using Debian Sid, with 2.6.18 kernel. A few days ago (two
>> weeks? maybe), when I apt-get upgrade, I noticed that some parts of
>> xorg were upgraded. Then the nightmare began.
>>   When I started firefox, the CPU usage was full, things were very
>> slow. I had to kill firefox, to make everything back to normal. The
>> firefox is all right, nothing wrong, I belive.
>>   Also is openoffice, picasa, etc...
>>   It seemed that, xorg now is using CPU to draw the screen. So,
>> anything with a complex
>>  UI will take all CPU usage.
>>   Any configuration that I should modify?
>>   Thanks.
>
> ..first of all, do a complete aptitude safe-upgrade, then
> an aptitude full-upgrade to emulate a dist-upgrade.
>
> ..you have an old junky Sid that sounds pretty much like a
> Microsoft shills bait attempt to prove Debian or GNU or GPL
> or Linux etc, bad. ;o)
>
> --
> ..med vennlig hilsen = with Kind Regards from Arnt... ;o)
> ...with a number of polar bear hunters in his ancestry...
>  Scenarios always come in sets of three:
>  best case, worst case, and just in case.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>
>



-- 
竹密岂妨流水过
山高哪阻野云飞


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



Re: question about Dash

2009-08-07 Thread Andrei Popescu
On Thu,06.Aug.09, 23:24:18, Paul E Condon wrote:
> Recent mentions of dash on this list prompted me to try to learn more
> about it. I googled and learned that it has a different convention for
> indicating that a file is a script that should be processed by
> dash. This affects only the first line of a script.
 
The first line in a script *should* indicate what program is to be used 
to interpret it. The most common script interpreter on a GNU/Linux 
system is a "Bourne shell" (sh) *clone*. Both bash and dash are such 
clones.  The downside to bash (the "Bourne again shell") is that it has 
a *lot* of extensions, and even worse, it's using them even if called as 
'sh' (yes, it can tell if it was invoked as 'sh' or 'bash').

Dash ("Debian Almquist SHell") also has two or three extensions, but 
these are specifically allowed by Debian Policy, it is about 10 times 
smaller than bash and significantly faster.

Of course, you probably won't notice the speed difference on a three 
line script.

> Is this the only difference in coding scripts? I know it is said to be
> smaller and faster, which is good, but are there things that need to
> be changed in a bash script, after the first line, in order to make it
> into a proper dash script? What are they? Where can I learn what to
> change in my scripts? Or is it just smaller and faster with no
> conversion pain?

If your scripts do not use bash extensions (bashisms) and the shebang is

#!/bin/sh

then just install dash, let it take over the /bin/sh symlink (run 
'dpkg-reconfigure dash' if you're on lenny) and enjoy the additional 
speed. I've been doing this for years without ill effects. You will also 
notice if any 'sh' scripts are using bash extensions ;)

A safer way to do this is to use the 'checkbashisms' script in the 
package 'devscripts' first. Beware though that 'checkbashisms' is not 
100% sure. In the end you won't know unless you check the scripts 
yourself (if you know what to look for) or just try to run them with 
dash:

/bin/dash my_custom_script.sh

If you do find a script that doesn't work with dash (but does with bash) 
you can:

1. try to rewrite it in 'sh'
2. change the shebang to point to 'bash'

Option 1. is good if you want to make your scripts more portable.
Option 2. is easier, especially on complex scripts.

BTW, this talk about 'dash' vs. 'bash' is NOT about the user shell (the 
shell that is specified in /etc/passwd and started on login to the 
console or when you open a terminal emulator). As a user shell dash is 
NOT apropiate, unless you are running some embedded system with very 
little storage/memory.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: Etch to 5.0.2 upgrade failed - Encrypted filesystem will not boot

2009-08-07 Thread Siggy Brentrup
On Thu, Aug 06, 2009 at 19:21 -0500, Manoj Srivastava wrote:
> On Thu, Aug 06 2009, Siggy Brentrup wrote:
> 
> > On Tue, Aug 04, 2009 at 18:50 -0500, line...@halo.nu wrote:
> >> Hi -
> >
> >> I have a Debian Etch system which I recently upgraded to v5.0.2.
> >> The file system was encrypted with LUKS at install time.
> >
> > Please bear with me, I'm asking this out of curiousity.  Why did you
> > encrypt the full root FS?  I can understand that you want your $HOME
> > encrypted, to a lesser degree I can follow you even with /etc, /tmp
> > and /var, but why do you take the performance penalty on publically
> > available stuff?
> 
> Because I have /etc, /var/lib/dpkg, and /usr/local; all kinds of
>  things in /var and /tmp can be sensitive. I encrypt everything except
>  /boot -- even swap.
> 
> All this increases the work-factor fro Mallory -- now, it is
>  somewhat hard to even figure out where each encrypted partition begins,
>  and you can't see what exactly it is that I am running, and it makes
>  it a little harder to inject things on my machine that will be resident
>  in memory and steal the information.
> 
> Encryption is not just about confidentiality, it has an
>  integrity component as well.

Thanks Manoj, always I'm pleased to read your insights.  I assume with
Mallory you are referring to the charater from
http://en.wikipedia.org/wiki/Alice_and_Bob
I had to search for it, but am catching up quickly I hope.

Thanks
  Siggy
-- 
Please don't Cc: me when replying, I might not see either copy.
   bsb-at-psycho-dot-informationsanarchistik-dot-de
   or:bsb-at-psycho-dot-i21k-dot-de
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org


signature.asc
Description: Digital signature


Re: about a feature which I found in Gnome

2009-08-07 Thread Jochen Schulz
Paul E Condon:
> 
> What are the packages that actually implement this feature? Can I
> simply install those packages and have the feature without having the
> rest of Gnome? Does it come automatically if I attempt to transition
> to Xfce, for example?

Xfce has a checkbox somewhere in the settings GUI which reads something
along the lines of "Start Gnome services on login". That should do what
you want (and probably a little more).

J.
-- 
After the millenium I would tell lies only to those who deserved them.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: vbetool post required in Stable but not in Sid - What changed?

2009-08-07 Thread Andrei Popescu
On Thu,06.Aug.09, 14:13:56, Kushal Koolwal wrote:
 
> I am using the exact kernel (2.6.30) on Lenny and Sid. Now I would like to 
> know
> what exactly changed (if not the kernel) between Lenny and Sid that fixes the
> vbetool and hence the video BIOS initialization problem.

Probably X and/or the corresponding driver.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: question about Dash

2009-08-07 Thread Brian Marshall
On Fri, Aug 07, 2009 at 05:23:50PM +1000, Alex Samad wrote:
> the first line is used to invoke a program to process the script for
> example
> 
> #!/bin/bash
[...] 
> there is name for this, but I can't remember it right now.

A shebang: 

-- 
Brian


signature.asc
Description: Digital signature


Re: Safe-upgrade of "dash" fails

2009-08-07 Thread Sven Joachim
On 2009-08-06 17:29 +0200, Eric Gerlach wrote:

> On Thu, Aug 06, 2009 at 09:05:56AM +0200, Jack Knowlton wrote:
>> On Thu, August 6, 2009 8:02 am, Sven Joachim wrote:
>> > On 2009-08-06 00:11 +0200, Jack Knowlton wrote:
>> >
>> >> Coming back from a month-long trip, I decided to safe-upgrade my debian
>> >> unstable desktop. Among the hundreds of new packages, apt seemed eager
>> >> to
>> >> install (or upgrade, I'm not sure) dash.
>> >
>> > This is intended.
>> >
>> >> Unfortunately, something seems to have gone terribly wrong and I would
>> >> like to complete successfully the upgrade before rebooting the box.
>> >> Here's
>> >> what aptitude is complaining about:
>> >>
>> >> Unpacking dash (from .../dash_0.5.5.1-2.3_amd64.deb) ...
>> >> Adding `diversion of /bin/sh to /bin/sh.distrib by dash'
>> >> Adding `diversion of /usr/share/man/man1/sh.1.gz to
>> >> /usr/share/man/man1/sh.distrib.1.gz by dash'
>> >> dpkg (subprocess): unable to exec dpkg-deb to get filesystem archive: No
>> >> such file or directory
>> >
>> > That sounds as if you had lost dpkg-deb, which would be very worrisome.

Looking closer into it, this will also happen if you lose /bin/sh
because dpkg invokes dpkg-deb using execlp(3), and by studying the
eglibc code I found out that this function relies on /bin/sh to find the
program to execute in $PATH.

>> Fortunately, after a little digging, I found out aptitude symlinked
>> /bin/sh -> dash before actually installing it. Now everything's cool again
>> :D
>> 
>> -JK
>
> That *could* be a bug.  It may be worth looking to see if anyone else has seen
> it, and filing it if no-one has.  

There is already a bug report for this: http://bugs.debian.org/538822.

Sven


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



Re: Etch to 5.0.2 upgrade failed - Encrypted filesystem will not boot

2009-08-07 Thread Siggy Brentrup
On Thu, Aug 06, 2009 at 18:29 -0400, Andrew Reid wrote:
> On Thursday 06 August 2009 04:16:42 Siggy Brentrup wrote:
> > Please bear with me, I'm asking this out of curiousity.  Why did you
> > encrypt the full root FS?  I can understand that you want your $HOME
> > encrypted, to a lesser degree I can follow you even with /etc, /tmp
> > and /var, but why do you take the performance penalty on publically
> > available stuff?

>   I'm not the OP, but we do this at work because of policy --
> we require full-disk encryption for portable systems, and
> the dm-crypt scheme doing everything except /boot is considered
> acceptable under the guidelines.

>   I think the policy is this way partially because it's an
> easy line to draw, and doesn't involve a lot of guesswork. 
> There can also be "leakage" out of your home directory --
> applications sometimes store lists of recently-viewed
> documents in /var, and of course the system logs are 
> in /var/log, plus there are dynamic entries in some 
> config files, which might expose details of your network 
> enviornment -- where are *your* WPA credentials cached?

For the technical part: there's remote logging and you can use mount
-bind to relocate directories that should be encrypted.  I prefer
encrypting only the confidential stuff on a by document basis.

IMHO your employer's approach to security and confidentiality is easy
but wrong; it follows the lines "I want both, but don't bother me with
the details."  Recently I read a citation (sadly w/o attribution)
"Security is not a state, it's a process".

As for your question, I think you'll find the answer in my 2nd
paragraph you didn't cite here, I'll do it for you:

> > I for my part use a single encrypted 256MB FS on a flash device
> > that fits into my vaio's 'MagicGate'.  That's plenty of room for
> > stuff I want to keep secret [snip].

I don't use Wi-Fi with boxes that carry confidential information,
always unplugging the flash before turning the Vaio's wireless switch
on.

That said, I'd like to carry on the discussion of this IMHO important
topic but refrain from hijacking this thread.  If anybody is
interested, please drop me a private note at the 2nd address in my
.signature.  In case there's more interest than I like to see in Cc
headers, I'm willing to set up a MM list devoted to security and
privacy.

Thanks for listening
  Siggy

-- 
Please don't Cc: me when replying, I might not see either copy.
   bsb-at-psycho-dot-informationsanarchistik-dot-de
   or:bsb-at-psycho-dot-i21k-dot-de
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org


signature.asc
Description: Digital signature


Re: Lenny Installation from USB Memory stick using DVD .iso image

2009-08-07 Thread Jochen Schulz
Mark:
> 
> - used "shred" command to blank memory stick
> - used GParted to create 2 partitions: (1) a 1 GB FAT16 partition that I
> made bootable via Manage Flags; (2) the remainder (~6.6 GB) I formatted to
> ext3
> - followed the instructions here
> http://www.debian.org/releases/stable/i386/ch04s03.html.en for the FAT16
> partition.
> - unmounted FAT16 partition, then mounted ext3 partition and copied dvd .iso
> image into ext3 partition
> 
> Booted from the USB stick and the Debian installer began.  Didn't install
> yet (just tested to see if it booted to the .iso and it looks like it
> started okay) but I anticipate this working when I try to install tonight.

Thanks for sharing this. I would have thought d-i doesn't find the ISO
that way. Very useful to know.

J.
-- 
At night I go to the kitchen; specifically, the knife drawer.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: question about Dash

2009-08-07 Thread Alex Samad
On Thu, Aug 06, 2009 at 11:24:18PM -0600, Paul E Condon wrote:
> Recent mentions of dash on this list prompted me to try to learn more
> about it. I googled and learned that it has a different convention for
> indicating that a file is a script that should be processed by
> dash. This affects only the first line of a script.
> 
> Is this the only difference in coding scripts? I know it is said to be
> smaller and faster, which is good, but are there things that need to
> be changed in a bash script, after the first line, in order to make it
> into a proper dash script? What are they? Where can I learn what to
> change in my scripts? Or is it just smaller and faster with no
> conversion pain?
> 
> I'm actually not sure of the change in the first line. That is something
> that I inferred from some puzzling words in an email about getting a
> dash script to work that were made on a Ubuntu list back in 2006.
> 
> I feel uncomfortable being so totally ignorant about an impending change
> in Debian. I want to read something, but can't find anything to read.

from my understanding 

dash is a posix compliant shell
bash isn't - well it has whats called bash-isms

all scripts that work in 
sh should work in dash and bash
dash should work in bash

not all bash scripts will work in sh or dash

the first line is used to invoke a program to process the script for
example

#!/bin/bash

says start /bin/bash to process the script

#!/bin/dash 

etc

#!/usr/bin/awk  for awk
#!/usr/bin/perl  for perl 

etc etc

there is name for this, but I can't remember it right now.

Bashism - off the top of my head, I believe things like $(( - arithmetic
expressions

don't quote me on this - have a google  :)



> 
> 

-- 
The memory management on the PowerPC can be used to frighten small children.
-- Linus Torvalds


signature.asc
Description: Digital signature