emasab / shelltile

A tiling window extension for GNOME Shell
https://extensions.gnome.org/extension/657/shelltile/
GNU General Public License v2.0
645 stars 42 forks source link

Add how to install shelltile from git repository #67

Open ghuls opened 6 years ago

ghuls commented 6 years ago

Would it be possible to add a section to the README which describes how to install shelltile directly from this repo?

I never installed a gnome-shell extension before, so after some fiddling I used the following instructions. I assume that there might be a more optimal way (especially installing the extenstion itself):

# Clone git repositiory
git clone https://github.com/emasab/shelltile

cd shelltile

./build.sh pot

./build.sh mo

# Compile schemas
./build.sh schemas

# Build zip shelltile gnome-shell zip file.
./build.sh

# Create directory for installing shelltile.
mkdir -p ~/.local/share/gnome-shell/extensions/ShellTile@emasab.it

# Install shelltile
unzip -l ShellTile@emasab.it.zip 

# Restart gnome-shell
gnome-shell-mainloop.sh

Enable shelltile extention.

gnome-tweak ==> extenstion ==> Shelltile ==> ON

atwinkelman commented 6 years ago

I've never installed a gnome-shell extension from git before today either but found a page from the gnome.org wiki on creating an extension and used the content from ShellTile instead of my own.

Your steps look okay to me though.

martin31821 commented 6 years ago

you can just do:

cd ~/.local/share/gnome-shell/extensions
rm -r ShellTile@emasab.it
git clone git@github.com:emasab/shelltile ShellTile@emasab.it

then use Alt+F2 to open the debug command line, type r and then execute or just enter to restart gnome.