Gogh-Co / Gogh

Gogh is a collection of color schemes for various terminal emulators, including Gnome Terminal, Pantheon Terminal, Tilix, and XFCE4 Terminal also compatible with iTerm on macOS.
https://gogh-co.github.io/Gogh/
MIT License
9.16k stars 585 forks source link

Ubuntu 19.10: default_profile not a valid identifier, command not found #203

Open codeinred opened 4 years ago

codeinred commented 4 years ago

When I run bash -c "$(wget -qO- https://git.io/vQgMr)" it lists all the themes, but when I try installing one (e.g., 40), it gives me the following output:

I've used Gogh in the past without issues, but I recently upgraded to Ubuntu 19.10, which is based on gnome 3.34.1

bash: line 669: read: `/apps/gnome-terminal/profiles/default_profile': not a valid identifier
environment: line 414: --get: command not found
environment: line 423: --get: command not found
environment: line 225: : command not found
environment: line 225: : command not found
environment: line 208: : command not found
environment: line 208: : command not found
environment: line 208: : command not found
environment: line 208: : command not found
environment: line 208: : command not found
environment: line 208: : command not found
environment: line 208: : command not found
environment: line 208: : command not found
environment: line 208: : command not found
OMGdaDPS commented 4 years ago

same here. i get the exact same error. Ubuntu 19.10 vanilla also.

katerynarieznik commented 4 years ago

@jantonioperez @OMGdaDPS I do not know why it happens but I know a workaround. You need to create manually a new profile in preferences and name it Default. Then Gogh script will work.

Alt text

OMGdaDPS commented 4 years ago

thank you! ill try that as soon as i get back to my workshop, which is where that rig is located.

OMGdaDPS commented 4 years ago

@jantonioperez @OMGdaDPS I do not know why it happens but I know a workaround. You need to create manually a new profile in preferences and name it Default. Then Gogh script will work.

that worked perfectly, thank you!

KathyReid commented 4 years ago

Confirming that I have this issue, and that the documented workaround of creating a Default profile also worked for me - thank you so much for documenting this :-)

mortezasabihi commented 4 years ago

@rieznik thanks, It worked successfully

saikrishna-i commented 4 years ago

@jantonioperez @OMGdaDPS I do not know why it happens but I know a workaround. You need to create manually a new profile in preferences and name it Default. Then Gogh script will work.

Alt text I am running Ubuntu 19.10 and had the same issue. This fixed it. Thanks

daemqn commented 4 years ago

Also on 20.04 LTS However, my language is french and the default profile is "Sans Nom" (unnamed or untitled in english) Could it be this ? Default profile created fixed the issue

chriskennedydev commented 3 years ago

Just want to confirm that the workaround works on Ubuntu 21.04. Thank you both (gogh for the awesome scripts and rieznik for the suggestion)!

kedoska commented 3 years ago

Works perfectly on a Linux pop-os 21.04 :bowing_man:

cxshing commented 3 years ago

Just want to confirm that works perfectly on Linux Pop OS 21.04

wisentini commented 2 years ago

It's working on Manjaro GNOME 21.1.5!

kanaan-dvlps commented 1 year ago

@jantonioperez @OMGdaDPS I do not know why it happens but I know a workaround. You need to create manually a new profile in preferences and name it Default. Then Gogh script will work.

Alt text

You can also rename the current profile name to Default and it will work as well! Thanks a lot for the help. Also a potential fix can be changing the logic from looking for Default profile for any available profile, or the current profile maybe? Don't know how the scripts work under the hood but this just came to my mind as a more permanent fix.

Srbito4 commented 8 months ago

thanks a lot <3

RadioactivePotato commented 2 weeks ago

@jantonioperez @OMGdaDPS I do not know why it happens but I know a workaround. You need to create manually a new profile in preferences and name it Default. Then Gogh script will work.

Alt text

This worked in Ubuntu/Pop!_OS 22.04 Thanks