Git Product home page Git Product logo

Comments (31)

sui74 avatar sui74 commented on May 27, 2024 38

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.

from gogh.

mopanku avatar mopanku commented on May 27, 2024 18

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.

from gogh.

jdelvecchio avatar jdelvecchio commented on May 27, 2024 18

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!

from gogh.

romzie avatar romzie commented on May 27, 2024 9

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.

from gogh.

nicolas-rdgs avatar nicolas-rdgs commented on May 27, 2024 5

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.

from gogh.

stone821 avatar stone821 commented on May 27, 2024 3

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.

from gogh.

arcticicestudio avatar arcticicestudio commented on May 27, 2024 2

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.

from gogh.

oxydron avatar oxydron commented on May 27, 2024 1

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.

from gogh.

oxydron avatar oxydron commented on May 27, 2024 1

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

from gogh.

arcticicestudio avatar arcticicestudio commented on May 27, 2024 1

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.

from gogh.

romzie avatar romzie commented on May 27, 2024 1

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.

from gogh.

philippludwig avatar philippludwig commented on May 27, 2024 1

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.

from gogh.

Ska1er avatar Ska1er commented on May 27, 2024 1

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

from gogh.

addfs avatar addfs commented on May 27, 2024

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

from gogh.

turtleDev avatar turtleDev commented on May 27, 2024

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

from gogh.

 avatar commented on May 27, 2024

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

from gogh.

sale87 avatar sale87 commented on May 27, 2024

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!

from gogh.

turtleDev avatar turtleDev commented on May 27, 2024

any update on this?

from gogh.

burg1ar avatar burg1ar commented on May 27, 2024

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.

from gogh.

 avatar commented on May 27, 2024

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.

from gogh.

 avatar commented on May 27, 2024

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.

from gogh.

robaxelsen avatar robaxelsen commented on May 27, 2024

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

from gogh.

cbcoutinho avatar cbcoutinho commented on May 27, 2024

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.

from gogh.

dwightyy avatar dwightyy commented on May 27, 2024

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

selection_325

from gogh.

yannham avatar yannham commented on May 27, 2024

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.

from gogh.

lucaslago avatar lucaslago commented on May 27, 2024

Same problem here, debian 9 GNOME Terminal 3.22.2

from gogh.

niklasbuehler avatar niklasbuehler commented on May 27, 2024

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.

from gogh.

m0ne avatar m0ne commented on May 27, 2024

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.

from gogh.

0xGrimnir avatar 0xGrimnir commented on May 27, 2024

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.

from gogh.

drodata avatar drodata commented on May 27, 2024

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.

from gogh.

slipperystairs avatar slipperystairs commented on May 27, 2024

Any solutions for Debian 12?

from gogh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.