oitsjustjose / Overleaf-Desktop

An electron wrapper to make an Overleaf app for desktop
GNU General Public License v3.0
69 stars 6 forks source link

Cannot start snap 3.0.0 with i3wm #7

Closed made4this closed 3 months ago

made4this commented 4 years ago

Thanks for the snap update. Unfortunately, it doesn't start for me on Regolith Linux 20.04 (Ubuntu). If I call "overleaf" from command line, it returns immediately and no window occurs. I even restarted my whole system - no window at all.

Awkward - that's just what should not happen to a snap by design, right?

PS: Just want to add the fact, that tiling window managers (like i3wm in my case) tend to remove the title bar.

made4this commented 4 years ago

I reinstalled it and now it works. However, maybe look at it to help the updating people. Thanks for your work!

oitsjustjose commented 4 years ago

Agreed, that's odd behavior. I'll look into i3wm title bar issues. Maybe I'll start including my own titlebar like I do in Gmail Desktop.

made4this commented 4 years ago

Sorry, have to reopen it: After reinstall I am able to start it a single time and then the behavior is as before.

PS: twm people will be happy about no titlebar at all :D

made4this commented 4 years ago

Update: It's something about the files in ~/snap/overleaf.

If I do a fresh install and use overleaf && rm -rf ~/snap/overleaf to start, then I can start it again. However, of course I have to enter my login details again and again which is annoying ...

Unfortunately, I cannot see any error messages. Is there some specific place to look for them? Some hope here? Thanks!

made4this commented 4 years ago

So gdb overleaf got me need to run as root or suid so it seems to be some awkward need for more permissions after the first (successful!) run. I tried to install with "--classic" but it gets "ignored for strictly confined snap overleaf".

made4this commented 4 years ago

I'm done with it. Turns out there's basically no reason for twm people to use Overleaf-Desktop due to the fact that you have a browser. Example using chromium:

chromium-browser --app=https://overleaf.com

elmeunick9 commented 3 years ago

I'd thought the idea was to have an offline editor that works on your own machine, thus overcoming overleaf limits of compile time and file size, plus having git and Dropbox/Drive/... integration out of the box for free (since the files are in your computer). This can already by done by self-hosting with docker, but this looked like a much easier solution. Guess I was wrong.