Open the Cockpit as an app

The Cockpit is a web page that canon serves on your own machine, so in a browser it has the browser's tab strip and address bar around it. If you would rather not see those, Edge on Windows and Safari on a Mac can install the Cockpit as an app that runs in its own window.

Edge on Windows

This was tried on Windows 11 with Edge.

  1. With canon running, open the Cockpit in Edge.
  2. Open the … menu at the top right, choose More tools, then Apps, then Install this site as an app.
Edge's menu with More tools and Apps open over the Cockpit, and Install this site as an app and View apps listed under Apps.
Install this site as an app is under More tools, then Apps.
  1. Edge says App installed and reads: "Canon Cockpit has been installed as an app on your device and will safely run in its own window. Launch it from the Start menu, Windows taskbar or your Desktop." Under Allow this app to it lists four options: Pin to taskbar and Pin to Start are ticked, and Create Desktop shortcut and Auto-start on device login are not. It has two buttons, Allow and Don't allow.
  2. The installed app runs in its own window, with no browser tab strip and no address bar.
The installed Canon Cockpit app in its own window: a title bar with back, refresh and window buttons and no address bar, then the Cockpit with its own Projects and ToDo tabs and the ToDo project's board.
The installed app: its own window, no browser tab strip, no address bar.

On the taskbar, pointing at the app's button shows the label Canon Cockpit.

With canon not running, the app's title bar reads "Canon Cockpit - 127.0.0.1" and the page says "127.0.0.1 refused to connect.", with the code ERR_CONNECTION_REFUSED and a Refresh button.

Safari on a Mac

This was tried in Safari on a Mac.

  1. With canon running, open the Cockpit in Safari.
  2. Choose File, then Add to Dock….
  3. Safari shows an Add to Dock dialog with the name Canon Cockpit and the address http://127.0.0.1:8899/cockpit. It reads: "An icon will be added to your Dock so you can quickly access this website." It has two buttons, Cancel and Add.
  4. In the Dock, the icon shows the Cockpit's cannon mark and the label Canon Cockpit.
  5. The installed app runs in its own window, with no tab strip and no address bar. Its title bar reads Canon Cockpit and has back and forward buttons and a share button.
The installed Canon Cockpit app on a Mac: a title bar reading Canon Cockpit with back, forward and share buttons, the app's menu bar above it, and the Cockpit's Projects page with the ToDo-App project.
The installed app on a Mac: its own window, no tab strip, no address bar.

The app needs canon to be running first. With canon not running, the Mac app shows "Canon Cockpit Can’t Connect to the Server" and says: "Canon Cockpit can’t open the page “127.0.0.1:8899/cockpit” because Canon Cockpit can’t connect to the server “127.0.0.1”." It has a button, Reload Canon Cockpit.

Edge's settings page for the app

Edge keeps a settings page for the installed app. It shows the buttons Open, Clear cookies, Pin to taskbar, Pin to Start, Create Desktop shortcut and Uninstall, and a toggle for Auto-start on device login, which was off. Under Permissions it says "No permissions set."

The "not secure" message

In the app's information popup, Edge showed "Your connection to this app isn't secure". The Cockpit's address starts with http://, not https://. The Cockpit listens only on 127.0.0.1, which is your own machine, and it turns away any request whose host is not 127.0.0.1 or localhost.