Results 1 to 3 of 3

Thread: Help with KDE?

  1. #1

    Default Help with KDE?

    I realize this is proprietary software, but the problem isn't with Skype but KDE.

    I recently installed the latest beta of skype downloaded from their website. Upon installation, I realized it didn't like my V4L2 video camera and so I wrote a shell script called 'skype' and put it in /usr/local/bin/

    The contents of the shell script were as follows:

    Code:
    #!/bin/bash
    LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype
    When I call the command skype from the command line, it preloads the library, enabling all to see my bad hair days

    However, when I run skype from the Run Command dialog(Alt+F2) in KDE, it loads skype from /usr/bin, ignoring my script. I verify this with the command
    Code:
    ps -aef | grep skype
    I'd prefer to be able to do this without changing the .desktop file, since I use /usr/local/bin for other testing stuff. (fixing the problem, not creating a workaround)

    I'm on a fairly fresh installation of 64-bit OpenSuSE 11.2 and have the necessary 32-bit packages installed.

    Any suggestions?

  2. #2
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: Help with KDE?

    What does your PATH environment variable look like? Apparently it's searching '/usr/bin' first, and it might help to move '/usr/local/bin' to the front of the PATH string.

  3. #3

    Default Re: Help with KDE?

    This is the value of my path environment variable:

    Code:
    /usr/lib64/mpi/gcc/openmpi/bin:/home/alex/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin
    It looks like /usr/local/bin is before /usr/bin:

    Code:
    cody@home:~> which skype
    /usr/local/bin/skype
    cody@home:~> cat `which skype`
    #!/bin/bash
    LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •