Page 6 of 7

Re: Focusrite Scarlett 2i2 on Linux help!

Posted: Tue Sep 05, 2017 6:25 am
by Gulliver
CrocoDuck wrote:
Gulliver wrote:Ok, so I started reaper. Selected ALSA, then Scarlett. Tried recording and nothing is being recorded. It stands still. Nothing moves. Also, I tried to select the port I'm using. Mono / and then here it's line in 1 and line in 2. But instead, nothing is listed.
I got some rough edges to when trying to use ALSA directly with reaper. What happens if you start Jack (with you Scarlett configured as device) and then start reaper, go to the preferences, and select JACK? That works pretty good for me.
Ok, so I started jackctl / setup / interface / 2i2

Then I opened reaper / preferences / device
And here whatever I choose under "audio", in the I/O 2i2 is not listed. I don't even see Jack listed anywhere in reaper.
What am I doing wrong?

Re: Focusrite Scarlett 2i2 on Linux help!

Posted: Tue Sep 05, 2017 10:48 am
by Pablo
Ok, so I started jackctl / setup / interface / 2i2
Then, start jack (Start button on qjackclt's main window).

Note that jack uses a generic word, "system", for the audio interface. For you it is the 2i2 because you selected that in qjackctl's setup.

Re: Focusrite Scarlett 2i2 on Linux help!

Posted: Tue Sep 05, 2017 6:28 pm
by CrocoDuck
Gulliver wrote:And here whatever I choose under "audio", in the I/O 2i2 is not listed. I don't even see Jack listed anywhere in reaper.
I did a small video illustrating how I do it with my Scarlett 2i4, you can find it here.

Set up JACK to use your Scarlett and start it.

Launch reaper, go to the options and select JACK under Audio > Devices.

Your scarlett channels are labelled ad system in the qjackctl connections window. They should be connected automatically. If not, connect them as shown (my Scarlett as 4 outputs, but the concept is the same).

Re: Focusrite Scarlett 2i2 on Linux help!

Posted: Wed Sep 06, 2017 3:43 pm
by CrocoDuck
Check this.

Re: Focusrite Scarlett 2i2 on Linux help!

Posted: Fri Sep 08, 2017 5:04 am
by Gulliver
CrocoDuck wrote:
Gulliver wrote:And here whatever I choose under "audio", in the I/O 2i2 is not listed. I don't even see Jack listed anywhere in reaper.
I did a small video illustrating how I do it with my Scarlett 2i4, you can find it here.

Set up JACK to use your Scarlett and start it.

Launch reaper, go to the options and select JACK under Audio > Devices.

Your scarlett channels are labelled ad system in the qjackctl connections window. They should be connected automatically. If not, connect them as shown (my Scarlett as 4 outputs, but the concept is the same).
Thank you so much for the video. The problem was that I set 2i2 in Parameters/Interface but not in Advanced/I/O
Now the only thing I want to achieve is to make reaper open easier. How can I make it open by double click? Can't I put reaper among the other applications? And start it as any other app?

Re: Focusrite Scarlett 2i2 on Linux help!

Posted: Fri Sep 08, 2017 5:05 am
by Gulliver
CrocoDuck wrote:Check this.
Thanks, that's great!

Re: Focusrite Scarlett 2i2 on Linux help!

Posted: Fri Sep 08, 2017 5:16 am
by Gulliver
Gulliver wrote:
CrocoDuck wrote:Check this.
Thanks, that's great!
I just tried to save this article. So I wanted to install the printfriendly addon on firefox. On the addon center I was informed my firefox is out of date. I opened firefox menu / about firefox. No link to update firefox from there. So I visited firefox.com and downloaded the tarball. Extracted it. There is no ubuntu executable in the folder. This would be simply task on windows. Perhaps 1 minute. On linux I could not even finish this task and have to ask for help. Mind boggling. What am I doing wrong again?

Re: Focusrite Scarlett 2i2 on Linux help!

Posted: Fri Sep 08, 2017 11:41 am
by CrocoDuck
Gulliver wrote:How can I make it open by double click? Can't I put reaper among the other applications? And start it as any other app?
We can do all of this, but first update us with what Ubuntu flavor and version you are running, so that we can give the most efficient solution.
Gulliver wrote:No link to update firefox from there. So I visited firefox.com and downloaded the tarball. Extracted it. There is no ubuntu executable in the folder. This would be simply task on windows. Perhaps 1 minute. On linux I could not even finish this task and have to ask for help. Mind boggling. What am I doing wrong again?
As I mentioned earlier, on Linux we prefer packages. Each distro has a repository online into which different programs get packaged. Then, from your computer, you can fetch them. The package manager in your system takes care of installing the packages, but also of keeping them updated.

On win you would go online and download your program. On Linux, we prefer to use the package manager (or a graphical front end for it) to install the program from the repos. This has the following advantage: as soon as an update is pushed on the repos then you will have it automatically when you update your system. So, you install stuff and then forget about having to go installing the new version every few months or so: the new version for every program installed through the repos comes with the regular updates as soon as it is available in the repos. In few words: on most Linux distros updates are not limited to the system, but also to the applications (if they are installed through the repos).

Now, few distros (like Ubuntu) lag a little bit behind: the software in the repo sometimes is not at the most recent version as the uptream one. There are various ways to get the version you need, but to better direct you we need to know what Ubuntu flavor you are running (Xubuntu? Ubuntu Studio? Regular Ubuntu?) and what version.

I know it looks strange, but pretty much Linux works like this: hard to get used to, but very simple and convenient to use once you get your head around it. I am serious: every time I use Windows or Mac OS I feel like those are the inconvenient and quirky ones.

Win instead looks like this: easy to grasp, but you never get any real productivity gain as you understand it better.

Anyway, that's only my personal take. It might be different for you, but I am glad you are keeping on trying :wink:

Re: Focusrite Scarlett 2i2 on Linux help!

Posted: Fri Oct 13, 2017 5:00 am
by Gulliver
CrocoDuck wrote:
Gulliver wrote:How can I make it open by double click? Can't I put reaper among the other applications? And start it as any other app?
We can do all of this, but first update us with what Ubuntu flavor and version you are running, so that we can give the most efficient solution.
Gulliver wrote:No link to update firefox from there. So I visited firefox.com and downloaded the tarball. Extracted it. There is no ubuntu executable in the folder. This would be simply task on windows. Perhaps 1 minute. On linux I could not even finish this task and have to ask for help. Mind boggling. What am I doing wrong again?
As I mentioned earlier, on Linux we prefer packages. Each distro has a repository online into which different programs get packaged. Then, from your computer, you can fetch them. The package manager in your system takes care of installing the packages, but also of keeping them updated.

On win you would go online and download your program. On Linux, we prefer to use the package manager (or a graphical front end for it) to install the program from the repos. This has the following advantage: as soon as an update is pushed on the repos then you will have it automatically when you update your system. So, you install stuff and then forget about having to go installing the new version every few months or so: the new version for every program installed through the repos comes with the regular updates as soon as it is available in the repos. In few words: on most Linux distros updates are not limited to the system, but also to the applications (if they are installed through the repos).

Now, few distros (like Ubuntu) lag a little bit behind: the software in the repo sometimes is not at the most recent version as the uptream one. There are various ways to get the version you need, but to better direct you we need to know what Ubuntu flavor you are running (Xubuntu? Ubuntu Studio? Regular Ubuntu?) and what version.

I know it looks strange, but pretty much Linux works like this: hard to get used to, but very simple and convenient to use once you get your head around it. I am serious: every time I use Windows or Mac OS I feel like those are the inconvenient and quirky ones.

Win instead looks like this: easy to grasp, but you never get any real productivity gain as you understand it better.

Anyway, that's only my personal take. It might be different for you, but I am glad you are keeping on trying :wink:
Thanks for the explanation about the repos. I'm using the latest Elementary OS. My package manager installs most other software without problem. Eg Downloaded the Skype.deb and the Gdebi installer installed it no problem. Again, downloaded Chrome deb file and installed it with Gdebi no problem. No need to go to local files every time I run these programs (like I have to do it with Reaper), they sit in the Applications. And I can have a shortcut for them in my deck. So my question is why can't reaper have a simple Reaper.deb file for me to install. And if it doesn't how do I work around it to run it like I run any other apps, I want to have it's shortcut in the deck and with one click run it.

Re: Focusrite Scarlett 2i2 on Linux help!

Posted: Fri Oct 13, 2017 9:00 am
by Jack Winter
It could very easily have a .deb file, but someone has to package it.. Since it's a pre release and a work in progress, Cockos has asked for it not to be packaged, but rather for people getting it directly from their site. I'm sure at some point in time (when it's ready) it will be packaged for most distros.

Re: Focusrite Scarlett 2i2 on Linux help!

Posted: Sat Oct 14, 2017 2:24 pm
by CrocoDuck
Gulliver wrote:it doesn't how do I work around it to run it like I run any other apps, I want to have it's shortcut in the deck and with one click run it.
You can create a launcher that will sit in applications and launch the program stored in your local filesystem. A launcher is a text file that terminates with the .desktop extension. It contains data and instructions to launch applications. You will need to create one manually. This works for me:

Code: Select all

[Desktop Entry]
Name=Reaper
Comment=Multitrack hard disk recorder
Exec=/home/crocoduck/Downloads/reaper550rc13_linux_x86_64/reaper_linux_x86_64/REAPER/reaper5
Icon=/home/crocoduck/Downloads/reaper550rc13_linux_x86_64/reaper_linux_x86_64/REAPER/Resources/main.png
Terminal=false
Type=Application
X-MultipleArgs=false
Categories=GTK;Audio;AudioVideoEditing;AudioVideo;Video;
First: copy and paste the code above in a text editor. Now, have a look at the "Exec" and "Icon" fields. They are absolute paths to the executable file and icon file in your system. You have to change them accordingly to where those files are in your system. I would suggest to save your extracted archive folder somewhere in your home directory where you don't risk to mess with it by accident. Once you edited the file, save it as reaper.desktop. Then, move the file into /usr/share/applications, which is the directory in your system where all the launchers are. You need sudo for that. Assuming that you saved reaper.desktop in your home directory, this will do the trick:

Code: Select all

sudo mv reaper.desktop /usr/share/applications/reaper.desktop

Re: Focusrite Scarlett 2i2 on Linux help!

Posted: Sun Oct 29, 2017 7:34 am
by Gulliver
Thanks. I tried as per your description and when I tried to move the .desktop file to the applications folder I was told I can't do that. Even though I'm the admin.

Re: Focusrite Scarlett 2i2 on Linux help!

Posted: Sun Oct 29, 2017 10:16 am
by CrocoDuck
Gulliver wrote:Thanks. I tried as per your description and when I tried to move the .desktop file to the applications folder I was told I can't do that. Even though I'm the admin.
Only root can move files in there. In Linux you need to acquire root privileges to do operation is system folders. Root is the only real Admin. To acquire root privileges for your regular user you need sudo. Did you try this command?

Code: Select all

sudo mv reaper.desktop /usr/share/applications/reaper.desktop
This should definitively do. Why there are super user privileges and administrators have not total rights? Because in that way system management becomes dangerous and the system easy to maliciously exploit.

In windows the Admin user cannot do anything: what it can do is actually restricted. In Linux it is the same. This is good: this way there isn't a easy chance to shoot your own foot by doing bad things by accident (for example, overwriting or deleting by accident important system files). Linux, however, gives you the opportunity to deal with important system files if you need to, acquiring super user privileges through sudo: for users that know what they are doing it is possible then to alter important system files. Doing it on a action by action base it is best, as this will prevent potentially dangerous actions.

Super user privileges are totally unrestricted: root can completely nuke the system, destroy it completely. Use with care, only when you know what you are doing.

Re: Focusrite Scarlett 2i2 on Linux help!

Posted: Mon Oct 30, 2017 11:12 pm
by glowrak guy
Gulliver wrote:how do I work around it to run it like I run any other apps,
I want to have it's shortcut in the deck and with one click run it.
Such momentary convenience may be a poor tradeoff for the potential,
if not ineveitable, source of needed trouble-shooting information offered in terminal output
when starting apps by a command, especially ones that are new, or under continual developement,
both of which apply to Reaper, and also to a lot of the linux audio apps we rely on.
Cheers

Re: Focusrite Scarlett 2i2 on Linux help!

Posted: Thu Nov 23, 2017 6:03 am
by Gulliver
CrocoDuck wrote: Only root can move files in there. In Linux you need to acquire root privileges to do operation is system folders. Root is the only real Admin. To acquire root privileges for your regular user you need sudo. Did you try this command?

Code: Select all

sudo mv reaper.desktop /usr/share/applications/reaper.desktop
This should definitively do. Why there are super user privileges and administrators have not total rights? Because in that way system management becomes dangerous and the system easy to maliciously exploit.
Thanks for the explanation. I tried the sudo it says "mv: cannot stat 'reaper.desktop': No such file or directory"