LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 12-30-2008, 11:52 AM   #1
Lord Estraven
Member
 
Registered: Aug 2004
Distribution: Pardus
Posts: 53

Rep: Reputation: 15
How to preload padsp for only one application?


To prevent various problems in Wine, I'd like to use OSS through PulseAudio, via padsp. I've tried preloading it with this line in /etc/profile:

Code:
export LD_PRELOAD=/usr/lib/libpulsedsp.so${LD_PRELOAD:+:$LD_PRELOAD}
But that causes stuff to fail when KDE starts. What can I put in /etc/profile or .bashrc to preload padsp only for Wine? If nothing can do that, how else can I make Wine always use padsp without having to run it from a console every time?

I'm using KDE on Pardus 2008.1, FWIW...
 
Old 12-31-2008, 12:53 AM   #2
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 669

Rep: Reputation: 134Reputation: 134
Quote:
Originally Posted by Lord Estraven View Post
To prevent various problems in Wine, I'd like to use OSS through PulseAudio, via padsp. I've tried preloading it with this line in /etc/profile:

Code:
export LD_PRELOAD=/usr/lib/libpulsedsp.so${LD_PRELOAD:+:$LD_PRELOAD}
But that causes stuff to fail when KDE starts. What can I put in /etc/profile or .bashrc to preload padsp only for Wine? If nothing can do that, how else can I make Wine always use padsp without having to run it from a console every time?

I'm using KDE on Pardus 2008.1, FWIW...
Nothing in /etc/profile and .bashrc will do.

But you can for example, move wine to wine.orig and create simple script wine, that called wine.orig with preloaded library,
Code:
#!/bin/sh
LD_PRELOAD=what_you_like /path/to/wine.orig
 
  


Reply

Tags
kde, oss, pulse, pulseaudio, wine


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Preload Applications Oxagast Linux - Software 5 04-29-2006 04:38 PM
amaroke without autostart or preload? Tom211 Suse/Novell 2 01-16-2006 04:11 AM
How to preload firefox during boot MrSavage Linux - Newbie 9 10-02-2005 02:18 PM
How to preload an application? LBS Debian 1 08-04-2005 07:59 PM
Can I create a empty /etc/ld.so.preload ? michael_util Linux - Software 1 01-20-2005 07:10 PM


All times are GMT -5. The time now is 11:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration