[yoshimi] Re: Back on Banks

  • From: Gilles Blondin <blondingilles@xxxxxxxxxxx>
  • To: "yoshimi@xxxxxxxxxxxxx" <yoshimi@xxxxxxxxxxxxx>
  • Date: Sun, 2 Feb 2020 22:20:29 +0000

Hi guys while you're on the subject, after finding out that without any 
configuration needed my FCB-1010 foot control can select the instruments in the 
active bank at select locations I tried swapping and deleting instruments and 
even tried to create my own bank but all actions were denied access. After 
reading up in the manual I realized I had to create a new bank root directory 
then import the banks and instruments which I could then edit as I please. I 
know a little bit about Linux so I was able to find the original banks but for 
a complete nube it can be very hard. Maybe save the original default files in a 
read-write access enabled directory to begin with?

________________________________
De : yoshimi-bounce@xxxxxxxxxxxxx <yoshimi-bounce@xxxxxxxxxxxxx> de la part de 
Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
Envoyé : 27 janvier 2020 05:18
À : yoshimi@xxxxxxxxxxxxx <yoshimi@xxxxxxxxxxxxx>
Objet : [yoshimi] Re: Back on Banks

On Sun, 26 Jan 2020 21:53:17 +0100
Jesper Lloyd <jpl.lloyd@xxxxxxxxx> wrote:

The XDG spec would dictate that it should be stored under
$XDG_DATA_HOME/yoshimi/, where XDG_DATA_HOME should default to
$HOME/.local/share

Interesting. .local is there, but echo '$XDG_DATA_HOME' produces nothing,
whereas $HOME gives the expected response.

Sorry, my wording was a bit unclear. My understanding is that an
application that follows the XDG spec should respect the XDG_DATA_HOME
envvar if it is set, but otherwise fall back to using
$HOME/.local/share
There is no law demanding that particular spec be followed of course,
but I think it's a pretty sensible way of organizing user data for
applications.

There is one circumstance that's been overlooked in the past. That is where a
distro hasn't carried *any* banks, and Yoshimi is being installed on a pristine
machine. In this case I think we should just create an empty one in
  $HOME/.local/share

I've not checked recently, but I know in the past Yoshimi got really weird if
it couldn't find any banks at all :o

Also, we currently promote user preset directores in .config/yoshimi. Should we
copy the default ones there instead?

I'm thinking that we should end up with
  $HOME/.local/share/yoshimi/installed_banks/{whatever bank root dirs we find}
and
  $HOME/.local/share/yoshimi/installed_presets/{whatever preset dirs we find}

In both cases we would still recognise and list entries in the old places.

--
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
Yoshimi source code is available from either: 
https://sourceforge.net/projects/yoshimi
Or: https://github.com/Yoshimi/yoshimi
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx

Other related posts: