If you’re talking about Lutris, then the “executable” field is supposed to be where the executable file goes – in this case Flash player, and the “arguments” is where the filename goes (CLI usage for Adobe Flash player is
If you’re talking about system-wide install (running SWF files from file manager or using
mimeopen), you need to set it up in your system. I use XFCE, but I imagine most of it would be similar for any other DE.
So, the first thing is obviously to put the binary somewhere in system folders (
/usr/local/bin/ is the one designated for that purpose). Then, you want to declare it as an application; I did it by creating a file
Name=Adobe Flash Player
Comment=Adobe Flash Player
I also looked up a round icon for it and placed it in
/usr/local/share/pixmaps/flashplayer.png to tell it apart from flash-player-properties in the menus n’stuff. The app appeared in the Multimedia section of application menu.
After that, I’ve connected the file type to the app using
xfce4-mime-settings (obviously other DEs use different tools… or you may try doing it in settings of an SWF file); the MIME type I had to find was
application/vnd.adobe.flash.movie (no idea why it’s listed under that name).
If you don’t like the icon used for SWF files (my system defaulted to regular video file icon) you can set it up too; just add your own image (I named it
/usr/local/share/pixmaps/flash-file.png), and create a file
/usr/local/share/mime/packages/flash.xml with this content:
<?xml version="1.0" encoding="UTF-8"?>
<comment>Shockwave Flash file</comment>
<match value="FWS" type="string" offset="0"/>
<match value="CWS" type="string" offset="0"/>
update-mime-database /usr/local/share/mime/ to register it.