vercel / hyper

A terminal built on web technologies
https://hyper.is
MIT License
43.27k stars 3.52k forks source link

Can't get Hyper to work on Ubuntu 18.04 #3412

Open jcklpe opened 5 years ago

jcklpe commented 5 years ago

Issue

Hi, I'm sorry because this is probably less an issue with hyper than it is with something to do with my particular install with Ubuntu.

I have Hyper working fine on my windows laptop. One reason why I decided to start using hyper as a new dev is because I wanted a unified terminal experience between using my windows laptop and my Ubuntu 18.04 home cloud server.

I install hyper and when I try to start it, I can see it in system monitor, but it doesn't actually appear anywhere where I can see it. This has happened with multiple versions of hyper, and I think it has something to do with electron itself.

I tried to install Hain on my windows and Ubuntu machines but the linux version doesn't have an official build release file so I had to build it myself. When I did, it didn't work, and after that point all my electron based apps I tried installing wouldn't work, including hyper.

How can I fix this? Do I uninstall electron or node or something like that? I've tried uninstalling and reinstalling hyper multiple times but nothing has worked. up till now I've just put up with it because using the default Gnome terminal has worked fine but I'd like to figure this thing out so that I don't have this issue any more, and I was wondering if anyone had any pointers.

If there is more information I can provide, please let me know.

jcklpe commented 5 years ago

Any thoughts?

nicklcy commented 5 years ago

You said you were running it on Ubuntu but in your hyper.js,

shell: `C:\\Windows\\System32\\bash.exe`
jcklpe commented 5 years ago

That would be a problem once hyper actually launched a console window but it's not even doing that. Ive also tried this without adding in my personal config and it still doesn't work

jcklpe commented 5 years ago

I just double checked and on my Linux machine I'm just using the default .hyper.js file so the gist I included in my original issue is moot.

Still can't use hyper. IDK why.

vin-d commented 5 years ago

Same problem here I see the windows in my Ubuntu dock miniatures and I see from the drawing of the miniatures that keystrokes are accepted. So there is focus to invisible windows. But still, Hyper does not displays its windows on screen.

~$ hyper -v
Gtk-Message: 14:11:11.054: Failed to load module "canberra-gtk-module"

Disabling Chromium GPU blacklist

running in prod mode

electron will open file:///opt/Hyper/resources/app.asar/index.html

[17507:0319/141111.313112:ERROR:nss_util.cc(802)] After loading Root Certs, loaded==false: NSS error code: -8018

[17507:0319/141111.332857:WARNING:keyboard_util.cc(165)] Invalid accelerator token: del
[17507:0319/141111.332871:WARNING:accelerator_util.cc(62)] ctrl+del doesn't contain a valid key

[17507:0319/141111.333655:WARNING:keyboard_util.cc(165)] Invalid accelerator token: del
[17507:0319/141111.333666:WARNING:accelerator_util.cc(62)] ctrl+del doesn't contain a valid key

Setting Hyper as default client for ssh:// protocol

Checking for notification messages

No matching notification messages
jcklpe commented 5 years ago

Okay so in fiddling around with a different program I realized that hyper still had some config files left on the system. I completely wiped them out. I hunted down every folder I could find and deleted it. I used synaptic package manager to double check that and completely remove everything.

Then I re installed with 3.0 Canary 8 and still haven't the same problems. I open it. Nothing appears. I can see it in my System Monitor processes but I don't see any window for it.

I used SynapticPM to get more info before trying to remove it again. Here's some screen shots

image

image

image

image

image

jcklpe commented 5 years ago

Just tried it with snap and getting the same thing.

image

jcklpe commented 5 years ago

And just tried it with AppImage and I'm getting the same thing:

image

jcklpe commented 5 years ago

despite completely removing hyper multiple times, and reinstalling in different ways, none of thes ework.

I think there's something to do with electron or something that hyper is depending on at a higher level?

jcklpe commented 5 years ago

I thought, maybe it's something that hyper depends on that's not working. So I tried installing an alternative terminal that uses similar technology to hyper, based on electron etc.

https://github.com/Eugeny/terminus

It works fine. I don't like it quite as much as hyper but it looks like it's what I'm stuck with right now :/

rulan commented 5 years ago

Having the same problem on windows, I installed hyper perfectly, it opened perfectly, once I messed with the terminal path to change it to git bash, this problem started. Running but nothing showin on my taskbar or screen.

rulan commented 5 years ago

Having the same problem on windows, I installed hyper perfectly, it opened perfectly, once I messed with the terminal path to change it to git bash, this problem started. Running but nothing showin on my taskbar or screen.

Solved by reinstalling multiple times, not sure why this happened.

joeygaitan commented 4 years ago

I am having the same error and reinstalling isn't working I have it hooked up to Zsh though. Plugins will not work keep throwing this error hyper -v

Disabling Chromium GPU blacklist running in prod mode`

vin-d commented 4 years ago

On my side the invisible window problem was related the de last window position where default values from the config file cause the problem

~/.config/Hyper$ cat config.json 
{
    "windowPosition": [
        50,
        50
    ],
    "windowSize": [
        540,
        380
    ]

changed the window size to 2540, 2380 (while Hyper is not started) and at next execution my window was there.