Gogh icon indicating copy to clipboard operation
Gogh copied to clipboard

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

Open codeinred opened this issue 6 years ago • 15 comments

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

codeinred avatar Nov 03 '19 07:11 codeinred

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

OMGdaDPS avatar Nov 06 '19 19:11 OMGdaDPS

@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

katerynarieznik avatar Nov 08 '19 11:11 katerynarieznik

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

OMGdaDPS avatar Nov 08 '19 14:11 OMGdaDPS

@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!

OMGdaDPS avatar Nov 09 '19 00:11 OMGdaDPS

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 :-)

KathyReid avatar Nov 28 '19 06:11 KathyReid

@rieznik thanks, It worked successfully

mortezasabihi avatar Jan 25 '20 19:01 mortezasabihi

@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

saikrishna-i avatar Mar 29 '20 08:03 saikrishna-i

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

daemqn avatar May 13 '20 13:05 daemqn

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)!

chriskennedydev avatar May 14 '21 10:05 chriskennedydev

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

kedoska avatar Jul 04 '21 09:07 kedoska

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

cxshing avatar Aug 22 '21 10:08 cxshing

It's working on Manjaro GNOME 21.1.5!

wisentini avatar Oct 12 '21 16:10 wisentini

@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.

kanaan-dvlps avatar Jun 12 '23 12:06 kanaan-dvlps

thanks a lot <3

Srbito4 avatar Dec 20 '23 19:12 Srbito4