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

Doesn't working Debian #63

Open
neilhwatson opened this issue Apr 15, 2017 · 32 comments · Fixed by #160
Open

Doesn't working Debian #63

neilhwatson opened this issue Apr 15, 2017 · 32 comments · Fixed by #160
Labels
FYI - Docs useful information

Comments

@neilhwatson
Copy link

Script runs but appears to do nothing. Docs are not detailed on expected results. Terminal colors do not change in current or new terminal. Using Debian 9.

@oxydron
Copy link
Contributor

oxydron commented May 26, 2017

Try to right click inside the console and go to the profiles, maybe there are several "Default" profiles there, each one for each try to change the colors.

@addfs
Copy link

addfs commented Jun 8, 2017

Same problem on debian 9. Terminal Gnome 3.22.2
And new Default profiles doesn't created

@oxydron
Copy link
Contributor

oxydron commented Jun 8, 2017

@addfs In fact, currently for me, when I run the main code (that one that shows you a list of themes), after choosing a theme, it will appear with the correct name on the profiles list.

@turtleDev
Copy link

turtleDev commented Jun 25, 2017

+1 I have the same issue. could this be an issue with gnome-terminal or dconf-cli?

@ghost
Copy link

ghost commented Jun 29, 2017

+1, install seems successful but no additional profiles to chose. Debian 9
screen shot 2017-06-29 at 6 43 51 am

@sale87
Copy link

sale87 commented Jul 30, 2017

Same issue here. I'm running Debian 9, Gnome Terminal 3.22.2 and dconf-cli 0.26.0-2+b1.

I'm not sure where to start debugging so if you have any hints please say.

Thanks!

@turtleDev
Copy link

any update on this?

@mopanku
Copy link

mopanku commented Aug 20, 2017

I've found a solution for this problem. Go to Preferences > Profiles and create a new profile called Default. I've also chosen it as default for new terminals but I don't know if it's neccessary. Gogh worked after restart.

@burg1ar
Copy link

burg1ar commented Aug 22, 2017

i'm runing debian 9,gnome terminal 3.22.2,everything went well after runing the shell script but the
profile didn't show,like nothing happened.

@ghost
Copy link

ghost commented Aug 23, 2017

It doesn't work for me. Instead of creating a new theme, it removes current profiles. I have tested that by creating a profile called "test". After I've ran the script, selecting handful of themes, the profile Test was deleted and other one "Unnamed" showed up. I do have dconf-cli, and there are no errors from the script output.

@ghost
Copy link

ghost commented Aug 23, 2017

more info:
dconf list /org/gnome/terminal/legacy/profiles:/ returns proper list of themes. Yet only one available on the profile chooser is Default unnamed theme.

@robaxelsen
Copy link

I am having the same issue on Debian 9 using GNOME Terminal 3.22.2.

@arcticicestudio
Copy link

arcticicestudio commented Oct 11, 2017

Some users linked to this issue and I've tried to debug to get the origin of this problem as described in this post. It looks like a bug in dconf itself which occurs on fresh installed systems or GNOME Terminals which never created a new profile.

@arcticicestudio
Copy link

arcticicestudio commented Oct 28, 2017

Just want to note that I've rewrote my install script. A detailed description can be found in nordtheme/gnome-terminal#13 resolved in PR nordtheme/gnome-terminal#14. It should now work on all distributions when the basic dependencies are installed. The legacy support for GNOME Terminal versions < 3.8 has been removed since the gconf long-time support for most distributions will end this year anyway, next to the fact that there are no distributions that ship with GNOME < 3.8 anymore.
The compatibility with dconf has been improved by using the high-level API of GSettings where ever possible instead.

@romzie
Copy link

romzie commented Dec 19, 2017

Had same problem here with Debian Stretch and gnome-terminal 3.22.
I fixed it by manually creating a new profile called 'Default' and then relaunching the Gogh command.
The profile was successfully created but I had the switch profile manually by either right-clicking on the terminal or go in the options.
Hope it helps.

@cbcoutinho
Copy link
Contributor

On OpenSUSE I had a similar problem:

Starting from a clean terminal, gogh.sh failed with the following output:

Error setting value: Bad key or directory name: "/apps/gnome-terminal/profiles/Gruvbox-dark /visible_name": ` ' is an invalid character in key/directory names
Error setting value: Bad key or directory name: "/apps/gnome-terminal/profiles/Gruvbox-dark /palette": ` ' is an invalid character in key/directory names
Error setting value: Bad key or directory name: "/apps/gnome-terminal/profiles/Gruvbox-dark /background_color": ` ' is an invalid character in key/directory names
Error setting value: Bad key or directory name: "/apps/gnome-terminal/profiles/Gruvbox-dark /foreground_color": ` ' is an invalid character in key/directory names
Error setting value: Bad key or directory name: "/apps/gnome-terminal/profiles/Gruvbox-dark /bold_color": ` ' is an invalid character in key/directory names
Error setting value: Bad key or directory name: "/apps/gnome-terminal/profiles/Gruvbox-dark /bold_color_same_as_fg": ` ' is an invalid character in key/directory names
Error setting value: Bad key or directory name: "/apps/gnome-terminal/profiles/Gruvbox-dark /use_theme_colors": ` ' is an invalid character in key/directory names
Error setting value: Bad key or directory name: "/apps/gnome-terminal/profiles/Gruvbox-dark /use_theme_background": ` ' is an invalid character in key/directory names

It looks like it's trying to create a terminal profile for a OSX system. My initial profile was named 'Unnamed', and I created a 'new' profile with the name 'Default', and now gogh.sh works without a problem.

@nicolas-rdgs
Copy link

nicolas-rdgs commented Dec 25, 2017

In my case, the script didn't work although I recreated a new profil "Default".
I think, gnome-terminal fail to load the profil because the name of the key (= name of the theme) contain a whitespace.

$ gsettings get org.gnome.Terminal.ProfilesList list
['b1dcc9dd-5262-4d8d-a863-c897e6d979b9', 'aaea8d85-3917-4954-a97e-965ef338e11d', 'Molokai ', 'Zenburn ']

After reading the script, I saw that it use uuidgen command so I installed it (apt-get install uuid-runtime) and now the script work correctly.
Now, the key isn't named with the name of the theme but with the generated uuid:

$ gsettings get org.gnome.Terminal.ProfilesList list
['b1dcc9dd-5262-4d8d-a863-c897e6d979b9', '932b6a98-127b-4cf0-9a78-21600ddb9913', '6f14e88f-869f-4da7-8847-0212ffe7c6a2']

I'm on Debian 9.

@dwightyy
Copy link

I had the same problem but as @oxydron said, just right click on profiles worked.

selection_325

@yannham
Copy link

yannham commented Jan 27, 2018

Same problem on Debian Sid with Gnome Terminal 3.26.2 and dconf-cli 0.26.1-3. Creating a new profile named "Default" does not help, it just get deleted after the script execute without error messages but the colors do not change and no new profile is available through the right-click menu.

@romzie
Copy link

romzie commented Jan 28, 2018

Try dconf reset -f /org/gnome/terminal/legacy/profiles:/ (it will reset all your profiles) and create a new profile manually, then retry launching Gogh.

@lucaslago
Copy link

Same problem here, debian 9 GNOME Terminal 3.22.2

@niklasbuehler
Copy link

Had the same problem with debian, dconf reset (as @romzie suggested) actually helped after throwing me an error at first. I just did the reset, created a "Default" profile and then executed the script.

@m0ne
Copy link

m0ne commented Mar 17, 2018

Can confirm, it is not working for me either, on Debian 9, Gnome Terminal 3.26.2. Tried all steps above, including reset and recreating of Default profile.

@0xGrimnir
Copy link

I was having the same issues as everyone else. What I did to get it to work:

Run to reset your profiles:
dconf reset -f /org/gnome/terminal/legacy/profiles:/

Close your terminal. Re-open the terminal.

Go to Edit ---> Preferences ---> Profiles. Create NEW profile called "Default".

Close the terminal. Re-open the terminal. Confirm "Default" is still listed in your profiles. If it is, run the Gogh script again, and it should work. It did for me, at least.

@sui74
Copy link

sui74 commented Jun 30, 2018

Same problem me, debian 9 GNOME Terminal 3.22.2.
but Problem has been resolved.

  1. Run to reset profiles:
    dconf reset -f /org/gnome/terminal/legacy/profiles:/

  2. ''Unname'' Rename profile called "default".

  3. sudo apt install uuid-runtime

  4. wget -O gogh https://git.io/vQgMr && chmod +x gogh && ./gogh && rm gogh

I can change profiles now, hope it helps.

@jdelvecchio
Copy link

For those that still have issues, I followed @sui74 answer and it did not work. This was because I executed gogh as root beforehand.

How I got it working :

  1. As root, reset profiles :
    dconf reset -f /org/gnome/terminal/legacy/profiles:/

  2. As your user, reset profiles :
    dconf reset -f /org/gnome/terminal/legacy/profiles:/

  3. ''Unname'' Rename profile called "default".

  4. sudo apt install uuid-runtime

  5. wget -O gogh https://git.io/vQgMr && chmod +x gogh && ./gogh && rm gogh

THanks guys!

@Mgldvd Mgldvd added the FYI - Docs useful information label Aug 30, 2018
@drodata
Copy link

drodata commented Sep 29, 2018

Same problem me, debian 9 GNOME Terminal 3.22.2.
but Problem has been resolved.

  1. Run to reset profiles:
    dconf reset -f /org/gnome/terminal/legacy/profiles:/
  2. ''Unname'' Rename profile called "default".
  3. sudo apt install uuid-runtime
  4. wget -O gogh https://git.io/vQgMr && chmod +x gogh && ./gogh && rm gogh

I can change profiles now, hope it helps.

Working solution.

@phenonymous phenonymous mentioned this issue Nov 30, 2018
@Mgldvd Mgldvd reopened this Dec 1, 2018
@Mgldvd Mgldvd pinned this issue Feb 10, 2019
@philippludwig
Copy link

philippludwig commented Mar 28, 2019

The solution provided by sui74 works. Could this be added into the README? I can submit a PR if you don't have the time to deal with this.

@stone821
Copy link

Same problem me, debian 9 GNOME Terminal 3.22.2.
but Problem has been resolved.

1. Run to reset profiles:
   dconf reset -f /org/gnome/terminal/legacy/profiles:/

2. ''Unname'' Rename profile called "default".

3. sudo apt install uuid-runtime

4. wget -O gogh https://git.io/vQgMr && chmod +x gogh && ./gogh && rm gogh

I can change profiles now, hope it helps.

Thank you so much. It' working.

@Ska1er
Copy link

Ska1er commented May 10, 2022

The solution provided by mopanku works for me (Debian 11).

@slipperystairs
Copy link

Any solutions for Debian 12?

@rachyharkov
Copy link

Any solutions for Debian 12?

In my case, i create new profile named 'anything' then set the newest cloned as default

after that, i'm right click on the terminal, profiles > themeName, it's work

note that it doesn't automatically applied though

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

Successfully merging a pull request may close this issue.