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

Unsupported terminal! for gnome-terminal #298

Open jufei opened 3 years ago

jufei commented 3 years ago

On debian, set gnome as the desktop.

install Gogh with command: sudo ./atom.sh

got error: Unsupported terminal!

Supported terminals: mintty and deriviates guake iTerm2 elementary terminal (pantheon/elementary) mate-terminal gnome-terminal tilix xfce4-terminal

same error even through I have run : export TERMINAL=gnome-terminal

ute@10-5-UTE5GTL297:~/temp/elio/gogh/themes$ ps -h -o comm -p $PPID gnome-terminal- ute@10-5-UTE5GTL297:~/temp/elio/gogh/themes$

ghost commented 3 years ago

I Don't know why this is happening but the below method will work.

Create a New profile named "Default" without the quotes and everything will work fine.

Alt text

Originally posted by @rieznik in https://github.com/Mayccoll/Gogh/issues/203#issuecomment-551589896

nicl-dev commented 2 years ago

The workaround from @jokerhacker22 does not work for me on Fedora 35.

$ echo $TERMINAL

gnome-terminal

$ sudo ./night-owl.sh 

████████████████████████████████████████
████████████████████████████████████████

Unsupported terminal!

Supported terminals:
   mintty and deriviates
   guake
   iTerm2
   elementary terminal (pantheon/elementary)
   mate-terminal
   gnome-terminal
   tilix
   xfce4-terminal
   foot
   kitty

If you believe you have recieved this message in error,
try manually setting `TERMINAL', hint: ps -h -o comm -p $PPID

profiles(I also tried setting the Default profile as default): image

piotrorlowski commented 2 years ago

The same problem here. Trying to set colors on gnome terminal in Mint.

snowinmars commented 2 years ago

Same for xfce4-terminal

bezark commented 2 years ago

Also not working on Fedora 36. Anyone figure this out? HOW AM I EVEN SUPPOSED TO USE MY COMPUTER WITHOUT A BEAUTIFULLY THEMED TERMINAL😱?!?!

bezark commented 2 years ago

Seems like this is actually a common point of confusion. In my case I was being silly and just assumed I needed to prefix the command with 'sudo' but that may have been part of the problem.

JiveyGuy commented 1 year ago

Seems like this is actually a common point of confusion. In my case I was being silly and just assumed I needed to prefix the command with 'sudo' but that may have been part of the problem.

I am using Fedora 36, I always use sudo infront of terminal when installing a new theme and it works, however this last time it did not and if I run ps -h -o comm -p $PPID then I get this output gnome-terminal- which should be a match case because in apply-colors.sh it matches with gnome-terminal* so not sure why it does not match gnome-terminal-.

JiveyGuy commented 1 year ago

Making a "Default" profile worked for me. However let's try to figure out a solution to this issue.

Running without sudo gives this: Screenshot from 2022-10-26 16-13-05

I think it is because the default name is "Unnamed" in Fedora. Screenshot from 2022-10-26 16-17-20

EDIT: Sorry for the confusion, I though /org/ was a directory but it is a location in the dconf binary file.

So again it is an issue with the gnome-terminal* rule not matching in apply-colors.sh. code should work if it matched correctly: Screenshot from 2022-10-26 16-26-26

EDIT 2: The issue is here, dconf cli command gives this output despite dconf gui showing there is a terminal subdir. Screenshot from 2022-10-26 16-36-07

Which makes this if statement not work and sends us to the wrong case: Screenshot from 2022-10-26 16-36-38

Does anyone know why it would show up in dconf non-cli and not dconf-cli?

zhuoqun-chen commented 1 year ago

I Don't know why this is happening but the below method will work.

Create a New profile named "Default" without the quotes and everything will work fine.

Alt text

Originally posted by @rieznik in #203 (comment)

Thank you! This works for me(ubuntu20.04)

AshrafBasry commented 9 months ago

I had the same problem but i was running the command from inside tmux session the solution was run the script outside tmux :confused: