ALSA: turn external amplifier on and off automatically?

2011-02-04 Thread Timo Juhani Lindfors
Hi list, I have an external amplifier that can be controlled using the commands remote_power amp on and remote_power amp off. I'd like to have ALSA automatically turn on the amplifier whenever something tries to play sound and to turn it off after some period of idleness. Is this possible? --

Re: how to rotate ogg/theora video 90 degrees? (PARTIAL SOLUTION)

2011-02-10 Thread Timo Juhani Lindfors
Timo Juhani Lindfors timo.lindf...@iki.fi writes: 3) Finally on the #theora IRC channel I was adviced to use both mencoder and mplayer with an intermediate file. wget http://ftp.acc.umu.se/pub/debian-meetings/2009/debconf9/low/1050_Lightning_talk_Redirecting_require.ogv mencoder

insserv: /home on NFS and local bind (DNS lookups fail on boot)

2010-08-06 Thread Timo Juhani Lindfors
With nfs:/home /home nfs defaults0 0 in /etc/fstab I get mount.nfs: Failed to resolve server nfs: Temporary failure in name resolution on boot. This is because I use local bind9 and /etc/resolv.conf has nameserver 127.0.0.1 I tried adding bind9 to the

Re: insserv: /home on NFS and local bind (DNS lookups fail on boot)

