This is a quick guide on how I use Notion on Linux, with i3wm.
My particular setup involves:
- Run notion.so in Chrome app mode
- Keep the notion window in the i3wm scratchpad so I can pop it up when I need it using $mod+n
- Adjust the interface size for a high resolution monitor
Command line to run Notion as an App within Chrome
#!/bin/sh
google-chrome --force-device-scale-factor=1.5 --user-data-dir=.config/google-chrome-for-notion/ --app=https://notion.so
I launch this from rofi, but you could also bind it to a key or launch it from dmenu or a shell. It should be in your $PATH somewhere. I keep it in ~/bin.
Note that it starts Chrome in app mode and using a different configuration directory. Start with a blank one, and Chrome will fill in the rest. You will have to log in to everything on Chrome again (only the first time), as this is a different instance of Chrome from your usual one. This is intentional so that the Notion window does not interfere with your regular Chrome windows.
Configuration lines for .config/i3/config
Make Notion open directly in the scratchpad
for_window [class="^Google-chrome" instance="^notion"] floating enable, move scratchpad, scratchpad show
Shortcut key to bring Notion to the foreground
bindsym $mod+n [class="^Google-chrome" instance="^notion"] scratchpad showThis also hides it again if it is open.
Usage
After i3wm has started, launch Notion inside Chrome according to the command line above.
Use mod$+n to open and close Notion as you need it. I tend to keep a running journal page open and add notes to it as I do other things.