I’m trying to connect a script up to “x-scheme-handler/dreamtonics-svstudio2” because I’m trying to use Synthesizer V 2 on Linux using the community accepted methodology. I’m confused.
hi, welcome.
as a user, you don’t really create a mime type… here’s more info
Well, uh, in general, how would I install Synthesizer V 2 on Linux, then? I can’t share a link because it’s a new account, but looking on the dreamtonics user forum or one of the first youtube results should get you what I’m looking at.
In case you are referring to this
https://forum.dreamtonics.com/t/consider-supporting-linux-for-synthesizer-v-studio-2/1168/78
What part of that does not work for you?
As I’ve said before, my browser does not give me the prompt to open up the shell script after I log in.
Which browser is that? On which distribution?
What prompt are you expecting?
Is you shell script in a place where it can be found?
scripts are run by the shell, so assuming you trust this download and it’s not going to put malware on your machine, then you can right click on it and change there permissions to Execute.
then if you double click on it, it should run, or you can open a terminal in your Downloads folder and type the command into a shell prompt.
but i would open it with a text editor first and make sure i understand what it is going to do to your machine… and if their guide says you should run it with sudo then i would be even more suspicious.
I made the command (a variant on this):
and my problem is that this needs to be executed in place of the regular browser-to-app verification of the log-in to Synthesizer V.I wonder if that is a Snap version and can’t run executables outside its sandbox, if it even sees the host system’s schema handler files.
You could check in about:config if you have a (stale) protocol-handler entry for this URI type.
If your Firefox is a sandboxed version (Snap or Flatpak) you might also want to check the values of widget.use-xdg-desktop-portal.mime-handler and widget.use-xdg-desktop-portal.open-uri
Does your schema-handler file point to it by full path and is it executable?
- It’s whatever was shipped with the install.
2. I could not find a protocol-handler for the URI type at all. The widget.use-xdg…. things are at the value 2.
3. It goes to the location of the file inside of bottles.
No idea how Kubuntu handles Firefox.
I think Ubuntu has moved it into a Snap but Neon, which is also based on Ubuntu, ships it as a traditional package.
You might have to check with a distribution specific forum.
Ok
That should be fine. I think 2 means “automatic”, depending on whether Firefox detects it is in a sandbox or not.
Ah, ok.
Your previous comments seemed to suggest you wanted a custom script in your download folder to be the handler
when you execute this in a terminal window and type synthv2.sh foo
the script will pass foo as the $1 parameter to that wine callout.
if you just double click on the .sh, then the $1 parameter will be null and will likely cause the wine command to fail since it is expecting something.
Can you look at the original thread? They use the $1 parameter in there, as well.
- It’s in my downloads folder, and the actual script is referring to a file inside of my bottle of the program.
Double-checked. It’s using Firefox as a snap.
So back to my previous question: does the scheme handler refer to the script by full path?
Or just by name?
Ok, then you will have to check with an Ubuntu support channel.
It is likely that the Snap version of Firefox can even “see” the handler description file, let alone execute anything in your download folder.
aw, well, then. I’ll have to look at that. Not today, but sometime later. Any good resources?