2010-08-06 Thread Timo Juhani Lindfors
Camaleón noela...@gmail.com writes: $namedbind9 Thanks for the effort but this does not seem to be enough: $ grep -Ev (^#|^$) /etc/insserv.conf $local_fs +mountall +mountoverflowtmp +umountfs $network+networking +ifupdown $named +named +dnsmasq +lwresd bind9

Re: insserv: /home on NFS and local bind (DNS lookups fail on boot)

2010-08-06 Thread Timo Juhani Lindfors
Camaleón noela...@gmail.com writes: Did you read the manual or the docs for insserv? Maybe we are missing some step to fully populate the new boot sequence :-? I did try but the man page does not really mention when symlinks are created. For example $ echo /etc/rc*/*bind9 /etc/rc0.d/K02bind9

Re: insserv: /home on NFS and local bind (DNS lookups fail on boot)

2010-08-06 Thread Timo Juhani Lindfors
Camaleón noela...@gmail.com writes: So we are doing something wrong here. It seems that /etc/init.d/mountnfs.sh does not actually call mount, it is done by /etc/network/if-up.d/mountnfs when a network interface is brought up. Should I try starting bind9 before network is brought up? That

Re: insserv: /home on NFS and local bind (DNS lookups fail on boot)

2010-08-06 Thread Timo Juhani Lindfors
Timo Juhani Lindfors timo.lindf...@iki.fi writes: Should I try starting bind9 before network is brought up? That sounds very counter-intuitive. Replying to myself here: this fails since bind9 says no networks configured. A hack that works for now seems to be to add if [ $(pidof named

Re: Missing many packages and libraries

2010-08-07 Thread Timo Juhani Lindfors
Brett Mahar brett.ma...@gmail.com writes: deb http://ftp.au.debian.org/debian/dists/lenny/ main contrib non-free deb http://ftp.de.debian.org/debian/dists/lenny/ main contrib non-free These are wrong. Try with a sources.list that only has deb http://ftp.de.debian.org/debian/ lenny main deb

Re: setting password via script

2010-08-10 Thread Timo Juhani Lindfors
emmanuel segura emi2f...@gmail.com writes: usermod -p $1$q.C/Xn5Q$AkvYZAwzTkpGF.Q9O/NC90 your_username The problem with this is of course that anybody in the system just saw your password in the process list :-) Watching /lib with dnotify is an easy way to trigger process listing every time a

Re: Lenny XDM won't start X: /tmp/.X11-unix has suspicious mode (not 1777) or is not a directory, aborting.

2010-08-11 Thread Timo Juhani Lindfors
Siju George sgeorge...@gmail.com writes: X: /tmp/.X11-unix has suspicious mode (not 1777) or is not a directory, aborting. I googled for this and found Problem gefunden, das Gruppen-SUID-Bit war für /tmp gesetzt. :-/ from

Re: How does Squeeze initialize PS1 ?

2010-08-20 Thread Timo Juhani Lindfors
Paul E Condon pecon...@mesanetworks.net writes: I'm debugging some bash scripts and reading the scripts that come as part of Squeeze installation. I find several places where there are statements the set a value from variable PS1, BUT all of them seem to be in scripts that only get executed if

Re: ssh error

2010-08-23 Thread Timo Juhani Lindfors
Vit vitr...@gmail.com writes: krb5int_utf8_lentab, version krb5support_0_MIT not defined in file Google search for this finds http://ibot.rikers.org/%23debian/20091126.html.gz where the issue was solved by reinstalling a few libraries. -- To UNSUBSCRIBE, email to

Re: playing ARF files

2010-08-23 Thread Timo Juhani Lindfors
mess-mate messm...@free.fr writes: I need playing back a lesson downloaded as an *.arf file. VLC can't (squeeze/amd64). Any other appl i don't knox ? file *.arf? mplayer *.arf? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact

Re: Verbatim 1TB external HDD

2010-08-23 Thread Timo Juhani Lindfors
Lisi lisi.re...@gmail.com writes: What would people recommend in this situation? Reformat or use FAT32? And if reformat, to what? I think that his slightly aged computer would probably blow a gasket if asked to use ext4, so am wondering about ext3. I bought a 1TB disk yesterday for the

how to rotate ogg/theora video 90 degrees? (having to reencode is ok)

2010-08-24 Thread Timo Juhani Lindfors
Hi, since openmoko does not support hardware rotation I thought I'd reencode videos for it and rotate them to fit to the 240x320 display mode. This turned out to to be somewhat tricky. In the following I use the shortest debconf9 video I could find as an example: 1)

Re: how to rotate ogg/theora video 90 degrees? (having to reencode is ok)

2010-08-24 Thread Timo Juhani Lindfors
Camaleón noela...@gmail.com writes: Have you tried by passing -sameq to ffmpeg? :-? Thanks for the idea but if I use -sameq then mplayer -ss 02:00 output.ogv starts from the beginning of the video and not at 2 minutes in the video. If I don't use -sameq then this works. The difference in the

Re: how to rotate ogg/theora video 90 degrees? (having to reencode is ok)

2010-08-24 Thread Timo Juhani Lindfors
Camaleón noela...@gmail.com writes: Uh? Weird... :-? Definitely. Anyway, I guess mencoder can rotate the video just in one step (without needing ffmpeging), have you tried to...? Yes, that was point 2 in my original email: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594110 mencoder

Re: how to rotate ogg/theora video 90 degrees? (having to reencode is ok)

2010-08-25 Thread Timo Juhani Lindfors
Camaleón noela...@gmail.com writes: Sure, so if you are facing problems with one video codec, you''ll have to use another one to bypass the bug or try another application that uses its own version of mencoder (i.e., Avidemux) ;-) avidemux is not in Debian, only in debian-multimedia.org. Afaik

Re: how to rotate ogg/theora video 90 degrees? (having to reencode is ok)

2010-08-25 Thread Timo Juhani Lindfors
Camaleón noela...@gmail.com writes: Okay. Change avidemux by any video editor using its own implementation of mencoder/ffmpeg as backend wich is available in Debian oss repo :-) http://svn.debian.org/wsvn/secure-testing/data/embedded-code-copies?op=file says that the following packages

Re: What creates /etc/exim4

2010-09-02 Thread Timo Juhani Lindfors
Kent West we...@acu.edu writes: What process creates these directories? Where does exim4-config store its $ dpkg -S /etc/exim4 exim4-config: /etc/exim4 should explain what creates it at least. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe.

Re: /home/user folder accidentally removed

2010-09-04 Thread Timo Juhani Lindfors
Fatih Tiryakioglu ftiryakio...@yahoo.com writes: I wanted to remove trash folder, but home folder/home/user is gone. There was only one user. I couldn't start any program. When I restarted computer, I couldn't login. How can I recover system. Please help.. 1) ctrl-alt-f1 2) login as root 3)

Re: Straw poll: What browser do you use?

2010-09-07 Thread Timo Juhani Lindfors
B. Alexander stor...@gmail.com writes: I'm just wondering, since firefox/iceweasel seems to be getting unusable. I have a 2.2GHz C2D box with an nvidia card at home, and a 3.0GHz C2D with a (lame) ATI card at work. I find that firefox (or xulrunner-stub) have memory leaks, and after a couple

Re: xset command setting not sticking

2010-09-08 Thread Timo Juhani Lindfors
Tech Geek techgeek12...@gmail.com writes: I have tried adding this to my /home/user/.xinitrc file: #!/bin/bash xset s off -dpms and made it executable: chmod +x .xinitrc but it is not able to retain the setting. Is xset the only X client when it is run? Xorg resets its state when the last

Re: xset command setting not sticking

2010-09-08 Thread Timo Juhani Lindfors
Tech Geek techgeek12...@gmail.com writes: The only other active' program running is the totem player playing a .avi file. No network/ethernet cable is attached to the system. How is totem playing when .xinitrc is run? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a

Re: How to use -dbg packages (and specifically libncurses5-dbg) ?

2010-09-15 Thread Timo Juhani Lindfors
Frédéric Boiteux fboit...@calistel.com writes: Does I have to redo the compilation before to test my program with libncurses5-dbg debug library ? No. libncurses5-dbg is not a library, it does not even contain code. It only contains the debugging symbols that were removed from libncurses5. At

Re: How to use -dbg packages (and specifically libncurses5-dbg) ?

2010-09-15 Thread Timo Juhani Lindfors
Frédéric Boiteux fboit...@calistel.com writes: It's what I would like to have, but in my gdb session, the symbols / data aren't available. When you start your gdb, do you have some info about gdb loading libncurses5 debugging symbols ? (gdb) shell pidof nano 23506 (gdb) attach 23506 Attaching

Re: How to use -dbg packages (and specifically libncurses5-dbg) ?

2010-09-15 Thread Timo Juhani Lindfors
Sven Joachim svenj...@gmx.de writes: Or is there something I forgot ? Not really, the problem is that libncurses5-dbg ships a special debug version of the library and no detached debugging symbols, unlike other -dbg packages. This is fixed in Squeeze, though. Ah, that explains why it worked

Re: umount without sync

2010-09-17 Thread Timo Juhani Lindfors
T o n g mlist4sunt...@yahoo.com writes: I saw that it is a common practice to issue sync several times before umount. I know it's a good practice, but is it really necessary? There have been some bugs afaik and a sync has been a workaround. If I copy a big chuck of file to my USB, then

Re: What tool would convert map coordinates ?

2010-09-19 Thread Timo Juhani Lindfors
Bernard bdebr...@teaser.fr writes: I need to convert map coordinates from Lambert II + to decimal degrees. I found a tool which works online on a web site, but the I use the proj command for my coordinate conversions. I have no idea if it supports what you need. -- To UNSUBSCRIBE, email to

Re: ps - Illegal Instruction

2010-09-19 Thread Timo Juhani Lindfors
Jerry Stuckle jstuc...@attglobal.net writes: I still have several problems, which may be related. The easiest one to find is an Illegal Instruction when I run a simple ps command. This occurs whether I run as a user or root. So gnome starts but ps fails? Very odd. Please 1) apt-get install

Re: ps - Illegal Instruction

2010-09-19 Thread Timo Juhani Lindfors
Jerry Stuckle jstuc...@attglobal.net writes: And as to the suggestions from other users to try another VM - that's not open for discussion unless you can tell my why the one that comes with Windows 7 doesn't work. It's fairly difficult to answer such a guestion, especially without source code

Re: installing a kernel on other than the current partition

2010-09-22 Thread Timo Juhani Lindfors
Hugo Vanwoerkom hvw59...@care2.com writes: So I want to install a Debian kernel on that unbootable partition. But how to install a kernel on a partition that is not booted? With chroot? Is that ever done? I've done it with chroot a few times. Should work generally just fine. If you are really

Re: renamed network interface eth0 to eth1

2010-09-22 Thread Timo Juhani Lindfors
Hugo Vanwoerkom hvw59...@care2.com writes: Why would udev rename the interface? MAC address was changed. See /etc/udev/rules.d/70-persistent-net.rules -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Re: Debian system modifications tmpfs

2010-09-24 Thread Timo Juhani Lindfors
Peter Smith peter.smith3882...@gmail.com writes: tmpfs /tmp tmpfs noatime,nodev,noexec,nosuid,mode=1777 0 0 noexec /tmp will surely break applications, no? Iceweasel is modified to use /tmp as cache, so when Iceweasel is loaded after a reboot it creates a folder named Cache in /tmp. How does

Re: transcoding flv to mp4

2010-10-05 Thread Timo Juhani Lindfors
Celejar cele...@gmail.com writes: ffmpeg -i example.flv example.mp4 I just get Unsupported codec for output stream #0.1 on debian unstable with ffmpeg 4:0.5.2-4. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact

Re: 2 identical GSM-modems discern.

2010-10-06 Thread Timo Juhani Lindfors
Sthu Deus sthu.d...@gmail.com writes: How do You convert the addresses into physical ports - if I have understood You correctly? The -t option shows usb topology: $ lsusb -t Bus# 8 `-Dev# 1 Vendor 0x1d6b Product 0x0001 Bus# 7 `-Dev# 1 Vendor 0x1d6b Product 0x0001 Bus# 6 `-Dev# 1

Re: Debian-506 sumsung ML-1510-700 printer driver not in list

2010-10-07 Thread Timo Juhani Lindfors
Johan Scheepers johans...@telkomsa.net writes: Debian-506 sumsung ML-1510-700 printer driver not in list. Does apt-get install splix help? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive:

Re: Howto add autostartup applications

2010-10-09 Thread Timo Juhani Lindfors
Johan johans...@telkomsa.net writes: On the internet I was informed to use update-rc.d. That is not suitable for programs that run as normal user. It is meant only for programs that are specifically meant to be run in the background. Are you using GNOME? -- To UNSUBSCRIBE, email to

Re: a data rate threshold tool?

2010-10-09 Thread Timo Juhani Lindfors
Zhang Weiwu zhangwe...@realss.com writes: $ threshold --rate 20KB/s data_source | my_greedy_application pv --rate-limit 20k data_source | my_greedy_application -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact

Re: Installing avahi-daemon crashes kernel, corrupts filesystem

2010-10-12 Thread Timo Juhani Lindfors
Jason Heeris jason.hee...@gmail.com writes: Should I recompile it with any kind of debugging information enabled, or does the Debian kernel already contain it? It depends on the architecture and debian version. Please post a proper bug report with reportbug that shows all the relevant version

Re: Installing avahi-daemon crashes kernel, corrupts filesystem

2010-10-12 Thread Timo Juhani Lindfors
[please keep this on the list] Jason Heeris jason.hee...@gmail.com writes: Kernel: Linux 2.6.32-5-486 Please install linux-image-2.6.32-5-486-dbg Qemu won't start, it can't find a framebuffer: (!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed -- No such file or

Re: Installing avahi-daemon crashes kernel, corrupts filesystem

2010-10-12 Thread Timo Juhani Lindfors
Jason Heeris jason.hee...@gmail.com writes: Yay. I'll build one on my PC. Ah. Qemu defaults to X. Copying the system image to some machine that runs X is probably the safest solution, you can then run qemu without any extra privileges.. Done, but avahi-daemon installs without a hitch

Re: Installing avahi-daemon crashes kernel, corrupts filesystem

2010-10-13 Thread Timo Juhani Lindfors
Jason Heeris jason.hee...@gmail.com writes: To save me more trouble, can anyone tell me what the key is to building a kernel exactly the same as what's in linux-image-2.6.32-5-486? I'm on a PC with amd64 arch, so I created a i386 chroot: I have personally used

Re: Configuration for firefox-bin

2010-10-14 Thread Timo Juhani Lindfors
#ZHAO LINA# zhao0...@e.ntu.edu.sg writes: I met one problem during start the iceweasel, but I do not know how to check it by a simple way, Please run ps -eo user,cmd | grep dbus ps -eo user,cmd | grep gconf and tell us the output. My guess is that your are not running dbus-daemon or gconfd.

Re: see what files are touched by a program

2010-10-18 Thread Timo Juhani Lindfors
Steven redalert.comman...@gmail.com writes: So you manually start program-A and program-A starts program-B right? Yes, exactly, I was not clear on that in my first message, but that is the case. Program-B will then read and write from/to a file, and I would like to know which file. I am