Recovering a Ripple wallet on Ledger Nano I have 20 XRP in a Ledger Nano and before I load everything onto it I want to test the recovery procedure so I am prepared in case something goes wrong down the track

I have read the material here on the Ledger documentation but it does not elaborate on how it recovers the keys for the apps you have installed - in this case XRP.

Ideally I would also like to generate my public and private keys as described here and store them somewhere safe - but again it does not elaborate on the keys for altcoins.

Thanks in advance on any guidance!
Ledger should recover all your funds including any altcoins like XRP from your 24-word recovery phrase. You may read technical details about the process in BIP44.

I'm not sure whether there is an official Ledger tool for deriving keys for XPR from recovery phrase. You may use Ian Coleman's BIP39 Mnemonic Code Converter. It is possible to launch this site on the offline computer if you worry about keyloggers.

You may also find this discussion on Reddit interesting.