puneetsl / lotion Goto Github PK
View Code? Open in Web Editor NEWUnofficial Notion.so app for Linux
License: MIT License
Unofficial Notion.so app for Linux
License: MIT License
it would be good to have uninstallation script too
Hi, thank you for the great project.
I've been using lotion since Jul 2019 (0.01 version by the README), and I updated to the new version (0.03) last week for the first time since then.
After the update, Alt + Left / Right keybindings don't work throughout the system.
For example, in chrome, navigate back & forward doesn't work.
(Not only chrome, the same thing happens on all the apps only except on notion app.)
If I do pkill -9 Lotion
, then everything comes back to normal.
I didn't have this problem with July 2019 version.
My current environment:
OS : Linux Mint 19.1
Desktop : Cinnamon
Expected : Alt + Left / Right shortcuts work properly by the apps.
Actual : Alt + Left / Right only work on Notion, all other apps don't respond to those keybindings.
There's been a version update and it started showing blank pages on Linux, and their official version on Windows started crashing without self-updating.
Although re-installing on Windows fixed the problem, but for Lotion, it seems there has to be an update this time around.
It seems I'm not alone for this one either.
Twitter link to official response - https://twitter.com/NotionHQ/status/1090438420902494208
I have used Lotion before and everything was ok. Recently I have updated my system to Kubuntu 20.04. I have tried to install (sudo) the app but I get this error:
cp: cannot create regular file '/root/.local/share/applications': No such file or directory
Thanks in advance.
Hello! I'm wondering what the keyboard shortcut is to open a new window or if this functionality exists. On MacOS and Windows I can use Ctrl/Command + Shift + N to open a new window, but that isn't doing anything in Linux.
Hi,
Wondering if all desktop app keyboard shortcuts are supported?
The following don't seem to work for me on Ubuntu 18.04:
Whereas the following do:
Thanks for the great work!
Hi, i really enjoyed this project. But it will be better if you add Ctrl + Q as quit function. Since v0.02, i can't use Alt + F4 to exit the program anymore, it just minimizes. Please consider my option. Thanks so muchhhh!
Hello team,
Is there a way to disable Smooth Scrolling?
Thanks in advance.
Thanks for making this project live, btw.
Hello, I found a customization tool for Notion's Windows client (https://www.notion.so/Notion-Enhancer-147abdd0b5ed47c9b472520f9ee212a4). Since Lotion is also encapsulated in Electron, I think it can also be used to beautify Lotion.
But I don't know anything about Electron or CSS, I'm just a Linux desktop user.I still changed the style of Notion in version 0.02. By modifying /Lotion/resources/app/lib/preload.js, adding
function userscript() {
/* Style Injecting */
var fs = require("fs");
let css = fs.readFileSync("lotion/Lotion/resources/app/lib/userscript.css"); //will be replaced in python patcher
let head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
/* Style Injecting */
}
require('electron').remote.getGlobal('setTimeout')(() => { userscript(); }, 100);
userscript.css
[style^="font-weight:600"]
{
font-family: Arial, Helvetica, sans-serif;
}
.notion-sidebar-container
{
background-color: #fff!important;
}
.notion-code-block
{
background: #F8F8FF;
}
/* To make cursor style as pointer when hover on scrollbar */
.notion-scroller {
cursor: auto;
}
/* Scrollbar size */
::-webkit-scrollbar {
width: 5px; /* To change vertical scrollbar width */
height: 7px; /* To change horizontal scrollbar height */
}
/* Element where vertical and horizontal scrollbars converge */
::-webkit-scrollbar-corner{
background-color: transparent;
}
/* Light Theme style for Scrollbars */
.notion-light-theme ::-webkit-scrollbar-thumb {
border-radius: 5px;
background-color: #afafaf;
}
.notion-light-theme ::-webkit-scrollbar-track {
border-radius: 5px;
background-color: #e4e4e4;
}
.notion-light-theme ::-webkit-scrollbar-thumb:hover{
background: #969696;
}
/* Light Theme style for Scrollbars */
/* Dark Theme style for Scrollbars */
.notion-dark-theme ::-webkit-scrollbar-track {
border-radius: 5px;
background-color: #3d3d42;
}
.notion-dark-theme ::-webkit-scrollbar-thumb {
border-radius: 5px;
background-color: #5d5d5d;
}
.notion-dark-theme ::-webkit-scrollbar-thumb:hover{
background: #868686;
}
/* Dark Theme style for Scrollbars */
But in the 0.03 version I can't restore this scene. Hope you can guide me
Change from Exec="${FULL_PATH}/lotion" to Exec="${FULL_PATH}/Lotion" ;)
Replication steps:
Is this intended behavior?
Side note: separate instance launches in light mode (my config is dark mode).
In Firefox, notion.so shows all emoji filled in and with color. On lotion, most emoji are rectangles, and the few that aren't are not in color.
Hi,
thank you for the job you did with the app. One of the main goal I want from the desktop app is off-line sync. You wrote "However there are ways to use windows app using this code to have offline capabilities" what exactly does it mean? And what is the problem with off-line sync? It's a technology issue?
Thanks
Every time I close and relaunch the app, I am greeted by notion.so, logged out.
Is this by API design or am I missing some packages?
Hello! I'm running a relatively fresh install of i3 Manjaro but after I run the install script the output all appears successful, but there doesn't seem to be any way to run the program. It doesn't appear in dmenu or on my desktop or anywhere else I could run it from. This could definitely be user error though. Is there a specific file inside the installation that I could run to open the program?
So I can log in with different email addresses parallely
Hi I have tried to follow the wiki on this but it seems like it doesn't work in the lotion folder I can only see Lotion/resources/app so should I create a new folder named Notion/resources in the lotion folder or rename the folder app in lotion/Lotion/resources to something else then place the app.asar inside lotion/Lotion/resources.
Because I can't see Notion folder inside lotion folder.
Kindly assist, I would really love to have the offline mode for moments when my PC is offline.
Hi, I succesfully installed the app using install.sh script, but when I try opening it nothing happens.
I'm running on zorin OS ubuntu based 32-bit
Running latest raspbian and when doing the install script app is installed correctly however when launching it nothing happens.
Is there a way to debug this ?
I'm having trouble with the default blue icon as it's not going with my current theme.Is there a way I can change that?
Once signed in, trying to access resources that are attached to a page provides an error response instead of the file.
Only seems to happen on this client, cannot replicate on the official windows version or the online version.
I'm a a little too paranoid to install a random binary off of GitHub 😉.
Could you add the ability to build the tarball using nativfier?
Hello, when I search for something in "quick find" and click a result it opens in my browser, when I come back to lotion, and repeat all, this time will open in Lotion normally. Also, the issue while sporadic its annoying. How can I help to investigate this when it repeats
My question is if Lotion is autoupdated or for get the last updates you have to do it manually. I'm new on electron apps.
Wondering if you anyone knows how to do this offhand--
Hi,
I am using the app in root mode to do so I directly call the Lotion file using the command -
./Lotion --no-sandbox
All is good when the app is running but problems start to come up when the app is closed I close the app normal way by using the close button on the top left but the process is still running in command line not just that when I check the running commands using ps aux | grep otion
I see the process is still running even though I stopped it in terminal using Ctrl + z
To further stop the process I need to force close it using kill -9 PID.
Is there an issue in the closing task or some other way I could modify it to close the process when I quit the app (I know we are not supposed to run the app as root )
I got a problem. When I quit and then start lotion, lotion doesn't load my content table. Although lotion loads workspaces and titles, but I can see only a title on the page. And I can see a mention
"Cannot save changes"
colored red on the white page.
Tooltip described that
"You can no longer make edits: Cannot open Indexed DB. Your Chrome profile may be damaged. If you changed any chrome://flags then please reset, then restart your browser.~~"
I did it. But it not worked.
I would like to attach a log for your convenience. But i don't know where log file is.
My Linux PC
Ubuntu 18.04.3 LTS
Connected Internet on Proxy network environment.
Fortunately, I see a table with Android Application. -
I noticed that the same issue exists in other thread.
#1 (comment)
Hi, I'm getting issues with both lotion and native lotion. When I finally got the install.sh to execute, (which was not trivial with lots of permission errors and file does not exist errors) I am able to open a desktop version of lotion (without a desktop icon), but I need to log in every time. I get an error in the app that says:
"Cannot save my changes. You can no longer make edits: Cannot open IndexedDB. Your chrome profile may be damaged."
I tried getting native notion using the above method and was able to move the app.asar to the correct folder, but I still don't have a desktop application for native notion. I should note that I needed to manually move the lotion.desktop to my /usr/share/applications in order for notion to open outside of the terminal. Any tips here? Notion is my favorite productivity app and I recently started using linux.
Hi there! Thanks for all your work on this project. Notion is great and I'm so glad I can use it on Linux.
I noticed with the 0.02 release, the system tray icon seems missing.
When I use the file block I am unable to actually open the file. Instead a blank window is opened.
Additionally Downloads of embeds dont work.
Hi,
This app is amazing, so thanks! The only important feature missing in my opinion would be a button and a shortcut to go back to the previous visited page. There is a button in the Windows and Mac OS app on the top. If the shortcut could be ALT + left arrow it would be the really could!
First of all, thank you for the great app!
It would be really cool if the lotion darkmode would be automatically activated based on the OS theme. My OS switches automatically to dark mode on evening and it would be a pleasure to have the lotion darkmode toggled automatically!
Thank you in advance! :)
Is this a MacOS screenshot?
First of all thanks for this project, it is awesome!
Lotion was working perfectly in my Ubuntu 18.04 until yesterday . Now, when I open Lotion, I only see a blank screen. Any suggestions? thank you!
Would any of you be interested in Snap, Flatpack or AppImage package of Lotion?
I find cloning and installing easy but do you think it will be useful for you to keep updated for newer versions if there was a package?
Just as with other native applications that support active links, clicking the link should open its destination either in a new native browser instance or in a new tab within an active browser window.
Links are opened in a browser instance associated with the application. This means none of my extensions are present, cookies, bookmarks. Which is bad since the links stored in a Notion file where created in that environment.
Hi,
Thanks for this awesome app that I'm using every day!
I've been wondering if it would be possible to underline spelling errors, like it is done in any browser. I think it would be a useful feature to avoid typos!
Since it's already an electron based app, would it be simple to integrate it with Franz? I mean, if you have a premium account one can log in to notion and have basically the same functionality, but if you were to provide a way to integrate it in the ecosystem, people without much experience could use it there...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.