customise internationalization
Hi! I have Swedish language settings. I would like to partly change those. I want Swedish keyboard settings and all the date formats, currency, thousands separators, decimals and so on to conform to Swedish convention. But in programs I want all menus, messages, error messages etc in English. Is this doable, if so how? regards Andreas
pepperflashplugin-nonfree
Hi! I use Chromium 35.0.1916.153 Debian 7.5. I've installed pepperflashplugin-nonfree since the old flashplugin no longer works. The problem is chromium doesn't detect pepperflash. Does anyone know how to get it to work? regards Andreas Berglund
Re: webcamera not working
On 2012-01-10 23:04, Scott Ferguson wrote: Sorry for the long delay, haven't had a chance to respond until now. Is paste.debian.org the correct address? dns wouldn't resolv for me. My apologies. That should have been paste.debian.*net* not paste.debian.*org*. No worries. I put the output here instead http://pastebin.com/Yfs4zL5T Thanks. Everything there looks as it should be - for the camera. The result of ls /dev/video* is /dev/video0 Then device creation is fine, and accords with dmesg. It appears as if there isn't enough USB bandwidth for your device - try it in other USB ports. Use:- $ dmesg | tail -20 | grep ioctl to see when you've found a USB bus that's not overloaded. None of the usb ports worked. This is the output from vlc v4l2:///dev/video0 Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") Warning: call to signal(13, 0x1) [0x966120] main libvlc: Kör vlc med standardgränssnittet. Använd "cvlc" för att använda vlc utan gränssnitt. Blocked: call to setlocale(6, "") Blocked: call to sigaction(17, 0x7f768971ab50, 0x7f768971aab0) Blocked: call to setlocale(6, "") Warning: call to signal(13, 0x1) Warning: call to rand() Warning: call to rand() Warning: call to rand() Warning: call to rand() Warning: call to rand() [0xa748e0] v4l2 demux error: VIDIOC_STREAMON failed libv4lconvert: warning more framesizes then I can handle! libv4lconvert: warning more framesizes then I can handle! libv4lconvert: warning more framesizes then I can handle! libv4lconvert: warning more framesizes then I can handle! libv4lconvert: warning more framesizes then I can handle! libv4lconvert: warning more framesizes then I can handle! libv4lconvert: warning more framesizes then I can handle! libv4lconvert: warning more framesizes then I can handle! [0xa748e0] v4l2 demux error: cannot set input (Device or resource busy) [0xcaa340] v4l2 access error: VIDIOC_STREAMON failed libv4lconvert: warning more framesizes then I can handle! libv4lconvert: warning more framesizes then I can handle! libv4lconvert: warning more framesizes then I can handle! libv4lconvert: warning more framesizes then I can handle! libv4lconvert: warning more framesizes then I can handle! libv4lconvert: warning more framesizes then I can handle! libv4lconvert: warning more framesizes then I can handle! libv4lconvert: warning more framesizes then I can handle! [0xcaa340] v4l2 access error: cannot set input (Device or resource busy) [0xc8d4e0] main input error: open of `v4l2:///dev/video0' failed: (null) Before I got "v4l2: ioctl streamon failed: No space left on device" from vlc as well as from mplayer. Don't know what made that change. I still get that message from mplayer. I've tried the camera in windows and it works, reasonably it shouldn't work there either if it was due to a constraint on the bus bandwith. Test with:- $ vlc v4l2:///dev/video0 because vlc "just works", and if it doesn't, it'll usually provide instructive output. NOTE: the Debian VLC, *not* the multimedia-debian VLC. If, after trying all your USB ports you are still unable to solve the problem, please post the output from the following commands (all run as user):- $ uname -a $ vlc v4l2:///dev/video0 $ df -h Linux debian 3.0.11 #1 SMP Mon Nov 28 20:22:30 CET 2011 x86_64 GNU/Linux /dev/sda5 938M 308M 584M 35% / tmpfs 4,0G 0 4,0G 0% /lib/init/rw udev 3,9G 352K 3,9G 1% /dev tmpfs 4,0G 1,8M 3,9G 1% /dev/shm /dev/sda8 777G 571G 167G 78% /home /dev/sda121,9G 127M 1,7G 8% /opt /dev/sda112,2G 68M 2,0G 4% /tmp /dev/sda6 46G 20G 24G 46% /usr /dev/sda7 9,2G 177M 8,6G 2% /usr/local /dev/sda103,7G 635M 2,9G 18% /var Thanks for all the help! cheers -- 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/4f1041cd.2040...@gmail.com
Re: webcamera not working
On 2012-01-10 00:45, Scott Ferguson wrote: On 10/01/12 04:22, Andreas Berglund wrote: Hi! I have a logitech c910, kernel 3.0.11 and debian version 6.0.3. The camera doesn't seem to work with uvcvideo driver, I get "v4l2: ioctl streamon failed: No space left on device" no matter what program I use. I've tried switching the camera to different usb ports to get around the usb bus bandwith problem, but to no avail. It works under windows so it's not a hardware problem and I've read that this camera is supposed to work with the uvcvideo driver. Anyone got any ideas? regards Andreas Berglund $ vlc v4l2://`ls /dev/video*` *If* that fails, please post the output of the following commands to paste.debian.org and put the url of the paste into your reply:- $ dmesg | grep -i 'warn\|fail\|error\|usb\|video' $ ls /dev/video* Is paste.debian.org the correct address? dns wouldn't resolv for me. I put the output here instead http://pastebin.com/Yfs4zL5T The result of ls /dev/video* is /dev/video0 -- 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/4f0c685a.2020...@gmail.com
webcamera not working
Hi! I have a logitech c910, kernel 3.0.11 and debian version 6.0.3. The camera doesn't seem to work with uvcvideo driver, I get "v4l2: ioctl streamon failed: No space left on device" no matter what program I use. I've tried switching the camera to different usb ports to get around the usb bus bandwith problem, but to no avail. It works under windows so it's not a hardware problem and I've read that this camera is supposed to work with the uvcvideo driver. Anyone got any ideas? regards Andreas Berglund -- 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/4f0b223f.3060...@gmail.com
xorg configuration
I have xorg on autodetect, but it frequently gets things wrong about the resolution the monitor provides. When it gets things right is there any way to extract the configuration of the running instane of xorg into a configuration file? /Andreas -- 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/4e5a8f02.3080...@gmail.com
Re: bash quoting problems
On 2011-08-10 07:46, Ivan Shmakov wrote: Andreas Berglund writes: > I have a problem with the following sed snippet > sed -i s"|^\( *PATH="\)\(.*\)|\1$ADD:\2|" ~/profile-test > I need soft quotes in order for $ADD to expand and I also need to > math against one doublequote in the regexp in for $ADD to be put in > the corrct place. The double quote character within Shell's double quotes can be escaped with a backslash (“\”): sed -i "s|^\( *PATH=\"\)\(.*\)|\1${ADD}:\2|" However, one is by no means forced to use just one kind of quotes in Shell, so the following is also possible: sed -i 's|^\( *PATH="\)\(.*\)|\1'"${ADD}"':\2|' > Does anyone know how to do this? The questions like this are much more likely to be answered by the comp.unix.shell Usenet newsgroup folks. The newsgroup could be accessed either using some sort of newsreader software (Gnus, Alpine, SLRN, Icedove/Thunderbird, etc.), e. g.: Thanks I'll make sure to gain access to that news:comp.unix.shell nntp://aioe.org/comp.unix.shell/ Or with a Web browser, e. g.: http://www.webuse.net/frameset.php?ng=comp.unix.shell http://groups.google.com/group/comp.unix.shell -- 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/4e42dbe1.2060...@home.se
Re: bash quoting problems
On 2011-08-10 00:43, Bob McGowan wrote: On 08/08/2011 04:43 PM, Andreas Berglund wrote: Hi! I have a problem with the following sed snippet sed -i s"|^\( *PATH="\)\(.*\)|\1$ADD:\2|" ~/profile-test I need soft quotes in order for $ADD to expand and I also need to math against one doublequote in the regexp in for $ADD to be put in the corrct place. Does anyone know how to do this? You may want to consider putting the sed script in a file and using the -f script (or --file=script) option instead. Thanks I'll keep that in mind if I have another quoting problem :D No quoting needed. ;) -- 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/4e42da5c.30...@home.se
Re: bash quoting problems
On 2011-08-09 01:51, Bob Proulx wrote: sed -i s"|^\( *PATH=\"\)\(.*\)|\1$ADD:\2|" ~/profile-test The above seems like you are doing more than you need with the long match for (.*) and \2. It isn't needed. It is much more efficient to avoid matching a potentially infinite amount of data. Thanks for the tip, I just assumed sed does greedy matching. sed -i "s|^\( *PATH=\"\)|\1$ADD:|" ~/profile-test Sometimes quoting can be complicated. In which case it is often useful to drop out of double quotes and move to single quotes. sed -i "s|^\( *PATH="'"'"\)|\1$ADD:|" ~/profile-test That "'"'" looks scary but isn't. ..." '"' "... One double quote to stop the double quoted string. One single, one double, one single, to insert one double quote. Then another double quote to pick up the double quoted string. Thanks, I saw a recommendation to that effect when googling but didn't get how it worked until now. Or reverse it for the variable. Which is probably what I would do there. sed -i 's|^\( *PATH="\)|\1'"$ADD"':|' ~/profile-test Good thinking I'll keep that in mind :D Bob -- 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/4e42d9ea.2020...@home.se
bash quoting problems
Hi! I have a problem with the following sed snippet sed -i s"|^\( *PATH="\)\(.*\)|\1$ADD:\2|" ~/profile-test I need soft quotes in order for $ADD to expand and I also need to math against one doublequote in the regexp in for $ADD to be put in the corrct place. Does anyone know how to do 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/4e40749c.7020...@home.se
Re: IDT High Definition Audio Codec soundcard
On 2011-07-29 17:11, Camaleón wrote: On Tue, 26 Jul 2011 18:21:56 +0200, Andreas Berglund wrote: On 2011-07-25 18:10, Camaleón wrote: On Mon, 25 Jul 2011 18:01:16 +0200, Andreas Berglund wrote: Camaleón skrev 2011-07-24 16:16: (...) Anyway, what's your motherboard? Maybe you can start to look some tip from there... I don't know the brand but I do know it's an H67 Express Cross your fingers and as root, run: dmidecode | grep -i -e product -e manufacturer Greetings, This is the result if it gives any useful information Manufacturer: Hewlett-Packard Product Name: HPE-530sc (...) Mmm... is this your "little monster"? :-) Why yes it is :D http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02688298&cc=us&dlc=en&lc=en&product=5062758#N363 After searching a bit for that codec (IDT 92HD89E CODEC), you can try by editing "/etc/modprobe.d/alsa-base.conf" and add at the bottom "options snd-hda-intel model=ref", then restart and see if that works for you :-? I tried that and it didn't work. Not sure what to try next, Thanks for all the help, I really appreciate it. Greetings, -- 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/4e3457f9.6020...@home.se
Re: pointing Local Folders in icedove to /var/spool/mail/x
On 2011-07-29 18:25, Camaleón wrote: On Thu, 28 Jul 2011 17:23:27 +0200, Andreas Berglund wrote: I would like to point Local Folders in icedove to /var/spool/mail/my_spool_file but when I try it's greyed out, it doesn't seem to be a permission problem. Anyone have any suggestions? Hum... IIRC, this can be easily done by adding a new account of the "movemail" type. Greetings, Thanks worked great :D -- 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/4e345476.7020...@home.se
pointing Local Folders in icedove to /var/spool/mail/x
Hi! I would like to point Local Folders in icedove to /var/spool/mail/my_spool_file but when I try it's greyed out, it doesn't seem to be a permission problem. Anyone have any suggestions? /andreas -- 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/4e317eef.7040...@home.se
Re: IDT High Definition Audio Codec soundcard
On 2011-07-25 18:10, Camaleón wrote: On Mon, 25 Jul 2011 18:01:16 +0200, Andreas Berglund wrote: Camaleón skrev 2011-07-24 16:16: (...) Anyway, what's your motherboard? Maybe you can start to look some tip from there... I don't know the brand but I do know it's an H67 Express Cross your fingers and as root, run: dmidecode | grep -i -e product -e manufacturer Greetings, This is the result if it gives any useful information Manufacturer: Hewlett-Packard Product Name: HPE-530sc Manufacturer: PEGATRON CORPORATION Product Name: 2AB6 Manufacturer: Hewlett-Packard Manufacturer: Intel Manufacturer: A1_Manufacturer0 Manufacturer: Micron Manufacturer: A1_Manufacturer2 Manufacturer: Micron Manufacturer: NULL -- 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/4e2ee9a4.2030...@home.se
Re: IDT High Definition Audio Codec soundcard
Camaleón skrev 2011-07-24 16:16: On Sun, 24 Jul 2011 13:56:27 +0200, Andreas Berglund wrote: On 2011-07-23 13:55, Camaleón wrote: (...) Have you tried with the usual things (alsamixer/gnome applet volume control) to configure the Intel card? Ensure you are using the Intel card because you also have a secondary one, coming from nvidia HDMI ("cat / proc/asound/cards" will tell what's the default). Yes I have. The output from that is 0 [PCH]: HDA-Intel - HDA Intel PCH HDA Intel PCH at 0xfb30 irq 22 so I guess the intel one is the default. I've also tried running a live cd of the latest ubuntu version, that didn't work either. If we attend to the bug, Ubuntu 11.04 should be fine with this chipset. Anyway, what's your motherboard? Maybe you can start to look some tip from there... Greetings, I don't know the brand but I do know it's an H67 Express -- 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/4e2d934c.5080...@home.se
Re: IDT High Definition Audio Codec soundcard
On 2011-07-23 13:55, Camaleón wrote: On Fri, 22 Jul 2011 23:10:58 +0200, Andreas Berglund wrote: On 2011-07-22 17:35, Camaleón wrote: IDT is a very generic Sigma chipset. You will have to dig a bit into your system to find out more information about the codec it uses. For instance, give us the output of: cat /proc/asound/card0/codec#* | grep Codec aplay -L lspci -nn | grep -i audio Thanks for the help, I've attached the output of those commands result of cat /proc/asound/card0/codec#* | grep Codec Codec: IDT ID 76c7 (...) Mmm, that looks like a new sound codec or at least I've never seen that before. Have you tried with the usual things (alsamixer/gnome applet volume control) to configure the Intel card? Ensure you are using the Intel card because you also have a secondary one, coming from nvidia HDMI ("cat / proc/asound/cards" will tell what's the default). Yes I have. The output from that is 0 [PCH]: HDA-Intel - HDA Intel PCH HDA Intel PCH at 0xfb30 irq 22 so I guess the intel one is the default. I've also tried running a live cd of the latest ubuntu version, that didn't work either. I could only found an Ubuntu bug for a similar card/chipset: *** [IDT ID 76e7] Dell Latitude E5520 - No sound through internal speakers, sound is only from headphones output with Ubuntu 10.04.2 and 10.10 - update Lucid ALSA LBM to latest release (1.0.24) https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/792233 *** The bug points to the latest ALSA version but I'm not sure if that will solve your audio problem. To avoid messing up things, I would first try to load a LiveCD with the latest ALSA version (1.0.24) and see if that works. If yes, then consider upgrading ALSA for your Squeeze install. Greetings, -- 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/4e2c086b.7050...@home.se
Re: IDT High Definition Audio Codec soundcard
On 2011-07-22 17:35, Camaleón wrote: On Thu, 21 Jul 2011 20:50:50 +0200, Andreas Berglund wrote: 张启德(Zhang Qide) skrev 2011-07-21 16:17: On Thu, Jul 21, 2011 at 02:55:46PM +0200, Andreas Berglund wrote: Hi! I have the latest version of debian stable and I have an onboard IDT High Definition Audio Codec but I can't get it to work, does anyone know if there's support for it? If not is there any on the way or do I need to buy a new one? did you try "sudo alsactl init" ? see http://wiki.debian.org/ALSA Thanks for the tip, I just tried it and it didn't make any difference, still no sound coming out. IDT is a very generic Sigma chipset. You will have to dig a bit into your system to find out more information about the codec it uses. For instance, give us the output of: cat /proc/asound/card0/codec#* | grep Codec aplay -L lspci -nn | grep -i audio Greetings, Thanks for the help, I've attached the output of those commands result of cat /proc/asound/card0/codec#* | grep Codec Codec: IDT ID 76c7 result of aplay -L null Discard all samples (playback) or generate zero samples (capture) default:CARD=PCH HDA Intel PCH, HDA Generic Default Audio Device front:CARD=PCH,DEV=0 HDA Intel PCH, HDA Generic Front speakers surround40:CARD=PCH,DEV=0 HDA Intel PCH, HDA Generic 4.0 Surround output to Front and Rear speakers surround41:CARD=PCH,DEV=0 HDA Intel PCH, HDA Generic 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=PCH,DEV=0 HDA Intel PCH, HDA Generic 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=PCH,DEV=0 HDA Intel PCH, HDA Generic 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=PCH,DEV=0 HDA Intel PCH, HDA Generic 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers result of lspci -nn | grep -i audio 00:1b.0 Audio device [0403]: Intel Corporation Cougar Point High Definition Audio Controller [8086:1c20] (rev 05) 01:00.1 Audio device [0403]: nVidia Corporation Device [10de:0bea] (rev a1)
Re: IDT High Definition Audio Codec soundcard
张启德(Zhang Qide) skrev 2011-07-21 16:17: On Thu, Jul 21, 2011 at 02:55:46PM +0200, Andreas Berglund wrote: Hi! I have the latest version of debian stable and I have an onboard IDT High Definition Audio Codec but I can't get it to work, does anyone know if there's support for it? If not is there any on the way or do I need to buy a new one? did you try "sudo alsactl init" ? see http://wiki.debian.org/ALSA regards Andreas Berglund -- 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/4e2821d2.50...@home.se Thanks for the tip, I just tried it and it didn't make any difference, still no sound coming out. -- 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/4e28750a.5050...@home.se
IDT High Definition Audio Codec soundcard
Hi! I have the latest version of debian stable and I have an onboard IDT High Definition Audio Codec but I can't get it to work, does anyone know if there's support for it? If not is there any on the way or do I need to buy a new one? regards Andreas Berglund -- 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/4e2821d2.50...@home.se
Re: friend cannot see me on msn
Paul Johnson wrote: Andreas Berglund wrote: I just added a friend of mine on msn. I can see her and I can send messages to her but when I'm online it looks to her like I'm offline and none of her messages reach me. She tried to send an invitation to me several times but none of them reached me. I have no idea where to even begin looking so any help would be very much appreciated. The client I'm using is kopete 0.12.3, I don't know what client my friend uses but if you need to know I can ask her and I'd be happy to provide any other information that might be relevant. MSN was obsoleted years ago when XMPP became the standard for IM. Have you considered joining us in this millennium and dropping the proprietary IM systems entirely? Actually I haven't considered that ;-), at least not yet. I'm not a frequent user of IM so I have not kept up with developments in the field for a long time. Would that allow me to keep in touch with people on MSN cause there's no way I'm gonna be able to get my friend to switch? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: friend cannot see me on msn
Lachlan wrote: 2008/10/20 Andreas Berglund <[EMAIL PROTECTED]>: Hi! I just added a friend of mine on msn. I can see her and I can send messages to her but when I'm online it looks to her like I'm offline and none of her messages reach me. She tried to send an invitation to me several times but none of them reached me. I have no idea where to even begin looking so any help would be very much appreciated. The client I'm using is kopete 0.12.3, I don't know what client my friend uses but if you need to know I can ask her and I'd be happy to provide any other information that might be relevant. regards Andreas Berglund I have no idea about kopete but the best msn client i've used on linux is emesene. www.emesene.org Thanks for the suggestion, I'll try it. you can do everything in emesene that you can do with the actual microsoft client. be sure to look through the plugins and turn on what you want. had heaps of visibility issues with pidgin, amsn and a few others but none so far with this one. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
friend cannot see me on msn
Hi! I just added a friend of mine on msn. I can see her and I can send messages to her but when I'm online it looks to her like I'm offline and none of her messages reach me. She tried to send an invitation to me several times but none of them reached me. I have no idea where to even begin looking so any help would be very much appreciated. The client I'm using is kopete 0.12.3, I don't know what client my friend uses but if you need to know I can ask her and I'd be happy to provide any other information that might be relevant. regards Andreas Berglund -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: passing argument with brace expansion to script
Ken Irving wrote: On Sun, Jan 13, 2008 at 07:59:52PM +0100, Andreas Berglund wrote: Hi! I have a script to which I would like to pass an argument that contains brace expansion, but I want the expansion to be evaluated in the script, not before it gets passed along. Does annyone know how to do that? Generally single or double quotes will "protect" arguments against expansion in a shell command. The quotes are removed in the process, so the arguments should be available separately inside the script. Bash brace expansion is kind of a special case, though, and I'm not sure it'll work this way... Some simple tests would answer the question. Ken I have tried the traditional techniques with quotes, single and double, and backslashes and it does get the argument to the script unchanged, but then it won't get evaluated in the script for some reason, perhaps it's not possible? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
passing argument with brace expansion to script
Hi! I have a script to which I would like to pass an argument that contains brace expansion, but I want the expansion to be evaluated in the script, not before it gets passed along. Does annyone know how to do that? TIA Andreas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: preventing parport, parport_pc and lp frpom being loaded at boot
Roberto C. Sanchez wrote: On Sun, Jan 28, 2007 at 06:31:38PM +0100, Andreas Berglund wrote: Hi! I wish to prevent the modules mentioned in the subject from being loaded at boot. None of them are mentioned in /etc/modules so I don't know why they are getting loaded. I have read the manpages for modprobe, module-init-tools, update-modules and all the relevant programs I could think of but I haven't been able to find out why the modules are being loaded, so if someone could help me with that it would be great. If they are being loaded by hotplug/udev, you can prevent it by adding the module names to /etc/modprobe.d/blacklist. Thanks very much for the help. I tried your suggestion and I put 'blacklist modulename' on a line by itself in /etc/modprobe.d/blacklist for each module, but on bootup I got the message "modprobe: WARNING: /etc/modprobe.d/blacklist line x: ignoring bad line starting with 'blacklist'" and the modules still got loaded. Then I upgraded the module-init-tools to the etch version and the messages disappeared but the modules lp and parport still get loaded, only parport_pc is kept out of the kernel. Did I get the format of blacklist wrong or am I missing something else? regards Andreas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
preventing parport, parport_pc and lp frpom being loaded at boot
Hi! I wish to prevent the modules mentioned in the subject from being loaded at boot. None of them are mentioned in /etc/modules so I don't know why they are getting loaded. I have read the manpages for modprobe, module-init-tools, update-modules and all the relevant programs I could think of but I haven't been able to find out why the modules are being loaded, so if someone could help me with that it would be great. TIA Andreas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: how can i see booting messages ??
debian wrote: Hello, I still have problems with my new installation. There is some important information (i think) displayed just after grub starts booting about the hdd, but i can't see what it is because it goes to fast and it is too far up to go with CTRL-PageUP. So, is there i way that i can pause or stop the messages so that i seen what it is ? The Scroll Lock button pauses the messages. /Andreas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
can't load module sbp2 when running script from cron
Hi! I use a wrapper-script around rsnapshot to handle my backups, which I have attached. When run from the terminal it works great, but when run from cron it chokes because it can't load module sbp2. The error code I get from modprobe is 127 if that means anything to anyone. Does anyone have any idea why it would work from the terminal but not from cron? regards Andreas Berglund #!/bin/sh # Wrapper script around rsnapshot to deal with the fact that the backup-media # is removable backup_location=/media/backup # load firewire harddrive module err_msg=$(modprobe sbp2) ret=$? if [ "$ret" -ne 0 ] then logger -s -t backup-script "user = `whoami`, \$ret = $ret" logger -t backup-script -p cron.err "Failed backup at $(date): Couldn't load sbp2 module" logger -t backup-script -p cron.err "Failed backup at $(date): $err_msg" exit 1 fi # allow time for udev to create device file before we try to mount sleep 2 # See if $backup_location is mounted grep $backup_location /etc/mtab > /dev/null # if return value of grep is not 0 then $backup_location is not mounted if [ $? -ne 0 ] then err_msg=$(mount $backup_location) fi # Mount failed if [ $? -ne 0 ] then logger -t backup-script -p cron.err "Failed backup at $(date): Mount failed" logger -t backup-script -p cron.err "Failed backup at $(date): $err_msg" exit 2 fi if [ -e $backup_location/backup.lock ] then rsnapshot weekly else logger -t backup-script -p cron.err "Failed backup at $(date): Lockfile missing, probably wrong media" fi logger -t backup-script -p cron.err "Succesful backup at $(date)" umount $backup_location rmmod sbp2
Re: Deleting a Folder
Richard wrote: Lets say I have a folder that has about 400 items, from mp3 to xls sheets, to mpeg movies to .pdf files, all kinds of media types.. What command in Linux, can shred the whole folder and ALL of its contents, without me going into the folder and hand deleting items by group type. rm -r folder regards Andreas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: pop-up in kde startup 2 and canon pixma ip 1200 + canoscan
Brad Brock wrote: I'm sorry, I forget something in my previous post. I mean how to do it, to add a pop-up message when my user login. I use KDE. I don't know about the printer but for the pop-message you could put the following lines in the relevant startup file. xmessage ""& PID=$(ps ax|grep xmessage) wait $PID For gdm that is /etc/X11/gdm/Xsession regards Andreas Berglund Additional, I have canon printer ip 1200, where can I find the driver? My Canoscan Lide 25 scanner also need a driver. I use etch. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: can't install anything from testing
Florian Kulzer wrote: On Wed, Oct 04, 2006 at 23:12:24 +0200, Andreas Berglund wrote: [...] On Wed, Oct 04, 2006 at 07:39:34PM +0200, Andreas Berglund wrote: Hi! I recently reinstalled debian stable on my box, but I would like to run some packages from testing. But after the reinstall I can't install anything from the testing repository, I get messages of dependencies that can't be met for everything. I have searched google and the man pages for apt-* and dpkg for a clue but I havent found anything. Does anyone now what's going on on or where I should look for a solution? [...] This is my /etc/apt/preferences Package: * Pin: release a=stable Pin-Priority: 900 Package: * Pin: release a=testing Pin-Priority: -1 ^^ $ man apt_preferences 2>/dev/null | grep -A 1 'P < 0' P < 0 prevents the version from being installed My face is currently taking on a crimson colour ;-) I've discovered the problem isn't with apt, I just hadn't tested with enough packages. So the problem only lies with the particular packages I tried to install from testing. It didn't make any difference if I changed priority of testing to > -1 though. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: can't install anything from testing
Christian Pinedo Zamalloa wrote: On Wed, Oct 04, 2006 at 09:45:14PM +0200, Andreas Berglund wrote: Christian Pinedo Zamalloa wrote: On Wed, Oct 04, 2006 at 07:39:34PM +0200, Andreas Berglund wrote: Hi! I recently reinstalled debian stable on my box, but I would like to run some packages from testing. But after the reinstall I can't install anything from the testing repository, I get messages of dependencies that can't be met for everything. I have searched google and the man pages for apt-* and dpkg for a clue but I havent found anything. Does anyone now what's going on on or where I should look for a solution? Andreas Berglund In http://www.debian.org/doc you have the APT HOWTO and there is is esplained how to merge different repositories in a Debian box. Yes I know, I have read it. The problem is I'm following the instructions in that document, and installing packages from testing used to work without a hitch before my reinstall with the same settings as I have now. Odd. Please paste here your /etc/apt/sources.list, /etc/apt/preferences, and the commands which you have troubles with and so we would see if we could help you. This is my /etc/apt/sources.list # the main Debian packages. deb http://ftp.port80.se/debian/ stable main contrib non-free deb-src http://ftp.port80.se/debian/ stable main contrib # Testing deb http://mirror.aarnet.edu.au/debian/ testing main contrib non-free deb http://security.debian.org/ sarge/updates main contrib deb http://www.debian-multimedia.org stable main deb cdrom:[Debian GNU/Linux 3.1 r1 _Sarge_ - Official i386 Binary-1 (20051218)]/ unstable contrib main deb cdrom:[Debian GNU/Linux 3.1 r1 _Sarge_ - Official i386 Binary-2 (20051218)]/ unstable contrib main This is my /etc/apt/preferences Package: * Pin: release a=stable Pin-Priority: 900 Package: * Pin: release a=testing Pin-Priority: -1 regards Andreas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: can't install anything from testing
Andrei Popescu wrote: Andreas Berglund <[EMAIL PROTECTED]> wrote: Christian Pinedo Zamalloa wrote: On Wed, Oct 04, 2006 at 07:39:34PM +0200, Andreas Berglund wrote: Hi! I recently reinstalled debian stable on my box, but I would like to run some packages from testing. But after the reinstall I can't install anything from the testing repository, I get messages of dependencies that can't be met for everything. I have searched google and the man pages for apt-* and dpkg for a clue but I havent found anything. Does anyone now what's going on on or where I should look for a solution? Andreas Berglund In http://www.debian.org/doc you have the APT HOWTO and there is is esplained how to merge different repositories in a Debian box. Yes I know, I have read it. The problem is I'm following the instructions in that document, and installing packages from testing used to work without a hitch before my reinstall with the same settings as I have now. Maybe you should post an example output. This is the output I get when running "apt-get -t testing install openoffice.org" Reading Package Lists... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: openoffice.org: Depends: openoffice.org-core (= 2.0.3-6) but it is not going to be installed Depends: openoffice.org-writer but it is not going to be installed Depends: openoffice.org-calc but it is not going to be installed Depends: openoffice.org-impress but it is not going to be installed Depends: openoffice.org-draw but it is not going to be installed Depends: openoffice.org-math but it is not going to be installed Depends: openoffice.org-base but it is not going to be installed E: Broken packages regards Andreas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: can't install anything from testing
Christian Pinedo Zamalloa wrote: On Wed, Oct 04, 2006 at 07:39:34PM +0200, Andreas Berglund wrote: Hi! I recently reinstalled debian stable on my box, but I would like to run some packages from testing. But after the reinstall I can't install anything from the testing repository, I get messages of dependencies that can't be met for everything. I have searched google and the man pages for apt-* and dpkg for a clue but I havent found anything. Does anyone now what's going on on or where I should look for a solution? Andreas Berglund In http://www.debian.org/doc you have the APT HOWTO and there is is esplained how to merge different repositories in a Debian box. Yes I know, I have read it. The problem is I'm following the instructions in that document, and installing packages from testing used to work without a hitch before my reinstall with the same settings as I have now. Andreas Berglund -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
can't install anything from testing
Hi! I recently reinstalled debian stable on my box, but I would like to run some packages from testing. But after the reinstall I can't install anything from the testing repository, I get messages of dependencies that can't be met for everything. I have searched google and the man pages for apt-* and dpkg for a clue but I havent found anything. Does anyone now what's going on on or where I should look for a solution? Andreas Berglund -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Problem with identity in Korganizer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! After I changed "Full name:" and "Email address:" in Korganizers Main Configuration I keep getting the message "You are not the organizer of this event. Editing it will bring your calendar out of sync with the organizers calendar. Do you really want to edit it?" as soon as I add or edit an event, and the following if I delete an event "You are not the organizer of this event. Deleting it will bring your calendar out of sync with the organizers calendar. Do you really want to delete it?" And if I add, edit or delete a to-do item I get the question "Do you want to send a status update to the organizer of this task?". What do I change and how do I change it so that korganizer recognises the new name and email address as the organizer of events and to-dos? regards Andreas Berglund -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE7I1dOijagrQO0zERAnp4AKCLShG1OxV96iUNieDjY4PamOqaYQCgoeqm kwfoaYNZh7Zz9kLA7lEAYOg= =yRpN -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: install printer driver for konica minolta 2430 dl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wayne Topa wrote: > Jan Dinger([EMAIL PROTECTED]) is reported to have said: > >>The package name is "foo2zjs" (support for printing to ZjStream-based >>printers) >>http://packages.debian.org/cgi-bin/search_packages.pl?keywords=foo2zjs&searchon=names&subword=1&version=all&release=all >> >>You can donwload the file: >>http://linux.softpedia.com/progDownload/foo2zjs-Download-8802.html this >>is a source file >> >>I hope this can help. >> >>Jan >> > > Have you tried using alien on the rpm package? I just tried that and it worked like a charm, thanks Wayne. regards Andreas -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEnEPHOijagrQO0zERArfsAJ93CJRf5Gj6hMl7ZVozhYPXFlAMJQCgz7tz 6blXHrVyX6QjHQBGGqNkx60= =9czr -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: install printer driver for konica minolta 2430 dl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan Dinger wrote: > Under debian sid you can take the GPL driver from minolta, but the > problem is you donnt have the duplex funktion. > What is the package called? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEmwIsOijagrQO0zERArfKAKDwO6fE+zcXfDCBysKy88u90GR3tQCgl4bW E1aaxyplODiggpkwBqcxBZw= =JFIE -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
install printer driver for konica minolta 2430 dl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! I have just bought a konica minolta 2430dl, but the printer driver shipped by konica is in rpm format. I'd like to install it the debian way so is this driver available in the debian-archives under a name that I couldnt think to look for? regards Andreas -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEmv0GOijagrQO0zERAiKKAJ9UppVfCkN1iGAp8A2rNjeFBTK6swCfUhSf /FkI6bnEhqRuqFCLq6jaYlw= =h/1P -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: setting firefox as default kde webbrowser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John L Fjellstad wrote: > Andreas Berglund <[EMAIL PROTECTED]> writes: > > >>In the controlcenter I went to KDE Components/Component Chooser and I >>set Web browser to /usr/bin/mozilla-firefox. > > > Check what the /usr/bin/x-www-browser is set to. > You can change it using update-alternatives That was what was wrong, changing that did the trick! Thanks for the help. Andreas -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFElCbEOijagrQO0zERAvIGAKCXSWPEg88wfFlwrMR0OWssp0I4aACfW5HI JHQvuzCCArE5G02s4TbxkhI= =n/jb -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: setting firefox as default kde webbrowser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dion Le Blanc wrote: > Andreas Berglund wrote: > > >>-BEGIN PGP SIGNED MESSAGE- >>Hash: SHA1 >> >>Hi! >>I have set firefox as the default webbrowser but everytime I click a >>http link a konqueror window is opened before firefox. Is there anyway >>to avoid that? >> >>My kde version is 3.3.2 and my firefox version is 1.5.0.3 >> > > > > From memory 3.3 can be a bit of a pain that way,,,how have you set it ? In the controlcenter I went to KDE Components/Component Chooser and I set Web browser to /usr/bin/mozilla-firefox. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEk48fOijagrQO0zERAueuAJ0TPi/LIZM1r0ox/OHnViKi1lhx6gCbBtuK N2MdHztxZ7xPTzq5144bIz0= =C1kq -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
setting firefox as default kde webbrowser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! I have set firefox as the default webbrowser but everytime I click a http link a konqueror window is opened before firefox. Is there anyway to avoid that? My kde version is 3.3.2 and my firefox version is 1.5.0.3 regards Andreas Berglund -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEkxuEOijagrQO0zERAqjWAKDORzVOchGabZQQlE3KgRhI1cOlBgCfUaCn In4tDIVQT1r4U7NkF4adRI8= =KtSw -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
can't get wpasupplicant to authenticate against router using wpa-psk
Hi! I'm having some problems with wpasupplicant. I can't get it to authenticate against my wireless router using wpa-psk. I'm using a netgear wg311t with madwifi. I know it works because I have gotten it to work before. This is the message i get when starting wpasupplicant and running wpa_cli. "<2>Trying to associate with SSID 'myssid'" "<2>Authentication with xx:xx:xx:xx:xx:xx timed out." And if I run status in wpa_cli this is what I get: sid=xx:xx:xx:xx:xx:xx ssid=myssid pairwise_cipher=TKIP group_cipher=TKIP key_mgmt=WPA-PSK wpa_state=ASSOCIATING Supplicant PAE state=DISCONNECTED suppPortStatus=Unauthorized EAP state=DISABLED The versions of the software I'm using are kernel: 2.6.15 wpa_supplicant: 0.4.0-1 madwifi: revision 1391 The modules loaded pertaining to madwifi are: wlan_scan_sta wlan_tkip ath_pci ath_rate_sample wlan ath_hal I have attached my wpa_supplicant.conf to the end of the message. Thanks in advance for any help. regards Andreas Berglund ctrl_interface=/var/run/wpa_supplicant eapol_version=1 fast_reauth=1 ap_scan=2 network={ ssid="mysid" scan_ssid=1 proto=WPA key_mgmt=WPA-PSK #pairwise=CCMP TKIP pairwise=TKIP #group=CCMP TKIP WEP104 WEP40 group=TKIP psk=. } -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Is potato compatible with ATA-100 disks ???
Is potato compatible with ATA-100 disks ??? (My kernel is 2.2pre18) -- MVH Andreas Berglund Företagsdata i Åhus AB Tel:044-289465 Fax:044-242550 http://www.fdab.se http://www.torget.fdab.se