Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README #199

Merged
merged 6 commits into from
Nov 8, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 32 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,41 +20,38 @@ After
![After](screenshots/after.png)

### Themes
Here's a list of themes that supports Hardcode-Tray
Here's a list of themes that supports Hardcode-Tray:
- [Numix icon theme](https://github.com/numixproject/numix-icon-theme)
- [Papirus icon theme](https://github.com/PapirusDevelopmentTeam/papirus-icon-theme-gtk)

### How to use
1. Install the script
### INSTALL

#### Arch Linux (AUR):
```
yaourt -S hardcode-tray-fixer-git
```

#### Ubuntu 14.04 / 16.04 / 16.10 (PPA)
```
sudo add-apt-repository ppa:varlesh-l/hardcode-tray
sudo apt update
sudo apt install --reinstall sni-qt hardcode-tray
```
#### Manual install
1. Download and install the script:
```bash
cd /tmp && wget -O - https://raw.githubusercontent.com/bil-elmoussaoui/Hardcode-Tray/master/install.sh | bash
```

2. Install depends:
_git_
_wget_
_python3_
_python3-cairosvg_
_inkscape_
_[patched sni-qt](https://launchpad.net/~cybre/+archive/ubuntu/sni-qt-eplus)_
_librsvg_

If you're installing on Arch, this package is also available on AUR under the name of [hardcode-tray-fixer-git](https://aur.archlinux.org/packages/hardcode-tray-fixer-git/). You can install using `yaourt hardcode-tray-fixer-git`. This will pull all dependencies so you can ignore the rest of installation instructions.

2. Install `python3-cairosvg` or `inkscape`
- Debian/Ubuntu : <br />
`sudo apt-get install python3-cairosvg`<br />
`sudo apt-get install inkscape`
- Fedora : <br />
`sudo dnf install python3-cairosvg`<br />
`sudo dnf install inkscape`
- Arch : <br />
`sudo pacman -S python-cairosvg`<br />
`sudo pacman -S inkscape`

3. Install the patched version of `sni-qt`
- Debian/Ubuntu :<br />
<pre>
sudo add-apt-repository ppa:cybre/sni-qt-eplus
sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get install sni-qt sni-qt:i386
</pre>
- Arch : <br />
<pre>
yaourt sni-qt-eplus-bzr
yaourt lib32-sni-qt-eplus-bzr
</pre>
You can [build it](https://github.com/bil-elmoussaoui/Hardcode-Tray/wiki/How-to-build-Sni-qt) from source code if you are using an other distro (like Fedora).<br />
The `sni-qt:i386` is used for 32 bits applications as Skype.<br />
Teamviewer is also using the `sni-qt` package, however it is shipping its own version. Therefore this script also overwrites the version shipped by teamviewer with the patched one.
Expand Down Expand Up @@ -120,6 +117,13 @@ You can also update to the latest version of the script
hardcode-tray --update
```

- `--update-git`

You can also update to the git version of the script
```bash
hardcode-tray --update-git
```

### Uninstallation
To remove the script completely from your desktop you can use
```bash
Expand Down