Giter Site home page Giter Site logo

lotion's People

Contributors

anavarre avatar avihaybar avatar dd3boh avatar joshpetit avatar kahnix avatar lmoench avatar mazurel avatar mbbroberg avatar puneetsl avatar utshaw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lotion's Issues

Alt + Left / Right arrow doesn't work throughout the system.

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.

Issue installing in Kubuntu 20.04

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.

Opening a second window?

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.

Empty window

Hi,

Thank you for you job! But it seems that I have a problem: after opening the app just an empty windows appears. I've just recently came to linux and probably do not understand how to open it properly. What may be the reason?
Untitled

Some keyboard shortcuts not working

Hi,

Wondering if all desktop app keyboard shortcuts are supported?

The following don't seem to work for me on Ubuntu 18.04:

  • Ctrl + N for new page
  • Ctrl + Shift + N for new window
  • Ctrl + [, Ctrl + ] to go back and forward a page

Whereas the following do:

  • Ctrl + Shift + L for dark mode
  • Ctrl + P to open search

Thanks for the great work!

Can't quit program with keyboard shortcut

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!

Disable Smooth Scrolling

Hello team,
Is there a way to disable Smooth Scrolling?
Thanks in advance.

Thanks for making this project live, btw.

Notion-Enhancer

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

Most emoji unsupported

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.

Off-line sync

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

Installation On i3 Manjaro

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?

Lotion Offline Sync

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.

Question

Hi Puneet,
Screenshot from 2019-04-30 13-27-36
I'm not sure whether this is related to the Lotion app or it is on Notion.so side.
Regardless of how many items I created I go over the Block limit - see the red bar msg on the top.
I'm sending this question also to Notion.so guys.

Thanks. BR
Szymon

Disable system tray icon

Is there a way to disable the system tray icon? If not, I'd like to request that option! Thank you :)

lotion_systemtray

Not opening on zorin OS

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

Not working on Raspberry Pi

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 ?

Change the default icon

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?

icons

Why some icons are different from the web version? (worse)

For example the stars:

I thought this app is just a web browser opening notion.so, why does it need to replace the icons?

Validation Error when trying to fetch resources

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.

Lotion may be able to work on Ubuntu 20.04

Hello. I use this repo all the time. Thank you very much!

Now, I cloned and installed this repo on Ubuntu 20.04, but it was garbled as shown below. Do you have a solution for this?

I have already installed the packages:fonts-emojione fonts-noto-color-emoji

Screenshot from 2020-05-15 00-46-34

Building the tarball

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?

[issue] links opens in browser, sometimes

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

Auto-Updated?

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.

HiDPI support?

Wondering if you anyone knows how to do this offhand--

Gnome 3: compatibility

Add icon compatibility for Gnome 3. Right now the app is opened using a separate icon.
Img

using as root causes close error

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 )

Cannot save changes

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.

System tray icon is missing

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.

linking to external files

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.

Button / Shortcut to go back

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!

feature request: Automatic dark mode toggling based on OS theme

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! :)

Blank screen (Ubuntu 18.04)

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!

Use the native browser to open links

Expected behavior

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.

Actual behavior

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.

Check spelling / typos

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!

Franz Integration

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...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.