Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported terminal! for gnome-terminal #298

Open
jufei opened this issue Jun 4, 2021 · 10 comments
Open

Unsupported terminal! for gnome-terminal #298

jufei opened this issue Jun 4, 2021 · 10 comments

Comments

@jufei
Copy link

jufei commented Jun 4, 2021

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
Copy link

ghost commented Aug 1, 2021

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)

@nicl-dev
Copy link

nicl-dev commented Oct 10, 2021

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
Copy link

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

@snowinmars
Copy link

Same for xfce4-terminal

@bezark
Copy link

bezark commented Aug 4, 2022

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
Copy link

bezark commented Aug 4, 2022

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
Copy link

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
Copy link

JiveyGuy commented Oct 26, 2022

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
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants