Jump to content

Foobar2000 Wine: Difference between revisions

From SameTeem
No edit summary
Line 33: Line 33:




Press the Add button  
Press the Add button and press the keyboard key you want. The same process can be used to make keyboard macros.
[[File:Foobar2000 Media Keys 2.png|left|thumb|Foobar2000 Media Keys Setup - KDE System Settings]]
[[File:Foobar2000 Media Keys 2.png|left|thumb|Foobar2000 Media Keys Setup - KDE System Settings]]


Line 44: Line 44:




Press the keyboard key you like


== Foobar2000 Crashes on Library Scan ==
== Foobar2000 Crashes on Library Scan ==


Seems to happen when adding hundreds of thousands of files at once, split in to smaller folders
Seems to happen when adding hundreds of thousands of files at once, split in to smaller folders

Revision as of 17:15, 30 April 2026

Media Keys/Keyboard Keys

Media keys do not work natively, simulate them by making the following four scripts.

#!/usr/bin/dash 
WINEDEBUG=-all PULSE_LATENCY_MSEC=170 STAGING_WRITECOPY=1 STAGING_SHARED_MEMORY=1 /usr/bin/wine "/home/user/.wine/drive_c/Program Files/foobar2000/foobar2000.exe" "/next" 
#!/usr/bin/dash 
PULSE_LATENCY_MSEC=50 STAGING_WRITECOPY=1 STAGING_SHARED_MEMORY=1 WINEDEBUG=-all /usr/bin/wine "/home/user/.wine/drive_c/Program Files/foobar2000/foobar2000.exe" "/playpause" 
#!/usr/bin/dash 
WINEDEBUG=-all PULSE_LATENCY_MSEC=170 STAGING_WRITECOPY=1 STAGING_SHARED_MEMORY=1 /usr/bin/wine "/home/user/.wine/drive_c/Program Files/foobar2000/foobar2000.exe" "/prev" 
#!/usr/bin/dash 
PULSE_LATENCY_MSEC=50 STAGING_WRITECOPY=1 STAGING_SHARED_MEMORY=1 WINEDEBUG=-all /usr/bin/wine "/home/user/.wine/drive_c/Program Files/foobar2000/foobar2000.exe"  

In KDE System Settings

  1. Press keyboard on the left hand side
  2. Press shortcuts
  3. Press Add New => Command or Script
  4. Press the choose button and find the scripts made above. Pick any name you like and press Add.
Foobar2000 Media Keys Setup - KDE System Settings





Press the Add button and press the keyboard key you want. The same process can be used to make keyboard macros.

Foobar2000 Media Keys Setup - KDE System Settings






Foobar2000 Crashes on Library Scan

Seems to happen when adding hundreds of thousands of files at once, split in to smaller folders