Re: 2 Profiles with 2 different version of Musescore
In order to avoid manually updating the alias each time the package is upgraded, you can use a declaration in guix home: (home-environemnt (services (list (service home-bash-service-type (home-bash-configuration (guix-defaults? #t) (aliases `(("mscore4" . ,(file-append musescore "/bin/mscore") If you do not wish to use guix home, you could also use the extra-special-file service in your system configuration: (extra-special-file "/usr/bin/mscore4" (file-append musescore "/bin/mscore")) Just make sure /usr/bin is in your $PATH.
Re: 2 Profiles with 2 different version of Musescore
Hi, thanks very much for your help. As a shorthand you could add an alias like this alias mscore4="/home/gfp/Projekte/pfad/zum/profil/mit/musescore4/bin/mscore" to .bash_aliases (if it is being 'source'd by bashrc) or.bashrc otherwise. (Put everything in one line. My mailclient automatically wraps long lines even if it should not do so in this case.) when you restart your shell (or type `source ~/.bashrc`) then mscore4 should execute musescore 4. - I put this in my .bashrc file #alias für Musescore4 alias mscore4="home/gfp/Projekte/Musescore/guix-profil/bin/mscore" then restarting the terminal it works. --- This was my first alias in my life I created, with your help, of course. --- So with the help of all of you I am somehow studying Informatik/ computer science peu a peu / little by little / in my spare time. _That’s great_. Kind regards Gottfried Am 29.04.23 um 15:48 schrieb Martin Castillo: Am 28.04.23 um 17:07 schrieb Gottfried: Hi, I have 2 profiles, one with Musescore 3.6.2, the other with Musescore 4.02 (the last version, ongoing). When I enter "mscore" in the terminal it opens the version 3.6.2, which I want. But what do I have to enter in the terminal to get the new version of Musescore? You need to write down the absolute path to the musescore 4 executable. Something like /home/gfp/Projekte/pfad/zum/profil/mit/musescore4/bin/mscore should work. As a shorthand you could add an alias like this alias mscore4="/home/gfp/Projekte/pfad/zum/profil/mit/musescore4/bin/mscore" to .bash_aliases (if it is being 'source'd by bashrc) or.bashrc otherwise. (Put everything in one line. My mailclient automatically wraps long lines even if it should not do so in this case.) when you restart your shell (or type `source ~/.bashrc`) then mscore4 should execute musescore 4. OpenPGP_0x61FAF349C9FB7F94.asc Description: OpenPGP public key OpenPGP_signature Description: OpenPGP digital signature
Re: 2 Profiles with 2 different version of Musescore
Am 29. April 2023 18:18:26 MESZ schrieb Skyler : >In order to avoid manually updating the alias each time the package is >upgraded, you can use a declaration in guix home: > >(home-environemnt > (services (list >(service home-bash-service-type > (home-bash-configuration (guix-defaults? #t) > (aliases `(("mscore4" . ,(file-append musescore > "/bin/mscore") > >If you do not wish to use guix home, you could also use the extra-special-file >service in your system configuration: > >(extra-special-file "/usr/bin/mscore4" (file-append musescore "/bin/mscore")) > >Just make sure /usr/bin is in your $PATH. My suggestion always points to the current version of the respective profile. I did not point to the store entry of musescore.
Re: 2 Profiles with 2 different version of Musescore
Am 28.04.23 um 17:07 schrieb Gottfried: Hi, I have 2 profiles, one with Musescore 3.6.2, the other with Musescore 4.02 (the last version, ongoing). When I enter "mscore" in the terminal it opens the version 3.6.2, which I want. But what do I have to enter in the terminal to get the new version of Musescore? You need to write down the absolute path to the musescore 4 executable. Something like /home/gfp/Projekte/pfad/zum/profil/mit/musescore4/bin/mscore should work. As a shorthand you could add an alias like this alias mscore4="/home/gfp/Projekte/pfad/zum/profil/mit/musescore4/bin/mscore" to .bash_aliases (if it is being 'source'd by bashrc) or.bashrc otherwise. (Put everything in one line. My mailclient automatically wraps long lines even if it should not do so in this case.) when you restart your shell (or type `source ~/.bashrc`) then mscore4 should execute musescore 4.
2 Profiles with 2 different version of Musescore
Hi, I have 2 profiles, one with Musescore 3.6.2, the other with Musescore 4.02 (the last version, ongoing). When I enter "mscore" in the terminal it opens the version 3.6.2, which I want. But what do I have to enter in the terminal to get the new version of Musescore? -- Kind regards Gottfried OpenPGP_0x61FAF349C9FB7F94.asc Description: OpenPGP public key OpenPGP_signature Description: OpenPGP digital signature