Jump to content

ianw1974

Admin
  • Posts

    14090
  • Joined

  • Last visited

  • Days Won

    8

Posts posted by ianw1974

  1. Will have to try it. Problem is the text file has one single line of all these numbers separated by spaces. It's a pity each number isn't on a separate line, then it might be easier to parse the file. For example, it would look like this:

     

     

    123456SA3456 098775443SA6666

     

    and so on instead of having each number on a separate line. A colleague went and did it with perl, so I'll have to play with this with the file they sent me and see what I can do :)

     

    I need to replace the SA in the middle.

  2. Will be interesting to see if anyone knows how I can do this :)

     

    I need to replace some text, the first 6 - 9 characters are numbers. Then there are two letters, of which then follow four more characters which are a mix of numbers. There is a possibility that the two letters that proceed the first 6 - 9 characters could occur in the last four, so need to make sure I only replace the first instance that follows the first 6 - 9 characters. I'm thinking of sed, but I'm not sure exactly how I can get it to find the 6 - 9 characters, and then replace the two letters with a new string.

     

    Any ideas?

  3. I tried constantly mucking around with pulse-audio, trying changes in all the usual places and no matter what I tried, the only success came when I got rid of it and thus was able to make the appropriate single change in Skype.

    Interesting fact that my audio throughout the various apps that use audio are working perfectly as I outlined. which leads one to think that pulse-audio is an unnecessary and waste of resource.

    As I also said, I believe that sound quality has improved. Unless someone can explain to me how I would be better off with having pulse-audio in my system, not someone elses with perhaps different needs and uses, then I wont even consider reinstalling pulse-audio. I remember way way back during the introduction of pulse-audio that the benefits of the use of pulse-audio was questionable. I now think it is questionable still. It was described as a great way to make a system that was reasonably operable, vastly more complicated for no really proven benefit. I am starting to think that that is still the case.

    If that was not the case then how come all my various audio using programs are still working perfectly and even seem to be improved without Pulse-audio ??.

     

    Cheers. John.

     

    P.S. My webcam has its own inbuilt stereo microphone unlike other webcams that have mono mikes or use external mikes. Pulse-audio was constantly pointing to an imaginary external microphone. namely Microphone 1 or Microphone 2 instead of allowing me to point to the Webcam device itself

     

    John, it depends on the distro and their implementation of pulseaudio. I've seen good and bad implementations of it. Admittedly its much better now than it used to be, but there are a still a few issues, the microphone being one. Mostly though, it's OK.

  4. Skype can work with PulseAudio. You just need to know where to set the options for the microphone. Under the sound setup you sometimes have to look and see how many Microphone options there are, sometimes there are two to choose one and switching from one to the other would give you what you needed to use.

     

    I'm using Skype with Pulseaudio, have audio and video working fine. Just you need to look in a different place for the configuration, not in skype.

  5. If she's running Skype 4.2 it's a pain the lag is bad. We removed it from our Windows computer and downgraded to 4.0 or 4.1 because 4.2 sucked big time. Chances are this is what you are experiencing. Solution, downgrade 4.2 and disable the option for automatic updating.

     

    I haven't checked to see if there is anything newer than 4.2 to see if the problem goes away, and I don't want to try and then have to go to the hassle of removing and reinstalling 4.1 again.

  6. I expect that if snapshots are not enabled, then in general it's not doing anything. The daemon is running and that is all. The same on my laptop with Evolution Notify, that is there for calendar alarms. Now if I was using Evolution, it would be perfectly fine to have it enabled, as I would want to know about alarms that I had set. But as I'm not, the daemon is running but I'm not using it.

     

    You can safely remove it, to free up the little memory that the daemon is using. You have no scheduled jobs or anything, so no backups are being made - as you've not configured it.

  7. You don't need to switch to runlevel 2 using init 2 to do this. You can just log out of X and just CTRL-ALT-F1 to the console, login as your regular user and remove the .kde4 directory. Then just switch back to X with ALT-F7. No reboot required either.

  8. Well it seems you are using the intel driver according to your config. However, for sure, check /var/log/Xorg.0.log for more info and problems. Ideally, lines with WW or EE are ones to look for. Eg:

     

    cat /var/log/Xorg.0.log | grep EE
    cat /var/log/Xorg.0.log | grep WW

     

    to filter for these lines. Alternatively, open the whole log file, and see if you can find anything relating to intel, i810, i915, etc.

  9. You'll have a hard job with the 2006 minimal, as you'd need to upgrade via many versions:

     

    2006 - 2007

    2007 - 2008

    2008 - 2009

    2009 - 2010

     

    and you can't upgrade by more than two versions. So if 2006.0 you'd have to upgrade at max to 2007.0. You couldn't do 2006.0 to 2007.1 for example.

     

    and I think a lot of them won't be available on urpmi mirrors, but you could make a mirror yourself easy enough and use this for the urpmi tasks. It's enough just to have an FTP or HTTP server running, and mount the CD/DVD repo is accessible and then upgrade this way. Then later, once you're at 2009 or 2010, you can then clear the local mirror and use an internet mirror for further updates.

     

    Haven't used OpenVZ enough to explain how to make yourself 2010 outright.

  10. Ubuntu had something similar, that when you tried to play something in Totem or similar it would say that there is no codec and offer that you can install from Fluendo or the free codecs. I guess something here with yours is just offering the Fluendo codec and not the alternative. Haven't used Amarok for years, but could find out what codecs it's attempting to use (maybe gstreamer) and install the appropriate ones and see if it works.

  11. From here: http://en.gentoo-wiki.com/wiki/Quanta_plus_under_KDE_4

     

    Updated 24 May 2011

     

    When it comes to professional web developing, Quanta Plus has some unreplaceable features that make it a great choice for developers that don't stick only on php-ish based web sites. But Quanta, at the time of writing, is not yet ported to KDE 4, and the road to get it there seems long. That's why lot of developers still stick to KDE 3.5. This guide will attempt to help you make Quanta Plus work under KDE 4. At the time the article has been updated to work under KDE 4.6.

     

    Some people are using KDevelop instead.

  12. Could be, but I have 4.0.x anyway so should have been OK. Downloaded the DVD just now, so building a new machine with this, and will see what happens. Not given up so easily :)

     

    But that post does confirm that unless you have the DVD you don't have the ability to install the system under VirtualBox, because you're missing the relevant kernel-devel packages, etc, which enable you to build the guest additions.

     

    EDIT:

     

    It seems after install from the DVD, everything works fine. So, the Dual Arch CD is certainly missing something which doesn't allow you to use this particular CD for installing in VirtualBox. The DVD is required, which is kind of sad, since it means I have to download 4GB, instead of 700MB. So now can do a bit of testing now.

×
×
  • Create New...