GNOME: Difference between revisions

imported>Vater
mNo edit summary
imported>IgorM
m Fixed syntax highlighting
Line 44: Line 44:
For instance, if you see the following error:
For instance, if you see the following error:


<syntaxHighlight>
<syntaxHighlight lang=text>
  dconf-WARNING **: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
  dconf-WARNING **: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
</syntaxHighlight>
</syntaxHighlight>
Line 84: Line 84:
Long ago, in the GNOME 2 era, applications used GConf service to store configuration. This has been deprecated for many years but some applications were abandoned before they managed to upgrade to a newer dconf system. If you are running such application and getting an error like:
Long ago, in the GNOME 2 era, applications used GConf service to store configuration. This has been deprecated for many years but some applications were abandoned before they managed to upgrade to a newer dconf system. If you are running such application and getting an error like:


<syntaxHighlight>
<syntaxHighlight lang=text>
GLib.GException: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information
GLib.GException: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information
</syntaxHighlight>
</syntaxHighlight>
Line 102: Line 102:
However, you can modify it by copying the profile picture that you want to the path '''/home/$USER/.face''' as a workaround, i.e.
However, you can modify it by copying the profile picture that you want to the path '''/home/$USER/.face''' as a workaround, i.e.


<syntaxHighlight lang=sh>
<syntaxHighlight lang=console>
mv /path/to/image.jpg ~/.face
$ mv /path/to/image.jpg ~/.face
</syntaxHighlight>
</syntaxHighlight>


Line 109: Line 109:


If you have enabled [https://help.gnome.org/admin/system-admin-guide/stable/login-automatic.html.en auto login] (with <!-- [[GDM]] -->[[{{PAGENAME}}]]) with something like
If you have enabled [https://help.gnome.org/admin/system-admin-guide/stable/login-automatic.html.en auto login] (with <!-- [[GDM]] -->[[{{PAGENAME}}]]) with something like
: <syntaxHighlight lang=bash>grep autoLogin /etc/nixos/configuration.nix</syntaxHighlight>
: <syntaxHighlight lang=bash>
<syntaxHighlight lang=bash>
grep autoLogin /etc/nixos/configuration.nix
</syntaxHighlight>
<syntaxHighlight lang=nix>
services.xserver.displayManager.autoLogin.enable = true;
services.xserver.displayManager.autoLogin.enable = true;
services.xserver.displayManager.autoLogin.user = "account";
services.xserver.displayManager.autoLogin.user = "account";
</syntaxHighlight>
</syntaxHighlight>
than add the following (as a workaround for a current (2023)<ref>https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229</ref> problem)
than add the following (as a workaround for a current (2023)<ref>https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229</ref> problem)
: <syntaxHighlight lang=bash>nano /etc/nixos/configuration.nix</syntaxHighlight>
: <syntaxHighlight lang=console># nano /etc/nixos/configuration.nix</syntaxHighlight>
<syntaxHighlight lang=nix>
<syntaxHighlight lang=nix>
systemd.services."getty@tty1".enable = false;
systemd.services."getty@tty1".enable = false;