Gogh icon indicating copy to clipboard operation
Gogh copied to clipboard

Doesn't working Debian

Open neilhwatson opened this issue 7 years ago • 31 comments

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.

neilhwatson avatar Apr 15 '17 17:04 neilhwatson

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.

oxydron avatar May 26 '17 13:05 oxydron

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

addfs avatar Jun 08 '17 09:06 addfs

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

oxydron avatar Jun 08 '17 18:06 oxydron

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

turtleDev avatar Jun 25 '17 06:06 turtleDev

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

ghost avatar Jun 29 '17 13:06 ghost

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!

sale87 avatar Jul 30 '17 21:07 sale87

any update on this?

turtleDev avatar Aug 07 '17 09:08 turtleDev

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.

mopanku avatar Aug 20 '17 21:08 mopanku

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.

burg1ar avatar Aug 22 '17 12:08 burg1ar

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 avatar Aug 23 '17 23:08 ghost

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.

ghost avatar Aug 23 '17 23:08 ghost

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

robaxelsen avatar Sep 22 '17 14:09 robaxelsen

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 avatar Oct 11 '17 11:10 arcticicestudio

Just want to note that I've rewrote my install script. A detailed description can be found in arcticicestudio/nord-gnome-terminal#13 resolved in PR arcticicestudio/nord-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.

arcticicestudio avatar Oct 28 '17 18:10 arcticicestudio

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.

romzie avatar Dec 19 '17 19:12 romzie

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.

cbcoutinho avatar Dec 24 '17 13:12 cbcoutinho

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.

nicolas-rdgs avatar Dec 25 '17 21:12 nicolas-rdgs

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

selection_325

dwightyy avatar Jan 22 '18 23:01 dwightyy

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.

yannham avatar Jan 27 '18 16:01 yannham

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.

romzie avatar Jan 28 '18 15:01 romzie

Same problem here, debian 9 GNOME Terminal 3.22.2

lucaslago avatar Feb 05 '18 19:02 lucaslago

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.

niklasbuehler avatar Feb 15 '18 21:02 niklasbuehler

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.

m0ne avatar Mar 17 '18 12:03 m0ne

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.

0xGrimnir avatar Jun 29 '18 01:06 0xGrimnir

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.

sui74 avatar Jun 30 '18 02:06 sui74

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!

jdelvecchio avatar Jul 10 '18 09:07 jdelvecchio

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.

drodata avatar Sep 29 '18 06:09 drodata

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.

philippludwig avatar Mar 28 '19 12:03 philippludwig

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.

stone821 avatar Apr 11 '19 05:04 stone821

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

Ska1er avatar May 10 '22 19:05 Ska1er