1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00
Gogh/content/install.md

115 lines
2.6 KiB
Markdown
Raw Normal View History

2015-04-20 01:46:32 +03:00
2017-05-19 19:04:51 +03:00
![elementary](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/gogh/Gogh-logo.png)
-----
2015-04-20 01:46:32 +03:00
## Install:
2015-08-13 20:07:08 +03:00
- Just copy and paste One line command.
- Each theme has his own line.
2015-04-20 01:46:32 +03:00
```bash
2015-08-14 19:41:15 +03:00
$ wget -O xt http://git.io/v3D4o && chmod +x xt && ./xt && rm xt
2015-04-20 01:46:32 +03:00
```
This way of installing is equals the below, the only thing is that a shortening of URLs (git.io) was used and fits all commands on a single line.
2015-04-20 01:46:32 +03:00
- **or** Download and save the script file, make this file executable and run it:
```bash
2015-08-31 19:06:49 +03:00
$ wget https://raw.githubusercontent.com/Mayccoll/Gogh/master/themes/freya.sh
$ chmod +x freya.sh
$ ./freya.sh
2015-04-20 01:46:32 +03:00
```
2015-09-01 03:52:40 +03:00
## Elementary OS
2015-04-20 01:46:32 +03:00
2016-07-15 16:41:53 +03:00
1 - Uncomment the following line in `.bashrc` you can find this file in your `/home/USER/` directory.
2015-04-20 01:46:32 +03:00
```bash
#force_color_prompt=yes
```
2016-07-15 16:41:53 +03:00
2 - Execute in terminal
2015-04-20 01:46:32 +03:00
```bash
$ source .bashrc
```
2015-09-01 03:52:40 +03:00
2018-06-29 22:02:16 +03:00
## Debian Fixes
### [Fix 1](https://github.com/Mayccoll/Gogh/issues/63#issuecomment-361071956) (@romzie):
- reset your profiles:
```bash
2018-07-03 21:40:38 +03:00
$ dconf reset -f /org/gnome/terminal/legacy/profiles:/
2018-06-29 22:02:16 +03:00
```
### [Fix 2](https://github.com/Mayccoll/Gogh/issues/63#issuecomment-401224491) (@MalwareJedi):
- Reset your profiles:
```bash
2018-07-03 21:40:38 +03:00
$ dconf reset -f /org/gnome/terminal/legacy/profiles:/
2018-06-29 22:02:16 +03:00
```
- Close your terminal. Re-open the terminal.
- Go to Edit ---> Preferences ---> Profiles.
- Create NEW profile called "Default".
- Close the terminal. Re-open the terminal.
- Confirm "Default" is still listed in your profiles.
- If it is, run the Gogh script again.
2018-07-03 21:40:38 +03:00
### [Fix 3](https://github.com/Mayccoll/Gogh/issues/63#issuecomment-401510226) (@sui74):
- Reset your profiles:
```bash
$ dconf reset -f /org/gnome/terminal/legacy/profiles:/
```
- "Unname" Rename profile called "default".
```bash
$ sudo apt install uuid-runtime
```
- run Gogh script.
2018-06-29 22:02:16 +03:00
2015-09-01 03:52:40 +03:00
## Install by Script
2016-07-15 16:41:53 +03:00
You also can execute this script. This will list all available themes allowing you to select the one you like.
2015-09-01 03:52:40 +03:00
```bash
$ wget -O xt http://git.io/vGz67 && chmod +x xt && ./xt && rm xt
```
## Create a command line
2016-07-15 16:41:53 +03:00
**WARNING:** *Only if you know what you are doing or trust me :)*
2015-09-01 03:52:40 +03:00
You have two options:
1. Without creating a profile with the name of the theme:
```bash
$ sudo wget -O /usr/local/bin/gogh http://git.io/vGz67 && sudo chmod +x /usr/local/bin/gogh
```
2. Creating a profile with name of the theme:
```bash
$ sudo wget -O /usr/local/bin/gogh https://git.io/vKOB6 && sudo chmod +x /usr/local/bin/gogh
```
2015-09-01 03:52:40 +03:00
2016-07-15 16:41:53 +03:00
Now in your terminal just type `gogh`:
2015-09-01 03:52:40 +03:00
```bash
$ gogh
```
**DEMO:**
2017-05-19 19:04:51 +03:00
![Script Demo](https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/images/demos/script-demo.gif)