gnome-terminal icon indicating copy to clipboard operation
gnome-terminal copied to clipboard

No new profile created

Open liggettla opened this issue 6 years ago • 6 comments

I saw another user having problems with no new 'Nord' profile being created, and I am having the same problem. I installed all of your specified dependencies and the install appears to be working correctly. But I do not get a new profile being created.

I am using Gnome terminal 3.22.2 on Debian Stretch and below is the output I see. It looks to me like it is applying the settings to the '' profile rather than the 'Nord' profile.

[INFO] Validated required dependencies: dconf expr gsettings uuidgen
[INFO] Detected compatible GNOME Terminal version 3.22.2 (>= 3.8 dconf migrated)
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
[INFO] Available profile UUIDs: b1dcc9dd-5262-4d8d-a863-c897e6d979b9
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
[INFO] Cloned the default profile 'b1dcc9dd-5262-4d8d-a863-c897e6d979b9' with new UUID '48a30685-7008-46d9-beb0-1520e6e4b080'
[DEBUG] Applied Nord color palette
[DEBUG] Applied background- and foreground colors
[DEBUG] Applied bold color and configuration
[DEBUG] Applied system theme compability configuration
[DEBUG] Applied cursor colors and configuration
[DEBUG] Applied highlight colors and configuration
[DEBUG] Applied highlight colors and configuration
[DEBUG] Set Nord GNOME Terminal version key of the '' profile
[INFO] Applied theme colors and configurations
[SUCCESS] Nord GNOME Terminal version 0.1.0 has been successfully applied to the newly created 'Nord' profile
[DEBUG] Cleaning up script execution by unsetting declared functions and variables

liggettla avatar Mar 23 '18 16:03 liggettla

Thanks for your contribution :+1: Looks like this is related to #19.

This line is not logged by the script but the underlying used library:

GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.

This implies that the script works fine, but the changes made to dconf are read-only and will be dropped as soon as the script finish. I'll evaluate in which version this change has been introduced to GLib/GIO and fix it via #19.

arcticicestudio avatar Mar 23 '18 21:03 arcticicestudio

@liggettla Can you please try to reproduce the problem when running the following line before the install script:

export GIO_EXTRA_MODULES=/usr/lib/x86_64-linux-gnu/gio/modules

arcticicestudio avatar Mar 24 '18 20:03 arcticicestudio

When I first run the line you gave me, the 'Nord' profile is now created and I can successfully use it. So, looks like that fixed it.

liggettla avatar Mar 25 '18 20:03 liggettla

@liggettla Thanks for testing. I'll add the constant to the script to fix the problem for affected distributions.

arcticicestudio avatar Mar 26 '18 19:03 arcticicestudio

Is this still not added? I ran into the same problem today and export GIO_EXTRA_MODULES=/usr/lib/x86_64-linux-gnu/gio/modules fixed it.

AtomScott avatar Sep 08 '20 15:09 AtomScott

@AtomScott The line above was just for testing purposes, it should be added to the install script itself without exporting it into the current session, otherwise it'll mess up the users environment, for example when the variables was already set and included other values or multiple paths. Feel free to submit a PR, every contribution is always welcome.

arcticicestudio avatar Nov 07 '20 10:11 arcticicestudio