Comments (31)
Same problem me, debian 9 GNOME Terminal 3.22.2.
but Problem has been resolved.
-
Run to reset profiles:
dconf reset -f /org/gnome/terminal/legacy/profiles:/ -
''Unname'' Rename profile called "default".
-
sudo apt install uuid-runtime
-
wget -O gogh https://git.io/vQgMr && chmod +x gogh && ./gogh && rm gogh
I can change profiles now, hope it helps.
from gogh.
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.
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 :
-
As root, reset profiles :
dconf reset -f /org/gnome/terminal/legacy/profiles:/ -
As your user, reset profiles :
dconf reset -f /org/gnome/terminal/legacy/profiles:/ -
''Unname'' Rename profile called "default".
-
sudo apt install uuid-runtime
-
wget -O gogh https://git.io/vQgMr && chmod +x gogh && ./gogh && rm gogh
THanks guys!
from gogh.
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.
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.
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.
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.
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.
@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.
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.
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.
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.
The solution provided by mopanku works for me (Debian 11).
from gogh.
Same problem on debian 9. Terminal Gnome 3.22.2
And new Default profiles doesn't created
from gogh.
+1 I have the same issue. could this be an issue with gnome-terminal or dconf-cli?
from gogh.
+1, install seems successful but no additional profiles to chose. Debian 9
from gogh.
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.
any update on this?
from gogh.
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.
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.
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.
I am having the same issue on Debian 9 using GNOME Terminal 3.22.2.
from gogh.
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.
I had the same problem but as @oxydron said, just right click on profiles worked.
from gogh.
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.
Same problem here, debian 9 GNOME Terminal 3.22.2
from gogh.
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.
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.
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.
Same problem me, debian 9 GNOME Terminal 3.22.2.
but Problem has been resolved.
- Run to reset profiles:
dconf reset -f /org/gnome/terminal/legacy/profiles:/- ''Unname'' Rename profile called "default".
- sudo apt install uuid-runtime
- 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.
Any solutions for Debian 12?
from gogh.
Related Issues (20)
- Blackbox support
- Add terminator support? HOT 1
- Empty file export for minttyrc
- error: dconf dir must not contain two consecutive slashes on Fedora HOT 4
- Delete all themes in macOS HOT 2
- any way to delete all themes? HOT 1
- ERROR: config file not present or not writable! HOT 1
- No module named 'tomli_w' HOT 1
- Feature request: Supply a theme number as command-line argument to skip printing the long list of themes
- installing a new theme says profile already exists HOT 1
- Contour support
- Instructions on rebuilding after adding a .yml file
- [Feature request] Make it work on Windows Terminal /WSL2 HOT 2
- Gogh website is not working properly HOT 1
- Alacritty: Switch to toml config
- [Feature Request] : Option to change the LS_COLORS and PS1 variable
- Script Run removes all profiles HOT 1
- [BUG-REGRESSION] Unable to change theme -> No module named 'tomli_w'
- ModuleNotFoundError: No module named 'configobj' HOT 1
- Install (non-interactive mode) is interactive with xfce4-terminal
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gogh.