Can you make a chrome application default to open files in pantheon?
I would like to set
.txt files to open a application called "text" which is a chrome application.
elementary OS Stack Exchange is a question and answer site for developers and users of elementary OS and applications. It only takes a minute to sign up.Sign up to join this community
You can, as in the example below (I used Google Docs as I do not have the other app but it should work exactly in the same way).
~/.local/share/applications/chrome-aohghmighlieiainnegkcijnfilokake-Default.desktop, find the
.desktopthat corresponds to your Chrome App.
%F with a text editor in the
Exec= line (see below):
#!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Terminal=false Type=Application Name=Google Docs Exec=/opt/google/chrome/google-chrome --profile-directory=Default --app-id=aohghmighlieiainnegkcijnfilokake %F Icon=chrome-aohghmighlieiainnegkcijnfilokake-Default StartupWMClass=crx_aohghmighlieiainnegkcijnfilokake