Fmstrat / wintile

Windows 10 window tiling for GNOME
GNU General Public License v3.0
424 stars 54 forks source link

wintile@nowsci.com does not exist after unzipping wintile@nowsci.com.zip #144

Closed Medik55 closed 1 year ago

Medik55 commented 1 year ago

Hello, I am trying to install this and I am getting an error after the unzip wintile@nowsci.com.zip step in the installation. The error is as follows cp: cannot stat 'wintile@nowsci.com': No such file or directory which leads me to believe that the file that is created and copied into the gnome extensions directory is not being created or generated properly.

I have tried installing from both the master branch and develop branch and both times I got this error. I am using GNOME Shell 42.5 on Ubuntu 22.04. If there are any other details that would be helpful in solving this, please let me know.

Here is a screenshot I grabbed after building and unzipping wintile@nowsci.com.zip image

GrylledCheez commented 1 year ago

It unzipped all the files in the directory you're in, instead of in it's own directory.

We'll update the installation instructions.

In the meantime

unzip -d wintile@nowsci.com wintile@nowsci.com.zip

Then you can copy it over

GrylledCheez commented 1 year ago

Fixed in f4922274d29c1493635828c7d7b3b193672490be

Medik55 commented 1 year ago

Hi, thank you so much for the help! I have a couple more questions if you don't mind. I'm still having a little bit of trouble getting wintile to install and run properly. What should the correct file structure look like within ~/.local/share/gnome-shell/extensions/ ? And the program GNOME Tweaks is mentioned in the ReadMe for customization. Is it a required dependency for wintile to run? I have restarted my system as well, so I don't believe that is the cause.

GrylledCheez commented 1 year ago

First, make sure that you aren't running those commands as root/sudo

Please paste the output of ls -l ~/.local/share/gnome-shell/extensions

Also, paste the output by following the updated instructions in the current develop README.md

Medik55 commented 1 year ago

Here is everything up to the copy: image

and here is what is in gnome-shell/extensions and gnome-shell/extensions/wintile@nowsci.com after tthe copy: image

GrylledCheez commented 1 year ago

Good. The new installation instructions worked out fine. Now follow the part about restarting your session.

As for gnome-tweaks, it isn't required. But it's easier than using https://extensions.gnome.org/local/

Medik55 commented 1 year ago

I have restarted my computer and I am still not able to use the extension by keyboard shortcuts or dragging. Do you have any suggestions as to something I could be missing? So sorry for the trouble.

GrylledCheez commented 1 year ago

Go here in a chrome browser and make sure the extension is enabled. https://extensions.gnome.org/local/ If not, enable it. If it is, turn on debugging and run this in a terminal as a normal user journalctl -qf |grep -i -e Wintile -e 'js error'

https://extensions.gnome.org/local/

Also, are you using Wayland or Xorg?

Medik55 commented 1 year ago

I am using Wayland. The extension is enabled but I don't know if debugging is on correctly. I turned developer mode on for Chrome's extensions and allowed error collection. The website you linked mentions a client side browser connector. sudo apt install gnome-browser-connector is telling me Unable to locate package gnome-browser-connector, so is there a different name for the package I should be using? Do I even need the client side part?

GrylledCheez commented 1 year ago

Ok, I found your issue. gnome-browser-connector is only for 23.04 and after.

Older ones need to use chrome-gnome-shell https://launchpad.net/ubuntu/+source/chrome-gnome-shell sudo apt-get install chrome-gnome-shell

GrylledCheez commented 1 year ago

Just curious if that fixed your issue. Hopefully it does.

GrylledCheez commented 1 year ago

@Medik55, just checking 1 last time.