Software – LinReaper

I don’t get to write much software these days, as I spend most of my time on music, but here’s what I have made.

LinReaper

LinReaper is an installer for Reaper for Linux.

It installs Reaper in a user selectable folder along with a self-contained instance of Wine (linked to the system version, though non-interfering) and sets up clever scripting to make Reaper understand UNIX paths, commandline options, standard configuration directories and associates .rpp, .rpp-bak and .reapeak files with Reaper, making Reaper appear almost as a standard UNIX program.

I’ll give a description of how the scripting works, both for anyone interested, and also to help me remember it all

.

LinReaper will create the following directories:

InstallDir – containing:

  • .wine (the actual $WINEPREFIX, containing what would normally be in $HOME/.wine
  • .winelib (our local version of /usr/lib/wine, making sure WineAsio doesn’t interfere with the system)
  • .configuration_dir (a file containing only one line, the name of the dir in $HOME/.config (the same name as the base name of the install dir of Reaper, usually just “reaper”) – this file is also used as the indicator of whether Reaper is configured or not)
  • reaper (a link to .wine/[NAME OF PROGRAM FILES IN YOUR LANGUAGE]/Reaper)
  • ColorThemes (a link to reaper/ColorThemes)
  • Data (a link to reaper/Data)
  • Effects (a link to reaper/Effects)
  • Plugins (a link to reaper/Plugins)

$HOME/.config/[REAPER INSTALL DIR NAME]

The launcher wrapper script for Reaper will automatically create this directory for the user running the launcher and link “InstallDir/.wine/[WINDOWS PROFILE DIR]/$USER/[APPLICATION DATA]/REAPER” to it. This ensures that all users will have their own settings, in the standard UNIX path.

On first run, it will also link the Wine Desktop, My Documents, My Pictures and My Videos dirs to their Linux counterparts, checking for similar named dirs in $HOME and falling back to either XDG USER DIR settings if set, and simply $HOME as a last resort.

The wrapper script will also copy a basic Reaper.ini file to the directory containing sane defaults for Linux (Audio setup, GUI fixes and VST dirs) on first run.

The VST dirs are set to /usr/lib/vstwin32 and $HOME/.config/[REAPER INSTALL DIR NAME]/vst as standard.


12 Responses to “Software – LinReaper”  

  1. 1 toedaddy

    thanks you rock

  2. 2 MoCrippa

    Hi there,

    Any chance you know why EZ Drummer doesn’t find any sound library on Linreaper installation? I’ve tried to search the net but haven’t found any answers. I also tried symlinks from the installation folder on C: via wine directory, no luck.

    Thanks in advance

    MM

    • 3 Dannie

      I’ve never used EZ Drummer, but something that might help is looking through your Windows installation’s registry and see if it has placed any values there, export them and import the, into the LinReaper Wine installation (using regedit).
      Also look out for folder others than the actual installation folder – I’ve seen plugins place stuff in the root of C:\ and different places in the user folders (C:\User\[USERNAME]\ (Vista), C:\Documents and Settings\ and C:\Windows\Profiles\[USERNAME]) – copy or symlink whatever you find to their matching Wine locations.

      Hope this helps, and good luck :)

      – Dannie

  3. 4 tobler

    Hi Cyb, your software really rocks! But unfortunately I need to uninstall reaper and everything related because of a little mess in my setup. How can I do that via LinReaper? Thank you so much (and forgive my english :) )

    • 5 Dannie

      Thanks! There’s no real uninstaller, but just delete the install directory (usually ~/.local/reaper) and the desktop files in ~/.local/share/applications/ (that would be Reaper.desktop and LinReaperCfg.desktop). There are also some icons places in ~/.icons, but you can safely ignore them.

  4. Hi.
    Thanks so much for LinReaper. Trying to upgrade from Reaper v2.35 > v3.06 (I think) its been awhile since last update. Checked LinReaper options panel for updater, & tried the Reaper “check for updates” but no luck. Then tried running Linreaper script (Linreaper082(2).run) with no luck – Index error : list index out of range – message comes up.
    OS is latest update of Hardy Heron.
    Any tips ??
    Regards
    mdharp

    • 7 Christian Dannie Storgaard

      Yeah, Cockos changed the download location so LinReaper is not allowed to lookup the files anymore. I issued a fixed version that still can’t find the download location, but will let you install Reaper from its installation file. You can get the new version from here.

  5. PS ; can’t find the /home/user/wine/Reaper folder on installer file browser. It doesn’t seem to show hidden folders.

    • 9 Christian Dannie Storgaard

      LinReaper installs Reaper into /home/$USER/.local/reaper and puts a few files in /home/$USER/.local/ as well for menu icons and file associations. You can get Nautilus to show these hidden files and folders by pressing Ctrl+H.

  6. 10 King Throttle

    Now that there is a 64bit version of reaper for windows will linreaper be able to install 64 bit reaper on a 64 bit Linux system?

    • 11 Christian Dannie Storgaard

      At the moment no, and I can’t get it to run successfully on my computer, but since there aren’t that many 64bit VSTs yet, you aren’t missing out on all that much.


  1. 1 LinReaper – Reaper Installer für Linux - Tuxportal.de - Homerecording mit Linux, Tips & Tricks zu Ubuntu

Leave a Reply