Gogh icon indicating copy to clipboard operation
Gogh copied to clipboard

Unsupported terminal! for gnome-terminal

Open jufei opened this issue 3 years ago • 10 comments

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$

jufei avatar Jun 04 '21 03:06 jufei

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

ghost avatar Aug 01 '21 13:08 ghost

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

nicl-dev avatar Oct 10 '21 05:10 nicl-dev

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

piotrorlowski avatar Dec 03 '21 12:12 piotrorlowski

Same for xfce4-terminal

snowinmars avatar Dec 29 '21 12:12 snowinmars

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 avatar Aug 04 '22 16:08 bezark

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.

bezark avatar Aug 04 '22 16:08 bezark

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 avatar Oct 26 '22 20:10 JiveyGuy

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?

JiveyGuy avatar Oct 26 '22 20:10 JiveyGuy

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)

zhuoqun-chen avatar Apr 10 '23 02:04 zhuoqun-chen

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

AshrafBasry avatar Dec 06 '23 14:12 AshrafBasry