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

hyper-snazzy.sh breaks when there are no user profiles for the gnome-terminal yet #3

Closed
curusarn opened this issue Apr 16, 2020 · 7 comments

Comments

@curusarn
Copy link

curusarn commented Apr 16, 2020

I installed gconf but that did not solve the issue.
Is gconftool something I would have on my system?
I can't find any package with it for Manjaro.
EDIT: This is what I get when I run hyper-snazzy.sh on a fresh machine:

❯ chmod +x hyper-snazzy.sh && ./hyper-snazzy.sh 
./hyper-snazzy.sh: line 104: gconftool: command not found
./hyper-snazzy.sh: line 104: gconftool: command not found
./hyper-snazzy.sh: line 88: gconftool: command not found
./hyper-snazzy.sh: line 88: gconftool: command not found
./hyper-snazzy.sh: line 88: gconftool: command not found
./hyper-snazzy.sh: line 88: gconftool: command not found
./hyper-snazzy.sh: line 88: gconftool: command not found
./hyper-snazzy.sh: line 88: gconftool: command not found
./hyper-snazzy.sh: line 88: gconftool: command not found
./hyper-snazzy.sh: line 88: gconftool: command not found
@curusarn
Copy link
Author

curusarn commented Apr 16, 2020

Apparently, this condition fails and then the fallback for older Gnome fails as well resulting in "gconftool not found" errors.

❯ [[ -n "$(dconf list /org/gnome/terminal/legacy/profiles:/)" ]] && echo pass || echo fail
fail

@curusarn
Copy link
Author

curusarn commented Apr 16, 2020

There is no dir for terminal in the settings:

❯ dconf list /org/gnome/         
control-center/
desktop/
evolution-data-server/
mutter/
nautilus/
settings-daemon/
shell/

So this command returns nothing:

❯ dconf list /org/gnome/terminal/legacy/profiles:/

@curusarn
Copy link
Author

curusarn commented Apr 16, 2020

After I create a new profile for the gnome-terminal using the GUI:

❯ dconf list /org/gnome/terminal/legacy/profiles:/
:169458fc-9172-48fb-b2a4-d030c18fb43b/
list

So the issue is that hyper-snazzy.sh breaks when there are no user profiles for the gnome-terminal yet

@curusarn curusarn changed the title gconftool command not found the shell script for adding the there breaks when there are user themes for the gnome-terminal yet Apr 16, 2020
@curusarn curusarn changed the title the shell script for adding the there breaks when there are user themes for the gnome-terminal yet hyper-snazzy.sh breaks when there are user themes for the gnome-terminal yet Apr 16, 2020
@curusarn
Copy link
Author

Did you get the script for adding gnome-terminal profiles from some other project?
Should I report the issue upstream?

@curusarn curusarn changed the title hyper-snazzy.sh breaks when there are user themes for the gnome-terminal yet hyper-snazzy.sh breaks when there are no user profiles for the gnome-terminal yet Apr 16, 2020
@yihyunjoon
Copy link
Owner

@curusarn I'm sorry for your inconvenience. Yes, actually it doesn't create new terminal profile, but it replaces the existing terminal profile.

I made this script with terminal.sexy. Check this repo please.

Thank you.

@curusarn
Copy link
Author

The weird thing is that the previous profile is still available. What exactly does "replaces the existing terminal profile" mean?

@curusarn
Copy link
Author

I have just raised an issue in the terminal.sexy repo: stayradiated/terminal.sexy#61

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

2 participants