Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Running Foobar in Linux (Read 642503 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Running Foobar in Linux

Reply #300
The biggest problem I have with foobar2000 in wine right now is I can't manage to make the icons not ugly.  I've got all the fonts I'm using installed, but it still looks like ass (at least compared to native linux applications).



Is there some trick to this?


Somehow I got it looking purty.  I downloaded libpng13.dll and zlib1.dll from the columnsui page and did a sh winetricks gdiplus.

I had these before, but they must have have been the prettyfying versions.  Foobar2000 looks beautiful again (as good as Rhythmbox at least).

Running Foobar in Linux

Reply #301
I'm impressed how well foobar2000 runs on linux so far, even plugins are working with no problems such as audioscrobbler and many other plugins. Also I made a little tweaked Columns UI configuration from Windows to Linux  (+ ClearLooks theme on Wine desktop integration to make things look a bit more smoother)

Running Foobar in Linux

Reply #302
I've got foobar 9.5.2 running under both fedora11 and Ubuntu9.04

All media buttons work, thanks to the instructions in the first post. PanelsUI, Powerpanels and lyricshow working perfectly..

I can't right click on the foobar icon to see the menu... however i can see it when using the default interface.. was this always a panelsui problem? or a wine error?

Running Foobar in Linux

Reply #303
Is anybody else having problems with standard keyboard shortcuts? After about 30 mins of running foobar, if I enter a keyboard shortcut, even just ALT-F, it will either not respond or crash entirely. Thoughts?

Running Foobar in Linux

Reply #304
I've been having the problem, that sometimes keyboard shortcuts will not be recognized, but I never had crashes.
What distribution are you using? I'm using Ubuntu Jaunty.
Have you tried running foobar via the terminal to see if there are any helpful messages. Don't know what else you could try, I'm not really a Linux Guru.

Running Foobar in Linux

Reply #305
I can run foobar for hours and days at a time and have no problem with shorcuts like Ctrl+F or Ctrl+P (those are the only ones I regularly use).

Try running a second install of foobar with default settings and see if it makes a difference. Also try building a new .wine directory.

Running Foobar in Linux

Reply #306
I can run foobar for hours and days at a time and have no problem with shorcuts like Ctrl+F or Ctrl+P (those are the only ones I regularly use).

Try running a second install of foobar with default settings and see if it makes a difference. Also try building a new .wine directory.


Easier than a second install would just be moving the configuration file to something like foobar2000.cfg.backup.

Foobar will generate a new one with the default settings.

Running Foobar in Linux

Reply #307
moving/hiding/deleting the .cfg file will not bypass or remove third party components, which is one of the first things I do to debug foobar whenever I get a general problem such as this. For all intents and purposes the default foobar2000 installation is "known good". Working from this state and slowly rebuilding your configuration is a good way to isolate problems if you don't know where they are coming from.

also keep in mind that many problems are caused by wine incompatibilities with windows components such as GDI+, .NET, etc.

Running Foobar in Linux

Reply #308
I managed to get album art to work with conky while foobar2000 is playing songs (using the now playing simple component).



The three open documents in the screenshot give a basic idea of how it's done (borrowed part of the albumart script from a guy on the Ubuntu forums who was doing this for Rhythmbox).  All of the convert madness in the albumart script is just to round the corners and add a dropshadow.

Running Foobar in Linux

Reply #309
thank you for this very clear guide! although being new to linux i'm now able to run foobar 0.9.6.9 with a terratec aureon 7.1 universe on kubuntu 9.04/64bit and wine 1.1.27. great!

what i'm not so sure about is the sound-quality compared to running f2k under windows. i didn't do detailed tests yet, but my first impression is, that it doesn't sound like my windows setup.    i'm using alsa at the moment, jack crashes, when manually changing track in foobar.

anyway, what are your experiences? what setups do you guys use?
is there a place to get more detailed information on this topic?

Running Foobar in Linux

Reply #310
@solarlag
i had some background noise a while ago. but with all audio applications. it turned out that i just had to mute some controls in the ALSA mixer.
mute: frontmic, line-in, CD and PC-Speaker.
maximum: front, PCM and headphone
control the volume with the master.

like that the quality is perfect for me, but as soon as i turn one of the muted ones (see above) up i get a background noise.

hope that helps

welcome to linux

you might want to try some native alternatives. i use gmusicbrowser to play my music. great program. i only use foobar for my tag editing these days...

Running Foobar in Linux

Reply #311
thanks for your reply, Fifoxtasy! i will try your suggestions as soon as i get back to my linux machine.

i additionally installed windows on that machine (newly assembled last weekend) for testing purposes and the soundquality isn't better. there is background noise on both operating systems as soon as some action starts (dragging windows etc.) and the sound in general is somehow flat and hollow. maybe the cable connecting the card with the frontmodule isn't shielded enough. i think i have to talk to terratec about this issue.
so all this seems to be not related to the linux/wine/foobar combination. it's more a general problem with my hardwaresetup.

i remember gmusicbrowser from the days of my first experiences with linux, and yes, it's really nice...but i am so addicted to foobar. it is in fact the only app, that kept me for very long from changing completely to linux. maybe it's time to move on...   

Running Foobar in Linux

Reply #312
I recently stumbled across a script that will enable font smoothing for wine easily.. this is especially noticeable for example in Selection Properties headings.

Just thought I'd share.

Running Foobar in Linux

Reply #313
Hi all and thanks for this thread.
I made a little script to add files/folders in foobar from the Nautilus context menu. You should install the Nautilus-actions extension to add customized entries to the context menu.
I'm sure it's not perfect but it works on my linux (ubuntu) perhaps on yours too 

Code: [Select]
#!/bin/bash
#foobar2000.sh

# your installation directory
cd ~/.foobar2000/

if [ "$1" != "" ]; then
i="$@"
else
echo "No files"
exit 0
fi

#files
#add extensions if you want
for ext in .aac .mp3 .mp4 .ogg .flac .m4a .wma .mpc .wav .rar .zip; do
files=`echo $i | sed "s/$ext /$ext\" \"z:/g"`
i=$files
done

#folder
files=`echo \"z:$i | sed "s/ \//\" \"z:\//g"`

eval wine foobar2000.exe /add "$files\""

echo "Action: adding Directory or Files \"z:${files}\" to foobar2000"

exit 0


Save this script in where you want with the name: foobar2000.sh. and make it executable.

After, create a context menu item using the Nautilus Actions Configuration tool. Click on Add in the Nautilus Action configuration window, and in the Add a New Action dialog box, fill in the field like this:

Label: Send to foobar2000 (or what you want)
Tooltip: Send to foobar2000 (or what you want)
Path: /your/directory/foobar2000.sh
Parameters: %M

Next, click on the Conditions tab.:
Filenames: *
Mimetypes: */*
Check "both"
and check "appears if selection has multiple files or folders"

After, click on the Advanced conditions:
Check "smb (windwos file)"

Finally, click OK and close the Nautilus Actions Configuration tool. Now, when you right-click on a file or folder, you'll see the "Send to foobar2000, and clicking on it will add file and/or folder to foobar2000.


Hi, I got the script working but I have a problem:

1. I open foobar to listen to music.
2. I add files from Nautilus, and another foobar process opens with the added files in it.
3. Now I have two foobars playing music at the same time so I close the one I opened first.
4. If I now add files from Nautilus, they get added to the foobar like they should (without extra foobars opening)
5. If I close the foobar, I'm back to point one.

Is anyone else having this problem or have some idea why it happens?

Running Foobar in Linux

Reply #314
Great thread. I fully intend to come back to this whenever I decide to permanently make the switch over to Linux.

Running Foobar in Linux

Reply #315
Hi, I got the script working but I have a problem:

1. I open foobar to listen to music.
2. I add files from Nautilus, and another foobar process opens with the added files in it.
3. Now I have two foobars playing music at the same time so I close the one I opened first.
4. If I now add files from Nautilus, they get added to the foobar like they should (without extra foobars opening)
5. If I close the foobar, I'm back to point one.

Is anyone else having this problem or have some idea why it happens?


Maybe you've installed foobar in 2 differents directorys otherwise I do not see.
Or try to run script from command line perhaps you'll see an error message.

Running Foobar in Linux

Reply #316
I'm using f2k 0.9.6.9 with Crossover 8.0 in Ubuntu Karmic, and I am experiencing this sound stuttering/CPU spiking problem, bigtime!

It appears that Wine itself has overcome this problem (with subsequent updates since the start of this thread 2 odd years ago), but how come Crossover (the very latest too) is doing this, considering that Wine & Crossover are two sides of the same coin. Is there something I have missed in this topic (umm, there's many posts) on how to resolve this issue? Perhaps the problem exists only in Crossover and not in Wine (which would strike me as strange, but then again...).

Any help would be most appreciated.

Running Foobar in Linux

Reply #317
Have you tried using wine instead of crossover? This should be easily testable. Also, I'd recommend using "Hardware Acceleration: Emulation" and ticking "Driver Emulation" in winecfg. Also, not all changes in wine are merged/ported into the proprietary forks Cedega, Crossover and the like.
It's only audiophile if it's inconvenient.

Running Foobar in Linux

Reply #318
Have you tried using wine instead of crossover? This should be easily testable. Also, I'd recommend using "Hardware Acceleration: Emulation" and ticking "Driver Emulation" in winecfg. Also, not all changes in wine are merged/ported into the proprietary forks Cedega, Crossover and the like.


Okay. Thanks. I'll have a go at Wine. Color me surprised that the free version would appear to be "better" than the proprietary version. Makes me wonder "why the hell did I part with that $40!"


Running Foobar in Linux

Reply #320
Hi,

does anybody know if it is possible to associate an extension (.mp3, .flac, .wav...) to foobar in ubuntu karmic ?

Afaik it is possible to associate a file type with any (wine?) program (proprieties>open with>add appilication>use personalised command) but i tried with the command i found in the proprieties of my desktop foobar icon (env WINEPREFIX="/home/ptitlouis/.wine" wine "C:\Program Files\foobar2000\foobar2000.exe") and i tried many ways but i can't seem to make it work...

Sorry for bad english...

And in advance thanks for help.

It goes without sayin but i'm a total linux n00b :/ ^^

 

Running Foobar in Linux

Reply #321
Hi, anyone managed to make foo_spdif.dll work under wine? I am using the latest beta (1.1.0) of Wine.
Whenever I try to play an AC3 file, the receiver gives just noise, meaning the component definitely works, but something changes the output...

Update: Just made it to work.
Settings of Wine: ALSA, HW Acceleration: Emulation, Default Sample Rate: 48kHz/16 bit
Settings of foo_spdif: Ue DirectSound, do NOT select ALLOW Playback at 48kHz for 44.1kHz.

Update2: It worked only once. Now I can't make it to work again...

Running Foobar in Linux

Reply #322
Is anybody else having problems with standard keyboard shortcuts? After about 30 mins of running foobar, if I enter a keyboard shortcut, even just ALT-F, it will either not respond or crash entirely. Thoughts?

I have this problem too and the only third party component i am using is Columns UI and quicktag. I am using shortcuts for the rating and for moving/stopping next/current song. When it happens, music is still playing but the window and the shortcuts are not responding anymore. The only choice is to close the whole app and restart.
Because i have used foobar 8 or 9 month ago with even more components and the same settings, i think it's a problem with the wine version. I am using foobar 0.9.6 with Debian lenny.

Running Foobar in Linux

Reply #323
Hey, I've written up an installation guide for foobar2000 on Linux/Ubuntu, you can check it out here!

Running Foobar in Linux

Reply #324
Thank you, the hint towards WinePulse made foobar usable on my laptop